diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-08-06 13:32:41 +0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-08-08 01:40:54 +0800 |
commit | 1591c3871a41b9b0ef240c227c6049de8ae066e3 (patch) | |
tree | 7256435af0a56cbbb0dab315aa4a6a60e1a645fb | |
parent | 6abcc06e21d0b7827e395f6a6eef673f83d4d0ec (diff) |
Don't show the ajaxy login link in the top right corner if we're on the login page itself.
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
-rw-r--r-- | modules/user/helpers/user_theme.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/user/helpers/user_theme.php b/modules/user/helpers/user_theme.php index 69042aed..8de2d248 100644 --- a/modules/user/helpers/user_theme.php +++ b/modules/user/helpers/user_theme.php @@ -19,8 +19,10 @@ */ class user_theme_Core { static function header_top($theme) { - $view = new View("login.html"); - $view->user = user::active(); - return $view->render(); + if ($theme->page_type != "login") { + $view = new View("login.html"); + $view->user = user::active(); + return $view->render(); + } } } |