summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a0ce232)
raw | patch | inline | side by side (parent: a0ce232)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 10 Apr 2007 08:34:45 +0000 (08:34 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 10 Apr 2007 08:34:45 +0000 (08:34 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5996 594d385d-05f5-0310-b6e9-bd551577e9d8
index 2b2dd02009231bc5c40eaf5bd39331c0150e68b8..ad5bb0ce253a62cef5c5e46b64d2a1987be7c160 100644 (file)
"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 814586ce707b7bf572e607b8748a958351c137ec..bf7cfd8b3eba7ae05e95d5b1122cde09e9ad2763 100644 (file)
}
- 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 6271a4dc0cb616e0cd7158d394e03853b0506063..4f63c1a8641957dddf16388905a5cd77eb9992a9 100644 (file)
<br>
<input type="submit" {$gotoPrinterACL} name="gotoPrinterAdd" value="{t}Add{/t}">
<input type="submit" {$gotoPrinterACL} name="gotoPrinterDel" value="{t}Delete{/t}">
- <input type="submit" {$gotoPrinterACL} name="gotoPrinterEdit" value="{t}Toggle admin{/t}">
+ <input type="submit" {$gotoPrinterToggleACL} name="gotoPrinterEdit" value="{t}Toggle admin{/t}">
{if $is_group }
- <input type="submit" {$gotoPrinterACL} name="gotoPrinterDefault" value="{t}Toggle default{/t}" disabled>
+ <input type="submit" {$gotoPrinterToggleACL} name="gotoPrinterDefault" value="{t}Toggle default{/t}" disabled>
{else}
- <input type="submit" {$gotoPrinterACL} name="gotoPrinterDefault" value="{t}Toggle default{/t}">
+ <input type="submit" {$gotoPrinterToggleACL} name="gotoPrinterDefault" value="{t}Toggle default{/t}">
{/if}
</td>
</tr>