added class icon

This commit is contained in:
Sebastian Mendel
2005-11-14 11:28:12 +00:00
parent fcee338804
commit 4667683757
3 changed files with 13 additions and 12 deletions

View File

@@ -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ř <michal@cihar.com>
* Documentation.html, config.default.php, main.php, server_links.inc.php,

View File

@@ -176,7 +176,7 @@ if (empty($GLOBALS['is_header_sent'])) {
$item .= '%4$s: ';
}
$item .= '%3$s</a>' . "\n";
echo '<div id="serverinfo">' . "\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 '</div>';
}
/**
* Sets a variable to remember headers have been sent

View File

@@ -35,9 +35,8 @@ if ( $GLOBALS['cfg']['LeftDisplayLogo'] ) {
echo '<a href="main.php?' . $query_url . '"'
.' title="' . $strHome . '">'
.( $GLOBALS['cfg']['MainPageIconic']
? '<img src="' . $pmaThemeImage . 'b_home.png" width="16" '
.' height="16" alt="' . $strHome . '"'
.' align="middle" />'
? '<img class="icon" src="' . $pmaThemeImage . 'b_home.png" width="16" '
.' height="16" alt="' . $strHome . '" />'
: $strHome )
.'</a>' . "\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']
? '<img src="' . $pmaThemeImage . 's_loggoff.png" '
? '<img class="icon" src="' . $pmaThemeImage . 's_loggoff.png" '
.' width="16" height="16" alt="' . $strLogout . '" />'
: $strLogout )
.'</a>' . "\n";
@@ -60,7 +59,7 @@ if ( $GLOBALS['cfg']['LeftDisplayLogo'] ) {
if ($GLOBALS['cfg']['MainPageIconic']) {
$query_frame_link_text =
'<img src="' . $pmaThemeImage . 'b_selboard.png"'
'<img class="icon" src="' . $pmaThemeImage . 'b_selboard.png"'
.' width="16" height="16" alt="' . $strQueryFrame . '" />';
} else {
echo '<br />' . "\n";
@@ -79,7 +78,7 @@ if ( $GLOBALS['cfg']['LeftDisplayLogo'] ) {
if ($GLOBALS['cfg']['MainPageIconic']) {
echo ' <a href="Documentation.html" target="documentation"'
.' title="' . $strPmaDocumentation . '" >'
.'<img src="' . $pmaThemeImage . 'b_docs.png" width="16" height="16"'
.'<img class="icon" src="' . $pmaThemeImage . 'b_docs.png" width="16" height="16"'
.' alt="' . $strPmaDocumentation . '" /></a>' . "\n";
echo ' ' . PMA_showMySQLDocu('', '', TRUE) . "\n";
}