You are here

function htmlmail_template_settings in HTML Mail 5

Same name and namespace in other branches
  1. 6 htmlmail.admin.inc \htmlmail_template_settings()
  2. 7 htmlmail.admin.inc \htmlmail_template_settings()
1 string reference to 'htmlmail_template_settings'
htmlmail_menu in ./htmlmail.module
Implementation of hook_menu().

File

./htmlmail.module, line 134
Send system emails in HTML

Code

function htmlmail_template_settings() {
  $form['htmlmail_header'] = array(
    '#type' => 'textarea',
    '#title' => t('Header HTML'),
    '#default_value' => variable_get('htmlmail_header', ''),
  );
  $form['htmlmail_footer'] = array(
    '#type' => 'textarea',
    '#title' => t('Footer HTML'),
    '#default_value' => variable_get('htmlmail_footer', ''),
  );
  $form['htmlmail_css'] = array(
    '#type' => 'textarea',
    '#title' => t('CSS'),
    '#default_value' => variable_get('htmlmail_css', ''),
  );
  return system_settings_form($form);
}