Commit fdb60e08 authored by Leigh B Stoller's avatar Leigh B Stoller

Bug Fix: move PAGEHEADER() to the proper place.

parent 148916e5
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2009 University of Utah and the Flux Group.
# Copyright (c) 2009-2010 University of Utah and the Flux Group.
# All rights reserved.
#
include("defs.php3");
require("Sajax.php");
include_once("node_defs.php");
#sajax_init();
#sajax_export("GetExpState", "Show", "ModifyAnno", "FreeNodeHtml");
#
# Only known and logged in users can look at experiments.
......@@ -17,8 +13,6 @@ $this_user = CheckLoginOrDie();
$uid = $this_user->uid();
$isadmin = ISADMIN();
PAGEHEADER("Shared Pool");
#
# Verify page arguments.
#
......@@ -28,6 +22,8 @@ if (!isset($sortby)) {
$sortby = "";
}
PAGEHEADER("Shared Pool");
$experiment = Experiment::LookupByPidEid("emulab-ops", "shared-nodes");
if (!$experiment) {
$experiment = Experiment::LookupByPidEid("emulab-ops", "shared-node");
......@@ -69,7 +65,9 @@ $query_result =
"where r.eid='$eid' and r.pid='$pid' ".
"order BY rsrvtime");
echo "These are the nodes in the shared pool. ";
$url = CreateURL("showexp", $experiment);
echo "These are the nodes in the <a href='$url'>shared pool</a>. ";
echo "Please see the <a href='$WIKIDOCURL/SharedNodes'>documentation</a> ";
echo "on how to use shared nodes in your experiment.<br>";
......
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