X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=include%2Fclass_MultiSelectWindow.inc;h=8481095f07e457aaf426bc5402a57d0a5ff075e6;hb=478ea60361b0824f073fd6151f1f064c54eb3c52;hp=00d49d6d57c74d175f18172fc0a8df16cf8f8a19;hpb=2826044b3ab38ef418c5fb29cc5d5df0a4eb47fa;p=gosa.git
diff --git a/include/class_MultiSelectWindow.inc b/include/class_MultiSelectWindow.inc
index 00d49d6d5..8481095f0 100644
--- a/include/class_MultiSelectWindow.inc
+++ b/include/class_MultiSelectWindow.inc
@@ -483,6 +483,27 @@ class MultiSelectWindow{
}
+
+ function GetSnapShotActions($dn)
+ {
+ $str = "";
+
+ if($this->parent->snapshotEnabled()){
+
+ $str .=" ";
+
+ if(count($this->parent->Available_SnapsShots($dn))){
+ $str .=" ";
+ }else{
+ $str.= "
";
+ }
+ }
+ return($str);
+ }
+
+
/* this function adds the sub-departments of the current tree to the list */
function AddDepartments($base = false,$numtabs = 3)
{