diff --git a/app/email_templates/email_template_edit.php b/app/email_templates/email_template_edit.php index dd1042198c..14944ba2a9 100644 --- a/app/email_templates/email_template_edit.php +++ b/app/email_templates/email_template_edit.php @@ -126,7 +126,7 @@ if ($action == "update") { $_SESSION["message"] = $text['message-update']; } - header('Location: email_template_edit.php?id='.$email_template_uuid); + header('Location: email_template_edit.php?id='.escape($email_template_uuid)); return; } } //(is_array($_POST) && strlen($_POST["persistformvar"]) == 0) @@ -174,7 +174,7 @@ echo " ".$text['label-template_language']."\n"; echo "\n"; echo "\n"; - echo " \n"; + echo " \n"; echo "
\n"; echo $text['description-template_language']."\n"; echo "\n"; @@ -185,7 +185,7 @@ echo " ".$text['label-template_category']."\n"; echo "\n"; echo "\n"; - echo " \n"; + echo " \n"; echo "
\n"; echo $text['description-template_category']."\n"; echo "\n"; @@ -196,7 +196,7 @@ echo " ".$text['label-template_subcategory']."\n"; echo "\n"; echo "\n"; - echo " \n"; + echo " \n"; echo "
\n"; echo $text['description-template_subcategory']."\n"; echo "\n"; @@ -207,7 +207,7 @@ echo " ".$text['label-template_subject']."\n"; echo "\n"; echo "\n"; - echo " \n"; + echo " \n"; echo "
\n"; echo $text['description-template_subject']."\n"; echo "\n"; @@ -218,7 +218,7 @@ echo " ".$text['label-template_body']."\n"; echo "\n"; echo "\n"; - echo " \n"; + echo " \n"; echo "
\n"; echo $text['description-template_body']."\n"; echo "\n"; @@ -238,10 +238,10 @@ } foreach ($_SESSION['domains'] as $row) { if ($row['domain_uuid'] == $domain_uuid) { - echo " \n"; + echo " \n"; } else { - echo " \n"; + echo " \n"; } } echo " \n"; @@ -255,7 +255,7 @@ echo " ".$text['label-template_type']."\n"; echo "\n"; echo "\n"; - echo " \n"; + echo " \n"; echo "
\n"; echo $text['description-template_type']."\n"; echo "\n"; @@ -291,7 +291,7 @@ echo " ".$text['label-template_description']."\n"; echo "\n"; echo "\n"; - echo " \n"; + echo " \n"; echo "
\n"; echo $text['description-template_description']."\n"; echo "\n"; @@ -300,7 +300,7 @@ echo " \n"; echo " \n"; if ($action == "update") { - echo " \n"; + echo " \n"; } echo " \n"; echo " \n";