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.144 and 1.145

version 1.144, 2004/06/30 17:54:09 version 1.145, 2004/07/13 17:59:33
Line 19 
Line 19 
  * http://platon.sk/projects/phpMyEdit/   * http://platon.sk/projects/phpMyEdit/
  */   */
   
 /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.143 2004/04/22 16:15:14 nepto Exp $ */  /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.144 2004/06/30 17:54:09 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 2668  function phpMyEdit_filter_handler(theFor
Line 2668  function phpMyEdit_filter_handler(theFor
                    have desirable sorting behaviour. So there is no need to remove them.                     have desirable sorting behaviour. So there is no need to remove them.
                  */                   */
                 for ($k = 0; ! $this->displayed[$k]; $k++);                  for ($k = 0; ! $this->displayed[$k]; $k++);
                 $this->sfn[count($this->sfn) - 1] = "$k"; // important quotes                  $this->sfn[] = "$k"; // important quotes
                 $this->sfn = array_unique($this->sfn);                  $this->sfn = array_unique($this->sfn);
                 $check_ar = array();                  $check_ar = array();
                 foreach ($this->sfn as $key => $val) {                  foreach ($this->sfn as $key => $val) {
Line 2956  function phpMyEdit_filter_handler(theFor
Line 2956  function phpMyEdit_filter_handler(theFor
                 isset($opts['sort_field'])    || $opts['sort_field'] = array();                  isset($opts['sort_field'])    || $opts['sort_field'] = array();
                 is_array($opts['sort_field']) || $opts['sort_field'] = array($opts['sort_field']);                  is_array($opts['sort_field']) || $opts['sort_field'] = array($opts['sort_field']);
                 $this->sfn   = array_merge($this->sfn, $opts['sort_field']);                  $this->sfn   = array_merge($this->sfn, $opts['sort_field']);
                 $this->sfn[] = '0'; // this last entry will be replaced in recreate_displayed()  
                 // Form variables all around                  // Form variables all around
                 $this->fl   = intval($this->get_cgi_var('fl'));                  $this->fl   = intval($this->get_cgi_var('fl'));
                 $this->fm   = intval($this->get_cgi_var('fm'));                  $this->fm   = intval($this->get_cgi_var('fm'));

Legend:
Removed from v.1.144  
changed lines
  Added in v.1.145

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