Commit 2efa2ba6 authored by chuck cranor's avatar chuck cranor

use THISHOMEBASE in more places to name/brand the current install

1. www/aptui/portal_defs.php: put THISHOMEBASE in html title
   (will be overwritten by portal_mainsite.php for some sites)

2. www/menu.php3: "Projects on Emulab" => "Projects on $THISHOMEBASE"

3. www/projectlist.php3: "Other projects registered on $THISHOMEBASE"
parent 4e2744c0
......@@ -31,7 +31,7 @@ $APTBASE = "$TBBASE/portal";
$SUPPORT = $TBMAILADDR_OPS;
$APTMAIL = $TBMAIL_OPS;
$APTMAILTO = "<a href='mailto:$SUPPORT'>Testbed Operations</a>";
$APTTITLE = "Emulab";
$APTTITLE = "$THISHOMEBASE";
$FAVICON = "../favicon.ico";
$APTLOGO = "emulab-logo.svg";
$APTSTYLE = "emulab.css";
......
......@@ -799,7 +799,8 @@ function WRITESIDEBAR() {
"$TBDOCBASE/docwrapper.php3?docname=sponsors.html");
}
else {
NavMenuButton("Projects on Emulab", "$TBDOCBASE/projectlist.php3");
NavMenuButton("Projects on $THISHOMEBASE",
"$TBDOCBASE/projectlist.php3");
}
if ($TBMAINSITE && !$ISALTDOMAIN) {
NavMenuButton("<font color=red>In Memoriam</font>",
......
......@@ -95,7 +95,7 @@ $query_result =
if (mysql_num_rows($query_result)) {
echo "<tr><th colspan=2>
Other projects registered on Emulab.Net:</h4>
Other projects registered on $THISHOMEBASE:</h4>
</th>
</tr>\n";
GENPLIST($query_result);
......
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