summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-03-11 21:07:21 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-03-11 21:07:21 +0000
commite58b955d4acc44bc2b49fffbffda42ad8b66069d (patch)
treed09ac5df5396926902472a5dc8a8c1322261bea8 /modules
parent8fe1880e3016fe7a06a0c70b80604b93b9b3f01b (diff)
Bag the header("Location:", ...);exit() and replace with
url:site(url::abs_file(...)) Create a login_page.html to be used when there is no guest access to the root album. It doesn't have a sidebar nor breadcrumb.
Diffstat (limited to 'modules')
-rw-r--r--modules/user/controllers/login.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/user/controllers/login.php b/modules/user/controllers/login.php
index ab2dd379..62420ab1 100644
--- a/modules/user/controllers/login.php
+++ b/modules/user/controllers/login.php
@@ -27,9 +27,8 @@ class Login_Controller extends Controller {
}
public function page() {
- $view = new Theme_View("page.html");
+ $view = new Theme_View("login_page.html");
$view->page_type = "login";
- $view->content = "<script>\$(\"#gLoginLink\").ready(function() {\$(\"#gLoginLink\").click();});</script>";
print $view;
}