array('form' => array('buttons'=>array('EDIT', 'DUPLICATE', 'DELETE',
array('customCode'=>'{if $fields.status.value != "canceled"}' .
' ' .
' ' .
' ' .
' {/if}'),
array('customCode'=>'{if $fields.status.value != "canceled"}' .
' ' .
' {/if}'),)),
'maxColumns' => '2',
'widths' => array(
array('label' => '10', 'field' => '30'),
array('label' => '10', 'field' => '30')
),
),
'panels' =>array (
'default' => array(
array (
array (
'name' => 'name',
'label' => 'LBL_SUBJECT',
),
array (
'name' => 'status',
),
),
array (
array (
'name' => 'date_start',
'customCode' => '{$fields.date_start.value} {$fields.time_start.value} ',
'label' => 'LBL_DATE_TIME',
),
'parent_name',
),
array (
array (
'name' => 'duration_hours',
'customCode' => '{$fields.duration_hours.value}{$MOD.LBL_HOURS_ABBREV} {$fields.duration_minutes.value}{$MOD.LBL_MINSS_ABBREV} ',
'label' => 'LBL_DURATION',
),
),
array (
array (
'name' => 'date_modified',
'customCode' => '{$fields.date_modified.value} {$APP.LBL_BY} {$fields.modified_by_name.value} ',
'label' => 'LBL_DATE_MODIFIED',
),
array (
'name' => 'assigned_user_name',
'customCode' => '{$fields.assigned_user_name.value}',
'label' => 'LBL_ASSIGNED_TO',
),
),
array (
array (
'name' => 'date_entered',
'customCode' => '{$fields.date_entered.value} {$APP.LBL_BY} {$fields.created_by_name.value} ',
'label' => 'LBL_DATE_ENTERED',
),
),
array (
array('name'=>'reminder_checked',
'fields'=>array('reminder_checked', 'reminder_time')),
),
array (
'description',
),
),
)
);
?>