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
d680f44b
Commit
d680f44b
authored
Aug 30, 2005
by
Leigh B. Stoller
Browse files
Rearrange so that experiments are last, as per Jay's request a few
weeks back.
parent
43b978df
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/showproject.php3
View file @
d680f44b
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-200
4
University of Utah and the Flux Group.
# Copyright (c) 2000-200
5
University of Utah and the Flux Group.
# All rights reserved.
#
include
(
"defs.php3"
);
...
...
@@ -50,27 +50,6 @@ if (! TBProjAccessCheck($uid, $pid, $pid, $TB_PROJECT_READINFO)) {
USERERROR
(
"You are not a member of Project
$pid
."
,
1
);
}
echo
"<font size=+2>"
.
"Project <b>
$pid
</b>"
.
"</font>
\n
"
;
echo
"<br /><br />
\n
"
;
#
# A list of project experiments.
#
SHOWEXPLIST
(
"PROJ"
,
$pid
);
#
# A list of project members (from the default group).
#
SHOWGROUPMEMBERS
(
$pid
,
$pid
,
0
);
#
# A list of project Groups
#
echo
"<center>
<h3>Project Groups</h3>
\n
"
;
SUBPAGESTART
();
SUBMENUSTART
(
"Project Options"
);
WRITESUBMENUBUTTON
(
"Create Subgroup"
,
...
...
@@ -84,6 +63,24 @@ WRITESUBMENUBUTTON("Show Project History",
WRITESUBMENUBUTTON
(
"Free Node Summary"
,
"nodecontrol_list.php3?showtype=summary&bypid=
$pid
"
);
SUBMENUEND
();
SHOWPROJECT
(
$pid
,
$uid
);
SUBPAGEEND
();
echo
"<center>
\n
"
;
echo
"<table border=0 bgcolor=#000 color=#000 class=stealth>
\n
"
;
echo
"<tr valign=top><td class=stealth align=center>
\n
"
;
#
# A list of project members (from the default group).
#
SHOWGROUPMEMBERS
(
$pid
,
$pid
,
0
);
echo
"</td><td align=center class=stealth>
\n
"
;
#
# A list of project Groups
#
echo
"<h3>Project Groups</h3>
\n
"
;
$query_result
=
DBQueryFatal
(
"SELECT * FROM groups WHERE pid='
$pid
'"
);
...
...
@@ -106,10 +103,13 @@ while ($row = mysql_fetch_array($query_result)) {
</tr>
\n
"
;
}
echo
"</table>
\n
"
;
echo
"</td></table>
\n
"
;
echo
"</center>
\n
"
;
SUBPAGEEND
();
SHOWPROJECT
(
$pid
,
$uid
);
#
# A list of project experiments.
#
SHOWEXPLIST
(
"PROJ"
,
$pid
);
if
(
$isadmin
)
{
echo
"<center>
...
...
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