diff --git a/test/theme.php b/test/theme.php index b8530d2c7..5fb0b7026 100644 --- a/test/theme.php +++ b/test/theme.php @@ -3,7 +3,7 @@ // vim: expandtab sw=4 ts=4 sts=4: /** * theme test - * + * * @uses libraries/common.lib.php global fnctions * @uses libraries/select_theme.lib.php theme manager */ @@ -31,20 +31,27 @@ header('Content-Type: text/html; charset=' . $GLOBALS['charset']); lang="" dir=""> - phpMyAdmin <?php echo PMA_VERSION; ?> - <?php echo $HTTP_HOST; ?> - Theme Test + phpMyAdmin <?php echo PMA_VERSION; ?> - + <?php echo htmlspecialchars( $HTTP_HOST ); ?> - Theme Test - - - + + + -' . "\n"; +$separator = '' + .'-' . "\n"; $item = '' - .' ' . "\n" + .' ' . "\n" .'%4$s: %3$s' . "\n"; echo '
' . "\n"; @@ -68,8 +75,12 @@ printf( $item, $GLOBALS['cfg']['DefaultTabTable'], '', 'Table', - (isset($GLOBALS['tbl_is_view']) && $GLOBALS['tbl_is_view'] ? $GLOBALS['strView'] : $GLOBALS['strTable']), - (isset($GLOBALS['tbl_is_view']) && $GLOBALS['tbl_is_view'] ? 'b_views' : 's_tbl') . '.png' ); + (isset($GLOBALS['tbl_is_view']) && $GLOBALS['tbl_is_view'] + ? $GLOBALS['strView'] + : $GLOBALS['strTable']), + (isset($GLOBALS['tbl_is_view']) && $GLOBALS['tbl_is_view'] + ? 'b_views' + : 's_tbl') . '.png' ); echo '' .'"Table comment"' . "\n"; @@ -135,17 +146,17 @@ echo PMA_getTabs( $tabs ); unset( $tabs ); if ( @file_exists( $pmaThemeImage . 'logo_right.png') ) { - ?> + ?> phpMyAdmin +?>

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


@@ -163,7 +174,7 @@ foreach ($available_themes_choices AS $cur_theme) { if ( $cur_theme == $theme ) { echo ' selected="selected"'; } - echo '>' . htmlspecialchars( $available_themes_choices_names[$cur_theme] ) + echo '>' . htmlspecialchars( $available_themes_choices_names[$cur_theme] ) . '' . "\n"; } ?> @@ -235,39 +246,55 @@ foreach ($available_themes_choices AS $cur_theme) { - +