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

Diff for phpMyEdit/phpMyEdit.class.php between version 1.69 and 1.70

version 1.69, 2003/04/05 22:20:19 version 1.70, 2003/04/06 02:55:16
Line 19 
Line 19 
  * http://www.platon.sk/projects/phpMyEdit/   * http://www.platon.sk/projects/phpMyEdit/
  */   */
   
 /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.68 2003/04/05 20:37:42 nepto Exp $ */  /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.69 2003/04/05 22:20:19 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 944  function phpMyEdit_form_control(theForm)
Line 944  function phpMyEdit_form_control(theForm)
         /**          /**
          * Returns CSS class name           * Returns CSS class name
          */           */
         function getCSSclass($name, $position  = null, $dividor = null, $postfix = null) /* {{{ */          function getCSSclass($name, $position  = null, $divider = null, $postfix = null) /* {{{ */
         {          {
                 static $div_idx = -1;                  static $div_idx = -1;
                 $elements = array($this->css['prefix'], $name);                  $elements = array($this->css['prefix'], $name);
Line 956  function phpMyEdit_form_control(theForm)
Line 956  function phpMyEdit_form_control(theForm)
                 if ($position && $this->css['position']) {                  if ($position && $this->css['position']) {
                         $elements[] = $position;                          $elements[] = $position;
                 }                  }
                 if ($dividor && $this->css['dividor']) {                  if ($divider && $this->css['divider']) {
                         if ($dividor === 'next') {                          if ($divider === 'next') {
                                 $div_idx++;                                  $div_idx++;
                                 if ($this->css['dividor'] > 0 && $div_idx >= $this->css['dividor']) {                                  if ($this->css['divider'] > 0 && $div_idx >= $this->css['divider']) {
                                         $div_idx = 0;                                          $div_idx = 0;
                                 }                                  }
                         }                          }
Line 975  function phpMyEdit_form_control(theForm)
Line 975  function phpMyEdit_form_control(theForm)
         /**          /**
          * Print CSS class name           * Print CSS class name
          */           */
         function printCSSclass($name, $position  = null, $dividor = null, $postfix = null) /* {{{ */          function printCSSclass($name, $position  = null, $divider = null, $postfix = null) /* {{{ */
         {          {
                 echo $this->getCSSclass($name, $position, $dividor, $postfix);                  echo $this->getCSSclass($name, $position, $divider, $postfix);
         } /* }}} */          } /* }}} */
   
         /**          /**
Line 2558  function phpMyEdit_form_control(theForm)
Line 2558  function phpMyEdit_form_control(theForm)
                 !isset($this->css['prefix'])    && $this->css['prefix']    = 'pme';                  !isset($this->css['prefix'])    && $this->css['prefix']    = 'pme';
                 !isset($this->css['page_type']) && $this->css['page_type'] = false;                  !isset($this->css['page_type']) && $this->css['page_type'] = false;
                 !isset($this->css['position'])  && $this->css['position']  = false;                  !isset($this->css['position'])  && $this->css['position']  = false;
                 !isset($this->css['dividor'])   && $this->css['dividor']   = 2;                  !isset($this->css['divider'])   && $this->css['divider']   = 2;
                 $this->css['dividor'] = intval(@$this->css['dividor']);                  $this->css['divider'] = intval(@$this->css['divider']);
                 // Navigation                  // Navigation
                 $this->navigation = @$opts['navigation'];                  $this->navigation = @$opts['navigation'];
                 if (! $this->nav_buttons() && ! $this->nav_text_links() && ! $this->nav_graphic_links()) {                  if (! $this->nav_buttons() && ! $this->nav_text_links() && ! $this->nav_graphic_links()) {

Legend:
Removed from v.1.69  
changed lines
  Added in v.1.70

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