Minor tweak to allow more size selections in the drop down list.

git-svn-id: file:///svn-source/pmgr/branches/invoice_receipt_20090629/site@260 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-07-08 19:19:42 +00:00
parent 33fa8e732c
commit 5c29200428

View File

@@ -8,9 +8,9 @@ if (!isset($limit))
if (!isset($limitOptions)) { if (!isset($limitOptions)) {
$limitOptions = array($limit); $limitOptions = array($limit);
if ($limit < 10) if ($limit <= 10)
array_push($limitOptions, 2, 5); array_push($limitOptions, 2, 5);
if ($limit < 30) if ($limit <= 30)
array_push($limitOptions, 10, 25); array_push($limitOptions, 10, 25);
if ($limit > 10) if ($limit > 10)
array_push($limitOptions, 25, 50, 200); array_push($limitOptions, 25, 50, 200);