summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 80cffb3)
raw | patch | inline | side by side (parent: 80cffb3)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 9 Jul 2008 09:16:47 +0000 (09:16 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 9 Jul 2008 09:16:47 +0000 (09:16 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11574 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/smarty/plugins/block.render.php | patch | blob | history |
diff --git a/gosa-core/include/smarty/plugins/block.render.php b/gosa-core/include/smarty/plugins/block.render.php
index 7b06754c3fc9497ee84c240c21c2334af8e8d302..ac157f4c5ea8a08a4575e89b1edb4bc4a65eb7c1 100644 (file)
$text = preg_replace ("/\n/","GOSA_LINE_BREAK",$text);
/* Disable objects, but keep those active that have mode=read_active */
- if(!(isset($params['mode']) && $params['mode']=='read_active')){
+ if(!(isset($params['mode']) && ($params['mode']=='read_active') && preg_match("/(r|w)/",$acl))){
/* Disable options && greyout divlists */
$from = array("/class=['\"]list1nohighlight['\"]/i",