Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, October 15, 2026

Diff for phpMyEdit/phpMyEdit.class.php between version 1.61 and 1.62

version 1.61, 2003/03/29 01:34:04 version 1.62, 2003/03/29 01:44:53
Line 19 
Line 19 
  * http://www.platon.sk/projects/phpMyEdit/   * http://www.platon.sk/projects/phpMyEdit/
  */   */
   
 /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.60 2003/03/26 18:40:01 nepto Exp $ */  /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.61 2003/03/29 01:34:04 nepto Exp $ */
   
 /*  This is a generic table editing program. The table and fields to be  /*  This is a generic table editing program. The table and fields to be
         edited are defined in the calling program.          edited are defined in the calling program.
Line 637  class phpMyEdit
Line 637  class phpMyEdit
                         }                          }
                 }                  }
                 $this->query_opts = $qo;                  $this->query_opts = $qo;
   
 # TODO: DELETE ME!!  
   
 #               /* If the filter input boxes are not displayed, we need to preserve  
 #                  the filter by its emulaion. */  
 #               for ($k = 0; $k < $this->num_fds; $k++) {  
 #                       $l    = 'qf'.$k;  
 #                       $lc   = 'qf'.$k.'_comp';  
 #                       $li   = 'qf'.$k.'_id';  
 #                       $m    = $this->get_cgi_var($l);  
 #                       $mc   = $this->get_cgi_var($lc);  
 #                       $mi   = $this->get_cgi_var($li);  
 #                       if (! isset($m) && ! isset($mi)) {  
 #                               continue;  
 #                       }  
 #                       $stack = array();  
 #                       foreach (array($l => $m, $lc => $mc, $li => $mi) as $name => $value) {  
 #                               if (is_array($value)) {  
 #                                       foreach ($value as $key => $val) {  
 #                                               if ($key === '' && isset($value)) {  
 #                                                       continue;  
 #                                               }  
 #                                               $this->qfn_old  .= '&'.$name.'['.rawurlencode($key).']='.rawurlencode($val);  
 #                                       }  
 #                               } else {  
 #                                       if (! isset($value) || $value == '*') {  
 #                                               continue;  
 #                                       }  
 #                                       // Sync with gather_query_opts()  
 #                                       if ($this->fdd[$k]['select'] != 'M' && $this->fdd[$k]['select'] != 'D' && $value == '') {  
 #                                               continue;  
 #                                       }  
 #                                       /* Opertation CGI variables (=, <, >, ...) are added only  
 #                                          if their numeric equivalent was already added as well. We  
 #                                          are using $stack for remembering this. */  
 #                                       if (preg_match('|^(qf\d+)_comp$|', $name, $matches)) {  
 #                                               if (! in_array($matches[1], $stack)) {  
 #                                                       continue;  
 #                                               }  
 #                                       }  
 #                                       $stack[]    = $name;  
 #                                       $this->qfn_old .= '&'.$name.'='.rawurlencode($value);  
 #                               }  
 #                       }  
 #               }  
 #               echo htmlspecialchars('['.$this->qfn_old.']');  
 #               echo '<br>';  
 #               echo htmlspecialchars('['.$this->qfn.']');  
         } /* }}} */          } /* }}} */
   
         /*          /*

Legend:
Removed from v.1.61  
changed lines
  Added in v.1.62

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top