summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 77d6e91)
raw | patch | inline | side by side (parent: 77d6e91)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 22 Jan 2010 09:53:45 +0000 (09:53 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 22 Jan 2010 09:53:45 +0000 (09:53 +0000) |
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 ad4f87cfdec9e8f91735d68138dcf84fac543fc6..9807677d14c1d5cdd6e8735f86d5cdf152715772 100644 (file)
}
/* 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'])){
}
/* 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]);
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 44d5af18b7ee5cda809bbb253df85fcd64e17e4a..80e63c7a95293e69356b0173d223ff7a5d51415e 100644 (file)
$str = management::execute();
$str.= "<p class='separator'> </p>
<p style=\"text-align:right\">
- <input type=submit name=\"SaveMultiSelectWindow\" value=\"".msgPool::okButton()."\">
+ <input type=submit name=\"SavetargetSelectDialog\" value=\"".msgPool::okButton()."\">
- <input type=submit name=\"CloseMultiSelectWindow\" value=\"".msgPool::cancelButton()."\">
+ <input type=submit name=\"ClosetargetSelectDialog\" value=\"".msgPool::cancelButton()."\">
</p>";
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 6e841ac551f5b7d6d0dee06f91453bb5b10f498d..4fc798179a59ba2d577c59a4900c85c854cd456f 100644 (file)
$str = management::execute();
$str.= "<p class='separator'> </p>
<p style=\"text-align:right\">
- <input type=submit name=\"SaveMultiSelectWindow\" value=\"".msgPool::okButton()."\">
+ <input type=submit name=\"SavetargetSelectDialog\" value=\"".msgPool::okButton()."\">
- <input type=submit name=\"CloseMultiSelectWindow\" value=\"".msgPool::cancelButton()."\">
+ <input type=submit name=\"ClosetargetSelectDialog\" value=\"".msgPool::cancelButton()."\">
</p>";
return($str);
}