Skip to content
GitLab
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
34750e90
Commit
34750e90
authored
Mar 09, 2005
by
Timothy Stack
Browse files
Show some of the feedback menu items when the experiment is swapped
out.
parent
8a78b60d
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/showexp.php3
View file @
34750e90
...
...
@@ -193,7 +193,7 @@ if ($expstate == $TB_EXPTSTATE_ACTIVE) {
"linktest.php3?pid=
$exp_pid
&eid=
$exp_eid
"
);
}
if
(
STUDLY
()
&&
$
typ
es
[
'pcvm'
])
{
if
(
STUDLY
()
&&
$
class
es
[
'pcvm'
])
{
WRITESUBMENUBUTTON
(
"Record Feedback Data"
,
"feedback.php3?pid=
$exp_pid
&eid=
$exp_eid
&mode=record"
);
}
...
...
@@ -201,13 +201,13 @@ if ($expstate == $TB_EXPTSTATE_ACTIVE) {
if
((
$expstate
==
$TB_EXPTSTATE_ACTIVE
||
$expstate
==
$TB_EXPTSTATE_SWAPPED
)
&&
STUDLY
()
&&
$types
[
'pcvm'
])
{
STUDLY
())
{
WRITESUBMENUBUTTON
(
"Clear Feedback Data"
,
"feedback.php3?pid=
$exp_pid
&eid=
$exp_eid
&mode=clear"
);
WRITESUBMENUBUTTON
(
"Remap Virtual Nodes"
,
"remapexp.php3?pid=
$exp_pid
&eid=
$exp_eid
"
);
if
(
$classes
[
'pcvm'
])
{
WRITESUBMENUBUTTON
(
"Remap Virtual Nodes"
,
"remapexp.php3?pid=
$exp_pid
&eid=
$exp_eid
"
);
}
}
# Wireless maps if experiment includes wireless lans.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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