Code

Hide snapshot actions for fia.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 2 Nov 2007 10:46:30 +0000 (10:46 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 2 Nov 2007 10:46:30 +0000 (10:46 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7712 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_divListFai.inc

index 23c32414932e7e671a92a57b87f61705bec4ccd5..317ab9f08c69e985e79270468fcac4eea9d74c3c 100644 (file)
@@ -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= "<input class='center' type='image' src='images/edit.png'  alt='"._("edit")."'
            name='entry_edit_%KEY%' title='"._("Edit class")."'>";
 
-         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.= "<input class='center' type='image' src='images/edittrash.png' alt='"._("delete")."'