From e1a04fd0f48aabe71336a589ecfe1ff6801dbf14 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 14 May 2008 09:19:37 +0000 Subject: [PATCH] Display a warning if ACL checks are disabled git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10885 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/main.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gosa-core/html/main.php b/gosa-core/html/main.php index 86c2f7c6c..68941ebfa 100644 --- a/gosa-core/html/main.php +++ b/gosa-core/html/main.php @@ -288,7 +288,11 @@ if (session::get('js')==FALSE){ $smarty->assign("help_method"," onclick=\"return popup('helpviewer.php$plug','GOsa help');\""); } -$smarty->assign ("username", $ui->username); +if($ui->ignore_acl_for_current_user()){ + $smarty->assign ("username", ""._("User ACL checks disabled")." ".$ui->username); +}else{ + $smarty->assign ("username", $ui->username); +} $smarty->assign ("go_logo", get_template_path('images/go_logo.png')); $smarty->assign ("go_base", get_template_path('images/dtree.png')); $smarty->assign ("go_home", get_template_path('images/gohome.png')); -- 2.30.2