From 38e93a47367a46999c5979a8e0bab1faabd17087 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 20 Jun 2004 13:01:30 +0000 Subject: [PATCH] use standard header for theme manager --- ChangeLog | 4 + themes.php | 226 ++++++++++++++++++++++++++++------------------------- 2 files changed, 125 insertions(+), 105 deletions(-) diff --git a/ChangeLog b/ChangeLog index 051904632..97c0bdcb8 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - Changelog $Id$ $Source$ +2004-06-20 Marc Delisle + * themes.php: use standard headers. A iso-8859-1 charset was hardcoded + in this script, but it's better to use libraries/header_http.inc.php + 2004-06-18 Marc Delisle * themes/original/img/item*.png, themes/original/css/theme_right.css.php, libraries/common.lib.php, libraries/display_export.lib.php, diff --git a/themes.php b/themes.php index bff98aab8..a27ae00d7 100644 --- a/themes.php +++ b/themes.php @@ -1,119 +1,135 @@ "; ?> - - - - phpMyAdmin - <?php echo ($strTheme ? $strTheme : 'Theme / Style'); ?> - - - - + + - - - - - - - - - - - - } // end original theme screen + +phpMyAdmin <?php echo PMA_VERSION; ?> + + + + + + + + +
phpMyAdmin -
 
- ORIGINAL

'; - echo '
Original - Theme'; - echo '

'; - ?> -
+ + + + + + + + + + + + - + + + + + -
phpMyAdmin -
+ ' . strtoupper(preg_replace("/_/"," ",$PMA_Theme)) . ''; + ?> +
-
- + +