array('form' => array('buttons' =>
array('EDIT', 'DUPLICATE', 'DELETE',
array('customCode'=>''),
array('customCode'=>''),
array('customCode'=>''),
array('customCode'=>''),
array('customCode'=>''),
),
'links' => array('',
'',
'',
),
),
'maxColumns' => '2',
'widths' => array(
array('label' => '10', 'field' => '30'),
array('label' => '10', 'field' => '30')
),
),
'panels' =>array (
'lbl_campaign_information'=> array(
array (
'name',
array (
'name' => 'status',
'label' => 'LBL_CAMPAIGN_STATUS',
),
),
array (
array (
'name' => 'start_date',
'label' => 'LBL_CAMPAIGN_START_DATE',
),
'campaign_type',
),
array (
array (
'name' => 'end_date',
'label' => 'LBL_CAMPAIGN_END_DATE',
),
array(
'name' => 'frequency',
'customCode' => '{if $fields.campaign_type.value == "NewsLetter"}
{$fields.frequency.value}
{/if} ',
'customLabel' => '{if $fields.campaign_type.value == "NewsLetter"}{$MOD.LBL_CAMPAIGN_FREQUENCY}
{/if} '
),
),
array (
array (
'name' => 'impressions',
'label' => 'LBL_CAMPAIGN_IMPRESSIONS',
),
),
array (
array (
'name' => 'budget',
'label' => '{$MOD.LBL_CAMPAIGN_BUDGET} ({$CURRENCY})',
),
array (
'name' => 'expected_cost',
'label' => '{$MOD.LBL_CAMPAIGN_EXPECTED_COST} ({$CURRENCY})',
),
),
array (
array (
'name' => 'actual_cost',
'label' => '{$MOD.LBL_CAMPAIGN_ACTUAL_COST} ({$CURRENCY})',
),
array (
'name' => 'expected_revenue',
'label' => '{$MOD.LBL_CAMPAIGN_EXPECTED_REVENUE} ({$CURRENCY})',
),
),
array (
array (
'name' => 'objective',
'label' => 'LBL_CAMPAIGN_OBJECTIVE',
),
),
array (
array (
'name' => 'content',
'label' => 'LBL_CAMPAIGN_CONTENT',
),
),
),
'LBL_PANEL_ASSIGNMENT' => array(
array (
array (
'name' => 'assigned_user_name',
'label' => 'LBL_ASSIGNED_TO',
),
array (
'name' => 'date_modified',
'label' => 'LBL_DATE_MODIFIED',
'customCode' => '{$fields.date_modified.value} {$APP.LBL_BY} {$fields.modified_by_name.value}',
),
),
array (
array (
'name' => 'date_entered',
'customCode' => '{$fields.date_entered.value} {$APP.LBL_BY} {$fields.created_by_name.value}',
),
),
),
)
);
?>