Code

Updated phone reports
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 1 Apr 2010 07:47:14 +0000 (07:47 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 1 Apr 2010 07:47:14 +0000 (07:47 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17450 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/gofon/gofon/fonreports/class_fonreport.inc
gosa-plugins/gofon/gofon/fonreports/contents.tpl

index 1ed3ecfa7bfe78478fea8aa9920cf1dec1a384a2..ebe25a4595fd8b225fc04f18e46c018ae831bdf6 100644 (file)
@@ -312,7 +312,7 @@ class fonreport extends plugin
     for($i= 0; $i<7; $i++){
       $smarty->assign("mode$i", "");
     }
-    $smarty->assign("mode".$this->sort, "<img alt=\"\" src=\"images/sort_".$this->sort_direction.".png\" border=0 align=middle>");
+    $smarty->assign("mode".$this->sort, image("images/lists/sort-".$this->sort_direction.".png"));
 
     return($smarty->fetch(get_template_path('contents.tpl', TRUE)));
   }
index 94cebf8267ffb978cadfc0718e9b5e546905c5e3..7c3caf93eedf265c36f5b02a50df8a276e999cc3 100644 (file)
@@ -1,6 +1,6 @@
 <div id="mainlist">
  <div class="mainlist-header">
-  <p>{t}System logs{/t}</p>
+  <p>{t}Phone reports{/t}</p>
 
   <div class="mainlist-nav">
    <table summary="{t}Filter{/t}" style="width: 100%;"
   <table summary="{t}Phone reports{/t}" style="width:100%;" cellpadding="0" cellspacing="0">
    <thead class="fixedListHeader listHeaderFormat">
     <tr>
-     <td class='listheader'><a href="main.php{$plug}&amp;sort=0">{t}Date{/t} {$mode0}</a></td>
-     <td class='listheader'><a href="main.php{$plug}&amp;sort=1">{t}Source{/t} {$mode1}</a></td>
-     <td class='listheader'><a href="main.php{$plug}&amp;sort=2">{t}Destination{/t} {$mode2}</a></td>  
-     <td class='listheader'><a href="main.php{$plug}&amp;sort=3">{t}Channel{/t} {$mode3}</a></td>      
-     <td class='listheader'><a href="main.php{$plug}&amp;sort=4">{t}Application{/t} {$mode4}</a></td>  
-     <td class='listheader'><a href="main.php{$plug}&amp;sort=5">{t}Status{/t} {$mode5}</a></td>       
-     <td class='listheader'><a href="main.php{$plug}&amp;sort=6">{t}Duration{/t} {$mode6}</a></td>     
+     <td class='listheader'><a href="main.php{$plug}&amp;sort=0">{t}Date{/t}</a> {$mode0}</td>
+     <td class='listheader'><a href="main.php{$plug}&amp;sort=1">{t}Source{/t}</a> {$mode1}</td>
+     <td class='listheader'><a href="main.php{$plug}&amp;sort=2">{t}Destination{/t}</a> {$mode2}</td>  
+     <td class='listheader'><a href="main.php{$plug}&amp;sort=3">{t}Channel{/t}</a> {$mode3}</td>      
+     <td class='listheader'><a href="main.php{$plug}&amp;sort=4">{t}Application{/t}</a> {$mode4}</td>  
+     <td class='listheader'><a href="main.php{$plug}&amp;sort=5">{t}Status{/t}</a> {$mode5}</td>       
+     <td class='listheader'><a href="main.php{$plug}&amp;sort=6">{t}Duration{/t}</a> {$mode6}</td>     
     </tr>
    </thead>
    <tbody class="listScrollContent listBodyFormat" id="t_nscrollbody">