From: hickert Date: Thu, 24 Jul 2008 06:49:55 +0000 (+0000) Subject: Added negate button X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=993bc75ad90bf54d6075bbdd2874076efe3078c2;p=gosa.git Added negate button git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11899 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 a3059782a..2647edc99 100644 --- a/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc +++ b/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc @@ -376,8 +376,8 @@ class sudo extends plugin /* Fill divlists */ - $neg_img= "!"; - $option = ""; + $neg_img= "!"; + $option = ""; $option.= ""; foreach(array("sudoCommand","sudoHost","sudoRunAs") as $attr){ if($this->acl_is_readable($attr)){ diff --git a/gosa-plugins/sudo/admin/sudo/options.tpl b/gosa-plugins/sudo/admin/sudo/options.tpl index 035321a68..701c48343 100644 --- a/gosa-plugins/sudo/admin/sudo/options.tpl +++ b/gosa-plugins/sudo/admin/sudo/options.tpl @@ -13,7 +13,7 @@ {$key} {if $entry.NEGATE} - ! + ! {/if} @@ -68,7 +68,7 @@ {/if} - + diff --git a/gosa-plugins/sudo/html/images/negate.png b/gosa-plugins/sudo/html/images/negate.png new file mode 100644 index 000000000..3240b29d5 Binary files /dev/null and b/gosa-plugins/sudo/html/images/negate.png differ