Index: openacs-4/packages/acs-admin/www/apm/version-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/version-edit.tcl,v diff -u -r1.10 -r1.11 --- openacs-4/packages/acs-admin/www/apm/version-edit.tcl 13 Apr 2009 23:10:27 -0000 1.10 +++ openacs-4/packages/acs-admin/www/apm/version-edit.tcl 27 Oct 2014 16:38:53 -0000 1.11 @@ -7,39 +7,51 @@ @creation-date 9 May 2000 @cvs-id $Id$ } { - {version_id:integer} + {version_id:naturalnum,notnull} } -db_1row apm_all_version_info {} +db_1row apm_all_version_info { + select version_id, package_key, package_uri, pretty_name, version_name, + version_uri, auto_mount, summary, description_format, description, release_date, + vendor, vendor_uri, enabled_p, installed_p, tagged_p, imported_p, + data_model_loaded_p, activation_date, tarball_length, + deactivation_date, distribution_uri, distribution_date, singleton_p, + initial_install_p, implements_subsite_p, inherit_templates_p + from apm_package_version_info where version_id = :version_id +} -doc_body_append "[apm_header -form "action=\"version-edit-2\" method=post" [list "version-view?version_id=$version_id" "$pretty_name $version_name"] "Edit a Version"] +set title "Edit a Version" +set context [list \ + [list "/acs-admin/apm/" "Package Manager"] \ + [list "version-view?version_id=$version_id" "$pretty_name $version_name"] \ + $title] -" +set body "
-[ad_footer] -" +}] +ad_return_template apm