summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6fb5fdc)
raw | patch | inline | side by side (parent: 6fb5fdc)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 15 Sep 2008 06:29:08 +0000 (06:29 +0000) | ||
committer | hickert <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
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 | patch | blob | history | |
gosa-plugins/goto/admin/systems/services/ntp/goNtpServer.tpl | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/services/ntp/class_goNtpServer.inc b/gosa-plugins/goto/admin/systems/services/ntp/class_goNtpServer.inc
index ef3d297a341f78a044b65df5a9c182e6359d05a0..82c0a7415ca10097dc2c54124a69f34bdb7619c2 100644 (file)
}
}
- $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__))));
}
diff --git a/gosa-plugins/goto/admin/systems/services/ntp/goNtpServer.tpl b/gosa-plugins/goto/admin/systems/services/ntp/goNtpServer.tpl
index 8e33794d8f36b071e2b2a5460e3c957a93c57e33..777063151b599462176cecf8670a3f0f9b1d2cc2 100644 (file)
<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> </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>