From: hickert Date: Fri, 2 Jun 2006 06:57:13 +0000 (+0000) Subject: Added force height X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5d6d08f1480ac389e3d91ee54899420b174c06e5;p=gosa.git Added force height git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3622 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_MultiSelectWindow.inc b/include/class_MultiSelectWindow.inc index 89dd459c8..f201660a6 100644 --- a/include/class_MultiSelectWindow.inc +++ b/include/class_MultiSelectWindow.inc @@ -35,23 +35,30 @@ class MultiSelectWindow{ var $SaveAdditionalVars = array(); // Additional Post vars to store + var $force_height = false; function ClearElementsList() { $this->array_Elements = array(); } - function ForceMaximumDivHeight($height = "") + function HideFilterPart($bool = true) { - $this->DivHeight = $height; + $this->HideFilterPart = $bool; } - - function HideFilterPart($bool = true) + function ForceMaximumDivHeight($height = "") { - $this->HideFilterPart = $bool; + $this->DivHeight = $height; + if(!empty($height)){ + $this->force_height = true; + }else{ + $this->force_height = false; + } } + + /* Adds a regex input field to the current dialog */ function AddRegex($name,$string,$value,$conn,$image="images/search.png") { @@ -349,6 +356,8 @@ class MultiSelectWindow{ $smarty->assign("filterName" , $this->filterName); $smarty->assign("is_headpage" , $this->is_headpage); + $smarty->assign("force_height",$this->force_height); + $display = $smarty->fetch(get_template_path("MultiSelectWindow.tpl")); return($display); }