move footer definition to theme call

This commit is contained in:
2017-07-01 22:51:42 +10:00
parent 627b1767e8
commit 4ad18bf7fd
3 changed files with 8 additions and 7 deletions

View File

@@ -75,7 +75,7 @@ function booking_emails_admin() {
if(variable_get('booking_enable_html_mail', 0) == 1) {
$form['emails']['booking_html_mail_footer'] = array(
'#title' => t('Footer text for HTML email'),
'#description' => t('Enter HTML to go in the footer of the email template (above the social media icons).'),
'#description' => t('Enter HTML to go in the footer of the email template (above the social media icons).<br /><strong>NOTE:</strong>&nbsp;No token subsitutions will be made here.'),
'#default_value' => isset(variable_get('booking_html_mail_footer')['value']) ? variable_get('booking_html_mail_footer')['value'] : variable_get('booking_html_mail_footer', '<p>&nbsp;</p>'),
'#type' => 'text_format',
'#format' => 'full_html',