diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-09-22 09:48:24 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-09-22 09:48:24 -0700 |
commit | bec620487af86f566dc7a82549cd4dcb1cf99c9a (patch) | |
tree | 6a15c79933a14e92bcc17c9b60026fe42ca5e973 | |
parent | f1366d275e007141a28a933a6221c6337d7aa1d7 (diff) |
Wrap the login form with a view in order to include a forgot password link. Fixes ticket #620
-rw-r--r-- | modules/gallery/controllers/albums.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/gallery/controllers/albums.php b/modules/gallery/controllers/albums.php index 3ea08538..694cc4ff 100644 --- a/modules/gallery/controllers/albums.php +++ b/modules/gallery/controllers/albums.php @@ -28,7 +28,9 @@ class Albums_Controller extends Items_Controller { if ($album->id == 1) { $view = new Theme_View("page.html", "login"); $view->page_title = t("Log in to Gallery"); - $view->content = user::get_login_form("login/auth_html"); + //$view->content = user::get_login_form("login/auth_html"); + $view->content = new View("login_ajax.html"); + $view->content->form = user::get_login_form("login/auth_html"); print $view; return; } else { |