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.119 and 1.120

version 1.119, 2004/01/20 10:45:00 version 1.120, 2004/01/21 16:26:55
Line 19 
Line 19 
  * http://platon.sk/projects/phpMyEdit/   * http://platon.sk/projects/phpMyEdit/
  */   */
   
 /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.118 2004/01/20 10:37:55 nepto Exp $ */  /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.119 2004/01/20 10:45:00 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 196  class phpMyEdit
Line 196  class phpMyEdit
         function view_enabled()   { return stristr($this->options, 'V'); }          function view_enabled()   { return stristr($this->options, 'V'); }
         function copy_enabled()   { return stristr($this->options, 'P') && $this->add_enabled(); }          function copy_enabled()   { return stristr($this->options, 'P') && $this->add_enabled(); }
         function tabs_enabled()   { return $this->display['tabs'] && count($this->tabs) > 0; }          function tabs_enabled()   { return $this->display['tabs'] && count($this->tabs) > 0; }
         function hidden($k)       { return stristr($this->fdd[$k]['options'],'H'); }          function hidden($k)       { return stristr($this->fdd[$k]['input'],'H') || stristr($this->fdd[$k]['options'],'H'); }
         function password($k)     { return stristr($this->fdd[$k]['options'],'W'); }          function password($k)     { return stristr($this->fdd[$k]['input'],'W') || stristr($this->fdd[$k]['options'],'W'); }
         function readonly($k)     { return stristr($this->fdd[$k]['options'],'R') || $this->virtual($k);     }          function readonly($k)     { return stristr($this->fdd[$k]['input'],'R') || stristr($this->fdd[$k]['options'],'R') || $this->virtual($k);     }
         function virtual($k)      { return stristr($this->fdd[$k]['options'],'V') && $this->col_has_sql($k); }          function virtual($k)      { return stristr($this->fdd[$k]['input'],'V') && $this->col_has_sql($k); }
   
         function add_operation()    { return $this->operation == $this->labels['Add']    && $this->add_enabled();    }          function add_operation()    { return $this->operation == $this->labels['Add']    && $this->add_enabled();    }
         function change_operation() { return $this->operation == $this->labels['Change'] && $this->change_enabled(); }          function change_operation() { return $this->operation == $this->labels['Change'] && $this->change_enabled(); }

Legend:
Removed from v.1.119  
changed lines
  Added in v.1.120

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