unneeded double line in navi when no page selector is displayed
This commit is contained in:
parent
1316c6d07c
commit
7762946d76
@ -2120,6 +2120,9 @@ function PMA_dbPageSelector($databases_count, $pos, $_url_params, $script, $fram
|
||||
|
||||
if ($GLOBALS['cfg']['MaxDbList']
|
||||
&& $GLOBALS['cfg']['MaxDbList'] < $databases_count) {
|
||||
if ('frame_navigation' == $frame) {
|
||||
echo '<div id="navidbpageselector">' . "\n";
|
||||
}
|
||||
echo $GLOBALS['strPageNumber'] . '<br />';
|
||||
// Move to the beginning or to the previous page
|
||||
if ($pos > 0) {
|
||||
@ -2176,6 +2179,9 @@ function PMA_dbPageSelector($databases_count, $pos, $_url_params, $script, $fram
|
||||
. $caption4 . '</a>';
|
||||
}
|
||||
echo "\n";
|
||||
if ('frame_navigation' == $frame) {
|
||||
echo '</div>' . "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -588,9 +588,7 @@ function PMA_displayTableList($tables, $visible = false,
|
||||
|
||||
echo '</div>' . "\n";
|
||||
|
||||
echo '<div id="navidbpageselector">' . "\n";
|
||||
$_url_params = array('pos' => $pos);
|
||||
PMA_dbPageSelector($GLOBALS['PMA_List_Database']->count(), $pos, $_url_params, 'navigation.php', 'frame_navigation');
|
||||
echo '</div>' . "\n";
|
||||
PMA_exitNavigationFrame();
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user