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-devel
Commits
fdb60e08
Commit
fdb60e08
authored
Sep 08, 2010
by
Leigh B Stoller
Browse files
Bug Fix: move PAGEHEADER() to the proper place.
parent
148916e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/showpool.php
View file @
fdb60e08
<?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>"
;
...
...
Write
Preview
Supports
Markdown
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