Add class name for results count

This commit is contained in:
Jakub Vrana 2013-10-24 22:26:25 -07:00
parent f503d8130b
commit 9d2f3c8703

View file

@ -468,7 +468,7 @@ if (!$columns && support("table")) {
}
}
echo "<p>\n";
echo "<p class='count'>\n";
echo ($found_rows !== false ? "(" . ($exact_count ? "" : "~ ") . lang('%d row(s)', $found_rows) . ") " : "");
$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";