Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Sobota, 24. október 2026

Rozdiely pre phpMyEdit/phpMyEdit.class.php medzi verziami 1.67 a 1.68

verzia 1.67, 2003/04/03 00:23:22 verzia 1.68, 2003/04/05 20:37:42
Riadok 19 
Riadok 19 
  * http://www.platon.sk/projects/phpMyEdit/   * http://www.platon.sk/projects/phpMyEdit/
  */   */
   
 /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.66 2003/03/31 18:44:20 nepto Exp $ */  /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.67 2003/04/03 00:23:22 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 138  class phpMyEdit
Riadok 138  class phpMyEdit
                         'min'   => 'Minimum',                          'min'   => 'Minimum',
                         'max'   => 'Maximum',                          'max'   => 'Maximum',
                         'count' => 'Count');                          'count' => 'Count');
           var $page_types = array(
                           'L' => 'list',
                           'F' => 'filter',
                           'A' => 'add',
                           'V' => 'view',
                           'C' => 'change',
                           'P' => 'copy',
                           'D' => 'delete'
                           );
         // }}}          // }}}
   
         /*          /*
Riadok 749  function phpMyEdit_form_control(theForm)
Riadok 758  function phpMyEdit_form_control(theForm)
                         if (! $this->displayed[$k]) {                          if (! $this->displayed[$k]) {
                                 continue;                                  continue;
                         }                          }
                         echo '<tr class="',$this->getCSSclass('row', '', 'next'),'">',"\n";                          $css_postfix    = @$this->fdd[$k]['css']['postfix'];
                         echo '<td class="',$this->getCSSclass('key', '', true),'">',$this->fdd[$k]['name'],'</td>',"\n";                          $css_class_name = $this->getCSSclass('input', null, 'next', $css_postfix);
                         echo '<td class="',$this->getCSSclass('value', '', true),'">'."\n";                          echo '<tr class="',$this->getCSSclass('row', null, true, $css_postfix),'">',"\n";
                         $css_class_name = $this->getCSSclass('input', '', true);                          echo '<td class="',$this->getCSSclass('key', null, true, $css_postfix),'">',$this->fdd[$k]['name'],'</td>',"\n";
                           echo '<td class="',$this->getCSSclass('value', null, true, $css_postfix),'">'."\n";
                         if ($this->col_has_values($k)) {                          if ($this->col_has_values($k)) {
                                 $vals     = $this->set_values($k);                                  $vals     = $this->set_values($k);
                                 $selected = @$this->fdd[$k]['default'];                                  $selected = @$this->fdd[$k]['default'];
Riadok 789  function phpMyEdit_form_control(theForm)
Riadok 799  function phpMyEdit_form_control(theForm)
                         }                          }
                         echo '</td>',"\n";                          echo '</td>',"\n";
                         if ($this->guidance) {                          if ($this->guidance) {
                                 $css_class_name = $this->getCSSclass('help', '', true);                                  $css_class_name = $this->getCSSclass('help', null, true, $css_postfix);
                                 $cell_value     = $this->fdd[$k]['help'] ? $this->fdd[$k]['help'] : '&nbsp;';                                  $cell_value     = $this->fdd[$k]['help'] ? $this->fdd[$k]['help'] : '&nbsp;';
                                 echo '<td class="',$css_class_name,'">',$cell_value,'</td>',"\n";                                  echo '<td class="',$css_class_name,'">',$cell_value,'</td>',"\n";
                         }                          }
Riadok 824  function phpMyEdit_form_control(theForm)
Riadok 834  function phpMyEdit_form_control(theForm)
                                 if (! $this->displayed[$k]) {                                  if (! $this->displayed[$k]) {
                                         continue;                                          continue;
                                 }                                  }
                                 echo '<tr class="',$this->getCSSclass('row', '', 'next'),'">'."\n";                                  $css_postfix = @$this->fdd[$k]['css']['postfix'];
                                 echo '<td class="',$this->getCSSclass('key', '', true),'">',$this->fdd[$k]['name'],'</td>',"\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";
                                 /* There are two possibilities of readonly fields handling:                                  /* There are two possibilities of readonly fields handling:
                                    1. Display plain text                                     1. Display plain text
                                    2. Display disabled input field                                     2. Display disabled input field
Riadok 838  function phpMyEdit_form_control(theForm)
Riadok 849  function phpMyEdit_form_control(theForm)
                                         echo $this->display_change_field($row, $k);                                          echo $this->display_change_field($row, $k);
                                 }                                  }
                                 if ($this->guidance) {                                  if ($this->guidance) {
                                         $css_class_name = $this->getCSSclass('help', '', true);                                          $css_class_name = $this->getCSSclass('help', null, true, $css_postfix);
                                         $cell_value     = $this->fdd[$k]['help'] ? $this->fdd[$k]['help'] : '&nbsp;';                                          $cell_value     = $this->fdd[$k]['help'] ? $this->fdd[$k]['help'] : '&nbsp;';
                                         echo '<td class="',$css_class_name,'">',$cell_value,'</td>',"\n";                                          echo '<td class="',$css_class_name,'">',$cell_value,'</td>',"\n";
                                 }                                  }
Riadok 847  function phpMyEdit_form_control(theForm)
Riadok 858  function phpMyEdit_form_control(theForm)
                                 if (! $this->displayed[$k]) {                                  if (! $this->displayed[$k]) {
                                         continue;                                          continue;
                                 }                                  }
                                 echo '<tr class="',$this->getCSSclass('row', '', 'next'),'">'."\n";                                  $css_postfix = @$this->fdd[$k]['css']['postfix'];
                                 echo '<td class="',$this->getCSSclass('key', '', true),'">',$this->fdd[$k]['name'].'</td>'."\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";
                                 if ($this->password($k)) {                                  if ($this->password($k)) {
                                         echo '<td class="',$this->getCSSclass('value', '', true),'">';                                          echo '<td class="',$this->getCSSclass('value', null, true, $css_postfix),'">';
                                         echo $this->labels['hidden'],'</td>';                                          echo $this->labels['hidden'],'</td>';
                                 } else {                                  } else {
                                         $this->display_delete_field($row, $k);                                          $this->display_delete_field($row, $k);
                                 }                                  }
                                 if ($this->guidance) {                                  if ($this->guidance) {
                                         $css_class_name = $this->getCSSclass('help', '', true);                                          $css_class_name = $this->getCSSclass('help', null, true, $css_postfix);
                                         $cell_value     = $this->fdd[$k]['help'] ? $this->fdd[$k]['help'] : '&nbsp;';                                          $cell_value     = $this->fdd[$k]['help'] ? $this->fdd[$k]['help'] : '&nbsp;';
                                         echo '<td class="',$css_class_name,'">',$cell_value,'</td>',"\n";                                          echo '<td class="',$css_class_name,'">',$cell_value,'</td>',"\n";
                                 }                                  }
Riadok 867  function phpMyEdit_form_control(theForm)
Riadok 879  function phpMyEdit_form_control(theForm)
   
         function display_change_field($row, $k) /* {{{ */          function display_change_field($row, $k) /* {{{ */
         {          {
                 echo '<td class="',$this->getCSSclass('value', '', true),'">',"\n";                  $css_postfix    = @$this->fdd[$k]['css']['postfix'];
                 $css_class_name = $this->getCSSclass('input', '', true);                  $css_class_name = $this->getCSSclass('input', null, true);
                   echo '<td class="',$this->getCSSclass('value', null, true),'">',"\n";
                 if ($this->col_has_values($k)) {                  if ($this->col_has_values($k)) {
                         $vals     = $this->set_values($k);                          $vals     = $this->set_values($k);
                         $multiple = $this->fdd[$k]['select'] == 'M' && ! $this->fdd[$k]['values']['table'];                          $multiple = $this->fdd[$k]['select'] == 'M' && ! $this->fdd[$k]['values']['table'];
Riadok 905  function phpMyEdit_form_control(theForm)
Riadok 918  function phpMyEdit_form_control(theForm)
   
         function display_password_field($row, $k) /* {{{ */          function display_password_field($row, $k) /* {{{ */
         {          {
                 echo '<td class="',$this->getCSSclass('value', '', true),'">',"\n";                  $css_postfix = @$this->fdd[$k]['css']['postfix'];
                   echo '<td class="',$this->getCSSclass('value', null, true, $css_postfix),'">',"\n";
                 $size_ml_props = '';                  $size_ml_props = '';
                 $maxlen = intval($this->fdd[$k]['maxlen']);                  $maxlen = intval($this->fdd[$k]['maxlen']);
                 //$maxlen > 0 || $maxlen = 300;                  //$maxlen > 0 || $maxlen = 300;
                 $size   = min($maxlen, 60);                  $size   = min($maxlen, 60);
                 $size   && $size_ml_props .= ' size="'.$size.'"';                  $size   && $size_ml_props .= ' size="'.$size.'"';
                 $maxlen && $size_ml_props .= ' maxlength="'.$maxlen.'"';                  $maxlen && $size_ml_props .= ' maxlength="'.$maxlen.'"';
                 echo '<input class="',$this->getCSSclass('value', '', true),'" type="password" ';                  echo '<input class="',$this->getCSSclass('value', null, true, $css_postfix),'" type="password" ';
                 echo ($this->readonly($k) ? 'disabled ' : ''),'name="',$this->fds[$k],'" value="';                  echo ($this->readonly($k) ? 'disabled ' : ''),'name="',$this->fds[$k],'" value="';
                 echo htmlspecialchars($row["qf$k"]),'" ',$size_ml_props,'>',"\n";                  echo htmlspecialchars($row["qf$k"]),'" ',$size_ml_props,'>',"\n";
                 echo '</td>',"\n";                  echo '</td>',"\n";
Riadok 920  function phpMyEdit_form_control(theForm)
Riadok 934  function phpMyEdit_form_control(theForm)
   
         function display_delete_field($row, $k) /* {{{ */          function display_delete_field($row, $k) /* {{{ */
         {          {
                 $css_class_name = $this->getCSSclass('value', '', true);                  $css_postfix    = @$this->fdd[$k]['css']['postfix'];
                   $css_class_name = $this->getCSSclass('value', null, true, $css_postfix);
                 echo '<td class="',$css_class_name,'">';                  echo '<td class="',$css_class_name,'">';
                 echo $this->cellDisplay($k, $row, $css_class_name);                  echo $this->cellDisplay($k, $row, $css_class_name);
                 echo '</td>',"\n";                  echo '</td>',"\n";
Riadok 929  function phpMyEdit_form_control(theForm)
Riadok 944  function phpMyEdit_form_control(theForm)
         /**          /**
          * Returns CSS class name           * Returns CSS class name
          */           */
         function getCSSclass($name, $position  = '', $dividor = '', $postfix = '') /* {{{ */          function getCSSclass($name, $position  = null, $dividor = null, $postfix = null) /* {{{ */
         {          {
                 static $div_idx = -1;                  static $div_idx = -1;
                 $elements = array($this->css['prefix'], $name);                  $elements = array($this->css['prefix'], $name);
                 if ($this->page_type && $this->css['page_type']) {                  if ($this->page_type && $this->css['page_type']) {
                         $elements[] = $this->page_type;                          if ($this->page_type != 'L' && $this->page_type != 'F') {
                                   $elements[] = $this->page_types[$this->page_type];
                           }
                 }                  }
                 if ($position && $this->css['position']) {                  if ($position && $this->css['position']) {
                         $elements[] = $position;                          $elements[] = $position;
Riadok 958  function phpMyEdit_form_control(theForm)
Riadok 975  function phpMyEdit_form_control(theForm)
         /**          /**
          * Print CSS class name           * Print CSS class name
          */           */
         function printCSSclass($name, $position  = '', $dividor = '', $postfix = '') /* {{{ */          function printCSSclass($name, $position  = null, $dividor = null, $postfix = null) /* {{{ */
         {          {
                 echo $this->getCSSclass($name, $position, $dividor, $postfix);                  echo $this->getCSSclass($name, $position, $dividor, $postfix);
         } /* }}} */          } /* }}} */
Riadok 1442  function phpMyEdit_form_control(theForm)
Riadok 1459  function phpMyEdit_form_control(theForm)
          */           */
         function list_table() /* {{{ */          function list_table() /* {{{ */
         {          {
                 $this->page_type = ''; // empty string means list table  
                 if ($this->fm == '') {                  if ($this->fm == '') {
                         $this->fm = 0;                          $this->fm = 0;
                 }                  }
Riadok 1537  function phpMyEdit_form_control(theForm)
Riadok 1553  function phpMyEdit_form_control(theForm)
                 for ($k = 0; $k < $this->num_fds; $k++) {                  for ($k = 0; $k < $this->num_fds; $k++) {
                         $fd = $this->fds[$k];                          $fd = $this->fds[$k];
                         if ($this->displayed[$k]) {                          if ($this->displayed[$k]) {
                                   $css_postfix    = @$this->fdd[$k]['css']['postfix'];
                                   $css_class_name = $this->getCSSclass('header', null, null, $css_postfix);
                                 $fdn = $this->fdd[$fd]['name'];                                  $fdn = $this->fdd[$fd]['name'];
                                 $w   = isset($this->fdd[$fd]['width']) ? ' width="'.$this->fdd[$fd]['width'].'"' : '';                                  $w   = isset($this->fdd[$fd]['width']) ? ' width="'.$this->fdd[$fd]['width'].'"' : '';
                                 if (! $this->fdd[$fd]['sort'] || $this->hidden($fd) || $this->password($fd)) {                                  if (! $this->fdd[$fd]['sort'] || $this->hidden($fd) || $this->password($fd)) {
                                         echo '<th',$w,' class="',$this->getCSSclass('header'),'">',$fdn,'</th>',"\n";                                          echo '<th',$w,' class="',$css_class_name,'">',$fdn,'</th>',"\n";
                                 } else {                                  } else {
                                         // Clicking on the current sort field reverses the sort order                                          // Clicking on the current sort field reverses the sort order
                                         $new_sfn = $this->sfn;                                          $new_sfn = $this->sfn;
                                         array_unshift($new_sfn, in_array("$k", $new_sfn, 1) ? "-$k" : $k);                                          array_unshift($new_sfn, in_array("$k", $new_sfn, 1) ? "-$k" : $k);
                                         echo '<th',$w,' class="',$this->getCSSclass('header'),'">';                                          echo '<th',$w,' class="',$css_class_name,'">';
                                         echo '<a class="',$this->getCSSclass('header'),'" href="';                                          echo '<a class="',$css_class_name,'" href="';
                                         echo htmlspecialchars($this->page_name.'?fm=0&fl='.$this->fl                                          echo htmlspecialchars($this->page_name.'?fm=0&fl='.$this->fl
                                                         .'&qfn='.rawurlencode($this->qfn).$this->qfn                                                          .'&qfn='.rawurlencode($this->qfn).$this->qfn
                                                         .'&'.$this->get_sfn_cgi_vars($new_sfn).$this->cgi['persist']);                                                          .'&'.$this->get_sfn_cgi_vars($new_sfn).$this->cgi['persist']);
Riadok 1650  function phpMyEdit_form_control(theForm)
Riadok 1668  function phpMyEdit_form_control(theForm)
                                 $fields = array_flip(array_keys($filter_row));                                  $fields = array_flip(array_keys($filter_row));
                         }                          }
                         if ($fields != false) {                          if ($fields != false) {
                                 echo '<tr class="',$this->getCSSclass('filter'),'">',"\n";                                  $css_class_name = $this->getCSSclass('filter');
                                 echo '<td class="',$this->getCSSclass('filter'),'" colspan="',$sys_cols,'">';                                  echo '<tr class="',$css_class_name,'">',"\n";
                                 echo '<input class="',$this->getCSSclass('filter'),'" type="submit" name="filter" value="';                                  echo '<td class="',$css_class_name,'" colspan="',$sys_cols,'">';
                                   echo '<input class="',$css_class_name,'" type="submit" name="filter" value="';
                                 echo $this->labels['Query'],'"></td>',"\n";                                  echo $this->labels['Query'],'"></td>',"\n";
                                 for ($k = 0; $k < $this->num_fds; $k++) {                                  for ($k = 0; $k < $this->num_fds; $k++) {
                                         if (! $this->displayed[$k]) {                                          if (! $this->displayed[$k]) {
                                                 continue;                                                  continue;
                                         }                                          }
                                           $css_postfix      = @$this->fdd[$k]['css']['postfix'];
                                           $css_class_name   = $this->getCSSclass('filter', null, null, $css_postfix);
                                         $this->field_name = $this->fds[$k];                                          $this->field_name = $this->fds[$k];
                                         $fd               = $this->field_name;                                          $fd               = $this->field_name;
                                         $this->field      = $this->fdd[$fd];                                          $this->field      = $this->fdd[$fd];
                                         $css_class_name   = $this->getCSSclass('filter');  
                                         $l  = 'qf'.$k;                                          $l  = 'qf'.$k;
                                         $lc = 'qf'.$k.'_comp';                                          $lc = 'qf'.$k.'_comp';
                                         $li = 'qf'.$k.'_id';                                          $li = 'qf'.$k.'_id';
Riadok 1765  function phpMyEdit_form_control(theForm)
Riadok 1785  function phpMyEdit_form_control(theForm)
                 while ((!$fetched && ($row = @mysql_fetch_array($res, MYSQL_ASSOC)) != false)                  while ((!$fetched && ($row = @mysql_fetch_array($res, MYSQL_ASSOC)) != false)
                                 || ($fetched && $row != false)) {                                  || ($fetched && $row != false)) {
                         $fetched = false;                          $fetched = false;
                         echo '<tr class="',$this->getCSSclass('row', '', 'next'),'">',"\n";                          echo '<tr class="',$this->getCSSclass('row', null, 'next'),'">',"\n";
                         if ($sys_cols) { /* {{{ */                          if ($sys_cols) { /* {{{ */
                                 $key_rec    = $row['qf'.$this->key_num];                                  $key_rec    = $row['qf'.$this->key_num];
                                 $qviewStr   = $qpviewStr   . '&rec='.$key_rec;                                  $qviewStr   = $qpviewStr   . '&rec='.$key_rec;
                                 $qcopyStr   = $qpcopyStr   . '&rec='.$key_rec;                                  $qcopyStr   = $qpcopyStr   . '&rec='.$key_rec;
                                 $qchangeStr = $qpchangeStr . '&rec='.$key_rec;                                  $qchangeStr = $qpchangeStr . '&rec='.$key_rec;
                                 $qdeleteStr = $qpdeleteStr . '&rec='.$key_rec;                                  $qdeleteStr = $qpdeleteStr . '&rec='.$key_rec;
                                 $css_class_name = $this->getCSSclass('navigation', '', true);                                  $css_class_name = $this->getCSSclass('navigation', null, true);
                                 if ($select_recs) {                                  if ($select_recs) {
                                         if (! $this->nav_buttons() || $sys_cols > 1) {                                          if (! $this->nav_buttons() || $sys_cols > 1) {
                                                 echo '<td class="',$css_class_name,'">';                                                  echo '<td class="',$css_class_name,'">';
Riadok 1865  function phpMyEdit_form_control(theForm)
Riadok 1885  function phpMyEdit_form_control(theForm)
                                 if (! $this->displayed[$k]) {                                  if (! $this->displayed[$k]) {
                                         continue;                                          continue;
                                 }                                  }
                                 $css_class_name = $this->getCSSclass('cell', '', true);                                  $css_postfix    = @$this->fdd[$k]['css']['postfix'];
                                   $css_class_name = $this->getCSSclass('cell', null, true, $css_postfix);
                                 if ($this->hidden($k) || $this->password($k)) {                                  if ($this->hidden($k) || $this->password($k)) {
                                         echo '<td class="',$css_class_name,'">',$this->labels['hidden'],'</td>',"\n";                                          echo '<td class="',$css_class_name,'">',$this->labels['hidden'],'</td>',"\n";
                                         continue;                                          continue;
Riadok 1939  function phpMyEdit_form_control(theForm)
Riadok 1960  function phpMyEdit_form_control(theForm)
   
         function display_record() /* {{{ */          function display_record() /* {{{ */
         {          {
                 switch ($this->operation) {  
                         case $this->labels['Add']:    $this->page_type = 'add';    break;  
                         case $this->labels['Change']: $this->page_type = 'change'; break;  
                         case $this->labels['Copy']:   $this->page_type = 'copy';   break;  
                         case $this->labels['Delete']: $this->page_type = 'delete'; break;  
                         case $this->labels['View']:   $this->page_type = 'view';   break;  
                         default: $this->page_type = '';  
                 }  
                 $this->create_javascripts();                  $this->create_javascripts();
                 if ($this->cgi['persist'] != '') {                  if ($this->cgi['persist'] != '') {
                         echo $this->get_origvars_html($this->cgi['persist']);                          echo $this->get_origvars_html($this->cgi['persist']);
Riadok 1961  function phpMyEdit_form_control(theForm)
Riadok 1974  function phpMyEdit_form_control(theForm)
                         $this->display_record_buttons();                          $this->display_record_buttons();
                         echo '<hr class="',$this->getCSSclass('hr', 'up'),'">',"\n";                          echo '<hr class="',$this->getCSSclass('hr', 'up'),'">',"\n";
                 }                  }
                 echo '<table class="'.$this->getCSSclass('main').'" summary="',$this->tb,'">',"\n";                  echo '<table class="',$this->getCSSclass('main'),'" summary="',$this->tb,'">',"\n";
                 if ($this->add_operation()) {                  if ($this->add_operation()) {
                         $this->display_add_record();                          $this->display_add_record();
                 } else {                  } else {
                         $this->display_copy_change_delete_record();                          $this->display_copy_change_delete_record();
                 }                  }
                 echo '</table>'."\n";                  echo '</table>',"\n";
                 if ($this->nav_down()) {                  if ($this->nav_down()) {
                         echo '<hr class="',$this->getCSSclass('hr', 'down'),'">',"\n";                          echo '<hr class="',$this->getCSSclass('hr', 'down'),'">',"\n";
                         $this->display_record_buttons();                          $this->display_record_buttons();
Riadok 2262  function phpMyEdit_form_control(theForm)
Riadok 2275  function phpMyEdit_form_control(theForm)
         function recreate_fdd() /* {{{ */          function recreate_fdd() /* {{{ */
         {          {
                 // TODO: one level deeper browsing                  // TODO: one level deeper browsing
                 $action_letter = 'L'; // list by default                  $this->page_type = 'L'; // list by default
                 $this->filter_operation() && $action_letter = 'F';                  $this->filter_operation() && $this->page_type = 'F';
                 $this->view_operation()   && $action_letter = 'V';                  $this->view_operation()   && $this->page_type = 'V';
                 $this->delete_operation() && $action_letter = 'D';                  $this->delete_operation() && $this->page_type = 'D';
                 $this->add_operation()    && $action_letter = 'A';                  $this->add_operation()    && $this->page_type = 'A';
                 $this->change_operation() && $action_letter = 'C';                  $this->change_operation() && $this->page_type = 'C';
                 $this->copy_operation()   && $action_letter = 'P';                  $this->copy_operation()   && $this->page_type = 'P';
                 // Restore backups (if exists)                  // Restore backups (if exists)
                 foreach (array_keys($this->fdd) as $column) {                  foreach (array_keys($this->fdd) as $column) {
                         foreach (array_keys($this->fdd[$column]) as $col_option) {                          foreach (array_keys($this->fdd[$column]) as $col_option) {
Riadok 2286  function phpMyEdit_form_control(theForm)
Riadok 2299  function phpMyEdit_form_control(theForm)
                                         continue;                                          continue;
                                 }                                  }
                                 $col_ar = explode('|', $col_option, 2);                                  $col_ar = explode('|', $col_option, 2);
                                 if (! stristr($col_ar[1], $action_letter)) {                                  if (! stristr($col_ar[1], $this->page_type)) {
                                         continue;                                          continue;
                                 }                                  }
                                 // Make field backups                                  // Make field backups
Riadok 2544  function phpMyEdit_form_control(theForm)
Riadok 2557  function phpMyEdit_form_control(theForm)
                 !isset($this->css['separator']) && $this->css['separator'] = '-';                  !isset($this->css['separator']) && $this->css['separator'] = '-';
                 !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']  = true;                  !isset($this->css['position'])  && $this->css['position']  = false;
                 !isset($this->css['dividor'])   && $this->css['dividor']   = 2;                  !isset($this->css['dividor'])   && $this->css['dividor']   = 2;
                 $this->css['dividor'] = intval(@$this->css['dividor']);                  $this->css['dividor'] = intval(@$this->css['dividor']);
                 // Navigation                  // Navigation

Legend:
Odstranené z verzie1.67  
zmenené riadky
  Pridané vo verzii1.68

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