diff --git a/source/webui/pages/home.php b/source/webui/pages/home.php index 2e190c6..745c8fa 100644 --- a/source/webui/pages/home.php +++ b/source/webui/pages/home.php @@ -7,5 +7,6 @@ for ($i = 1; $i <= 6; ++$i){ } $this->smarty->assign('days', $tbl_header_date); $this->smarty->assign('services', $services); +$this->smarty->assign('requested_page', $this->page); ?> \ No newline at end of file diff --git a/source/webui/pages/navigation.php b/source/webui/pages/navigation.php index 7a7cbf6..a2c3dc4 100644 --- a/source/webui/pages/navigation.php +++ b/source/webui/pages/navigation.php @@ -12,5 +12,4 @@ if ($auth->isAuthenticated()) { $this->smarty->assign('authenticated', $authenticated); $this->smarty->assign('auth', $auth); $this->smarty->assign('user', $user); - ?> \ No newline at end of file diff --git a/source/webui/pages/usercp.php b/source/webui/pages/usercp.php index 25a4cf7..55826b4 100644 --- a/source/webui/pages/usercp.php +++ b/source/webui/pages/usercp.php @@ -43,5 +43,6 @@ if ($request->exists('do')) { $this->smarty->assign('activity', $activity); $this->smarty->assign('successes', $successes); $this->smarty->assign('errors', $errors); +$this->smarty->assign('requested_page', $this->page); ?> \ No newline at end of file diff --git a/source/webui/templates/home.tpl b/source/webui/templates/home.tpl index f2297d4..08dd7c1 100644 --- a/source/webui/templates/home.tpl +++ b/source/webui/templates/home.tpl @@ -23,10 +23,12 @@ {$site->name}