improved database group display

This commit is contained in:
Piotr Przybylski
2011-03-12 00:20:04 +01:00
parent ce116ac614
commit 7bbd3ab177
2 changed files with 5 additions and 1 deletions

View File

@@ -371,7 +371,7 @@ require_once './libraries/List.class.php';
$return = '<ul id="databaseList" xml:lang="en" dir="ltr">' . "\n";
foreach ($this->getGroupedDetails($offset, $count) as $group => $dbs) {
if (count($dbs) > 1) {
$return .= '<li>' . htmlspecialchars($group) . '<ul>' . "\n";
$return .= '<li><span>' . htmlspecialchars($group) . '</span><ul>' . "\n";
// whether display db_name cut by the group part
$cut = true;
} else {

View File

@@ -101,6 +101,10 @@ ul#databaseList {
font-style: italic;
}
ul#databaseList span {
padding: 5px;
}
ul#databaseList a {
display: block;
padding:5px;