Commit b7b80ddf authored by Chad Barb's avatar Chad Barb

Added way to differentiate different testbeds...
overlay.emulab.net.gif is used for main emulab
overlay.mini.emulab.net.gif is for mini (it makes it apparent you are on mini.)
We'll make one for uky, too.
parent 1809c5dc
......@@ -269,13 +269,13 @@ function WRITESIDEBAR() {
# spits out beginning part of page
#
function PAGEBEGINNING( $title ) {
global $BASEPATH, $TBMAINSITE;
global $BASEPATH, $TBMAINSITE, $THISHOMEBASE;
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title><?php echo "emulab.net - $title"; ?></title>
<title><?php echo "$THISHOMEBASE - $title"; ?></title>
<!-- dumbed-down style sheet for any browser that groks (eg NS47). -->
<link REL="stylesheet" HREF="<?php echo "$BASEPATH/common-style.css" ?>"
TYPE="text/css" />
......@@ -295,8 +295,9 @@ function PAGEBEGINNING( $title ) {
<td valign="top" class="bannercell"
background="<?php echo "$BASEPATH/headerbgbb.jpg" ?>"
bgcolor=#3D627F ><img width=369 height=100
src="<?php echo "$BASEPATH/overlay.gif" ?>"
alt="emulab - the utah network testbed" /></td>
src="<?php echo "$BASEPATH/overlay." . strtolower($THISHOMEBASE)
. ".gif" ?>"
alt="<?php echo "$THISHOMEBASE" ?> - the network testbed" /></td>
</tr>
</table><table cellpadding="8" cellspacing="0" height="100%">
<tr height=100%>
......
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