Commit f7a04a1a authored by jcnventura's avatar jcnventura

Issue #1033238 by stella: use textareas for the mail custom strings

parent 74446106
...@@ -201,13 +201,13 @@ function print_mail_strings_settings() { ...@@ -201,13 +201,13 @@ function print_mail_strings_settings() {
'#description' => t("e-mail subject line. The sender's name will appear in place of !user in the subject. The web site name will be inserted in place of !site. The page title replaces !title."), '#description' => t("e-mail subject line. The sender's name will appear in place of !user in the subject. The web site name will be inserted in place of !site. The page title replaces !title."),
); );
$form['print_mail_text']['print_mail_text_message'] = array( $form['print_mail_text']['print_mail_text_message'] = array(
'#type' => 'textfield', '#type' => 'textarea',
'#title' => t('Message Preamble'), '#title' => t('Message Preamble'),
'#default_value' => variable_get('print_mail_text_message', t('Message from sender')), '#default_value' => variable_get('print_mail_text_message', t('Message from sender')),
'#description' => t('e-mail message preamble. The sender will be able to add their own message after this.'), '#description' => t('e-mail message preamble. The sender will be able to add their own message after this.'),
); );
$form['print_mail_text']['print_mail_text_content'] = array( $form['print_mail_text']['print_mail_text_content'] = array(
'#type' => 'textfield', '#type' => 'textarea',
'#title' => t('Message Content'), '#title' => t('Message Content'),
'#default_value' => variable_get('print_mail_text_content', ''), '#default_value' => variable_get('print_mail_text_content', ''),
'#description' => t('Set the default contents of the message.'), '#description' => t('Set the default contents of the message.'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment