Code

Added timezone selection
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 17 Sep 2010 12:06:51 +0000 (12:06 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 17 Sep 2010 12:06:51 +0000 (12:06 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19754 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/Device/InstallRecipe.tpl
gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc

index 93db162468a7bf05e9de613202f0d62932aef1df..7b75e501401d61c4bcd1b0be229da9012f6f841b 100644 (file)
@@ -27,7 +27,9 @@
     <tr>
         <td><LABEL for="ksTimezone">{t}Timezone{/t}</LABEL></td>
         <td>
-            <input type='text' name="ksTimezone" id="ksTimezone" value="{$ksTimezone}">
+            <select size='1' name="ksTimezone" id="ksTimezone">
+                {html_options values=$timezones options=$timezones selected=$ksTimezone}
+            </select>
         </td>
     </tr>
 
index 201ba9a459a8af595ea1f56cab7d961d8d09ab76..ae246c8ab7cee77c202bc26dbdb2c2add68c0935 100644 (file)
@@ -53,8 +53,12 @@ class InstallRecipe extends plugin
 
     function save()
     {
+        $this->member = array();
         plugin::save();
-        $this->cleanup();
+        #$this->cleanup();
+
+        print_a($this->attrs);
+
         $ldap=$this->config->get_ldap_link();
         $ldap->cd($this->config->current['BASE']);
         $ldap->cd($this->dn);