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 |
## Revision 1.9 2003/04/11 00:44:46 joko |
11 |
## minor update: shortened seperators |
## minor update: shortened seperators |
12 |
## |
## |
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; |