Code

Updated NTP Service.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 Sep 2008 06:29:08 +0000 (06:29 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 Sep 2008 06:29:08 +0000 (06:29 +0000)
-Fixed ACL checks.

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

gosa-plugins/goto/admin/systems/services/ntp/class_goNtpServer.inc
gosa-plugins/goto/admin/systems/services/ntp/goNtpServer.tpl

index ef3d297a341f78a044b65df5a9c182e6359d05a0..82c0a7415ca10097dc2c54124a69f34bdb7619c2 100644 (file)
@@ -62,7 +62,7 @@ class goNtpServer extends goService{
       }
     }
 
-    $smarty->assign("goNtpServerACL", $this->getacl("goNtpServer")) ;
+    $smarty->assign("goTimeSourceACL", $this->getacl("goTimeSource")) ;
     $smarty->assign("goTimeSource" , $this->goTimeSource); 
     return($smarty->fetch(get_template_path("goNtpServer.tpl",TRUE,dirname(__FILE__))));
   }
index 8e33794d8f36b071e2b2a5460e3c957a93c57e33..777063151b599462176cecf8670a3f0f9b1d2cc2 100644 (file)
@@ -4,20 +4,20 @@
 <table summary="" style="width:100%">
 <tr>
  <td>
-{render acl=$goNtpServerACL}
+{render acl=$goTimeSourceACL}
        <select style="width:100%;" id="goTimeEntry" name="goTimeSource[]" size=8 multiple>
                {html_options values=$goTimeSource output=$goTimeSource}
                <option disabled>&nbsp;</option>
        </select>
 {/render}
 <br>
-{render acl=$goNtpServerACL}
+{render acl=$goTimeSourceACL}
        <input type="text" name="NewNTPExport"  id="NewNTPExportId">
 {/render}
-{render acl=$goNtpServerACL}
+{render acl=$goTimeSourceACL}
        <input type="submit"    value="{msgPool type=addButton}"      name="NewNTPAdd"  id="NewNTPAddId">
 {/render}
-{render acl=$goNtpServerACL}
+{render acl=$goTimeSourceACL}
        <input type="submit"    value="{msgPool type=delButton}"   name="DelNTPEnt"  id="DelNTPEntId">
 {/render}
 </td>