From 39177b317030b983e2204be543e4bd05b53a2a36 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 30 Oct 2006 08:01:55 +0000 Subject: [PATCH] Removed old acls git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4961 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/gofon/fonreports/class_fonreport.inc | 14 +++----------- plugins/gofon/fonreports/contents.tpl | 12 ++++++------ plugins/gofon/fonreports/main.inc | 5 ----- 3 files changed, 9 insertions(+), 22 deletions(-) diff --git a/plugins/gofon/fonreports/class_fonreport.inc b/plugins/gofon/fonreports/class_fonreport.inc index 9056f91a9..55b48b1e6 100644 --- a/plugins/gofon/fonreports/class_fonreport.inc +++ b/plugins/gofon/fonreports/class_fonreport.inc @@ -127,14 +127,6 @@ class fonreport extends plugin Smarty *****************/ - foreach($this->fields as $field){ - if(chkacl($this->acl,$field)==""){ - $smarty->assign($field."ACL",""); - }else{ - $smarty->assign($field."ACL"," disabled "); - } - } - $smarty->assign("plug", "?plug=".validate($_GET['plug'])); $smarty->assign("launchimage", get_template_path('images/launch.png')); $smarty->assign("search_image", get_template_path('images/search.png')); @@ -321,10 +313,10 @@ class fonreport extends plugin /* Create string with all fields seperated by ,*/ $fields_str =""; foreach($this->fields as $field){ - if($field == "calldate") continue; - if(chkacl($this->acl,$field)==""){ - $fields_str .= $field.", "; + if($field == "calldate") { + continue; } + $fields_str .= $field.", "; } $fields_str = preg_replace("/, $/","",$fields_str); diff --git a/plugins/gofon/fonreports/contents.tpl b/plugins/gofon/fonreports/contents.tpl index a128dcc35..2a1807d17 100644 --- a/plugins/gofon/fonreports/contents.tpl +++ b/plugins/gofon/fonreports/contents.tpl @@ -28,12 +28,12 @@ - {if $srcACL == ""} {/if} - {if $dstACL == ""} {/if} - {if $channelACL == ""} {/if} - {if $lastappACL == ""} {/if} - {if $dispositionACL == ""} {/if} - {if $durationACL == ""} {/if} + + + + + + {$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}Source{/t} {$mode1}{t}Destination{/t} {$mode2}{t}Channel{/t} {$mode3}{t}Application{/t} {$mode4}{t}Status{/t} {$mode5}{t}Duration{/t} {$mode6}
diff --git a/plugins/gofon/fonreports/main.inc b/plugins/gofon/fonreports/main.inc index 394450fcb..5d1741db6 100644 --- a/plugins/gofon/fonreports/main.inc +++ b/plugins/gofon/fonreports/main.inc @@ -7,11 +7,6 @@ if (!$remove_lock){ } $fonreport= $_SESSION['fonreport']; - /* set permissions */ - $acl= get_permissions ($ui->dn, $ui->subtreeACL); - $fonreport->acl= get_module_permission($acl, "fonreport", $ui->dn); - - /* Execute formular */ $fonreport->save_object(); $display= $fonreport->execute (); -- 2.30.2