other minor header tweaks

This commit is contained in:
Michal Čihař
2004-06-03 10:05:20 +00:00
parent 5a71dd92e5
commit fc8e0c09a3
2 changed files with 4 additions and 3 deletions

View File

@@ -500,6 +500,7 @@ h1 div {
font-family: <?php echo $right_font_family; ?>;
font-size: <?php echo $font_size; ?>;
font-weight: normal;
white-space: nowrap;
}
h1 div a {

View File

@@ -161,19 +161,19 @@ if (empty($GLOBALS['is_header_sent'])) {
: ':' . $cfg['Server']['port']
)
);
echo '<div class="server">' . sprintf($GLOBALS['strServer'],'') . "\n"
echo '<div class="server">' . sprintf($GLOBALS['strServer'],'') . " :\n"
. '<a href="' . $GLOBALS['cfg']['DefaultTabServer'] . '?' . PMA_generate_common_url() . '">'
. htmlspecialchars($server_info) . '</a>' . "\n"
. '</div>' . "\n\n";
if (!empty($GLOBALS['db'])) {
echo '<div class="database">' . $GLOBALS['strDatabase'] . "\n"
echo '<div class="database">' . $GLOBALS['strDatabase'] . " :\n"
. '<a href="' . $GLOBALS['cfg']['DefaultTabDatabase'] . '?' . PMA_generate_common_url($GLOBALS['db']) . '">'
. htmlspecialchars($GLOBALS['db']) . '</a>' . "\n"
. '</div>' . "\n\n";
if (!empty($GLOBALS['table'])) {
echo '<div class="table">' . $GLOBALS['strTable'] . "\n"
echo '<div class="table">' . $GLOBALS['strTable'] . " :\n"
. '<a href="' . $GLOBALS['cfg']['DefaultTabTable'] . '?' . PMA_generate_common_url($GLOBALS['db'], $GLOBALS['table']) . '">'
. htmlspecialchars($GLOBALS['table']) . '</a>' . "\n"
. '</div>' . "\n\n";