/[cvs]/nfo/php/libs/org.netfrag.patches/phphtmllib/widgets/GenericGUIDataList.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.patches/phphtmllib/widgets/GenericGUIDataList.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by joko, Wed Apr 9 07:54:42 2003 UTC revision 1.10 by jonen, Fri Apr 18 18:40:02 2003 UTC
# Line 1  Line 1 
1  <?  <?
2  /*  /*
3  ##    -----------------------------------------------------------------------------  ## -------------------------------------------------------------------------
4  ##    $Id$  ##    $Id$
5  ##    -----------------------------------------------------------------------------  ## -------------------------------------------------------------------------
6  ##    $Log$  ##    $Log$
7    ##    Revision 1.10  2003/04/18 18:40:02  jonen
8    ##    + fixed bugs at 'actionbar_cell' relating to html-form and js
9    ##
10    ##    Revision 1.9  2003/04/11 00:44:46  joko
11    ##    minor update: shortened seperators
12    ##
13  ##    Revision 1.8  2003/04/09 07:54:42  joko  ##    Revision 1.8  2003/04/09 07:54:42  joko
14  ##    cleaned up decoding part  ##    cleaned up decoding part
15  ##  ##
# Line 38  Line 44 
44  ##    Revision 1.1  2003/03/01 22:57:40  cvsmax  ##    Revision 1.1  2003/03/01 22:57:40  cvsmax
45  ##    + inital commit  ##    + inital commit
46  ##  ##
47  ##  ## -------------------------------------------------------------------------
 ##    -----------------------------------------------------------------------------  
48  */  */
49    
50    
51  /**  /**
52   * Need to make sure we have the DefaultGUIDataList object   * Need to make sure we have the DefaultGUIDataList object
53   */   */
# Line 345  class GenericGUIDataList extends Default Line 351  class GenericGUIDataList extends Default
351    
352          if($action_name && is_array($action_list)) {          if($action_name && is_array($action_list)) {
353            $action_form = container("Select action", _HTML_SPACE,            $action_form = container("Select action", _HTML_SPACE,
                              form_open("data_list_action", $_SERVER['PHP_SELF'], 'POST'),  
354                               form_select($action_name, $action_list),                               form_select($action_name, $action_list),
355                               form_submit("submit","OK" )                                                           form_submit("ok","OK" )                            
356                               );                               );
           $url_vars = $this->_get_current_url_vars();  
           foreach($url_vars as $label => $value) {  
             $action_form->add(form_hidden($label, $value));  
           }  
           $action_form->add(form_close());  
357            return $action_form;            return $action_form;
358          } else {          } else {
359            return _HTML_SPACE;            return _HTML_SPACE;

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.10

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed