summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/albums.php
diff options
context:
space:
mode:
authorjhilden <jakobhilden@gmail.com>2009-06-10 00:10:18 -0400
committerjhilden <jakobhilden@gmail.com>2009-06-10 00:10:18 -0400
commitdab0799b6557b7ea2ac5e5a262bae4ecf054b80e (patch)
tree56948e93b9c3644e75b148c6bae1384d932074b7 /modules/gallery/controllers/albums.php
parentf1c91ab9779542f1605476bc52c57d5f14294e97 (diff)
parentf55686c7ef2ca5f3c2c78588e39ac717064c5e09 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/controllers/albums.php')
-rw-r--r--modules/gallery/controllers/albums.php4
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();