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-stable
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
Show whitespace changes
Inline
Side-by-side
www/showexp.php3
View file @
34750e90
...
@@ -193,7 +193,7 @@ if ($expstate == $TB_EXPTSTATE_ACTIVE) {
...
@@ -193,7 +193,7 @@ if ($expstate == $TB_EXPTSTATE_ACTIVE) {
"linktest.php3?pid=
$exp_pid
&eid=
$exp_eid
"
);
"linktest.php3?pid=
$exp_pid
&eid=
$exp_eid
"
);
}
}
if
(
STUDLY
()
&&
$
typ
es
[
'pcvm'
])
{
if
(
STUDLY
()
&&
$
class
es
[
'pcvm'
])
{
WRITESUBMENUBUTTON
(
"Record Feedback Data"
,
WRITESUBMENUBUTTON
(
"Record Feedback Data"
,
"feedback.php3?pid=
$exp_pid
&eid=
$exp_eid
&mode=record"
);
"feedback.php3?pid=
$exp_pid
&eid=
$exp_eid
&mode=record"
);
}
}
...
@@ -201,13 +201,13 @@ if ($expstate == $TB_EXPTSTATE_ACTIVE) {
...
@@ -201,13 +201,13 @@ if ($expstate == $TB_EXPTSTATE_ACTIVE) {
if
((
$expstate
==
$TB_EXPTSTATE_ACTIVE
||
if
((
$expstate
==
$TB_EXPTSTATE_ACTIVE
||
$expstate
==
$TB_EXPTSTATE_SWAPPED
)
&&
$expstate
==
$TB_EXPTSTATE_SWAPPED
)
&&
STUDLY
()
&&
STUDLY
())
{
$types
[
'pcvm'
])
{
WRITESUBMENUBUTTON
(
"Clear Feedback Data"
,
WRITESUBMENUBUTTON
(
"Clear Feedback Data"
,
"feedback.php3?pid=
$exp_pid
&eid=
$exp_eid
&mode=clear"
);
"feedback.php3?pid=
$exp_pid
&eid=
$exp_eid
&mode=clear"
);
if
(
$classes
[
'pcvm'
])
{
WRITESUBMENUBUTTON
(
"Remap Virtual Nodes"
,
WRITESUBMENUBUTTON
(
"Remap Virtual Nodes"
,
"remapexp.php3?pid=
$exp_pid
&eid=
$exp_eid
"
);
"remapexp.php3?pid=
$exp_pid
&eid=
$exp_eid
"
);
}
}
}
# Wireless maps if experiment includes wireless lans.
# Wireless maps if experiment includes wireless lans.
...
...
Write
Preview
Markdown
is supported
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