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.122 and 1.123

version 1.122, 2004/02/23 13:55:41 version 1.123, 2004/03/08 09:43:04
Line 19 
Line 19 
  * http://platon.sk/projects/phpMyEdit/   * http://platon.sk/projects/phpMyEdit/
  */   */
   
 /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.121 2004/01/26 17:17:49 nepto Exp $ */  /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.122 2004/02/23 13:55:41 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 / max(1, $this->inc)) + 1;                  if (!$listall) {
                 $total_pages  = max(1, ceil($total_recs / abs($this->inc)));                          $current_page = intval($this->fm / $this->inc) + 1;
                           $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;';
                         echo $this->htmlSubmit('navop', 'Prev', $this->getCSSclass('prev', $position), false, $disabledprev), '&nbsp;';                          echo $this->htmlSubmit('navop', 'Prev', $this->getCSSclass('prev', $position), false, $disabledprev), '&nbsp;';

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

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