}
if (!is_ajax()) {
- echo "<div class='footer'><div>\n";
if ($rows || $page) {
$exact_count = true;
if ($_GET["page"] != "last") {
}
echo "\n";
}
-
- echo ($found_rows !== false ? "(" . ($exact_count ? "" : "~ ") . lang('%d row(s)', $found_rows) . ") " : "");
+ }
+
+ echo "<div class='footer'><div>\n";
+ if ($rows || $page) {
+ echo "<fieldset>";
+ echo "<legend>" . lang('whole result') . "</legend>";
$display_rows = ($exact_count ? "" : "~ ") . $found_rows;
- echo checkbox("all", 1, 0, lang('whole result'), "var checked = formChecked(this, /check/); selectCount('selected', this.checked ? '$display_rows' : checked); selectCount('selected2', this.checked || !checked ? '$display_rows' : checked);") . "\n";
+ echo checkbox("all", 1, 0, ($found_rows !== false ? ($exact_count ? "" : "~ ") . lang('%d row(s)', $found_rows) : ""), "var checked = formChecked(this, /check/); selectCount('selected', this.checked ? '$display_rows' : checked); selectCount('selected2', this.checked || !checked ? '$display_rows' : checked);") . "\n";
+ echo "</fieldset>\n";
if ($adminer->selectCommandPrint()) {
?>
.size { width: 6ex; }
.help { cursor: help; }
.footer { position: sticky; bottom: 0; border-top: 20px solid rgba(255, 255, 255, .7); border-image: linear-gradient(rgba(255, 255, 255, .2), #fff) 100% 0; }
-.footer > div { background: #fff; padding: 1px 0 .5em; }
+.footer > div { background: #fff; padding: 0 0 .5em; }
.links a { white-space: nowrap; margin-right: 20px; }
.logout { margin-top: .5em; position: absolute; top: 0; right: 0; }
.loadmore { margin-left: 1ex; }