Commit 34750e90 authored by Timothy Stack's avatar Timothy Stack
Browse files

Show some of the feedback menu items when the experiment is swapped

out.
parent 8a78b60d
...@@ -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() && $types['pcvm']) { if (STUDLY() && $classes['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.
......
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