diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-06-09 19:49:58 -0700 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-06-09 19:49:58 -0700 |
commit | 86a32d412f11504ec66f0c9b08973de9ce9c2e30 (patch) | |
tree | 510263c9f0d855432b1ab6a677369c1d3eec0aa6 /modules/gallery/controllers | |
parent | 7ccb65ea9ebf10e35c09bbebf8ffe1118d3fb0fb (diff) | |
parent | 798444f40bbc0344568e9744abf7034b9a59febd (diff) |
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/controllers')
-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 f37609e6..34fee917 100644 --- a/modules/gallery/controllers/albums.php +++ b/modules/gallery/controllers/albums.php @@ -26,7 +26,9 @@ class Albums_Controller extends Items_Controller { $page_size = module::get_var("gallery", "page_size", 9); if (!access::can("view", $album)) { if ($album->id == 1) { - print new Theme_View("login_page.html"); + $view = new Theme_View("page.html", "page"); + $view->content = user::get_login_form("login/auth_html"); + print $view; return; } else { access::forbidden(); |