put emphasis on the db name in navi panel

This commit is contained in:
Marc Delisle
2007-07-21 15:28:36 +00:00
parent 9d20600f82
commit e809642283
2 changed files with 14 additions and 1 deletions

View File

@@ -270,7 +270,7 @@ if ($GLOBALS['cfg']['LeftFrameLight'] && strlen($GLOBALS['db'])) {
if ($GLOBALS['text_dir'] === 'rtl') { if ($GLOBALS['text_dir'] === 'rtl') {
echo ' <bdo dir="ltr">(' . PMA_getTableCount($GLOBALS['db']) . ')</bdo> '; echo ' <bdo dir="ltr">(' . PMA_getTableCount($GLOBALS['db']) . ')</bdo> ';
} }
echo htmlspecialchars($disp_name); echo '<span class="navi_dbName">' . htmlspecialchars($disp_name) . '</span>';
if ($GLOBALS['text_dir'] === 'ltr') { if ($GLOBALS['text_dir'] === 'ltr') {
echo ' <bdo dir="ltr">(' . PMA_getTableCount($GLOBALS['db']) . ')</bdo> '; echo ' <bdo dir="ltr">(' . PMA_getTableCount($GLOBALS['db']) . ')</bdo> ';
} }

View File

@@ -790,5 +790,18 @@ body.loginform div.container {
<?php <?php
} // end styles 2.9 } // end styles 2.9
if ($_SESSION['PMA_Theme']->checkVersion('2.11')) {
?>
/********************/
/* NEW in PMA 2.11 */
/********************/
.navi_dbName {
font-weight: bold;
color: #0000FF;
}
<?php
} // end styles 2.11
$_SESSION['PMA_Theme_Manager']->printCss($_REQUEST['js_frame']); $_SESSION['PMA_Theme_Manager']->printCss($_REQUEST['js_frame']);
?> ?>