Skip to content
Snippets Groups Projects
Commit 5a23837a authored by echicken's avatar echicken
Browse files

Display an unread message count beside the email link.

parent 44f90838
Branches
Tags
No related merge requests found
if(user.alias.toUpperCase() != webIni.WebGuest.toUpperCase()) {
print("You are logged in as <b>" + user.alias + "</b><br />");
print("<a href='./index.xjs?page=999-email.ssjs'>Email</a><br />");
print(
format(
"<a href='./index.xjs?page=999-email.ssjs'>Email</a>%s<br />",
(user.stats.mail_waiting > 0) ? " (" + user.stats.mail_waiting + ")" : ""
)
);
print("<script language='javascript' type='text/javascript'>");
print("document.write('<a href=./?logout=true&callback=' + location.pathname + location.search + '>Log out</a>');");
print("</script><br />");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment