diff --git a/www/menu.php3 b/www/menu.php3 index 7605c4c2292793aca7b94832e3f0a93eb61f63c9..fd90762beeb1080d3ae847a5d09b34da0374e1b3 100644 --- a/www/menu.php3 +++ b/www/menu.php3 @@ -53,6 +53,7 @@ function WRITESIDEBAR() { global $STATUS_NOSTATUS, $STATUS_LOGGEDIN, $STATUS_LOGGEDOUT; global $STATUS_LOGINFAIL, $STATUS_TIMEDOUT, $STATUS_NOLOGINS; global $TBBASE, $TBDOCBASE, $TBDBNAME, $BASEPATH, $pswd_expired; + global $THISHOMEBASE; # # The document base cannot be a mix of secure and nonsecure. @@ -70,7 +71,7 @@ function WRITESIDEBAR() { WRITESIDEBARBUTTON("Tutorial", $TBDOCBASE, "tutorial/tutorial.php3"); WRITESIDEBARBUTTON("People", $TBDOCBASE, "people.php3"); WRITESIDEBARBUTTON("The Gallery", $TBDOCBASE, "gallery/gallery.php3"); - WRITESIDEBARBUTTON("Projects Using Emulab.Net", $TBDOCBASE, + WRITESIDEBARBUTTON("Projects Using $THISHOMEBASE", $TBDOCBASE, "projectlist.php3"); $freepcs = TBFreePCs(); @@ -128,7 +129,7 @@ function WRITESIDEBAR() { $TBBASE, "modusr_form.php3"); } elseif ($status == "active") { - WRITESIDEBARBUTTON("My Emulab.Net", + WRITESIDEBARBUTTON("My $THISHOMEBASE", $TBBASE, "showuser.php3?target_uid=$login_uid"); @@ -342,7 +343,7 @@ function PAGEHEADER($title) { global $TBBASE, $TBDOCBASE, $TBDBNAME; global $CHECKLOGIN_NOTLOGGEDIN, $CHECKLOGIN_LOGGEDIN; global $CHECKLOGIN_TIMEDOUT, $CHECKLOGIN_MAYBEVALID; - global $CHECKLOGIN_PSWDEXPIRED; + global $CHECKLOGIN_PSWDEXPIRED, $THISHOMEBASE global $BASEPATH, $SSL_PROTOCOL, $javacode, $drewheader, $pswd_expired; $drewheader = 1; @@ -412,7 +413,7 @@ function PAGEHEADER($title) { echo " - Emulab.Net - $title\n"; + $THISHOMEBASE - $title\n"; $timeo = ($TBAUTHTIMEOUT + 120) * 1000; @@ -495,13 +496,13 @@ function ENDPAGE() { # Spit out a vanilla page footer. # function PAGEFOOTER() { - global $TBDOCBASE, $TBMAILADDR; + global $TBDOCBASE, $TBMAILADDR, $THISHOMEBASE; ENDPAGE(); echo " -
[Emulab.Net Home]
+
[$THISHOMEBASE Home]
[Flux Research Group] [School of Computing]