From 331fb423effbb519b983b50eb82735bab510520c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 23 Nov 2005 14:25:08 +0000 Subject: [PATCH] Use fieldsets on login form (RFE #1364546). --- ChangeLog | 2 + css/phpmyadmin.css.php | 12 ++++ libraries/auth/cookie.auth.lib.php | 95 +++++++++++++----------------- 3 files changed, 54 insertions(+), 55 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0e92c10c1..3e08b5f19 100755 --- a/ChangeLog +++ b/ChangeLog @@ -29,6 +29,8 @@ $Source$ * libraries/auth/cookie.auth.lib.php: Try to load mcrypt extension. * Documentation.html, config.default.php, libraries/common.lib.php: Configurable default connection collation (RFE #1025969). + * css/phpmyadmin.css.php, libraries/auth/cookie.auth.lib.php: Use + fieldsets on login form (RFE #1364546). 2005-11-22 Sebastian Mendel * added test/theme.php: for testing themes diff --git a/css/phpmyadmin.css.php b/css/phpmyadmin.css.php index efa3b3c8e..99f88c0d9 100644 --- a/css/phpmyadmin.css.php +++ b/css/phpmyadmin.css.php @@ -601,6 +601,18 @@ div#serverstatus table .tblFooters a:after { } /* end serverstatus */ +/* body.loginform form,*/ +body.loginform h1, +body.loginform a.logo { + display: block; + text-align: center; +} + +form.login label { + float: left; + width: 10em; + font-weight: bolder; +} img.lightbulb { cursor: pointer; diff --git a/libraries/auth/cookie.auth.lib.php b/libraries/auth/cookie.auth.lib.php index 1467597e3..712abffa5 100644 --- a/libraries/auth/cookie.auth.lib.php +++ b/libraries/auth/cookie.auth.lib.php @@ -110,22 +110,21 @@ function PMA_auth() $page_title = 'phpMyAdmin ' . PMA_VERSION; require('./libraries/header_meta_style.inc.php'); ?> - - + -
-'; @@ -134,7 +133,12 @@ if (top != self) { . 'border="0" width="88" height="31" alt="phpMyAdmin" />'; } ?> -

+

+phpMyAdmin ' . PMA_VERSION . ''); +?> +


-
target="_top"> - - - - - - - + target="_top" class="login"> +
+ +

+ -
- - - +
+ + +
- - - - - - - - +
+ + +
+
+ + +
1) { echo "\n"; ?> - - - - - - - - -
- -
  - -
  - -
- -
+ '; - } - echo "\n"; + } // end if (server choice) ?> - - + +
+ + + ' . "\n"; @@ -268,12 +257,8 @@ if (top != self) { echo ' ' . "\n"; } ?> - -
+
-