Code

Phone reports are now available in html 4.01
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 25 May 2005 12:32:40 +0000 (12:32 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 25 May 2005 12:32:40 +0000 (12:32 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@447 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/gofon/reports/class_fonreport.inc
plugins/gofon/reports/contents.tpl

index 293c11ddbd3dc7805a5bd4e783023938fb6ac5be..a39c40381539b0bf07d21420ce5142e086775b50 100644 (file)
@@ -163,7 +163,7 @@ class fonreport extends plugin
                $date= preg_replace("/M/", substr($line["calldate"], 5, 2), $date);
                $date= preg_replace("/D/", substr($line["calldate"], 8, 2), $date);
 
-               $report_list[]= "<td>$date $hour:$minute</a></td>".
+               $report_list[]= "<td>$date $hour:$minute</td>".
                        "<td>".$line["src"]."</td>".
                        "<td>".$line["dst"]."</td>".
                        "<td>".$line["channel"]."</td>".
@@ -231,7 +231,7 @@ class fonreport extends plugin
                 $smarty->assign("mode$i", "");
         }
        $smarty->assign("mode".$this->sort, "<img alt=\"\" src=\"images/sort_".$this->sort_direction.
-                       ".png\" border=0 align=center>");
+                       ".png\" border=0 align=middle>");
        return($smarty->fetch(get_template_path('contents.tpl', TRUE)));
   }
 
index 3a814fffff46b794bcd57603cb6928dc4b2d76df..a294fe40687be5a7f98a80e45212d44ce76130f8 100644 (file)
 {if $search_result ne ""}
  <table style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" cellpadding=2 cellspacing=1 border=0 rules="cols">
   <tr style="background-color: #E8E8E8; height:26px; font-weight:bold">
-   <td><a href=main.php?plug={$plug}&amp;sort=0>{t}Date{/t} {$mode0}</a></td>
-   <td><a href=main.php?plug={$plug}&amp;sort=1>{t}Source{/t} {$mode1}</a></td>
-   <td><a href=main.php?plug={$plug}&amp;sort=2>{t}Destination{/t} {$mode2}</a></td>
-   <td><a href=main.php?plug={$plug}&amp;sort=3>{t}Channel{/t} {$mode3}</a></td>
-   <td><a href=main.php?plug={$plug}&amp;sort=4>{t}Application{/t} {$mode4}</a></td>
-   <td><a href=main.php?plug={$plug}&amp;sort=5>{t}Status{/t} {$mode5}</a></td>
-   <td><a href=main.php?plug={$plug}&amp;sort=6>{t}Duration{/t} {$mode6}</a></td>
+   <td><a href="main.php?plug={$plug}&amp;sort=0">{t}Date{/t} {$mode0}</a></td>
+   <td><a href="main.php?plug={$plug}&amp;sort=1">{t}Source{/t} {$mode1}</a></td>
+   <td><a href="main.php?plug={$plug}&amp;sort=2">{t}Destination{/t} {$mode2}</a></td>
+   <td><a href="main.php?plug={$plug}&amp;sort=3">{t}Channel{/t} {$mode3}</a></td>
+   <td><a href="main.php?plug={$plug}&amp;sort=4">{t}Application{/t} {$mode4}</a></td>
+   <td><a href="main.php?plug={$plug}&amp;sort=5">{t}Status{/t} {$mode5}</a></td>
+   <td><a href="main.php?plug={$plug}&amp;sort=6">{t}Duration{/t} {$mode6}</a></td>
   </tr>
   {$search_result}
  </table>