Index: openacs-4/packages/acs-core-docs/www/apm-requirements.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/apm-requirements.html,v diff -u -r1.29 -r1.30 --- openacs-4/packages/acs-core-docs/www/apm-requirements.html 7 Jun 2008 20:28:49 -0000 1.29 +++ openacs-4/packages/acs-core-docs/www/apm-requirements.html 29 Dec 2008 22:21:04 -0000 1.30 @@ -4,7 +4,7 @@ by OpenACS documentation staff.

Introduction

The following is a requirements document for the OpenACS Package Manager (APM), version 4.0 (APM4). APM4 offers a superset of APM v3.3 functionality -with the following specific enhancements:

Use-cases and User-scenarios

The APM is intended for the following classes of users, which may or may not Index: openacs-4/packages/acs-core-docs/www/subsites-requirements.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/subsites-requirements.html,v diff -u -r1.28 -r1.29 --- openacs-4/packages/acs-core-docs/www/subsites-requirements.html 7 Jun 2008 20:28:51 -0000 1.28 +++ openacs-4/packages/acs-core-docs/www/subsites-requirements.html 29 Dec 2008 22:21:04 -0000 1.29 @@ -29,7 +29,7 @@ subcommunities.

Joe Programmer is working on the forum package and wants to make it subsite-aware. Using [ad_conn package_id], Joe adds code that only displays forum messages associated with the current package instance. Joe is happy to -realize that ad_parameter is already smart enough to return configuration +realize that parameter::get is already smart enough to return configuration parameters for the current package instance, and so he has to do no extra work to tailor configuration parameters to the current subsite.

Jane Admin maintains www.company.com. She learns of Joe's work and would like to set up individual forums for the Boston and Austin offices of Index: openacs-4/packages/acs-core-docs/www/xml/kernel/apm-requirements.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/xml/kernel/apm-requirements.xml,v diff -u -r1.8 -r1.9 --- openacs-4/packages/acs-core-docs/www/xml/kernel/apm-requirements.xml 17 Jul 2006 05:38:38 -0000 1.8 +++ openacs-4/packages/acs-core-docs/www/xml/kernel/apm-requirements.xml 29 Dec 2008 22:21:04 -0000 1.9 @@ -28,7 +28,7 @@ Support for on-line parameter setting. -Support for sub-site level configuration (requires revised ad_parameter +Support for sub-site level configuration (requires revised parameter and /admin pages at sub-site level; deprecation of site-wide parameter file). Index: openacs-4/packages/acs-core-docs/www/xml/kernel/ext-auth-design.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/xml/kernel/ext-auth-design.xml,v diff -u -r1.3 -r1.4 --- openacs-4/packages/acs-core-docs/www/xml/kernel/ext-auth-design.xml 17 Jul 2006 05:38:38 -0000 1.3 +++ openacs-4/packages/acs-core-docs/www/xml/kernel/ext-auth-design.xml 29 Dec 2008 22:21:04 -0000 1.4 @@ -365,7 +365,7 @@ {email:text} {password} } -on_submit { - if { [ad_parameter UsernameIsEmail] == 't' } { + if { [parameter::get -parameter UsernameIsEmail] == 't' } { set email $username } array set auth_info [auth::authenticate \ @@ -1082,7 +1082,7 @@ if { [ad_check_password $user_id $password] } { set auth_info(auth_status) "ok" } else { - if { [ad_parameter EmailForgottenPasswordP] == 't' } { + if { [parameter::get -parameter EmailForgottenPasswordP] == 't' } { set auth_info(auth_status) "bad_password" ... display link... } else { @@ -1270,7 +1270,7 @@ } } # Notify admin on new registration - if {[ad_parameter NotifyAdminOfNewRegistrationsP "security" 0]} { + if {[parameter::get -parameter NotifyAdminOfNewRegistrationsP -default 0]} { with_catch errmsg { ns_sendmail \ $notification_address \ Index: openacs-4/packages/acs-core-docs/www/xml/kernel/subsites-requirements.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/xml/kernel/subsites-requirements.xml,v diff -u -r1.6 -r1.7 --- openacs-4/packages/acs-core-docs/www/xml/kernel/subsites-requirements.xml 17 Jul 2006 05:38:38 -0000 1.6 +++ openacs-4/packages/acs-core-docs/www/xml/kernel/subsites-requirements.xml 29 Dec 2008 22:21:04 -0000 1.7 @@ -86,7 +86,7 @@ Joe Programmer is working on the forum package and wants to make it subsite-aware. Using [ad_conn package_id], Joe adds code that only displays forum messages associated with the current package instance. Joe is happy to -realize that ad_parameter is already smart enough to return configuration +realize that parameter::get is already smart enough to return configuration parameters for the current package instance, and so he has to do no extra work to tailor configuration parameters to the current subsite.