diff --git a/app/email_templates/email_template_edit.php b/app/email_templates/email_template_edit.php index 5b37bcbdcc..dd1042198c 100644 --- a/app/email_templates/email_template_edit.php +++ b/app/email_templates/email_template_edit.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2016 + Portions created by the Initial Developer are Copyright (C) 2018 the Initial Developer. All Rights Reserved. */ @@ -56,6 +56,7 @@ $template_subcategory = check_str($_POST["template_subcategory"]); $template_subject = check_str($_POST["template_subject"]); $template_body = check_str($_POST["template_body"]); + $template_type = check_str($_POST["template_type"]); $template_enabled = check_str($_POST["template_enabled"]); $template_description = check_str($_POST["template_description"]); } @@ -76,6 +77,7 @@ if (strlen($template_subject) == 0) { $msg .= $text['message-required']." ".$text['label-template_subject']."
\n"; } if (strlen($template_body) == 0) { $msg .= $text['message-required']." ".$text['label-template_body']."
\n"; } //if (strlen($domain_uuid) == 0) { $msg .= $text['message-required']." ".$text['label-domain_uuid']."
\n"; } + //if (strlen($template_type) == 0) { $msg .= $text['message-required']." ".$text['label-template_type']."
\n"; } if (strlen($template_enabled) == 0) { $msg .= $text['message-required']." ".$text['label-template_enabled']."
\n"; } //if (strlen($template_description) == 0) { $msg .= $text['message-required']." ".$text['label-template_description']."
\n"; } if (strlen($msg) > 0 && strlen($_POST["persistformvar"]) == 0) { @@ -145,6 +147,7 @@ $template_subcategory = $row["template_subcategory"]; $template_subject = $row["template_subject"]; $template_body = $row["template_body"]; + $template_type = $row["template_type"]; $template_enabled = $row["template_enabled"]; $template_description = $row["template_description"]; } @@ -247,6 +250,17 @@ echo "\n"; echo "\n"; + echo "\n"; + echo "\n"; + echo " ".$text['label-template_type']."\n"; + echo "\n"; + echo "\n"; + echo " \n"; + echo "
\n"; + echo $text['description-template_type']."\n"; + echo "\n"; + echo "\n"; + echo "\n"; echo "\n"; echo " ".$text['label-template_enabled']."\n";