Commit d87c342f authored by Franco Fichtner's avatar Franco Fichtner

www: show user in shortcut section as well

parent 3f874aaf
......@@ -114,9 +114,12 @@ function get_menu_messages()
$menu_messages.="<a href=\"/\" class=\"dropdown-toggle \" data-toggle=\"dropdown\" role=\"button\" aria-expanded=\"false\"><span class=\"text-primary\">{$msg}&nbsp;</span><span class=\"caret text-primary\"></span></a>{$notice_msgs}\n";
}
} else {
$menu_messages='';
$menu_messages.= "<a href=\"#\">".$config['system']['hostname'] . "." . $config['system']['domain']."</a>";
$menu_messages.='';
$menu_messages .= sprintf(
'<a href="#">%s@%s.%s</a>',
$_SESSION['Username'],
$config['system']['hostname'],
$config['system']['domain']
);
}
return ($menu_messages);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment