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
09dd9866
Commit
09dd9866
authored
Feb 18, 2005
by
Robert Ricci
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
www/newimageid_ez.php3
www/newimageid_ez.php3
+13
-6
No files found.
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
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