patch #2596230 [XHTML] View table headers/footers completely
This commit is contained in:
@@ -163,7 +163,7 @@ if ($databases_count > 0) {
|
||||
echo '<table id="tabledatabases" class="data">' . "\n"
|
||||
. '<thead>' . "\n"
|
||||
. '<tr>' . "\n"
|
||||
. ($is_superuser || $cfg['AllowUserDropDatabase'] ? ' <th> </th>' . "\n" : '')
|
||||
. ($is_superuser || $cfg['AllowUserDropDatabase'] ? ' <th></th>' . "\n" : '')
|
||||
. ' <th><a href="./server_databases.php' . PMA_generate_common_url($_url_params) . '">' . "\n"
|
||||
. ' ' . $strDatabase . "\n"
|
||||
. ($sort_by == 'SCHEMA_NAME' ? ' <img class="icon" src="' . $pmaThemeImage . 's_' . $sort_order . '.png" width="11" height="9" alt="' . ($sort_order == 'asc' ? $strAscending : $strDescending) . '" />' . "\n" : '')
|
||||
@@ -188,7 +188,7 @@ if ($databases_count > 0) {
|
||||
}
|
||||
}
|
||||
if ($is_superuser) {
|
||||
echo ' <th>' . ($cfg['PropertiesIconic'] ? ' ' : $strAction) . "\n"
|
||||
echo ' <th>' . ($cfg['PropertiesIconic'] ? '' : $strAction) . "\n"
|
||||
. ' </th>' . "\n";
|
||||
}
|
||||
echo '</tr>' . "\n"
|
||||
@@ -268,7 +268,7 @@ if ($databases_count > 0) {
|
||||
|
||||
echo '<tr>' . "\n";
|
||||
if ($is_superuser || $cfg['AllowUserDropDatabase']) {
|
||||
echo ' <th> </th>' . "\n";
|
||||
echo ' <th></th>' . "\n";
|
||||
}
|
||||
echo ' <th>' . $strTotalUC . ': ' . $databases_count . '</th>' . "\n";
|
||||
foreach ($column_order as $stat_name => $stat) {
|
||||
@@ -295,7 +295,7 @@ if ($databases_count > 0) {
|
||||
}
|
||||
}
|
||||
if ($is_superuser) {
|
||||
echo ' <th> </th>' . "\n";
|
||||
echo ' <th></th>' . "\n";
|
||||
}
|
||||
echo '</tr>' . "\n";
|
||||
echo '</tbody>' . "\n"
|
||||
|
Reference in New Issue
Block a user