summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 23b80ec)
raw | patch | inline | side by side (parent: 23b80ec)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 7 Apr 2010 11:31:30 +0000 (11:31 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 7 Apr 2010 11:31:30 +0000 (11:31 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17508 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc b/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc
index 036e7454989666611ff61c9a0da2f5bb4a4dffe9..3e55b675dd6b2792a305fb43b50b204cd73c8187 100644 (file)
Delete values
*********************/
foreach($_POST as $name => $value){
- if(preg_match("/^del_/",$name)){
- $attr = preg_replace("/^del_([^_]*).*$/","\\1",$name);
- $value= preg_replace("/^del_[^_]*_([0-9]*)$/","\\1",$name);
+ if(preg_match("/^delS_/",$name)){
+ $attr = preg_replace("/^delS_([^_]*).*$/","\\1",$name);
+ $value= preg_replace("/^delS_[^_]*_([0-9]*)$/","\\1",$name);
if($this->acl_is_writeable($attr)){
$attrs = $this->$attr;
if(isset( $attrs[$value])){
*/
$neg_img= image('plugins/sudo/images/negate.png','','!');
$option = image('plugins/sudo/images/negate.png','neg_%ATTR%_%KEY%');
- $option.= image('images/lists/trash.png', 'del_%ATTR%_%KEY%');
+ $option.= image('images/lists/trash.png', 'delS_%ATTR%_%KEY%');
foreach(array('sudoUser','sudoCommand','sudoHost','sudoRunAs') as $l){
$l.="Data";
$$l = array();