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.91 and 1.92

version 1.91, 2003/07/29 14:45:02 version 1.92, 2003/08/16 01:41:26
Line 19 
Line 19 
  * http://www.platon.sk/projects/phpMyEdit/   * http://www.platon.sk/projects/phpMyEdit/
  */   */
   
 /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.90 2003/07/28 16:37:53 nepto Exp $ */  /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.91 2003/07/29 14:45:02 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 190  class phpMyEdit
Line 190  class phpMyEdit
         function filter_enabled() { return stristr($this->options, 'F'); }          function filter_enabled() { return stristr($this->options, 'F'); }
         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 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]['options'],'H'); }
         function password($k)     { return stristr($this->fdd[$k]['options'],'W'); }          function password($k)     { return stristr($this->fdd[$k]['options'],'W'); }
         function readonly($k)     { return stristr($this->fdd[$k]['options'],'R'); }          function readonly($k)     { return stristr($this->fdd[$k]['options'],'R'); }
Line 2710  function phpMyEdit_form_control(theForm)
Line 2710  function phpMyEdit_form_control(theForm)
                 if ($this->display['time']) {                  if ($this->display['time']) {
                         $this->timer = new phpMyEdit_timer();                          $this->timer = new phpMyEdit_timer();
                 }                  }
                   $this->display['tabs'] = isset($opts['display']['tabs'])
                           ? $opts['display']['tabs'] : true;
                 // Creating directory variables                  // Creating directory variables
                 $this->dir['root'] = dirname(realpath(__FILE__))                  $this->dir['root'] = dirname(realpath(__FILE__))
                         . (strlen(dirname(realpath(__FILE__))) > 0 ? '/' : '');                          . (strlen(dirname(realpath(__FILE__))) > 0 ? '/' : '');

Legend:
Removed from v.1.91  
changed lines
  Added in v.1.92

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