X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=include%2Fclass_MultiSelectWindow.inc;h=8481095f07e457aaf426bc5402a57d0a5ff075e6;hb=478ea60361b0824f073fd6151f1f064c54eb3c52;hp=0babe89645c57e0916684eabb34c3af39715fbff;hpb=6a1f9891c4d90dcd283c4bfd3e75069103c736eb;p=gosa.git diff --git a/include/class_MultiSelectWindow.inc b/include/class_MultiSelectWindow.inc index 0babe8964..8481095f0 100644 --- a/include/class_MultiSelectWindow.inc +++ b/include/class_MultiSelectWindow.inc @@ -476,12 +476,34 @@ class MultiSelectWindow{ $val = preg_replace("/\*\**/","*",$val); $this->array_Regexes[$key]['value'] = $val; $this->$box['name'] = $val; + $_SESSION['MultiDialogFilters'][$this->filterName][$box['name']] = $val; } } } } + + 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) {