4 |
## $Id$ |
## $Id$ |
5 |
## ----------------------------------------------------------------------------- |
## ----------------------------------------------------------------------------- |
6 |
## $Log$ |
## $Log$ |
7 |
|
## Revision 1.24 2003/07/02 11:39:16 jonen |
8 |
|
## fixed bugs |
9 |
|
## |
10 |
## Revision 1.23 2003/06/06 11:57:20 joko |
## Revision 1.23 2003/06/06 11:57:20 joko |
11 |
## minor update: cosmetic changes |
## minor update: cosmetic changes |
12 |
## |
## |
351 |
if($ecom_state['ecom_abstract_type'] == "list") { |
if($ecom_state['ecom_abstract_type'] == "list") { |
352 |
$hidden_items = array( |
$hidden_items = array( |
353 |
'ecl' => $label, |
'ecl' => $label, |
354 |
'ecat' => "item", |
'ecat' => "list", |
355 |
'ecmod' => "view", |
'ecmod' => "view", |
356 |
'ecdm' => $ecom_state['ecom_data_ident'], |
'ecdid' => $ecom_state['ecom_data_ident'], |
357 |
); |
); |
358 |
} |
} |
359 |
elseif($ecom_state['ecom_abstract_type'] == "item") { |
elseif($ecom_state['ecom_abstract_type'] == "item") { |
542 |
$args['options']['caption'] = $val['ecom_data_ident']; |
$args['options']['caption'] = $val['ecom_data_ident']; |
543 |
$args['options']['data_locator_meta']['action'] = 'create'; |
$args['options']['data_locator_meta']['action'] = 'create'; |
544 |
print "debug 'create': " . Dumper($val); |
print "debug 'create': " . Dumper($val); |
545 |
|
} |
546 |
|
|
547 |
if($val['ecom_data_meta_x']) { |
if($val['ecom_data_meta_x']) { |
548 |
unset($args['options']['data_locator_meta']['nodename']); |
unset($args['options']['data_locator_meta']['nodename']); |
549 |
$args['options']['data_locator_meta']['parent'][guid] = $val['ecom_data_meta']; |
$args['options']['data_locator_meta']['parent'][guid] = $val['ecom_data_meta']; |
550 |
$args['options']['data_locator_meta']['parent'][nodename] = $val['ecom_data_meta_x']; |
$args['options']['data_locator_meta']['parent'][nodename] = $val['ecom_data_meta_x']; |
551 |
} |
} |
|
} |
|
552 |
|
|
553 |
// switch abstract type |
// switch abstract type |
554 |
} elseif ($val['ecom_abstract_type'] == "tree") { |
} elseif ($val['ecom_abstract_type'] == "tree") { |