Index: openacs-4/packages/acs-admin/www/apm/parameter-add.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/parameter-add.tcl,v diff -u -r1.12.2.1 -r1.12.2.2 --- openacs-4/packages/acs-admin/www/apm/parameter-add.tcl 1 Sep 2020 17:21:39 -0000 1.12.2.1 +++ openacs-4/packages/acs-admin/www/apm/parameter-add.tcl 30 Jul 2024 17:39:48 -0000 1.12.2.2 @@ -6,6 +6,11 @@ } { version_id:naturalnum,notnull {section_name ""} + {parameter_name ""} + {description ""} + {default_value ""} + {scope ""} + {return_url ""} } set user_id [ad_conn user_id] @@ -33,11 +38,14 @@ [list [export_vars -base version-parameters { version_id }] "Parameters"] \ $title] +# +# GN: The code below should be replaced by ad_form +# append body [subst {
-[export_vars -form {package_key parameter_id version_id}] +[export_vars -form {package_key parameter_id version_id return_url}] @@ -49,17 +57,17 @@ - + - - + - @@ -87,7 +95,7 @@ @@ -100,7 +108,7 @@ @@ -114,7 +122,7 @@ - +
Parameter Name:
Type a description of your parameter. + Description of the new parameter.

Description:
+
Scope:
Type:
Default: