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

Move the message back.

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