From: hickert Date: Fri, 11 Nov 2005 11:25:13 +0000 (+0000) Subject: Added width=100% for divSelect X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0e4cb8a95cf9e40e22181b8c280e423bda7aceeb;p=gosa.git Added width=100% for divSelect git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1922 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_divSelectBox.inc b/include/class_divSelectBox.inc index a853d16b2..4e4d45088 100644 --- a/include/class_divSelectBox.inc +++ b/include/class_divSelectBox.inc @@ -7,7 +7,6 @@ class divSelectBox { var $cols; // Members for page managment - var $width= 300; var $height=200; // Added php 4 constructor @@ -17,10 +16,6 @@ class divSelectBox { $this->cols = 0; } - function setWidth($w){ - $this->width=$w; - } - function setHeight($h){ $this->height=$h; } @@ -32,8 +27,8 @@ class divSelectBox { function DrawList(){ $s_return = ""; $s_return .= "
\n"; - $s_return .= "
\n"; - $s_return .= "
\n"; + $s_return .= "
\n"; + $s_return .= "
height."px;\">\n"; $s_return .= "_numEntries(); + for($e = 0 ; $e < 10 ; $e ++) foreach($this->a_entries as $s_key => $s_value){ $i--; @@ -87,7 +83,7 @@ class divSelectBox { $s_return .= "\n"; $cnt = 0; - + foreach($s_value as $s_key2 => $s_value2 ){ $this->cols = count($s_value) ; $cnt++; diff --git a/plugins/gofax/faxaccount/class_gofaxAccount.inc b/plugins/gofax/faxaccount/class_gofaxAccount.inc index 24c94a484..acdc7d20b 100644 --- a/plugins/gofax/faxaccount/class_gofaxAccount.inc +++ b/plugins/gofax/faxaccount/class_gofaxAccount.inc @@ -411,8 +411,7 @@ class gofaxAccount extends plugin /* Create our divselect box */ $divSel = new divSelectBox("divSelectPredefined"); - $divSel->setHeight(150); - $divSel->setWidth(150); + $divSel->setHeight(296); /* NEW LIST MANAGMENT * We also need to search for the departments @@ -499,8 +498,7 @@ class gofaxAccount extends plugin /*Create DivSel*/ $divSel = new divSelectBox("divSelectPredefined"); - $divSel->setHeight(300); - $divSel->setWidth(350); + $divSel->setHeight(296); /* NEW LIST MANAGMENT * We also need to search for the departments diff --git a/plugins/gofax/faxaccount/lists.tpl b/plugins/gofax/faxaccount/lists.tpl index 08adb66c3..6359718a0 100644 --- a/plugins/gofax/faxaccount/lists.tpl +++ b/plugins/gofax/faxaccount/lists.tpl @@ -17,7 +17,7 @@ {t}List of predefined blocklists{/t}
-
+ {$divSelectPredefined}