diff --git a/edit_list.php b/edit_list.php index b607393..eef9ee6 100644 --- a/edit_list.php +++ b/edit_list.php @@ -4,6 +4,7 @@ require("init.php"); $list_name = isset($_GET["list_name"]) ? $_GET["list_name"] : ""; $domain = $_SESSION["domain"]; +$success = isset($_GET["success"]) ? true : false; if (!isset($_SESSION["auth"]) || $_SESSION["auth"] != 1) { @@ -79,6 +80,7 @@ $smarty->assign("domain", $domain); $smarty->assign("moderators", $moderators); $smarty->assign("prefix", $prefix); $smarty->assign("username", $_SESSION["username"]); +$smarty->assign("success", $success); $smarty->display("edit_list.tpl"); ?> diff --git a/misc/smarty/templates_en/edit_list.tpl b/misc/smarty/templates_en/edit_list.tpl index 6b17bc6..cc37d3c 100644 --- a/misc/smarty/templates_en/edit_list.tpl +++ b/misc/smarty/templates_en/edit_list.tpl @@ -56,6 +56,7 @@
+ {if $success eq true}List was successfully updated.
{/if}