From 8ac159c718392af540512195e662254791003972 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 25 May 2005 12:32:40 +0000 Subject: [PATCH] Phone reports are now available in html 4.01 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@447 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/gofon/reports/class_fonreport.inc | 4 ++-- plugins/gofon/reports/contents.tpl | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/plugins/gofon/reports/class_fonreport.inc b/plugins/gofon/reports/class_fonreport.inc index 293c11ddb..a39c40381 100644 --- a/plugins/gofon/reports/class_fonreport.inc +++ b/plugins/gofon/reports/class_fonreport.inc @@ -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[]= "$date $hour:$minute". + $report_list[]= "$date $hour:$minute". "".$line["src"]."". "".$line["dst"]."". "".$line["channel"]."". @@ -231,7 +231,7 @@ class fonreport extends plugin $smarty->assign("mode$i", ""); } $smarty->assign("mode".$this->sort, "\"\"sort_direction. - ".png\" border=0 align=center>"); + ".png\" border=0 align=middle>"); return($smarty->fetch(get_template_path('contents.tpl', TRUE))); } diff --git a/plugins/gofon/reports/contents.tpl b/plugins/gofon/reports/contents.tpl index 3a814ffff..a294fe406 100644 --- a/plugins/gofon/reports/contents.tpl +++ b/plugins/gofon/reports/contents.tpl @@ -27,13 +27,13 @@ {if $search_result ne ""} - - - - - - - + + + + + + + {$search_result}
{t}Date{/t} {$mode0}{t}Source{/t} {$mode1}{t}Destination{/t} {$mode2}{t}Channel{/t} {$mode3}{t}Application{/t} {$mode4}{t}Status{/t} {$mode5}{t}Duration{/t} {$mode6}{t}Date{/t} {$mode0}{t}Source{/t} {$mode1}{t}Destination{/t} {$mode2}{t}Channel{/t} {$mode3}{t}Application{/t} {$mode4}{t}Status{/t} {$mode5}{t}Duration{/t} {$mode6}
-- 2.30.2