Code

Updated property settings dialog for opsi packages
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 12 Jul 2010 05:35:44 +0000 (05:35 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 12 Jul 2010 05:35:44 +0000 (05:35 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18982 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/opsi/admin/opsi/class_opsiProperties.inc
gosa-plugins/opsi/admin/opsi/properties.tpl

index b7266c3322a1ccb2028e8964fbac3595d01484df..02a0da95a057f6708d3f72f91a7c72ef3d8ad56c 100644 (file)
@@ -36,7 +36,7 @@ class opsiProperties extends plugin
     $acl =  $ui->get_permissions($this->config->current['BASE'],"opsi/opsiProperties","");
     $smarty = get_smarty();
     $smarty->assign("ACL",$acl);
-    $smarty->assign("cfg",$this->cfg);
+    $smarty->assign("cfg",set_post($this->cfg));
     $smarty->assign("cfg_count",count($this->cfg));
     return($smarty->fetch(get_template_path("properties.tpl",TRUE,dirname(__FILE__))));
   }
index 26ba70b168dcaf2b7973101a1d1234262351f505..11fd331a5420f7bef2d1bf8ee99b3219c9069d09 100644 (file)
@@ -21,7 +21,7 @@
         {/foreach}
        </select>
       {else}
-       <input type='input' name='value_{$key}' value="{$item.CURRENT}" style='width:280px;'>
+       <input type='text' name='value_{$key}' value="{$item.CURRENT}" style='width:280px;'>
       {/if}
      {/render}
     </td>