1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-11 17:14:07 +02:00

Rename confusing print_page

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@732 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2009-06-21 23:32:25 +00:00
parent b8ef9fb908
commit 3bda945c6f
2 changed files with 4 additions and 4 deletions

View File

@@ -301,17 +301,17 @@ if (!$columns) {
// display first, previous 3, next 3 and last page
$max_page = floor(($found_rows - 1) / $limit);
echo lang('Page') . ":";
print_page(0);
print_pagination(0);
if ($_GET["page"] > 3) {
echo " ...";
}
for ($i = max(1, $_GET["page"] - 2); $i < min($max_page, $_GET["page"] + 3); $i++) {
print_page($i);
print_pagination($i);
}
if ($_GET["page"] + 3 < $max_page) {
echo " ...";
}
print_page($max_page);
print_pagination($max_page);
}
echo " (" . lang('%d row(s)', $found_rows) . ') <label><input type="checkbox" name="all" value="1" />' . lang('whole result') . "</label></p>\n";