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
15083d37
Commit
15083d37
authored
Dec 19, 2003
by
Robert Ricci
Browse files
Add a link from the node page to the newimageid_ez page, with the
'node' field already filled out.
parent
f61f335c
Changes
2
Hide whitespace changes
Inline
Side-by-side
www/newimageid_ez.php3
View file @
15083d37
...
...
@@ -606,6 +606,16 @@ if (! $submit) {
}
reset
(
$projlist
);
}
#
# Allow formfields that are already set to override defaults
#
if
(
isset
(
$formfields
))
{
while
(
list
(
$field
,
$value
)
=
each
(
$formfields
))
{
$defaults
[
$field
]
=
$formfields
[
$field
];
}
}
SPITFORM
(
$defaults
,
0
);
PAGEFOOTER
();
...
...
www/shownode.php3
View file @
15083d37
...
...
@@ -109,6 +109,11 @@ if (TBNodeAccessCheck($uid, $node_id, $TB_NODEACCESS_REBOOT)) {
"boot.php3?node_id=
$node_id
"
);
}
if
(
TBNodeAccessCheck
(
$uid
,
$node_id
,
$TB_NODEACCESS_LOADIMAGE
))
{
WRITESUBMENUBUTTON
(
"Create a Disk Image"
,
"newimageid_ez.php3?formfields[node]=
$node_id
"
);
}
if
(
$isadmin
)
{
WRITESUBMENUBUTTON
(
"Show Node Log"
,
"shownodelog.php3?node_id=
$node_id
"
);
...
...
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