4 |
## $Id$ |
## $Id$ |
5 |
## ----------------------------------------------------------------------------- |
## ----------------------------------------------------------------------------- |
6 |
## $Log$ |
## $Log$ |
7 |
|
## Revision 1.5 2003/04/09 09:59:30 joko |
8 |
|
## fixes regarding modification of decode-function-behavior |
9 |
|
## |
10 |
## Revision 1.4 2003/04/06 01:41:33 jonen |
## Revision 1.4 2003/04/06 01:41:33 jonen |
11 |
## - removed duplicated decode functions |
## - removed duplicated decode functions |
12 |
## |
## |
166 |
$hidden = $this->get_hidden_elements(); |
$hidden = $this->get_hidden_elements(); |
167 |
$options = $this->_options['decode_args']; |
$options = $this->_options['decode_args']; |
168 |
if($utils->decode_item_expr($value, $hidden, $options)) { |
if($utils->decode_item_expr($value, $hidden, $options)) { |
169 |
$table->add_row($key, $utils->decode_item_expr($value, $hidden, $options)); |
$table->add_row($key, $value); |
170 |
} |
} |
171 |
// if item is an Array we will replace it with an selection form object |
// if item is an Array we will replace it with an selection form object |
172 |
elseif($utils->decode_item_array($value, $hidden, $options) ) { |
elseif($utils->decode_item_array($value, $hidden, $options) ) { |
173 |
$table->add_row($key, $utils->decode_item_array($value, $hidden, $options)); |
$table->add_row($key, $value); |
174 |
} else { |
} else { |
175 |
$table->add_row($this->element_label($key), $this->element_form($key)); |
$table->add_row($this->element_label($key), $this->element_form($key)); |
176 |
} |
} |