Commit fff69425 authored by Mac Newbold's avatar Mac Newbold
Browse files

If the expt is activating, add a link to spewlogfile. Currently only works if...

If the expt is activating, add a link to spewlogfile. Currently only works if you're the person who started the experiment, due to the ownership/permissions of the log file we create.
parent e03ff8bb
......@@ -48,6 +48,11 @@ SUBPAGESTART();
SUBMENUSTART("Experiment Options");
if ($expstate) {
if (strcmp($expstate, $TB_EXPTSTATE_ACTIVATING)==0) {
WRITESUBMENUBUTTON("View Activation Logfile",
"spewlogfile.php3?pid=$exp_pid&eid=$exp_eid");
}
if (strcmp($expstate, $TB_EXPTSTATE_ACTIVE) == 0) {
WRITESUBMENUBUTTON("Visualization, NS File, Mapping",
"shownsfile.php3?pid=$exp_pid&eid=$exp_eid");
......
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