From: hickert Date: Fri, 22 Jan 2010 09:53:45 +0000 (+0000) Subject: Updated Post names in sudo plugin X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1a37b5f494629b3b7a74c9b4e707f09e714006d5;p=gosa.git Updated Post names in sudo plugin git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15250 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc b/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc index ad4f87cfd..9807677d1 100644 --- a/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc +++ b/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc @@ -175,7 +175,7 @@ class sudo extends plugin } /* Add selected hosts to the sudoUser list */ - if(isset($_POST['SaveMultiSelectWindow']) && $this->dialog instanceof target_list_users){ + if(isset($_POST['SavetargetSelectDialog']) && $this->dialog instanceof target_list_users){ if($this->acl_is_writeable("sudoUser")){ foreach($this->dialog->save() as $entry){ if(in_array("posixGroup",$entry['objectClass'])){ @@ -208,7 +208,7 @@ class sudo extends plugin } /* Add selected hosts to the sudoHost list */ - if(isset($_POST['SaveMultiSelectWindow']) && $this->dialog instanceof target_list_systems){ + if(isset($_POST['SavetargetSelectDialog']) && $this->dialog instanceof target_list_systems){ if($this->acl_is_writeable("sudoHost")){ foreach($this->dialog->save() as $entry){ $cn = trim($entry['cn'][0]); @@ -226,7 +226,7 @@ class sudo extends plugin Dialog handling / display / close *********************/ - if(isset($_POST['CloseMultiSelectWindow']) && is_object($this->dialog)){ + if(isset($_POST['ClosetargetSelectDialog']) && is_object($this->dialog)){ unset($this->dialog); $this->dialog = NULL; } diff --git a/gosa-plugins/sudo/admin/sudo/class_target_list_systems.inc b/gosa-plugins/sudo/admin/sudo/class_target_list_systems.inc index 44d5af18b..80e63c7a9 100644 --- a/gosa-plugins/sudo/admin/sudo/class_target_list_systems.inc +++ b/gosa-plugins/sudo/admin/sudo/class_target_list_systems.inc @@ -54,9 +54,9 @@ class target_list_systems extends management $str = management::execute(); $str.= "

 

- +   - +

"; return($str); } diff --git a/gosa-plugins/sudo/admin/sudo/class_target_list_users.inc b/gosa-plugins/sudo/admin/sudo/class_target_list_users.inc index 6e841ac55..4fc798179 100644 --- a/gosa-plugins/sudo/admin/sudo/class_target_list_users.inc +++ b/gosa-plugins/sudo/admin/sudo/class_target_list_users.inc @@ -54,9 +54,9 @@ class target_list_users extends management $str = management::execute(); $str.= "

 

- +   - +

"; return($str); }