summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5cf4608)
raw | patch | inline | side by side (parent: 5cf4608)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 24 Nov 2005 06:35:53 +0000 (06:35 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 24 Nov 2005 06:35:53 +0000 (06:35 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2029 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/addons/mailqueue/class_mailqueue.inc | patch | blob | history |
diff --git a/plugins/addons/mailqueue/class_mailqueue.inc b/plugins/addons/mailqueue/class_mailqueue.inc
index fa8aef008b061452d1349156e649e409799baea7..7cb1f85e942da50d77b18b9664fa46ec30e594aa 100644 (file)
var $OrderBy = "Arrival";
var $SortType = "up";
var $disp_header = false;
-
+ var $range = 20;
function mailqueue($config, $dn= NULL)
{
{
/* Call parent execute */
plugin::execute();
+
+ if(isset($_POST['EntriesPerPage'])){
+ $this->range = $_POST['EntriesPerPage'];
+ }
+
$smarty= get_smarty();
$error =false;
$smarty->assign("p_times" , $this->getTimes());
$smarty->assign("p_timeKeys" , array_flip($this->getTimes()));
$smarty->assign("search_for" , $this->Search);
- $smarty->assign("range_selector", range_selector(count($entries), $this->Page, 20));
+ $smarty->assign("range_selector", range_selector(count($entries), $this->Page, $this->range,"EntriesPerPage"));
$smarty->assign("OrderBy" , $this->OrderBy);
/* Display sort arrow */