rfe #1105678 [interface] Drop page-break-before as it is useless for smaller tables.

In real world you have quite a lot of tables with just few fields and
for these page-break-before is really a bad idea.
This commit is contained in:
Michal Čihař
2010-09-16 15:35:36 +02:00
parent f47e0933c3
commit 1b187c909d
2 changed files with 3 additions and 5 deletions

View File

@@ -63,11 +63,7 @@ while ($row = PMA_DBI_fetch_assoc($rowset)) {
$table = $row[$myfieldname];
$comments = PMA_getComments($db, $table);
if ($count != 0) {
echo '<div style="page-break-before: always;">' . "\n";
} else {
echo '<div>' . "\n";
}
echo '<div>' . "\n";
echo '<h2>' . $table . '</h2>' . "\n";