From 9604aab969e8703df5ca25606fca0ce6657e5af6 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 7 Dec 2007 08:00:20 +0000 Subject: [PATCH] Updated FAI - Snapshot can't be used for FAI, because of the FAIstate attribute and the inheriting release handling. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8052 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_divListFai.inc | 34 +++++++++++++------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/plugins/admin/fai/class_divListFai.inc b/plugins/admin/fai/class_divListFai.inc index eb189f2c7..b15485c82 100644 --- a/plugins/admin/fai/class_divListFai.inc +++ b/plugins/admin/fai/class_divListFai.inc @@ -53,11 +53,11 @@ class divListFai extends MultiSelectWindow $this->EnableCloseButton(false); $this->EnableSaveButton (false); - /* Dynamic action col, depending on snapshot icons */ + /* Dynamic action col, depending on snapshot icons */ $action_col_size = 80; - if($this->parent->snapshotEnabled()){ - $action_col_size += 32; - } +# if($this->parent->snapshotEnabled()){ +# $action_col_size += 32; +# } /* Toggle all selected / deselected */ $chk = "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); @@ -280,9 +280,9 @@ class divListFai extends MultiSelectWindow /* Dynamic action col, depending on snapshot icons */ $action_col_size = 80; - if($this->parent->snapshotEnabled()){ - $action_col_size += 32; - } +# if($this->parent->snapshotEnabled()){ +# $action_col_size += 32; +# } /******************** Attach objects @@ -336,9 +336,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.= "