From 993bc75ad90bf54d6075bbdd2874076efe3078c2 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 24 Jul 2008 06:49:55 +0000 Subject: [PATCH] Added negate button git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11899 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../sudo/admin/sudo/class_sudoGeneric.inc | 4 ++-- gosa-plugins/sudo/admin/sudo/options.tpl | 4 ++-- gosa-plugins/sudo/html/images/negate.png | Bin 0 -> 745 bytes 3 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 gosa-plugins/sudo/html/images/negate.png 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 0000000000000000000000000000000000000000..3240b29d5c73c3c783d9352d4cf0aefff0c5f4b8 GIT binary patch literal 745 zcmVz@;j(q!3lK=n!AY({UO#lFTB>(_`g8%^e{{R4h=>PzA zFaQARU;qF*m;eA5Z<1fdMgRZ;Ur9tkRCwBA{Qv(y10y3N13Ea(z!1Qus94WyXJ^2~ z$H(vwD0YA8(gV)#-Z{e5fb@a@KmZ{as0J9^wX^&G|Mcnq|IeI(3~%0GV4aW?&}aDg z_c_D`Nci!qR}5bn7$$-ZzybgQ2yBRM;k6I%-hQ3P!StEootZF(As>N(oDPgJ1{?q& zfZ(z7?=QoI=NFHC;Bhf$c*pt?VF=I_-+%mIzy|;V2yTc)^|cSLUjHg&`gE7!S)d*R z!~6GO{OQXVh8sVBZop>9eahW)b`80PmPr3rMsAPf*d z7=~;v)l7J_G3x*RNg?+c2mqKN00D$G1MX|kzW?rg$N%}M8VST00uVr0ll`kVe+xg{ zI?kYGWmnHY1ONyitS$k8omFc4U!Q9FKRHIdfsji80*DEhg2ykJ8c*yv%