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:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user