From 8f1bb568964ea10dba174c1e8dc9d19917682f10 Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Wed, 23 Nov 2005 16:56:16 +0000 Subject: [PATCH] - moved styles into css - no need for javascript for theme selection --- ChangeLog | 3 + css/phpmyadmin.css.php | 17 +++++- main.php | 4 +- themes.php | 123 +++++++++++++++-------------------------- 4 files changed, 67 insertions(+), 80 deletions(-) diff --git a/ChangeLog b/ChangeLog index 93e97315b..c26a6e383 100755 --- a/ChangeLog +++ b/ChangeLog @@ -16,6 +16,9 @@ $Source$ header.inc.php, libraries/auth/config.auth.lib.php, db_details_qbe.php libraries/auth/cookie.auth.lib.php, server_collations.php - moved styles into css + * themes.php, css/phpmyadmin.css.php: + - moved styles into css + - no need for javascript 2005-11-23 Michal Čihař * config.default.php, libraries/import/csv.php, libraries/import/ldi.php: diff --git a/css/phpmyadmin.css.php b/css/phpmyadmin.css.php index 19ee80097..f4e175979 100644 --- a/css/phpmyadmin.css.php +++ b/css/phpmyadmin.css.php @@ -609,7 +609,7 @@ body.loginform a.logo { } form.login label { - float: left; + float: left; width: 10em; font-weight: bolder; } @@ -631,6 +631,21 @@ img.lightbulb { #bodyquerywindow { background-color: ; } + +#bodythemes { + width: 500px; + margin: auto; + text-align: center; +} + +#bodythemes img { + border: 0.1em solid black; +} + +#bodythemes a:hover img { + border: 0.1em solid red; +} + 1) { $theme_selected = FALSE; $theme_preview_path= './themes.php'; - $theme_preview_href = ''; ?> diff --git a/themes.php b/themes.php index b9348d635..fcda420fb 100644 --- a/themes.php +++ b/themes.php @@ -13,89 +13,58 @@ require_once('./libraries/header_http.inc.php'); $page_title = 'phpMyAdmin - ' . $strTheme; require('./libraries/header_meta_style.inc.php'); ?> - - - - - - - - - - - - - - - - - - - + +

phpMyAdmin -

+

+ +

+ <?php echo htmlspecialchars( $theme_name ); ?>
+ [ ]
+

+ -
phpMyAdmin -
- ' . htmlspecialchars($theme_name) . ''; - ?> -