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

Rozdiely pre phpMyEdit/extensions/phpMyEdit-slide.class.php medzi verziami 1.4 a 1.5

verzia 1.4, 2003/01/03 14:33:37 verzia 1.5, 2003/03/31 00:16:25
Riadok 13 
Riadok 13 
    "Extensions". Main extension configuration is done via $opts['ext'] array.     "Extensions". Main extension configuration is done via $opts['ext'] array.
    All options are optional.     All options are optional.
   
    $opts['ext']['rec'] - initial primary key (ie. ID) of record to display     $opts['ext']['rec'] - primary key value of record to display initially
    $opts['ext']['next'] - next record primary key  
    $opts['ext']['prev'] - previous record primary key  
    $opts['ext']['next_disable'] - disable functionality of next button     $opts['ext']['next_disable'] - disable functionality of next button
    $opts['ext']['prev_disable'] - disable functionality of prev button     $opts['ext']['prev_disable'] - disable functionality of prev button
   
      Extension internal variables follows.
   
      $opts['ext']['next'] - primary key value of next record
      $opts['ext']['prev'] - primary key value of previous record
  */   */
   
 /* $Platon: phpMyEdit/extensions/phpMyEdit-slide.class.php,v 1.3 2002/11/02 19:16:45 nepto Exp $ */  /* $Platon: phpMyEdit/extensions/phpMyEdit-slide.class.php,v 1.4 2003/01/03 14:33:37 nepto Exp $ */
   
 require_once dirname(__FILE__).'/../phpMyEdit.class.php';  require_once dirname(__FILE__).'/../phpMyEdit.class.php';
   
Riadok 48  class phpMyEdit_slide extends phpMyEdit
Riadok 51  class phpMyEdit_slide extends phpMyEdit
                 echo '<tr><td align=left style="text-align:left;border:0;padding:0;" nowrap>' . "\n";                  echo '<tr><td align=left style="text-align:left;border:0;padding:0;" nowrap>' . "\n";
                 if ($this->change_operation()) {                  if ($this->change_operation()) {
                         echo '<input type="submit" name="savechange" value="'.$this->labels['Save'].'" />'."\n";                          echo '<input type="submit" name="savechange" value="'.$this->labels['Save'].'" />'."\n";
                           echo '<input type="submit" name="morechange" value="'.$this->labels['Apply'].'" />'."\n";
                         echo '<input type="button" name="cancel" value="'.$this->labels['Cancel'].'" onClick="form.submit();" />'."\n";                          echo '<input type="button" name="cancel" value="'.$this->labels['Cancel'].'" onClick="form.submit();" />'."\n";
                         echo '<input type="hidden" name="rec_change" value="1">';                          echo '<input type="hidden" name="rec_change" value="1">';
                 } elseif ($this->view_operation()) {                  } elseif ($this->view_operation()) {
Riadok 102  class phpMyEdit_slide extends phpMyEdit
Riadok 106  class phpMyEdit_slide extends phpMyEdit
                         $query_parts = array(                          $query_parts = array(
                                         'type'   => 'select',                                          'type'   => 'select',
                                         // XXX FIXME - simplify query                                          // XXX FIXME - simplify query
                                         'select' => 'Table0.'.$this->key,                                          'select' => 'PMEtable0.'.$this->key,
                                         'from'   => $this->create_join_clause(),                                          'from'   => $this->create_join_clause(),
                                         'where'  => $this->make_where_from_query_opts());                                          'where'  => $this->make_where_from_query_opts());
                         // TODO: order by clausule according to default sort order options                          // TODO: order by clausule according to default sort order options

Legend:
Odstranené z verzie1.4  
zmenené riadky
  Pridané vo verzii1.5

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