added class icon
This commit is contained in:
@@ -12,6 +12,8 @@ $Source$
|
|||||||
- no return value (not always returns a value)
|
- no return value (not always returns a value)
|
||||||
- additional check
|
- additional check
|
||||||
- undefined variable docY
|
- undefined variable docY
|
||||||
|
* header.inc.php
|
||||||
|
- added class icon
|
||||||
|
|
||||||
2005-11-13 Michal Čihař <michal@cihar.com>
|
2005-11-13 Michal Čihař <michal@cihar.com>
|
||||||
* Documentation.html, config.default.php, main.php, server_links.inc.php,
|
* Documentation.html, config.default.php, main.php, server_links.inc.php,
|
||||||
|
@@ -176,7 +176,7 @@ if (empty($GLOBALS['is_header_sent'])) {
|
|||||||
$item .= '%4$s: ';
|
$item .= '%4$s: ';
|
||||||
}
|
}
|
||||||
$item .= '%3$s</a>' . "\n";
|
$item .= '%3$s</a>' . "\n";
|
||||||
|
|
||||||
echo '<div id="serverinfo">' . "\n";
|
echo '<div id="serverinfo">' . "\n";
|
||||||
printf( $item,
|
printf( $item,
|
||||||
$GLOBALS['cfg']['DefaultTabServer'],
|
$GLOBALS['cfg']['DefaultTabServer'],
|
||||||
@@ -184,9 +184,9 @@ if (empty($GLOBALS['is_header_sent'])) {
|
|||||||
htmlspecialchars($server_info),
|
htmlspecialchars($server_info),
|
||||||
$GLOBALS['strServer'],
|
$GLOBALS['strServer'],
|
||||||
's_host.png' );
|
's_host.png' );
|
||||||
|
|
||||||
if (!empty($GLOBALS['db'])) {
|
if (!empty($GLOBALS['db'])) {
|
||||||
|
|
||||||
echo $separator;
|
echo $separator;
|
||||||
printf( $item,
|
printf( $item,
|
||||||
$GLOBALS['cfg']['DefaultTabDatabase'],
|
$GLOBALS['cfg']['DefaultTabDatabase'],
|
||||||
@@ -194,7 +194,7 @@ if (empty($GLOBALS['is_header_sent'])) {
|
|||||||
htmlspecialchars($GLOBALS['db']),
|
htmlspecialchars($GLOBALS['db']),
|
||||||
$GLOBALS['strDatabase'],
|
$GLOBALS['strDatabase'],
|
||||||
's_db.png' );
|
's_db.png' );
|
||||||
|
|
||||||
if (!empty($GLOBALS['table'])) {
|
if (!empty($GLOBALS['table'])) {
|
||||||
require_once('./tbl_properties_table_info.php');
|
require_once('./tbl_properties_table_info.php');
|
||||||
|
|
||||||
@@ -226,7 +226,7 @@ if (empty($GLOBALS['is_header_sent'])) {
|
|||||||
*/
|
*/
|
||||||
require_once('./libraries/relation.lib.php');
|
require_once('./libraries/relation.lib.php');
|
||||||
$cfgRelation = PMA_getRelationsParam();
|
$cfgRelation = PMA_getRelationsParam();
|
||||||
|
|
||||||
// Get additional information about tables for tooltip is done
|
// Get additional information about tables for tooltip is done
|
||||||
// in db_details_db_info.php only once
|
// in db_details_db_info.php only once
|
||||||
if ($cfgRelation['commwork']) {
|
if ($cfgRelation['commwork']) {
|
||||||
@@ -245,7 +245,7 @@ if (empty($GLOBALS['is_header_sent'])) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Sets a variable to remember headers have been sent
|
* Sets a variable to remember headers have been sent
|
||||||
|
@@ -35,9 +35,8 @@ if ( $GLOBALS['cfg']['LeftDisplayLogo'] ) {
|
|||||||
echo '<a href="main.php?' . $query_url . '"'
|
echo '<a href="main.php?' . $query_url . '"'
|
||||||
.' title="' . $strHome . '">'
|
.' title="' . $strHome . '">'
|
||||||
.( $GLOBALS['cfg']['MainPageIconic']
|
.( $GLOBALS['cfg']['MainPageIconic']
|
||||||
? '<img src="' . $pmaThemeImage . 'b_home.png" width="16" '
|
? '<img class="icon" src="' . $pmaThemeImage . 'b_home.png" width="16" '
|
||||||
.' height="16" alt="' . $strHome . '"'
|
.' height="16" alt="' . $strHome . '" />'
|
||||||
.' align="middle" />'
|
|
||||||
: $strHome )
|
: $strHome )
|
||||||
.'</a>' . "\n";
|
.'</a>' . "\n";
|
||||||
// if we have chosen server
|
// if we have chosen server
|
||||||
@@ -49,7 +48,7 @@ if ( $GLOBALS['cfg']['LeftDisplayLogo'] ) {
|
|||||||
.urlencode($PHP_AUTH_USER) . '" target="_parent"'
|
.urlencode($PHP_AUTH_USER) . '" target="_parent"'
|
||||||
.' title="' . $strLogout . '" >'
|
.' title="' . $strLogout . '" >'
|
||||||
.( $GLOBALS['cfg']['MainPageIconic']
|
.( $GLOBALS['cfg']['MainPageIconic']
|
||||||
? '<img src="' . $pmaThemeImage . 's_loggoff.png" '
|
? '<img class="icon" src="' . $pmaThemeImage . 's_loggoff.png" '
|
||||||
.' width="16" height="16" alt="' . $strLogout . '" />'
|
.' width="16" height="16" alt="' . $strLogout . '" />'
|
||||||
: $strLogout )
|
: $strLogout )
|
||||||
.'</a>' . "\n";
|
.'</a>' . "\n";
|
||||||
@@ -60,7 +59,7 @@ if ( $GLOBALS['cfg']['LeftDisplayLogo'] ) {
|
|||||||
|
|
||||||
if ($GLOBALS['cfg']['MainPageIconic']) {
|
if ($GLOBALS['cfg']['MainPageIconic']) {
|
||||||
$query_frame_link_text =
|
$query_frame_link_text =
|
||||||
'<img src="' . $pmaThemeImage . 'b_selboard.png"'
|
'<img class="icon" src="' . $pmaThemeImage . 'b_selboard.png"'
|
||||||
.' width="16" height="16" alt="' . $strQueryFrame . '" />';
|
.' width="16" height="16" alt="' . $strQueryFrame . '" />';
|
||||||
} else {
|
} else {
|
||||||
echo '<br />' . "\n";
|
echo '<br />' . "\n";
|
||||||
@@ -79,7 +78,7 @@ if ( $GLOBALS['cfg']['LeftDisplayLogo'] ) {
|
|||||||
if ($GLOBALS['cfg']['MainPageIconic']) {
|
if ($GLOBALS['cfg']['MainPageIconic']) {
|
||||||
echo ' <a href="Documentation.html" target="documentation"'
|
echo ' <a href="Documentation.html" target="documentation"'
|
||||||
.' title="' . $strPmaDocumentation . '" >'
|
.' 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";
|
.' alt="' . $strPmaDocumentation . '" /></a>' . "\n";
|
||||||
echo ' ' . PMA_showMySQLDocu('', '', TRUE) . "\n";
|
echo ' ' . PMA_showMySQLDocu('', '', TRUE) . "\n";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user