Use span insted of div, div is not allowed here.
This commit is contained in:
@@ -22,6 +22,8 @@ $Source$
|
|||||||
$cfg['ShowHttpHostTitle'].
|
$cfg['ShowHttpHostTitle'].
|
||||||
* config.inc.php, css/phpmyadmin.css.php, libraries/config_import.lib.php:
|
* config.inc.php, css/phpmyadmin.css.php, libraries/config_import.lib.php:
|
||||||
Can disable main page icons (bug #965550).
|
Can disable main page icons (bug #965550).
|
||||||
|
* header.inc.php, css/phpmyadmin.css.php: Use span insted of div, div is
|
||||||
|
not allowed here.
|
||||||
|
|
||||||
2004-06-02 Alexander M. Turek <happybirthdaytome@derrabus.de>
|
2004-06-02 Alexander M. Turek <happybirthdaytome@derrabus.de>
|
||||||
* db_details_db_info.php, tbl_properties_tbl_info.php: Table type is called
|
* db_details_db_info.php, tbl_properties_tbl_info.php: Table type is called
|
||||||
|
@@ -497,9 +497,11 @@ textarea {
|
|||||||
|
|
||||||
/* Heading */
|
/* Heading */
|
||||||
|
|
||||||
h1 div {
|
h1 span {
|
||||||
display: block;
|
display: block;
|
||||||
float: left;
|
float: left;
|
||||||
|
clear: none;
|
||||||
|
width: auto;
|
||||||
padding: 2px 2px 5px 2px;
|
padding: 2px 2px 5px 2px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
font-family: <?php echo $right_font_family; ?>;
|
font-family: <?php echo $right_font_family; ?>;
|
||||||
@@ -508,7 +510,7 @@ h1 div {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 div a {
|
h1 span a {
|
||||||
<?php if ($cfg['ErrorIconic']) { ?>
|
<?php if ($cfg['ErrorIconic']) { ?>
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: 2px 50%;
|
background-position: 2px 50%;
|
||||||
@@ -516,25 +518,25 @@ h1 div a {
|
|||||||
<?php } ?>
|
<?php } ?>
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 div a {
|
h1 span a {
|
||||||
font-weight: bolder;
|
font-weight: bolder;
|
||||||
}
|
}
|
||||||
|
|
||||||
<?php if ($cfg['PropertiesIconic']) { ?>
|
<?php if ($cfg['PropertiesIconic']) { ?>
|
||||||
h1 div.server a {
|
h1 span.server a {
|
||||||
background-image: url(../images/s_host.png);
|
background-image: url(../images/s_host.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 div.database a {
|
h1 span.database a {
|
||||||
background-image: url(../images/s_db.png);
|
background-image: url(../images/s_db.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 div.table a {
|
h1 span.table a {
|
||||||
background-image: url(../images/s_tbl.png);
|
background-image: url(../images/s_tbl.png);
|
||||||
}
|
}
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
div.database:before , div.table:before {
|
h1 span.database:before , h1 span.table:before {
|
||||||
content: '>';
|
content: '>';
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
|
@@ -161,22 +161,22 @@ if (empty($GLOBALS['is_header_sent'])) {
|
|||||||
: ':' . $cfg['Server']['port']
|
: ':' . $cfg['Server']['port']
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
echo '<div class="server">' . $GLOBALS['strServer'] . ":\n"
|
echo '<span class="server">' . $GLOBALS['strServer'] . ":\n"
|
||||||
. '<a href="' . $GLOBALS['cfg']['DefaultTabServer'] . '?' . PMA_generate_common_url() . '">'
|
. '<a href="' . $GLOBALS['cfg']['DefaultTabServer'] . '?' . PMA_generate_common_url() . '">'
|
||||||
. htmlspecialchars($server_info) . '</a>' . "\n"
|
. htmlspecialchars($server_info) . '</a>' . "\n"
|
||||||
. '</div>' . "\n\n";
|
. '</span>' . "\n\n";
|
||||||
|
|
||||||
if (!empty($GLOBALS['db'])) {
|
if (!empty($GLOBALS['db'])) {
|
||||||
echo '<div class="database">' . $GLOBALS['strDatabase'] . ":\n"
|
echo '<span class="database">' . $GLOBALS['strDatabase'] . ":\n"
|
||||||
. '<a href="' . $GLOBALS['cfg']['DefaultTabDatabase'] . '?' . PMA_generate_common_url($GLOBALS['db']) . '">'
|
. '<a href="' . $GLOBALS['cfg']['DefaultTabDatabase'] . '?' . PMA_generate_common_url($GLOBALS['db']) . '">'
|
||||||
. htmlspecialchars($GLOBALS['db']) . '</a>' . "\n"
|
. htmlspecialchars($GLOBALS['db']) . '</a>' . "\n"
|
||||||
. '</div>' . "\n\n";
|
. '</span>' . "\n\n";
|
||||||
|
|
||||||
if (!empty($GLOBALS['table'])) {
|
if (!empty($GLOBALS['table'])) {
|
||||||
echo '<div class="table">' . $GLOBALS['strTable'] . ":\n"
|
echo '<span class="table">' . $GLOBALS['strTable'] . ":\n"
|
||||||
. '<a href="' . $GLOBALS['cfg']['DefaultTabTable'] . '?' . PMA_generate_common_url($GLOBALS['db'], $GLOBALS['table']) . '">'
|
. '<a href="' . $GLOBALS['cfg']['DefaultTabTable'] . '?' . PMA_generate_common_url($GLOBALS['db'], $GLOBALS['table']) . '">'
|
||||||
. htmlspecialchars($GLOBALS['table']) . '</a>' . "\n"
|
. htmlspecialchars($GLOBALS['table']) . '</a>' . "\n"
|
||||||
. '</div>' . "\n\n";
|
. '</span>' . "\n\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo '</h1>';
|
echo '</h1>';
|
||||||
|
Reference in New Issue
Block a user