Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, April 18, 2024

Diff for phpMyEdit/phpMyEdit.class.php between version 1.121 and 1.122

version 1.121, 2004/01/26 17:17:49 version 1.122, 2004/02/23 13:55:41
Line 19 
Line 19 
  * http://platon.sk/projects/phpMyEdit/   * http://platon.sk/projects/phpMyEdit/
  */   */
   
 /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.120 2004/01/21 16:26:55 nepto Exp $ */  /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.121 2004/01/26 17:17:49 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 1590  function phpMyEdit_filter_handler(theFor
Line 1590  function phpMyEdit_filter_handler(theFor
                 $disabledprev = !($this->fm > 0 && !$listall);                  $disabledprev = !($this->fm > 0 && !$listall);
                 $disablednext = !($this->fm + $this->inc < $total_recs && ! $listall);                  $disablednext = !($this->fm + $this->inc < $total_recs && ! $listall);
                 $disabledgoto = !($listall || ($disablednext && $disabledprev)) ? '' : ' disabled';                  $disabledgoto = !($listall || ($disablednext && $disabledprev)) ? '' : ' disabled';
                 $current_page = intval($this->fm / $this->inc) + 1;                  $current_page = intval($this->fm / max(1, $this->inc)) + 1;
                 $total_pages  = max(1, ceil($total_recs / abs($this->inc)));                  $total_pages  = max(1, ceil($total_recs / abs($this->inc)));
                 if (!$listall) {                  if (!$listall) {
                         echo $this->htmlSubmit('navop', 'First', $this->getCSSclass('first', $position), false, $disabledprev), '&nbsp;';                          echo $this->htmlSubmit('navop', 'First', $this->getCSSclass('first', $position), false, $disabledprev), '&nbsp;';

Legend:
Removed from v.1.121  
changed lines
  Added in v.1.122

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