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.90 a 1.91

verzia 1.90, 2003/07/28 16:37:53 verzia 1.91, 2003/07/29 14:45:02
Riadok 19 
Riadok 19 
  * http://www.platon.sk/projects/phpMyEdit/   * http://www.platon.sk/projects/phpMyEdit/
  */   */
   
 /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.89 2003/07/25 20:53:18 nepto Exp $ */  /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.90 2003/07/28 16:37:53 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 166  class phpMyEdit
Riadok 166  class phpMyEdit
                 || isset($this->fdd[$k]['URLprefix']) || isset($this->fdd[$k]['URLpostfix']); }                  || isset($this->fdd[$k]['URLprefix']) || isset($this->fdd[$k]['URLpostfix']); }
         function col_has_multiple_select($k)          function col_has_multiple_select($k)
         { return $this->fdd[$k]['select'] == 'M' && ! $this->fdd[$k]['values']['table']; }          { return $this->fdd[$k]['select'] == 'M' && ! $this->fdd[$k]['values']['table']; }
           function col_has_datemask($k)
           { return isset($this->fdd[$k]['datemask']) || isset($this->fdd[$k]['strftimemask']); }
   
         /*          /*
          * functions for indicating whether navigation style is enabled           * functions for indicating whether navigation style is enabled
Riadok 449  class phpMyEdit
Riadok 451  class phpMyEdit
                         if ($this->col_has_values($k)) {                          if ($this->col_has_values($k)) {
                                 $fields[] = $this->fqn($k, false, true, true).' AS qf'.$k.'_idx';                                  $fields[] = $this->fqn($k, false, true, true).' AS qf'.$k.'_idx';
                         }                          }
                         if (@$this->fdd[$k]['datemask']) {                          if ($this->col_has_datemask($k)) {
                                 $fields[] = 'UNIX_TIMESTAMP('.$this->fqn($k).') AS qf'.$k.'_timestamp';                                  $fields[] = 'UNIX_TIMESTAMP('.$this->fqn($k).') AS qf'.$k.'_timestamp';
                         }                          }
                 }                  }
Riadok 967  function phpMyEdit_form_control(theForm)
Riadok 969  function phpMyEdit_form_control(theForm)
                                 echo '<tr class="',$this->getCSSclass('row', null, 'next', $css_postfix),'">',"\n";                                  echo '<tr class="',$this->getCSSclass('row', null, 'next', $css_postfix),'">',"\n";
                                 echo '<td class="',$this->getCSSclass('key', null, true, $css_postfix),'">',$this->fdd[$k]['name'],'</td>',"\n";                                  echo '<td class="',$this->getCSSclass('key', null, true, $css_postfix),'">',$this->fdd[$k]['name'],'</td>',"\n";
                                 /* There are two possibilities of readonly fields handling:                                  /* There are two possibilities of readonly fields handling:
                                    1. Display plain text                                     1. Display plain text for readonly timestamps and dates.
                                    2. Display disabled input field                                     2. Display disabled input field
                                    In all cases particular readonly field will NOT be saved. */                                     In all cases particular readonly field will NOT be saved. */
                                 if (0 && $this->readonly($k)) {                                  if ($this->col_has_datemask($k) && $this->readonly($k)) {
                                         echo $this->display_delete_field($row, $k);                                          echo $this->display_delete_field($row, $k);
                                 } elseif ($this->password($k)) {                                  } elseif ($this->password($k)) {
                                         echo $this->display_password_field($row, $k);                                          echo $this->display_password_field($row, $k);

Legend:
Odstranené z verzie1.90  
zmenené riadky
  Pridané vo verzii1.91

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