Class for styling database groups

This commit is contained in:
Piotr Przybylski
2011-04-27 20:40:19 +02:00
parent 23e6edf8d2
commit 1cc51458b5

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><span>' . htmlspecialchars($group) . '</span><ul>' . "\n";
$return .= '<li class="group"><span>' . htmlspecialchars($group) . '</span><ul>' . "\n";
// whether display db_name cut by the group part
$cut = true;
} else {