summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c5849fe)
raw | patch | inline | side by side (parent: c5849fe)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 14 May 2008 09:19:37 +0000 (09:19 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 14 May 2008 09:19:37 +0000 (09:19 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10885 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/html/main.php | patch | blob | history |
index 86c2f7c6c9acdfc71146108929a0ac1402c347f0..68941ebfa48a6f871031e715c21cbd71b539fd88 100644 (file)
--- a/gosa-core/html/main.php
+++ b/gosa-core/html/main.php
$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", "<font color='#FF0000';>"._("User ACL checks disabled")."</font> ".$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'));