Commit 59644b10 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Display banner sitevars.

parent 639c27b7
......@@ -286,13 +286,15 @@ $PAGEHEADER_FUNCTION = function($thinheader = 0, $ignore1 = NULL,
</div>
</div>\n";
if (0) {
$groupname = ($ISAPT ? "apt-users" : "cloudlab-users");
echo "<center style='margin-bottom: 5px; margin-top: -8px'>
<font color=red>Portal will be down Jan 5-7.</font> See the
<a href='https://groups.google.com/forum/#!forum/${groupname}'
target='_blank'>Help Forum</a> for more info.
</center>\n";
if ($ISCLOUD) {
$message = TBGetSiteVar("cloudlab/message");
}
else {
$message = TBGetSiteVar("aptlab/message");
}
if ($message != "") {
echo "<center style='margin-bottom: 5px; margin-top: -8px'>
<font color=red>$message</font></center>\n";
}
if (!NOLOGINS() && !$login_user && $page_title != "Login") {
......
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