Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
30a8fbc2
Commit
30a8fbc2
authored
May 15, 2006
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lets try a different fix.
parent
b30df6a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
13 deletions
+12
-13
www/showstuff.php3
www/showstuff.php3
+12
-13
No files found.
www/showstuff.php3
View file @
30a8fbc2
...
...
@@ -9,7 +9,6 @@
#
# Functions to dump out various things.
#
include_once
(
"template_defs.php"
);
#
# A project
...
...
@@ -777,8 +776,6 @@ function SHOWEXP($pid, $eid, $short = 0, $sortby = "") {
$autoswap_str
=
$autoswap_hrs
.
" hour"
.
(
$autoswap_hrs
==
1
?
""
:
"s"
);
$idleswap_str
=
$idleswap_hrs
.
" hour"
.
(
$idleswap_hrs
==
1
?
""
:
"s"
);
$isinstance
=
(
TBIsTemplateInstanceExperiment
(
$exptidx
)
?
1
:
0
);
if
(
$swappable
)
$swappable
=
"Yes"
;
else
...
...
@@ -865,18 +862,20 @@ function SHOWEXP($pid, $eid, $short = 0, $sortby = "") {
<a href='showuser.php3?target_uid=
$exp_head
'>
$exp_head
</a></td>
</tr>
\n
"
;
if
(
$isinstance
)
{
TBPidEid2Template
(
$pid
,
$eid
,
$guid
,
$version
,
$instance_idx
);
if
(
!
$short
)
{
$isinstance
=
(
TBIsTemplateInstanceExperiment
(
$exptidx
)
?
1
:
0
);
if
(
$isinstance
)
{
TBPidEid2Template
(
$pid
,
$eid
,
$guid
,
$version
,
$instance_idx
);
echo
"<tr>
<td>Template: </td>
<td class=
\"
left
\"
>
<a href='template_show.php?guid=
$guid
&version=
$version
'>
$guid
/
$version
</a></td>
</tr>
\n
"
;
}
echo
"<tr>
<td>Template: </td>
<td class=
\"
left
\"
>
<a href='template_show.php?guid=
$guid
&version=
$version
'>
$guid
/
$version
</a></td>
</tr>
\n
"
;
}
if
(
!
$short
)
{
echo
"<tr>
<td>Created: </td>
<td class=
\"
left
\"
>
$exp_created
</td>
...
...
Write
Preview
Markdown
is supported
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