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.9.4.5 -r1.9.4.6 --- openacs-4/packages/acs-admin/www/apm/parameter-add.tcl 9 Sep 2013 16:44:16 -0000 1.9.4.5 +++ openacs-4/packages/acs-admin/www/apm/parameter-add.tcl 28 Sep 2013 12:10:00 -0000 1.9.4.6 @@ -11,14 +11,21 @@ set user_id [ad_conn user_id] set parameter_id [db_nextval acs_object_id_seq] -db_1row apm_get_name {} -db_release_unused_handles +db_1row apm_get_name { + select package_key, pretty_name, version_name + from apm_package_version_info + where version_id = :version_id +} -set page_title "Add Parameter" -set context [list [list "." "Package Manager"] [list [export_vars -base version-view { version_id }] "$pretty_name $version_name"] [list [export_vars -base version-parameters { version_id }] "Parameters"] $page_title] +set title "Add Parameter" +set context [list \ + [list "." "Package Manager"] \ + [list [export_vars -base version-view { version_id }] "$pretty_name $version_name"] \ + [list [export_vars -base version-parameters { version_id }] "Parameters"] \ + $title] -append body " -
-" +}] +ad_return_template apm -