Commit c8bd673f authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add a special overlay icon for elabinelab to make it very clear which

web interface you are talking to!
parent 1d13cde6
......@@ -566,7 +566,7 @@ function WRITESIDEBAR() {
# spits out beginning part of page
#
function PAGEBEGINNING( $title, $nobanner = 0 ) {
global $BASEPATH, $TBMAINSITE, $THISHOMEBASE;
global $BASEPATH, $TBMAINSITE, $THISHOMEBASE, $ELABINELAB;
global $TBDIR, $WWW;
global $MAINPAGE;
global $TBDOCBASE;
......@@ -621,9 +621,15 @@ function PAGEBEGINNING( $title, $nobanner = 0 ) {
<td valign='top' class='bannercell'
background='$BASEPATH/headerbgbb.jpg'
bgcolor=#3D627F>
<img width=369 height=100 border=0 usemap=\"#overlaymap\"
src='$BASEPATH/overlay.".strtolower($THISHOMEBASE).".gif'
alt='$THISHOMEBASE - the network testbed'>\n";
<img width=369 height=100 border=0 usemap=\"#overlaymap\" ";
if ($ELABINELAB) {
echo "src='$BASEPATH/overlay.elabinelab.gif' ";
}
else {
echo "src='$BASEPATH/overlay.".strtolower($THISHOMEBASE).".gif' ";
}
echo "alt='$THISHOMEBASE - the network testbed'>\n";
if (!$MAINPAGE) {
echo "<font size='+1' color='#CCFFCC'>&nbsp;<b>$WWW</b></font>";
}
......
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