Commit 6c7667a4 authored by Robert Ricci's avatar Robert Ricci

Move the message back.

parent 9ff09015
......@@ -387,11 +387,9 @@ function WRITESIDEBAR() {
#
# Login message. Set via 'web/message' site variable
#
if (0) {
$message = TBGetSiteVar("web/message");
if (0 != strcmp($message,"")) {
WRITESIDEBARNOTICE("<font color=red>$message</font>");
}
WRITESIDEBARNOTICE($message);
}
echo "</table>\n";
......@@ -552,19 +550,11 @@ function PAGEHEADER($title) {
$now = date("D M d g:ia T");
echo "$title</h2></td>\n";
echo "<td class=contentheader align=right>\n";
$message = TBGetSiteVar("web/message");
if (strcmp($message,"")) {
echo "<font size=+1 color=white>$message</font>";
if ($login_uid) {
echo "<font size=-1>'<b>$login_uid</b>' Logged in.<br>$now</font>\n";
}
else {
if ($login_uid) {
echo "<font size=-1>'<b>$login_uid</b>' Logged in.".
"<br>$now</font>\n";
}
else {
echo "$now";
}
echo "$now";
}
echo "</td>";
echo "</tr>\n";
......
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