Index: openacs-4/packages/acs-admin/www/apm/parameter-add-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/parameter-add-2.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/acs-admin/www/apm/parameter-add-2.tcl 25 Sep 2007 15:22:33 -0000 1.8 +++ openacs-4/packages/acs-admin/www/apm/parameter-add-2.tcl 30 Mar 2010 22:19:45 -0000 1.9 @@ -12,6 +12,7 @@ section_name description:notnull,nohtml datatype:notnull + scope:notnull {default_value [db_null]} {min_n_values:integer 1} {max_n_values:integer 1} @@ -36,7 +37,7 @@ } db_transaction { - apm_parameter_register -parameter_id $parameter_id $parameter_name $description $package_key \ + apm_parameter_register -parameter_id $parameter_id -scope $scope $parameter_name $description $package_key \ $default_value $datatype $section_name $min_n_values $max_n_values apm_package_install_spec $version_id } on_error { 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.7 -r1.8 --- openacs-4/packages/acs-admin/www/apm/parameter-add.tcl 23 Jan 2009 08:29:38 -0000 1.7 +++ openacs-4/packages/acs-admin/www/apm/parameter-add.tcl 30 Mar 2010 22:19:45 -0000 1.8 @@ -30,7 +30,7 @@ A parameter can be used to store information that is specific to a package but that needs to -be easily configurable and customized on a package instance basis. The name should be a brief +be easily configurable and customized. The name should be a brief plain text string that identifies the parameter. @@ -64,8 +64,21 @@ + + + Please indicate if the parameter is of \"global\" (has one system-wide value) or \"instance\" (a vlue for each package instance) scope.
+ + + Scope: + + + + + Please indicate what type of parameter it is.