From 1ee1e0594e5452abf344706fbbd93847f02784b5 Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Fri, 4 Nov 2005 12:53:25 +0000 Subject: [PATCH] added class icon to img-tags --- ChangeLog | 2 ++ header.inc.php | 4 ++-- libraries/common.lib.php | 14 +++++++------- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 07197e13e..c5cfad74e 100755 --- a/ChangeLog +++ b/ChangeLog @@ -17,6 +17,8 @@ $Source$ - removed nowrap, vertical srcolling is really annoying * main.php, libraries/check_user_privileges.lib.php: - bug #1348189 after droping db some links in main.php are missing + * header.inc.php, libraries/common.lib.php: + - added class icon to img-tags 2005-11-03 Marc Delisle * tbl_change.php, tbl_replace.php, tbl_replace_fields.php: diff --git a/header.inc.php b/header.inc.php index 77c81c88e..4e9650b14 100644 --- a/header.inc.php +++ b/header.inc.php @@ -165,8 +165,8 @@ if (empty($GLOBALS['is_header_sent'])) { ); $item = ''; if ( $GLOBALS['cfg']['NavigationBarIconic'] ) { - $separator = ' -' . "\n"; - $item .= ' ' . "\n"; + $separator = ' -' . "\n"; + $item .= ' ' . "\n"; } else { $separator = ' - ' . "\n"; } diff --git a/libraries/common.lib.php b/libraries/common.lib.php index ebe96841c..d080d7018 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -594,9 +594,9 @@ if ($is_minimum_common == FALSE) { } if ($big_icon) { - return '' . $GLOBALS['strDocu'] . ''; + return '' . $GLOBALS['strDocu'] . ''; } elseif ($GLOBALS['cfg']['ReplaceHelpImg']) { - return '' . $GLOBALS['strDocu'] . ''; + return '' . $GLOBALS['strDocu'] . ''; }else{ return '[' . $GLOBALS['strDocu'] . ']'; } @@ -612,7 +612,7 @@ if ($is_minimum_common == FALSE) { function PMA_showHint($hint_message) { //return '' . $hint_message . ''; - return 'Tip'; + return 'Tip'; } /** @@ -681,7 +681,7 @@ if ($is_minimum_common == FALSE) { } if ($GLOBALS['cfg']['PropertiesIconic']) { echo $doedit_goto - . '' . $GLOBALS['strEdit'] .'' + . '' . $GLOBALS['strEdit'] .'' . ''; } else { echo ' [' @@ -2439,8 +2439,8 @@ window.parent.updateTableTitle( '', '%2$s'; + $image = '%2$s%2$s'; $tab['text'] = sprintf( $image, htmlentities( $tab['icon'] ), $tab['text'] ); } // check to not display an empty link-text @@ -2820,7 +2820,7 @@ window.parent.updateTableTitle( '', ' */ if (PMA_USR_BROWSER_AGENT != 'IE') { echo '' . "\n"; } else { echo '' . (($propicon == 'both') ? ' ' . $text : '') . "\n";