Code

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2031 594d385d-05f5-0310...
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 24 Nov 2005 06:39:06 +0000 (06:39 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 24 Nov 2005 06:39:06 +0000 (06:39 +0000)
plugins/addons/mailqueue/class_mailqueue.inc

index 7cb1f85e942da50d77b18b9664fa46ec30e594aa..e80a12f6e457ef5c7b88b47fde338651914c2adc 100644 (file)
@@ -14,7 +14,6 @@ class mailqueue extends plugin
   var $Time           = 0;
   var $Search         = "*";
   var $Page           = 0;
-  var $EntriesPerPage = 20;
   var $Stat           = "all";
   var $OrderBy        = "Arrival";
   var $SortType       = "up";
@@ -216,7 +215,7 @@ class mailqueue extends plugin
         /* */
         $entries = $mailQueueParser->GetAll();
  
-        $smarty->assign("entries"       , array_slice($entries,$this->Page,20));
+        $smarty->assign("entries"       , array_slice($entries,$this->Page,$this->range));
         $smarty->assign("plug"          , "?plug=".$_GET['plug']);
         $smarty->assign("r_stats"       , $this->getStats());
         $smarty->assign("stats"         , array_flip($this->getStats()));