| 4 |
* $Id$ |
* $Id$ |
| 5 |
* |
* |
| 6 |
* $Log$ |
* $Log$ |
| 7 |
|
* Revision 1.10 2005/08/11 14:12:24 jonen |
| 8 |
|
* + bugfix |
| 9 |
|
* + added function to get allowed writeable entries for a TerminalOwner |
| 10 |
|
* |
| 11 |
* Revision 1.9 2004/08/31 14:22:03 jonen |
* Revision 1.9 2004/08/31 14:22:03 jonen |
| 12 |
* added removing of 'template' hash-value, needed to recognize empty hash-refs |
* added removing of 'template' hash-value, needed to recognize empty hash-refs |
| 13 |
* |
* |
| 14 |
* Revision 1.8 2003/12/14 01:52:26 jonen |
* Revision 1.8 2003/12/14 01:52:26 jonen |
| 15 |
* implemented 'SELECT' mode for selecting existing object-refereneces as child-nodes |
* implemented 'SELECT' mode for selecting existing object-refereneces as child-nodes |
| 118 |
$container->add(_HTML_SPACE, html_a( $url_short, $key . " add new"), html_br()); |
$container->add(_HTML_SPACE, html_a( $url_short, $key . " add new"), html_br()); |
| 119 |
|
|
| 120 |
if($item[tmp]) { unset($item[tmp]); } |
if($item[tmp]) { unset($item[tmp]); } |
| 121 |
|
if($item[0] == "_REF") { unset($item[0]); } |
| 122 |
|
|
| 123 |
if(count($item) != 0) { |
if(count($item) != 0) { |
| 124 |
foreach($item as $key => $value) { |
foreach($item as $key => $value) { |
| 236 |
} |
} |
| 237 |
|
|
| 238 |
|
|
| 239 |
|
function getWriteableEntries($userclass) { |
| 240 |
|
if($userclass == 'TerminalOwner') { |
| 241 |
|
$we = array( |
| 242 |
|
'password', |
| 243 |
|
'question', |
| 244 |
|
'answer', |
| 245 |
|
'phone', |
| 246 |
|
'mobile', |
| 247 |
|
'address1', |
| 248 |
|
'address2', |
| 249 |
|
'state', |
| 250 |
|
'city', |
| 251 |
|
'zip', |
| 252 |
|
'fax', |
| 253 |
|
); |
| 254 |
|
} |
| 255 |
|
return $we; |
| 256 |
|
} |
| 257 |
|
|
| 258 |
} |
} |
| 259 |
|
|