summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 012dcaf)
raw | patch | inline | side by side (parent: 012dcaf)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 18 May 2006 06:00:02 +0000 (06:00 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 18 May 2006 06:00:02 +0000 (06:00 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3396 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/gofon/fonreports/class_fonreport.inc | patch | blob | history |
diff --git a/plugins/gofon/fonreports/class_fonreport.inc b/plugins/gofon/fonreports/class_fonreport.inc
index 6a50526f9455c02aadf0166bea4e404d10ae8381..53999c83cdecf41fec975fa3005e481f0531dec6 100644 (file)
$this->report_list= $report_list;
@mysql_close($link);
- /* Generate output */
- $mod= 0;
-
/*****************
Create list of results
*****************/
- $output= "";
- foreach ($this->report_list as $val){
+ /* Generate output */
+ $mod = 0;
+ $output = "";
+ if(count($this->report_list) < $this->start){
+ $this->start = 0;
+ }
+ foreach($this->report_list as $val){
if ($mod < $this->start) {
$mod++;
continue;
$output.= "<tr style=\"height:22px; $col\">$val</tr>";
}
-
/*****************
Tell smarty what we have found
*****************/
}
}
}
- $str .= " dst like '".$s2."' OR src like '".$s2."' OR lastapp like '".$s2."')";
+ $str .= " channel like '%".$s."%' OR
+ dstchannel like '%".$s."%' OR
+ dst like '".$s2."' OR
+ src like '".$s2."' OR
+ lastapp like '".$s2."')";
return($str);
}