From 378aae6152a00e374fcaab0487744dbab042e9ce Mon Sep 17 00:00:00 2001 From: Jo Michael Date: Wed, 11 Apr 2012 00:34:31 +0200 Subject: [PATCH] Cleanup 3 identical 'Change password' headings in jQ-UI dialog --- libraries/display_change_password.lib.php | 79 +++++++++++------------ themes/original/css/theme_right.css.php | 5 ++ themes/pmahomme/css/theme_right.css.php | 5 +- user_password.php | 2 - 4 files changed, 45 insertions(+), 46 deletions(-) diff --git a/libraries/display_change_password.lib.php b/libraries/display_change_password.lib.php index 947514867b..c3d1f5a3d2 100644 --- a/libraries/display_change_password.lib.php +++ b/libraries/display_change_password.lib.php @@ -25,51 +25,44 @@ $chg_evt_handler = (PMA_USR_BROWSER_AGENT == 'IE' && PMA_USR_BROWSER_VER >= 5) echo '' . "\n" . '' . "\n"; }?> -
- - - - - - - - - - - + + + + + + +
- - -
- - - - ="nopass[1].checked = true" /> -    - :  - ="nopass[1].checked = true" /> -
- : + + + + + + - - - + + - -
+ + +
+ + - - + ="nopass[1].checked = true" /> +    + :  + ="nopass[1].checked = true" />
 
- - -
- - + : +
+ + +
  + + +
diff --git a/themes/original/css/theme_right.css.php b/themes/original/css/theme_right.css.php index 794fcc2a84..d7c4d382e9 100644 --- a/themes/original/css/theme_right.css.php +++ b/themes/original/css/theme_right.css.php @@ -123,6 +123,11 @@ fieldset legend { background-color: ; } +.some-margin { + margin: .5em; + margin-top: 1em; +} + /* buttons in some browsers (eg. Konqueror) are block elements, this breaks design */ button { diff --git a/themes/pmahomme/css/theme_right.css.php b/themes/pmahomme/css/theme_right.css.php index de5b46816f..604c4faef5 100644 --- a/themes/pmahomme/css/theme_right.css.php +++ b/themes/pmahomme/css/theme_right.css.php @@ -252,7 +252,6 @@ fieldset { border-radius: 4px 4px 0 0; -moz-border-radius: 4px 4px 0 0; -webkit-border-radius: 4px 4px 0 0; - padding: 5px; border: #aaa solid 1px; padding: 1.5em; background: #eee; @@ -284,6 +283,10 @@ fieldset legend { box-shadow: 3px 3px 15px #bbb; } +.some-margin { + margin: 1.5em; +} + /* buttons in some browsers (eg. Konqueror) are block elements, this breaks design */ button { diff --git a/user_password.php b/user_password.php index 8f18caafdc..bcad720ac5 100644 --- a/user_password.php +++ b/user_password.php @@ -53,8 +53,6 @@ if (isset($_REQUEST['nopass'])) { // Loads the headers require_once './libraries/header.inc.php'; -echo '

' . __('Change password') . '

' . "\n\n"; - // Displays an error message if required if (isset($message)) { $message->display();