From 47f7947884923a32d26afba4b06cb30f6c105fa8 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 2 Nov 2007 10:46:30 +0000 Subject: [PATCH] Hide snapshot actions for fia. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7712 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_divListFai.inc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/plugins/admin/fai/class_divListFai.inc b/plugins/admin/fai/class_divListFai.inc index 23c324149..317ab9f08 100644 --- a/plugins/admin/fai/class_divListFai.inc +++ b/plugins/admin/fai/class_divListFai.inc @@ -236,13 +236,13 @@ class divListFai extends MultiSelectWindow } } - /* Add snapshot icons, if we are allowed to write and create the complete fai module ($ui->has_complete_category_acls) */ - if(preg_match("/(c.*w|w.*c)/",$acl_all)){ - if($this->parent->snapshotEnabled()){ - $s .= "..|---|\n"; - $s .= $this->get_snapshot_header(TRUE); - } - } +# /* Add snapshot icons, if we are allowed to write and create the complete fai module ($ui->has_complete_category_acls) */ +# if(preg_match("/(c.*w|w.*c)/",$acl_all)){ +# if($this->parent->snapshotEnabled()){ +# $s .= "..|---|\n"; +# $s .= $this->get_snapshot_header(TRUE); +# } +# } $this->SetDropDownHeaderMenu($s); $this->SetListHeader($listhead); @@ -321,9 +321,9 @@ class divListFai extends MultiSelectWindow $action= ""; - if(preg_match("/(c)/",$value['acl']) && preg_match("/(w)/",$value['acl'])){ - $action.= $this->GetSnapShotActions($value['dn']);; - } +# if(preg_match("/(c)/",$value['acl']) && preg_match("/(w)/",$value['acl'])){ +# $action.= $this->GetSnapShotActions($value['dn']);; +# } if(preg_match("/d/",$value['acl'])){ $action.= "