Commit 2b471827 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Bug fix from John Hickey; do not display planetlab options when

PLABSUPPORT=0.
parent 6b891373
<?php <?php
# #
# EMULAB-COPYRIGHT # EMULAB-COPYRIGHT
# Copyright (c) 2000-2007 University of Utah and the Flux Group. # Copyright (c) 2000-2008 University of Utah and the Flux Group.
# All rights reserved. # All rights reserved.
# #
# Lets emulate register_globals=off for a while. # Lets emulate register_globals=off for a while.
...@@ -24,6 +24,7 @@ $TBDOCBASE = "@TBDOCBASE@"; ...@@ -24,6 +24,7 @@ $TBDOCBASE = "@TBDOCBASE@";
$TBWWW = "@TBWWW@"; $TBWWW = "@TBWWW@";
$THISHOMEBASE = "@THISHOMEBASE@"; $THISHOMEBASE = "@THISHOMEBASE@";
$ELABINELAB = @ELABINELAB@; $ELABINELAB = @ELABINELAB@;
$PLABSUPPORT = @PLABSUPPORT@;
$WIKISUPPORT = @WIKISUPPORT@; $WIKISUPPORT = @WIKISUPPORT@;
$TRACSUPPORT = @TRACSUPPORT@; $TRACSUPPORT = @TRACSUPPORT@;
$BUGDBSUPPORT = @BUGDBSUPPORT@; $BUGDBSUPPORT = @BUGDBSUPPORT@;
......
...@@ -297,7 +297,7 @@ function WRITESIDEBAR() { ...@@ -297,7 +297,7 @@ function WRITESIDEBAR() {
global $CHECKLOGIN_WIKINAME; global $CHECKLOGIN_WIKINAME;
global $THISHOMEBASE; global $THISHOMEBASE;
global $EXPOSETEMPLATES; global $EXPOSETEMPLATES;
global $currentusage, $FANCYBANNER, $ELABINELAB; global $currentusage, $FANCYBANNER, $ELABINELAB, $PLABSUPPORT;
$firstinitstate = TBGetFirstInitState(); $firstinitstate = TBGetFirstInitState();
# #
...@@ -587,10 +587,12 @@ function WRITESIDEBAR() { ...@@ -587,10 +587,12 @@ function WRITESIDEBAR() {
NavMenuButton("Create a Template", NavMenuButton("Create a Template",
"$TBBASE/template_create.php"); "$TBBASE/template_create.php");
} }
# Put _NEW back when Plab is working again. if ($PLABSUPPORT) {
NavMenuButton("Create a PlanetLab Slice", # Put _NEW back when Plab is working again.
"$TBBASE/plab_ez.php3"); NavMenuButton("Create a PlanetLab Slice",
"$TBBASE/plab_ez.php3");
}
NavMenuButton("Experiment List", "$TBBASE/showexp_list.php3"); NavMenuButton("Experiment List", "$TBBASE/showexp_list.php3");
......
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