array('maxColumns' => '2',
'widths' => array(
array('label' => '10', 'field' => '30'),
array('label' => '10', 'field' => '30')
),
'form' => array(
'buttons' =>
array (
0 => 'EDIT',
array('customCode'=>'',
//Bug#51778: The custom code will be replaced with sugar_html. customCode will be deplicated.
'sugar_html' => array(
'type' => 'button',
'value' => '{$MOD.LBL_REAUTHENTICATE_LABEL}',
'htmlOptions' => array(
'title' => '{$MOD.LBL_REAUTHENTICATE_LABEL}',
'class' => 'button',
'onclick' => 'window.open(\'index.php?module=EAPM&action=Reauthenticate&record={$fields.id.value}&closeWhenDone=1&refreshParentWindow=1\',\'EAPM\');',
'name' => 'Reauthenticate',
'id' => 'Reauthenticate',
),
),
),
array ('customCode' => '{if $bean->aclAccess("delete")}{/if}',
//Bug#51778: The custom code will be replaced with sugar_html. customCode will be deplicated.
'sugar_html' => array(
'type' => 'submit',
'value' => '{$APP.LBL_DELETE_BUTTON_LABEL}',
'htmlOptions' => array(
'title' => '{$APP.LBL_DELETE_BUTTON_TITLE}',
'accessKey' => '{$APP.LBL_DELETE_BUTTON_KEY}',
'class' => 'button',
'onclick' => 'this.form.return_module.value=\'Users\'; this.form.return_action.value=\'EditView\'; this.form.return_id.value=\'{$return_id}\'; this.form.action.value=\'Delete\'; return confirm(\'{$APP.NTC_DELETE_CONFIRMATION}\');',
'name' => 'Delete',
),
'template' => '{if $bean->aclAccess("delete")}[CONTENT]{/if}',
),
),
),
'footerTpl'=>'modules/EAPM/tpls/DetailViewFooter.tpl',),
),
'panels' =>array (
array('application', 'validated'),
array('name', 'url'),
array (
array (
'name' => 'date_entered',
'customCode' => '{$fields.date_entered.value} {$APP.LBL_BY} {$fields.created_by_name.value}',
'label' => 'LBL_DATE_ENTERED',
),
array (
'name' => 'date_modified',
'customCode' => '{$fields.date_modified.value} {$APP.LBL_BY} {$fields.modified_by_name.value}',
'label' => 'LBL_DATE_MODIFIED',
),
),
)
);
?>