index 03d76d20a84f6f33705dc442b41567860abc20dc..61e5c21764bd5baec5bdf639a313ceaa931bbb8f 100644 (file)
var $mapActions = array("reboot" => "localboot",
"instant_update" => "softupdate",
- "update" => "sceduledupdate",
+ "update" => "scheduledupdate",
"reinstall" => "install",
"rescan" => "",
"memcheck" => "memcheck",
$names.= "$cn ";
}
- if (isset($_POST['action'])){
+ if (isset($_POST['action']) && $this->acl == "#all#"){
/* Update members fai state */
$this->update_term_member_FAIstate(trim($_POST['saction']));
***************/
/* Add new ntp Server to our list */
- if((isset($_POST['addNtpServer'])) && (isset($_POST['gotoNtpServers']))){
+ if((isset($_POST['addNtpServer'])) && (isset($_POST['gotoNtpServers'])) && $this->acl == "#all#"){
$this->gotoNtpServer[$_POST['gotoNtpServers']] = $_POST['gotoNtpServers'];
}
/* Delete selected NtpServer for list of used servers */
- if((isset($_POST['delNtpServer'])) && (isset($_POST['gotoNtpServerSelected']))){
+ if((isset($_POST['delNtpServer'])) && (isset($_POST['gotoNtpServerSelected'])) && $this->acl == "#all#"){
foreach($_POST['gotoNtpServerSelected'] as $name){
unset($this->gotoNtpServer[$name]);
}