diff options
| author | Nathan Kinkade <nkinkade@nkinka.de> | 2010-01-23 22:21:37 +0000 |
|---|---|---|
| committer | Nathan Kinkade <nkinkade@nkinka.de> | 2010-01-23 22:21:37 +0000 |
| commit | b21e7be11a0abe57790ec2a2fcca1874632fed8c (patch) | |
| tree | 63cca83318d4f80914b6b90bbd9063ff5dabc6ea /modules/gallery/controllers/login.php | |
| parent | e47505081f2c1017a68f763e1170b44fddd1e722 (diff) | |
| parent | abdeb21ccbb25aee564335dbbfca4a8afaf49384 (diff) | |
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/gallery/controllers/login.php')
| -rw-r--r-- | modules/gallery/controllers/login.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/gallery/controllers/login.php b/modules/gallery/controllers/login.php index 75ee6b9c..cfccaf17 100644 --- a/modules/gallery/controllers/login.php +++ b/modules/gallery/controllers/login.php @@ -50,7 +50,11 @@ class Login_Controller extends Controller { if ($valid) { url::redirect(item::root()->abs_url()); } else { - print $form; + $view = new Theme_View("page.html", "other", "login"); + $view->page_title = t("Log in to Gallery"); + $view->content = new View("login_ajax.html"); + $view->content->form = $form; + print $view; } } |
