| 4 |
## $Id$ |
## $Id$ |
| 5 |
## ----------------------------------------------------------------------------- |
## ----------------------------------------------------------------------------- |
| 6 |
## $Log$ |
## $Log$ |
| 7 |
|
## Revision 1.2 2003/04/04 23:58:33 jonen |
| 8 |
|
## + minor changes |
| 9 |
|
## |
| 10 |
## Revision 1.1 2003/04/04 00:32:57 jonen |
## Revision 1.1 2003/04/04 00:32:57 jonen |
| 11 |
## + initial commit |
## + initial commit |
| 12 |
## |
## |
| 109 |
$result = $this->_datasource->_result; |
$result = $this->_datasource->_result; |
| 110 |
if (is_array($result)) { |
if (is_array($result)) { |
| 111 |
foreach($result as $key => $value) { |
foreach($result as $key => $value) { |
| 112 |
if(!$value) { $value = " "; } |
if(!$value) { $value = _HTML_SPACE; } |
| 113 |
// if item is match by expression we will replace it with an link object |
// if item is match by expression we will replace it with an link object |
| 114 |
if($this->_options['decode']) { |
if($this->_options['decode']) { |
| 115 |
if($this->decode_item_expr($value)) { |
if($this->decode_item_expr($value)) { |
| 147 |
} |
} |
| 148 |
} |
} |
| 149 |
// submit button |
// submit button |
| 150 |
$container->add(form_submit('ecfedit', "edit")); |
$container->add(form_submit('ecdfe', "edit")); |
| 151 |
// close form |
// close form |
| 152 |
$container->add(form_close()); |
$container->add(form_close()); |
| 153 |
|
|
| 154 |
// add container to InfoTable |
// add container to InfoTable |
| 155 |
$this->add_row(" ", $container); |
$this->add_row(_HTML_SPACE, $container); |
| 156 |
} |
} |
| 157 |
|
|
| 158 |
function decode_item_array($item) { |
function decode_item_array($item) { |