diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-10 08:38:21 +0800 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-10 08:39:47 +0800 |
commit | b276eaa68beca1266bf8fd83625ddfad73f44420 (patch) | |
tree | 44ead67fed22f9db75fe779ae090d1cf7734df1e /modules | |
parent | 98422857ebd5bd5c68b7b0060b6f6aef0b74bcbc (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
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
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(); |