diff --git a/error.php b/error.php index 9a19889..521ea3a 100644 --- a/error.php +++ b/error.php @@ -7,6 +7,7 @@ unset($_SESSION["error_code"]); $smarty->assign("headline", $headline); $smarty->assign("web_url", $web_url); +$smarty->assign("username", $_SESSION["username"]); $smarty->assign("error_code", $error_code); $smarty->display("error.tpl"); diff --git a/misc/smarty/templates_en/error.tpl b/misc/smarty/templates_en/error.tpl index 9a80591..3998f8b 100644 --- a/misc/smarty/templates_en/error.tpl +++ b/misc/smarty/templates_en/error.tpl @@ -13,6 +13,7 @@
+ {if $error_code == 1} Domain can contain only english letters, dots, hyphens and digits. {elseif $error_code == 2} @@ -38,7 +39,8 @@ {else} Unknown error. {/if} + +

Hit "Back" in your browser to return to where you came from. This should normally preserve your changes.

-

Hit "Back" in your browser to return to where you came from. This should normally preserve your changes.