You are here

public function FrxEmailMerge::config_form in Forena Reports 7.3

Same name and namespace in other branches
  1. 6.2 templates/FrxEmailMerge.inc \FrxEmailMerge::config_form()
  2. 7.2 templates/FrxEmailMerge.inc \FrxEmailMerge::config_form()

Returns the section Enter description here ...

Overrides FrxTemplate::config_form

File

templates/FrxEmailMerge.inc, line 9

Class

FrxEmailMerge

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;
}