From 24d92ab1a3273b9aa6e678f3d381ef9f931ceeb6 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Thu, 22 Nov 2018 23:39:35 +0000 Subject: [PATCH] Added success.php and .tpl for redirect to. --- WEB-INF/templates/success.tpl | 1 + success.php | 36 +++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 WEB-INF/templates/success.tpl create mode 100644 success.php diff --git a/WEB-INF/templates/success.tpl b/WEB-INF/templates/success.tpl new file mode 100644 index 00000000..c341a403 --- /dev/null +++ b/WEB-INF/templates/success.tpl @@ -0,0 +1 @@ + diff --git a/success.php b/success.php new file mode 100644 index 00000000..6af07ef6 --- /dev/null +++ b/success.php @@ -0,0 +1,36 @@ +add($i18n->get('msg.success')); +if ($auth->isAuthenticated()) $smarty->assign('authenticated', true); // Used in header.tpl for menu display. + +$smarty->assign('title', $i18n->get('title.success')); +$smarty->assign('content_page_name', 'success.tpl'); +$smarty->display('index.tpl'); -- 2.20.1