public function FrxEmailMerge::config_form in Forena Reports 6.2
Same name and namespace in other branches
- 7.2 templates/FrxEmailMerge.inc \FrxEmailMerge::config_form()
- 7.3 templates/FrxEmailMerge.inc \FrxEmailMerge::config_form()
* Returns the section * Enter description here ...
Overrides FrxTemplate::config_form
File
- templates/
FrxEmailMerge.inc, line 5
Class
Code
public function config_form($config, $xml = '') {
$form_ctl['from'] = array(
'#type' => 'textfield',
'#title' => t('From'),
'#default_value' => @$config['from'],
);
$form_ctl['to'] = array(
'#type' => 'textfield',
'#title' => t('To'),
'#default_value' => @$config['to'],
);
$form_ctl['subject'] = array(
'#type' => 'textfield',
'#title' => t('Subject'),
'#default_value' => @$config['subject'],
);
$form_ctl['body'] = array(
'#type' => 'textarea',
'#title' => t('Message'),
'#default_value' => @$config['body'],
);
return $form_ctl;
}