diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-09 17:38:21 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-09 17:38:21 -0700 |
commit | 7e61bcbbecefb6b12343a8c6d3f700d282a3528b (patch) | |
tree | 44ead67fed22f9db75fe779ae090d1cf7734df1e /modules | |
parent | cf86a7b8df9571eef7b507f174ee3f714776d14d (diff) |
Add some window dressing to login_page.html in order to make it more in line
with the overall look of the Gallery3 theme
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gallery/controllers/albums.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/gallery/controllers/albums.php b/modules/gallery/controllers/albums.php index 9b837442..f37609e6 100644 --- a/modules/gallery/controllers/albums.php +++ b/modules/gallery/controllers/albums.php @@ -26,9 +26,7 @@ class Albums_Controller extends Items_Controller { $page_size = module::get_var("gallery", "page_size", 9); if (!access::can("view", $album)) { if ($album->id == 1) { - $template = new Theme_View("not_authorized.html", "album"); - $template->content = new View("login_page.html"); - print $template; + print new Theme_View("login_page.html"); return; } else { access::forbidden(); |