Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
2b471827
Commit
2b471827
authored
Feb 04, 2008
by
Leigh B. Stoller
Browse files
Bug fix from John Hickey; do not display planetlab options when
PLABSUPPORT=0.
parent
6b891373
Changes
2
Hide whitespace changes
Inline
Side-by-side
www/defs.php3.in
View file @
2b471827
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-200
7
University of Utah and the Flux Group.
# Copyright (c) 2000-200
8
University of Utah and the Flux Group.
# All rights reserved.
#
# Lets emulate register_globals=off for a while.
...
...
@@ -24,6 +24,7 @@ $TBDOCBASE = "@TBDOCBASE@";
$TBWWW
=
"@TBWWW@"
;
$THISHOMEBASE
=
"@THISHOMEBASE@"
;
$ELABINELAB
=
@
ELABINELAB
@
;
$PLABSUPPORT
=
@
PLABSUPPORT
@
;
$WIKISUPPORT
=
@
WIKISUPPORT
@
;
$TRACSUPPORT
=
@
TRACSUPPORT
@
;
$BUGDBSUPPORT
=
@
BUGDBSUPPORT
@
;
...
...
www/menu.php3
View file @
2b471827
...
...
@@ -297,7 +297,7 @@ function WRITESIDEBAR() {
global
$CHECKLOGIN_WIKINAME
;
global
$THISHOMEBASE
;
global
$EXPOSETEMPLATES
;
global
$currentusage
,
$FANCYBANNER
,
$ELABINELAB
;
global
$currentusage
,
$FANCYBANNER
,
$ELABINELAB
,
$PLABSUPPORT
;
$firstinitstate
=
TBGetFirstInitState
();
#
...
...
@@ -587,10 +587,12 @@ function WRITESIDEBAR() {
NavMenuButton
(
"Create a Template"
,
"
$TBBASE
/template_create.php"
);
}
# Put _NEW back when Plab is working again.
NavMenuButton
(
"Create a PlanetLab Slice"
,
"
$TBBASE
/plab_ez.php3"
);
if
(
$PLABSUPPORT
)
{
# Put _NEW back when Plab is working again.
NavMenuButton
(
"Create a PlanetLab Slice"
,
"
$TBBASE
/plab_ez.php3"
);
}
NavMenuButton
(
"Experiment List"
,
"
$TBBASE
/showexp_list.php3"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment