From 736d74d05f70be5b72e44eafe2cc8efae52b0af7 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 16 Mar 2009 04:33:45 +0000 Subject: Clean up the login, maintenance login and required-top-level-login code. We now have two clear and separate login approaches: login/ajax login/html Choose the one that's appropriate. Totally simplified the maintenance page to be separate from the theme and dead simple, and use login/html approach there. Totally simplified the top level login (login_page.html.php) to just be a login page, not the rest of the chrome on the page and use the login/ajax approach there. Don't use access::required in albums and then catch the exception, instead use access::can and check the return code. Improve the text for maintenance mode. --- themes/default/views/maintenance.html.php | 56 ------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 themes/default/views/maintenance.html.php (limited to 'themes/default/views/maintenance.html.php') diff --git a/themes/default/views/maintenance.html.php b/themes/default/views/maintenance.html.php deleted file mode 100644 index fde3973d..00000000 --- a/themes/default/views/maintenance.html.php +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - <?= $title ?> - " type="image/x-icon" /> - " - media="screen,print,projection" /> - " - media="screen" /> - " - media="screen,print,projection" /> - " - media="screen,print,projection" /> - - - - - - - - - - head() ?> - - - - page_top() ?> -
-
- site_status() ?> -
- display("header.html") ?> -
-
-
-
-
    -
  • -
-
-
-
-
- display("footer.html") ?> -
-
-
- page_bottom() ?> - - -- cgit v1.2.3