synced/fixed vim line

This commit is contained in:
Sebastian Mendel
2007-03-19 18:18:51 +00:00
parent 817e790762
commit 4e9043241e
2 changed files with 10 additions and 8 deletions

View File

@@ -1,4 +1,5 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/** /**
* hold the PMA_List base class * hold the PMA_List base class
*/ */

View File

@@ -1,4 +1,5 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/** /**
* holds the PMA_List_Database class * holds the PMA_List_Database class
* *
@@ -365,7 +366,7 @@ require_once './libraries/PMA_List.class.php';
$selected = $this->getDefault(); $selected = $this->getDefault();
} }
$return = '<ul id="databaseList" xml:lang="en" dir="ltr">' . "\n"; $return = '<ul id="databaseList" xml:lang="en" dir="ltr">' . "\n";
foreach ($this->getGroupedDetails() as $group => $dbs) { foreach ($this->getGroupedDetails() as $group => $dbs) {
if (count($dbs) > 1) { if (count($dbs) > 1) {
$return .= '<li><ul>' . "\n"; $return .= '<li><ul>' . "\n";
@@ -376,14 +377,14 @@ require_once './libraries/PMA_List.class.php';
$cut = false; $cut = false;
} }
foreach ($dbs as $db) { foreach ($dbs as $db) {
$return .= '<li'; $return .= '<li';
if ($db['name'] == $selected) { if ($db['name'] == $selected) {
$return .= ' class="selected"'; $return .= ' class="selected"';
} }
$return .= '><a title="' . $db['comment'] . ' "href="index.php?' . PMA_generate_common_url($db['name']) . '" target="_parent">'; $return .= '><a title="' . $db['comment'] . ' "href="index.php?' . PMA_generate_common_url($db['name']) . '" target="_parent">';
$return .= ($cut ? $db['disp_name_cut'] : $db['disp_name']) $return .= ($cut ? $db['disp_name_cut'] : $db['disp_name'])
.' (' . $db['num_tables'] . ')'; .' (' . $db['num_tables'] . ')';
$return .= '</a></li>' . "\n"; $return .= '</a></li>' . "\n";
} }
if (count($dbs) > 1) { if (count($dbs) > 1) {
$return .= '</ul></li>' . "\n"; $return .= '</ul></li>' . "\n";