Code

Updated FAI
[gosa.git] / plugins / admin / fai / class_divListFai.inc
index eb189f2c730bd1ccc5344adf83217ff7f7899bed..b15485c82dc890e3d8dd540711496e1f7d38e1c1 100644 (file)
@@ -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 = "<input type='checkbox' id='select_all' name='select_all'
@@ -241,13 +241,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);
@@ -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.= "<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")."'