diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-09 19:47:12 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-09 19:47:12 -0700 |
| commit | ec0890e42bda0262a621b8c8d3e8a5e8000bbc55 (patch) | |
| tree | 5c19508c603759734ee6ba24c2b05e9d4202fb6f /modules | |
| parent | d0a9d39c6aeec8f78bf8df3b55780b4bec9b8d18 (diff) | |
| parent | 798444f40bbc0344568e9744abf7034b9a59febd (diff) | |
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules')
| -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(); |
