Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Piatok, 23. október 2026

Rozdiely pre phpMyEdit/phpMyEdit.class.php medzi verziami 1.116 a 1.117

verzia 1.116, 2004/01/16 19:46:32 verzia 1.117, 2004/01/20 10:26:58
Riadok 19 
Riadok 19 
  * http://platon.sk/projects/phpMyEdit/   * http://platon.sk/projects/phpMyEdit/
  */   */
   
 /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.115 2004/01/12 08:59:21 nepto Exp $ */  /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.116 2004/01/16 19:46:32 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.
Riadok 206  class phpMyEdit
Riadok 206  class phpMyEdit
         function copy_operation()   { return $this->operation == $this->labels['Copy']   && $this->copy_enabled();   }          function copy_operation()   { return $this->operation == $this->labels['Copy']   && $this->copy_enabled();   }
         function delete_operation() { return $this->operation == $this->labels['Delete'] && $this->delete_enabled(); }          function delete_operation() { return $this->operation == $this->labels['Delete'] && $this->delete_enabled(); }
         function view_operation()   { return $this->operation == $this->labels['View']   && $this->view_enabled();   }          function view_operation()   { return $this->operation == $this->labels['View']   && $this->view_enabled();   }
         function filter_operation() { return $this->fl && $this->filter_enabled(); }          function filter_operation() { return $this->fl && $this->filter_enabled() && $this->list_operation(); }
           function list_operation()   { /* covers also filtering page */ return ! $this->change_operation()
                                                                                   && ! $this->add_operation()    && ! $this->copy_operation()
                                                                                   && ! $this->delete_operation() && ! $this->view_operation(); }
         function next_operation()       { return $this->navop == $this->labels['Next']; }          function next_operation()       { return $this->navop == $this->labels['Next']; }
         function prev_operation()       { return $this->navop == $this->labels['Prev']; }          function prev_operation()       { return $this->navop == $this->labels['Prev']; }
         function first_operation()      { return $this->navop == $this->labels['First']; }          function first_operation()      { return $this->navop == $this->labels['First']; }
Riadok 258  class phpMyEdit
Riadok 261  class phpMyEdit
                         ($this->change_operation() && stristr($options, 'C')) ||                          ($this->change_operation() && stristr($options, 'C')) ||
                         ($this->copy_operation()   && stristr($options, 'P')) ||                          ($this->copy_operation()   && stristr($options, 'P')) ||
                         ($this->delete_operation() && stristr($options, 'D')) ||                          ($this->delete_operation() && stristr($options, 'D')) ||
                         ((stristr($options,'L')                          ($this->filter_operation() && stristr($options, 'F')) ||
                           || ($this->filter_operation() && stristr($options, 'F'))) &&                          ($this->list_operation()   && stristr($options, 'L'));
                          ! $this->add_operation()    &&  
                          ! $this->view_operation()   &&  
                          ! $this->change_operation() &&  
                          ! $this->copy_operation()   &&  
                          ! $this->delete_operation());  
         } /* }}} */          } /* }}} */
   
         function debug_var($name, $val) /* {{{ */          function debug_var($name, $val) /* {{{ */

Legend:
Odstranené z verzie1.116  
zmenené riadky
  Pridané vo verzii1.117

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok