From: cajus Date: Tue, 10 Apr 2007 08:34:45 +0000 (+0000) Subject: Added printer toggle X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d4d93bd17679bcb99e2824f4bb6a0b9c09c0c407;p=gosa.git Added printer toggle git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5996 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/groups/acl_definition.inc b/plugins/admin/groups/acl_definition.inc index 2b2dd0200..ad5bb0ce2 100644 --- a/plugins/admin/groups/acl_definition.inc +++ b/plugins/admin/groups/acl_definition.inc @@ -359,19 +359,20 @@ $ACLD['conference']= array( "goFonConferenceOwner"); $ACLD['environment']=array( - "create", - "gotoPrinter", - "gotoEnvironment", - "gotoShare", - "gotoProfileServer", - "gotoProfileFlags", - "gotoXResolution", - "gotoLogonScript", - "gotoKioskProfile", - "gotoProfileQuota", - "gotoHotplugDevice", - "gotoShareAppleMounts" - ); + "create", + "gotoPrinter", + "gotoPrinterToggle", + "gotoEnvironment", + "gotoShare", + "gotoProfileServer", + "gotoProfileFlags", + "gotoXResolution", + "gotoLogonScript", + "gotoKioskProfile", + "gotoProfileQuota", + "gotoHotplugDevice", + "gotoShareAppleMounts" + ); /* Connectivity accounts */ $ACLD['phpgwAccount'] =array("create"); $ACLD['webdavAccount'] =array("create"); diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index 814586ce7..bf7cfd8b3 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -384,7 +384,7 @@ class environment extends plugin } - foreach(array("gotoHotplugDevice","gotoPrinterSel") as $s_attr){ + foreach(array("gotoHotplugDevice","gotoPrinterSel", "gotoPrinterToggle") as $s_attr){ if(chkacl($this->acl,$s_attr)=="") { $smarty->assign($s_attr."ACL",""); }else{ diff --git a/plugins/personal/environment/environment.tpl b/plugins/personal/environment/environment.tpl index 6271a4dc0..4f63c1a86 100644 --- a/plugins/personal/environment/environment.tpl +++ b/plugins/personal/environment/environment.tpl @@ -179,11 +179,11 @@
- + {if $is_group } - + {else} - + {/if}