Code

Use new styles
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 23 Mar 2010 10:48:04 +0000 (10:48 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 23 Mar 2010 10:48:04 +0000 (10:48 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17019 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/ppd/class_printerPPDDialog.inc

index 3da4d8548209d56b238c4d91e68cff84d9837b15..8133fad98c0740dc32fa6ef920735200791f209c 100644 (file)
@@ -505,7 +505,7 @@ class printerPPDDialog extends plugin
           /* If type is PickOne, create a select box */
           if(($type == "PickOne")||(($type=="Boolean")&&(count($values)>1))){
 
-            $str  .=  "<select name='".base64_encode($name)."' $acl >\n";
+            $str  .=  "<select name='".base64_encode($name)."' $acl size='1'>\n";
             foreach($values as $optionKey => $value){
               $selected = "";
               if($optionKey == $default){
@@ -518,7 +518,7 @@ class printerPPDDialog extends plugin
           }elseif($type == "Boolean"){
 
             /* If type is Boolean & no values are given */
-            $str  .=  "<select name='".base64_encode($name)."' $acl>\n";
+            $str  .=  "<select name='".base64_encode($name)."' $acl size='1'>\n";
             if($default == "False"){
               $str  .=    "<option value='True' >"._("True")."</option>\n";
               $str  .=    "<option value='False' selected>"._("False")."</option>\n";