summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 739926b)
raw | patch | inline | side by side (parent: 739926b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 1 Apr 2010 13:18:06 +0000 (13:18 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 1 Apr 2010 13:18:06 +0000 (13:18 +0000) |
Fixed encoding problems
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17464 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17464 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc | patch | blob | history |
diff --git a/gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc b/gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc
index aaaaf02e9062fd81959cbc06ead0037aa7467100..25de0a2e39179bd00ae4c0c740a51bb953eec92a 100644 (file)
}
/* Create entry html str */
- $str = "<td class='list0'>".$line["uid"]."</td>";
- $str.= "<td class='list0'>".$str_date."</td>";
+ $str = " \n<td class='list0'>".$line["uid"]."</td>";
+ $str.= " \n<td class='list0'>".$str_date."</td>";
/* Add Status td */
if(preg_match("/r/",$statusACL)){
- $str.="<td class='list0'>".$this->status[$line["status"]]."</td>";
+ $str.=" \n<td class='list0'>".$this->status[$line["status"]]."</td>";
}else{
- $str.="<td class='list0'>".$no_acl."</td>";
+ $str.=" \n<td class='list0'>".$no_acl."</td>";
}
/* Add sender_id td */
if(preg_match("/r/",$senderidACL)){
- $str.="<td class='list0'>".$line["sender_id"]."</td>";
+ $str.=" \n<td class='list0'>".htmlentities($line["sender_id"],ENT_COMPAT,'UTF-8')."</td>";
}else{
- $str.="<td class='list0'>".$no_acl."</td>";
+ $str.=" \n<td class='list0'>".$no_acl."</td>";
}
/* Add receiver_id td */
if(preg_match("/r/",$receiveridACL)){
- $str.="<td class='list0'>".$line["receiver_id"]."</td>";
+ $str.=" \n<td class='list0'>".htmlentities($line["receiver_id"],ENT_COMPAT,'UTF-8')."</td>";
}else{
- $str.="<td class='list0'>".$no_acl."</td>";
+ $str.=" \n<td class='list0'>".$no_acl."</td>";
}
/* Add receiver_id td */
if(preg_match("/r/",$pagesACL)){
- $str.="<td class='list0'>".$line["pages"]."</td>";
+ $str.=" \n<td class='list0'>".$line["pages"]."</td>";
}else{
- $str.="<td class='list0'>".$no_acl."</td>";
+ $str.=" \n<td class='list0'>".$no_acl."</td>";
}
/* Create entry html str */
if(preg_match("/r/",$detailedViewACL)){
- $str.= "<td class='list0'>".image('images/info_small.png', 'detail_'.postEncode($line["id"]))."</td>";
+ $str.= " \n<td class='list0'>".image('images/info_small.png', 'detail_'.postEncode($line["id"]))."</td>";
}else{
- $str.= "<td class='list0'> </td>";
+ $str.= " \n<td class='list0'> </td>";
}
$this->report_list[] = $str;
}
$mod= 0;
$output= "";
foreach ($this->report_list as $val){
- $output.= "<tr>{$val}</tr>";
+ $output.= "\n<tr>{$val}</tr>";
}
$smarty->assign("search_result", $output);
$smarty->assign("range_selector",