From ea880fc8bfb00999ed54a268ea07fb0c00ded1e3 Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Fri, 5 Nov 2010 11:03:56 -0400 Subject: [PATCH] First cut at a cleaned-up login screen --- horde/login.php | 5 +-- horde/templates/login/login.inc | 69 +++++++++++------------------------------ horde/themes/screen.css | 52 +++++++++++++++++++++++++++++-- 3 files changed, 68 insertions(+), 58 deletions(-) diff --git a/horde/login.php b/horde/login.php index 4ad719ef2..913afc622 100644 --- a/horde/login.php +++ b/horde/login.php @@ -321,9 +321,6 @@ if ($browser->isMobile()) { exit; } -$menu = new Horde_Menu(Horde_Menu::MASK_NONE); -$hmenu = $menu->render(); - if (!empty($js_files)) { Horde::addScriptFile('prototype.js', 'horde'); foreach ($js_files as $val) { @@ -332,7 +329,7 @@ if (!empty($js_files)) { } Horde::addInlineJsVars($js_code); - +$bodyClass = 'login-form'; require $registry->get('templates', 'horde') . '/common-header.inc'; require $registry->get('templates', 'horde') . '/login/login.inc'; require $registry->get('templates', 'horde') . '/common-footer.inc'; diff --git a/horde/templates/login/login.inc b/horde/templates/login/login.inc index d4f55d9bb..5c2de9a2d 100644 --- a/horde/templates/login/login.inc +++ b/horde/templates/login/login.inc @@ -1,9 +1,6 @@ - +
+ +notify(array('listeners' => 'status')) ?>
> @@ -12,23 +9,14 @@ -notify(array('listeners' => 'status')) ?> - - - - - -
- $val): ?> - - - - +isLocked('language')): ?> - - - - + - - - - +
+ " type="submit" /> +
+
hasCapability('add')): ?> -
- - - + 'horde'))->add('url', $vars->url), _("Don't have an account? Sign up."), 'light') . _("Don't have an account? Sign up.") ?>hasCapability('resetpassword')): ?> - - - - + 'horde'))->add('url', $vars->url), _("Forgot your password?"), 'light') . _("Forgot your password?") ?> + -
- - +
+
- + @@ -38,56 +26,35 @@ -
- - - - -
  - " type="submit" /> -
  - 'horde'))->add('url', $vars->url), _("Don't have an account? Sign up."), 'light') . _("Don't have an account? Sign up.") ?> -
  - 'horde'))->add('url', $vars->url), _("Forgot your password?"), 'light') . _("Forgot your password?") ?> -
-
+