Code

Removed Debug tag.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 30 Aug 2007 09:21:17 +0000 (09:21 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 30 Aug 2007 09:21:17 +0000 (09:21 +0000)
Removed old style acls.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7169 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_dhcpNewSectionDialog.inc
plugins/admin/systems/class_servDHCP.inc
plugins/admin/systems/dhcpNewSection.tpl

index e2235d3728924a5cfdb047772a520778ec2baba5..756a978933f3f8dd196f3b23bf3515d8a8adff7b 100644 (file)
@@ -47,8 +47,8 @@ class dhcpNewSectionDialog extends plugin
       $t_sections[$section]= $this->types[$section]; 
     }
     asort($t_sections);
+    $ui = get_userinfo();
     $smarty->assign("sections", $t_sections);
-    $smarty->assign("dhcpSectionACL", chkacl($this->acl,"DHCP"));
     $display.= $smarty->fetch(get_template_path('dhcpNewSection.tpl', TRUE));
     return($display);
   }
index d5825f5efc09d1a6bdbcf2dc9b9bfc6eb241df49..c6cc177d58cbac72a574d9f5e2467e0d720c6179 100644 (file)
@@ -58,8 +58,6 @@ class servdhcp extends goService
     /* Call parent execute */
     plugin::execute();
 
-    $this->reload();
-
     /* Fill templating stuff */
     $smarty= get_smarty();
     $display= "";
index 3d48e07ccdac99d8a5116b8f69595aedd5bc3ba7..517c3b403e82ee3423bacb400caa6c39cf4fe776 100644 (file)
@@ -7,7 +7,7 @@
 </p>
 <br>
 {t}Section{/t}&nbsp;
-<select size="1" id="section" name="section" title="{t}Choose section type to create{/t}" {$dhcpSectionACL}>
+<select size="1" id="section" name="section" title="{t}Choose section type to create{/t}">
   {html_options options=$sections}
 </select>