From 4667683757897722fd95050cb3bbd237de7f5afd Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Mon, 14 Nov 2005 11:28:12 +0000 Subject: [PATCH] added class icon --- ChangeLog | 2 ++ header.inc.php | 12 ++++++------ libraries/left_header.inc.php | 11 +++++------ 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index 76ec782ad..bcac0bd79 100755 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,8 @@ $Source$ - no return value (not always returns a value) - additional check - undefined variable docY + * header.inc.php + - added class icon 2005-11-13 Michal Čihař * Documentation.html, config.default.php, main.php, server_links.inc.php, diff --git a/header.inc.php b/header.inc.php index b163d513a..d41c09945 100644 --- a/header.inc.php +++ b/header.inc.php @@ -176,7 +176,7 @@ if (empty($GLOBALS['is_header_sent'])) { $item .= '%4$s: '; } $item .= '%3$s' . "\n"; - + echo '
' . "\n"; printf( $item, $GLOBALS['cfg']['DefaultTabServer'], @@ -184,9 +184,9 @@ if (empty($GLOBALS['is_header_sent'])) { htmlspecialchars($server_info), $GLOBALS['strServer'], 's_host.png' ); - + if (!empty($GLOBALS['db'])) { - + echo $separator; printf( $item, $GLOBALS['cfg']['DefaultTabDatabase'], @@ -194,7 +194,7 @@ if (empty($GLOBALS['is_header_sent'])) { htmlspecialchars($GLOBALS['db']), $GLOBALS['strDatabase'], 's_db.png' ); - + if (!empty($GLOBALS['table'])) { require_once('./tbl_properties_table_info.php'); @@ -226,7 +226,7 @@ if (empty($GLOBALS['is_header_sent'])) { */ require_once('./libraries/relation.lib.php'); $cfgRelation = PMA_getRelationsParam(); - + // Get additional information about tables for tooltip is done // in db_details_db_info.php only once if ($cfgRelation['commwork']) { @@ -245,7 +245,7 @@ if (empty($GLOBALS['is_header_sent'])) { } } echo '
'; - + } /** * Sets a variable to remember headers have been sent diff --git a/libraries/left_header.inc.php b/libraries/left_header.inc.php index 96a04c68f..f84aa2606 100644 --- a/libraries/left_header.inc.php +++ b/libraries/left_header.inc.php @@ -35,9 +35,8 @@ if ( $GLOBALS['cfg']['LeftDisplayLogo'] ) { echo '' .( $GLOBALS['cfg']['MainPageIconic'] - ? '' . $strHome . '' + ? '' . $strHome . '' : $strHome ) .'' . "\n"; // if we have chosen server @@ -49,7 +48,7 @@ if ( $GLOBALS['cfg']['LeftDisplayLogo'] ) { .urlencode($PHP_AUTH_USER) . '" target="_parent"' .' title="' . $strLogout . '" >' .( $GLOBALS['cfg']['MainPageIconic'] - ? '' . $strLogout . '' : $strLogout ) .'' . "\n"; @@ -60,7 +59,7 @@ if ( $GLOBALS['cfg']['LeftDisplayLogo'] ) { if ($GLOBALS['cfg']['MainPageIconic']) { $query_frame_link_text = - '' . $strQueryFrame . ''; } else { echo '
' . "\n"; @@ -79,7 +78,7 @@ if ( $GLOBALS['cfg']['LeftDisplayLogo'] ) { if ($GLOBALS['cfg']['MainPageIconic']) { echo ' ' - .'' . $strPmaDocumentation . '' . "\n"; echo ' ' . PMA_showMySQLDocu('', '', TRUE) . "\n"; }