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

Diff for phpMyEdit/phpMyEdit.class.php between version 1.54 and 1.55

version 1.54, 2003/03/06 23:16:56 version 1.55, 2003/03/17 19:30:44
Line 19 
Line 19 
  * http://www.platon.sk/projects/phpMyEdit/   * http://www.platon.sk/projects/phpMyEdit/
  */   */
   
 /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.53 2003/03/04 23:58:43 nepto Exp $ */  /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.54 2003/03/06 23:16:56 nepto Exp $ */
   
 /*      phpMyEdit intro {{{ */  /*      phpMyEdit intro {{{ */
 /*  /*
Line 1049  function phpMyEdit_form_control(theForm)
Line 1049  function phpMyEdit_form_control(theForm)
         } /* }}} */          } /* }}} */
   
         /**          /**
            * Returns CSS class name
            */
           function getCSSclass($name, $pagetype = '', $position  = '', $dividor = '', $postfix = '') /* {{{ */
           {
                   static $div_idx = 0;
                   $elements = array($this->css['prefix'], $name);
                   if ($dividor && $this->css['dividor']) {
                           $elements[] = $div_idx;
                           $div_idx++;
                           if ($this->css['dividor'] > 0 && $div_idx >= $this->css['dividor']) {
                                   $div_idx = 0;
                           }
                   }
                   return join($this->css['separator'], $elements);
           } /* }}} */
   
   
           /**
            * Print CSS class name
            */
           function printCSSclass($name, $pagetype = '', $position  = '', $dividor = '', $postfix = '') /* {{{ */
           {
                   echo $this->getCSSclass($name, $pagetype, $position, $dividor, $postfix);
           } /* }}} */
   
           /**
          * Creates HTML hidden input element           * Creates HTML hidden input element
          *           *
          * @param       name    element name           * @param       name    element name
Line 2657  function phpMyEdit_form_control(theForm)
Line 2683  function phpMyEdit_form_control(theForm)
                 // Creating URL variables                  // Creating URL variables
                 $this->url['images'] = 'images/';                  $this->url['images'] = 'images/';
                 isset($opts['url']['images']) && $this->url['images'] = $opts['url']['images'];                  isset($opts['url']['images']) && $this->url['images'] = $opts['url']['images'];
                   // CSS classes policy
                   $this->css = @$opts['css'];
                   empty($this->css['prefix'])    && $this->css['prefix']    = 'pme';
                   empty($this->css['separator']) && $this->css['separator'] = '-';
                   $this->css['dividor'] = intval(@$this->css['dividor']);
                 // 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.54  
changed lines
  Added in v.1.55

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