summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a71680b)
raw | patch | inline | side by side (parent: a71680b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 30 Jul 2010 10:06:55 +0000 (10:06 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 30 Jul 2010 10:06:55 +0000 (10:06 +0000) |
-It now includes the location name
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19296 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19296 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/html/main.php | patch | blob | history |
index 07c69d1dbc5c109d7a907269dd4bf2c688f95a84..c03c69b9d28a3ed9fcff362f06e38e5a7888eefe 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');\"");
}
+
+$loggedin = sprintf(_("You're logged in as %s"),
+ "<span>".$ui->cn." [".$ui->username."] / ".$config->current['NAME']."</span> ");
if($ui->ignore_acl_for_current_user()){
- $smarty->assign ("loggedin", "<font color='red'>"._("ACLs are disabled")."</font> ".sprintf(_("You're logged in as %s"), "<span>".$ui->cn." [".$ui->username."]</span>"));
-}else{
- $smarty->assign ("loggedin", sprintf(_("You're logged in as %s"), "<span>".$ui->cn." [".$ui->username."]</span>"));
+ $loggedin = "<font color='red'>"._("ACLs are disabled")."</font> ".$loggedin;
}
+
+$smarty->assign ("loggedin", $loggedin);
$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'));