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
09dd9866
Commit
09dd9866
authored
Feb 18, 2005
by
Robert Ricci
Browse files
If making a mote image, put a link to the correct documentation at
the top.
parent
b4434d36
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/newimageid_ez.php3
View file @
09dd9866
...
...
@@ -25,11 +25,20 @@ if ($nodetype == "mote") {
'hide_opmode'
=>
1
,
'hide_footnotes'
=>
1
);
$nodeclass
=
"mote"
;
$title
=
"Mote Form"
;
$help_message
=
"See the
<a href=doc/docwrapper.php3?docname=emotes.html#PROGRAMMING>
mote documentation</a> for more info on creating/using custom
mote images."
;
}
else
{
# Defaults to PC view
$view
=
array
(
'hide_upload'
=>
1
);
$nodeclass
=
"pc"
;
$title
=
"EZ Form"
;
$help_message
=
"See the
<a href=tutorial/docwrapper.php3?docname=tutorial.html#CustomOS>
tutorial</a> for more info on creating/using custom Images."
;
}
#
...
...
@@ -74,7 +83,7 @@ $types_result = DBQueryFatal($types_querystring);
function
SPITFORM
(
$formfields
,
$errors
)
{
global
$uid
,
$projlist
,
$isadmin
,
$types_result
,
$osid_oslist
,
$osid_opmodes
,
$osid_featurelist
,
$nodetype
,
$filename_extension
;
$osid_featurelist
,
$nodetype
,
$filename_extension
,
$help_message
;
global
$TBDB_OSID_OSNAMELEN
,
$TBDB_NODEIDLEN
;
global
$TBDB_OSID_VERSLEN
,
$TBBASE
;
...
...
@@ -87,11 +96,9 @@ function SPITFORM($formfields, $errors)
# field from $formfields
#
echo
"<center><b>
See the
<a href=tutorial/docwrapper.php3?docname=tutorial.html#CustomOS>
tutorial</a> for more info on creating/using custom Images.
</b></center>
\n
"
;
if
(
$help_message
)
{
echo
"<center><b>
$help_message
</b></center>
\n
"
;
}
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