From 48cf334a6ba9538fc19947c4d13159b3d1d5b05a Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 21 Jul 2006 05:53:42 +0000 Subject: [PATCH] Added acls for environment tpl git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4266 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../environment/class_environment.inc | 16 +- plugins/personal/environment/environment.tpl | 420 ++++++++++-------- 2 files changed, 253 insertions(+), 183 deletions(-) diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index d8de502df..16e1c7157 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -1163,16 +1163,20 @@ function printOutHotPlugDevices() "description" => _("Command to extend the list of possible screen resolutions"))), "plProvidedAcls" => array( - "gotoProfileServer" => _("Profile server") , + "gotoProfileFlagL" => _("Resolution changeable during session") , "gotoProfileFlagC" => _("Cache profile localy") , - "gotoXResolution" => _("Resolution") , + "gotoProfileQuota" => _("Profile quota") , - "gotoLogonScripts" => _("Logon script") , - "gotoPrinter" => _("Printer") , - "gosaDefaultPrinter" => _("Default printer") , + "gotoProfileServer" => _("Profile server") , + + "gotoXResolution" => _("Resolution") , "gotoKioskProfile" => _("Kiosk profile") , - "gotoShare" => _("Shares")), + + "gosaDefaultPrinter" => _("Default printer") , + "gotoLogonScript" => _("Logon script") , + "gotoHotplugDevice" => _("Hotplug devices"), + "gotoShare" => _("Shares")) )); } } diff --git a/plugins/personal/environment/environment.tpl b/plugins/personal/environment/environment.tpl index 45d68fef1..695b40d2c 100644 --- a/plugins/personal/environment/environment.tpl +++ b/plugins/personal/environment/environment.tpl @@ -1,198 +1,264 @@ {if $is_account ne 'true'} - - {t}The environment extension is currently disabled.{/t} + + {t}The environment extension is currently disabled.{/t} {else} + + -

{t}Profiles{/t}

+

+ + {t}Profiles{/t} +

+ - - - - + + + +
- - - - - - - - - -
- - - -
  - - - - - - - - - - - - - -
- - - -
- -
-
-
- {t}MB{/t} -
-
-
-   - -
-
-
- - - - - - - - - - - - -
- - -   - -
-
- - -
- - - -
-
+ + + + + + + + + +
+{render acl=$ProfileACL} + +{/render} + + +
  + + + + + + + + + + + + + +
+ + +{render acl=$ProfileACL} + +{/render} +
+ +
+
+
+{render acl=$ProfileACL} + {t}MB{/t} +{/render} +
+
+
+{render acl=$gotoProfileFlagCACL} +   +{/render} + +
+
+
+ + + + + + + + + + + + +
+ + +{render acl=$gotoKioskProfileACL} +   +{/render} +{render acl=$gotoKioskProfileACL} + +{/render} +
+
+{render acl=$gotoProfileFlagLACL} + +{/render} + +
+ + +{render acl=$gotoXResolutionACL} + +{/render} +
+

 

- - - + +
-

 

- - - - -
- {$divlistShares} - @ - - : - - - -
-
-

 

- - - + - +{render acl=$gotoShareACL} + {$divlistShares} +{/render} +{render acl=$gotoShareACL} + @ +{/render} +{render acl=$gotoShareACL} + +{/render} + : +{render acl=$gotoShareACL} + +{/render} +{render acl=$gotoShareACL} + +{/render} + + + +
- +
+

+   + +

+ + + - -
-
- - - -
-
+
+

+   + +

+ + + + +
+{render acl=$gotoLogonScriptACL} + +{/render} + +
+{render acl=$gotoLogonScriptACL} + +{/render} +{render acl=$gotoLogonScriptACL} + +{/render} +{render acl=$gotoLogonScriptACL} + +{/render} +
+

 

- - - - + + + +
-

 

- - - - - - - -
- -
- - - -
-
-

 

- - - - -
- -
- - - - -
-
+

+   + +

+ + + + + + + +
+{render acl=$gotoHotplugDeviceACL} + +{/render} +
+{render acl=$gotoHotplugDeviceACL} + +{/render} +{render acl=$gotoHotplugDeviceACL} + +{/render} +{render acl=$gotoHotplugDeviceACL} + +{/render} +
+
+

+   + +

+ + + + +
+{render acl=$gotoPrinterACL} + +{/render} +
+{render acl=$gotoPrinterACL} + +{/render} +{render acl=$gotoPrinterACL} + +{/render} +{render acl=$gotoPrinterACL} + +{/render} +{render acl=$gosaDefaultPrinterACL} + +{/render} +
+
{/if} -- 2.30.2