From 09dd9866bfefce42a4a94a811812860a41adaa77 Mon Sep 17 00:00:00 2001 From: Robert Ricci Date: Fri, 18 Feb 2005 22:59:39 +0000 Subject: [PATCH] If making a mote image, put a link to the correct documentation at the top. --- www/newimageid_ez.php3 | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/www/newimageid_ez.php3 b/www/newimageid_ez.php3 index 2e1869881..99886798c 100644 --- a/www/newimageid_ez.php3 +++ b/www/newimageid_ez.php3 @@ -25,11 +25,20 @@ if ($nodetype == "mote") { 'hide_opmode' => 1, 'hide_footnotes' => 1); $nodeclass = "mote"; $title = "Mote Form"; + $help_message = + "See the + + mote documentation 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 + + tutorial 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 "
- See the - - tutorial for more info on creating/using custom Images. -
\n"; + if ($help_message) { + echo "
$help_message
\n"; + } if ($isadmin) { echo "
-- GitLab