From: hickert Date: Fri, 21 Jul 2006 06:03:03 +0000 (+0000) Subject: Removed old acls, added ability to greyout divlists with render tag X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9923a46e31a670747a74d5a32e389eff26f68306;p=gosa.git Removed old acls, added ability to greyout divlists with render tag git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4267 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/html/themes/default/style.css b/html/themes/default/style.css index 6b5771a25..3fa1880d8 100644 --- a/html/themes/default/style.css +++ b/html/themes/default/style.css @@ -155,6 +155,13 @@ td.list1nohighlight { padding:3px; height:22px; } +td.list1nohighlightdisabled { + background-color:#EBEBEB;; + border-right:1px solid #C0C0C0; + padding:3px; + height:22px; +} + td.list1#fill { height:100%; diff --git a/include/smarty/plugins/block.render.php b/include/smarty/plugins/block.render.php index fd25db6c1..6fe13b4a7 100755 --- a/include/smarty/plugins/block.render.php +++ b/include/smarty/plugins/block.render.php @@ -26,9 +26,9 @@ function smarty_block_render($params, $text, &$smarty) /* Disable objects, but keep those active that have mode=read_active */ if(!(isset($params['mode']) && $params['mode']=='readable')){ - /* Disable options */ - $from = array("/name=/i"); - $to = array(" disabled name="); + /* Disable options && greyout divlists */ + $from = array("/name=/i" , "/list1nohighlight/"); + $to = array(" disabled name=", "list1nohighlightdisabled"); $text = preg_replace($from,$to,$text); /* Replace picture if object is disabled */ diff --git a/plugins/personal/environment/environment.tpl b/plugins/personal/environment/environment.tpl index 695b40d2c..1f7f926ba 100644 --- a/plugins/personal/environment/environment.tpl +++ b/plugins/personal/environment/environment.tpl @@ -149,7 +149,7 @@ {render acl=$gotoShareACL} {/render} - + @@ -163,7 +163,7 @@ {render acl=$gotoLogonScriptACL} - {html_options values=$gotoLogonScriptKeys output=$gotoLogonScripts } @@ -171,13 +171,13 @@
{render acl=$gotoLogonScriptACL} - + {/render} {render acl=$gotoLogonScriptACL} - + {/render} {render acl=$gotoLogonScriptACL} - + {/render} @@ -199,7 +199,7 @@ {render acl=$gotoHotplugDeviceACL} - {html_options values=$gotoHotplugDeviceKeys output=$gotoHotplugDevices} @@ -209,10 +209,10 @@ {render acl=$gotoHotplugDeviceACL} - + {/render} {render acl=$gotoHotplugDeviceACL} - + {/render} {render acl=$gotoHotplugDeviceACL} {render acl=$gotoPrinterACL} - {html_options values=$gotoPrinterKeys output=$gotoPrinter} {/render}
{render acl=$gotoPrinterACL} - + {/render} {render acl=$gotoPrinterACL} - + {/render} {render acl=$gotoPrinterACL} - + {/render} {render acl=$gosaDefaultPrinterACL} - + {/render}