Commit a5b3a465 authored by Leigh Stoller's avatar Leigh Stoller

Merge branch 'ui_usehomebase' into 'master'

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

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