diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2010-01-24 14:57:13 -0800 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-24 14:57:13 -0800 |
| commit | cc912935731c216a57e4c291548ec503a0c1607e (patch) | |
| tree | 0ebfdf14a4f8cd183df31cde5be8e3226641d580 /modules/gallery/controllers/login.php | |
| parent | 5b84919d6e55a8c43f60cf8b695c3696340d001b (diff) | |
| parent | eb32e1052df4da268f01a84b809d756d9c9b85b7 (diff) | |
Merge branch 'bharat_dev' of git@github.com:gallery/gallery3 into bharat_dev
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 464db491..cfe86cfb 100644 --- a/modules/gallery/controllers/login.php +++ b/modules/gallery/controllers/login.php @@ -48,7 +48,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; } } |
