forked from services/mlmmj-light-web-ecg
Added username to error template, Rearranged error messages
This commit is contained in:
@@ -7,6 +7,7 @@ unset($_SESSION["error_code"]);
|
|||||||
|
|
||||||
$smarty->assign("headline", $headline);
|
$smarty->assign("headline", $headline);
|
||||||
$smarty->assign("web_url", $web_url);
|
$smarty->assign("web_url", $web_url);
|
||||||
|
$smarty->assign("username", $_SESSION["username"]);
|
||||||
$smarty->assign("error_code", $error_code);
|
$smarty->assign("error_code", $error_code);
|
||||||
$smarty->display("error.tpl");
|
$smarty->display("error.tpl");
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="error">
|
<div id="error">
|
||||||
|
<strong>
|
||||||
{if $error_code == 1}
|
{if $error_code == 1}
|
||||||
Domain can contain only english letters, dots, hyphens and digits.
|
Domain can contain only english letters, dots, hyphens and digits.
|
||||||
{elseif $error_code == 2}
|
{elseif $error_code == 2}
|
||||||
@@ -38,7 +39,8 @@
|
|||||||
{else}
|
{else}
|
||||||
Unknown error.
|
Unknown error.
|
||||||
{/if}
|
{/if}
|
||||||
|
</strong>
|
||||||
|
<p>Hit "Back" in your browser to return to where you came from. This should normally preserve your changes.</p>
|
||||||
</div>
|
</div>
|
||||||
<p>Hit "Back" in your browser to return to where you came from. This should normally preserve your changes.</p>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user