Index: openacs-4/packages/acs-lang/www/doc/i18n-design.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-lang/www/doc/i18n-design.html,v diff -u -N -r1.1 -r1.2 --- openacs-4/packages/acs-lang/www/doc/i18n-design.html 20 Apr 2001 20:51:09 -0000 1.1 +++ openacs-4/packages/acs-lang/www/doc/i18n-design.html 29 Dec 2008 22:10:31 -0000 1.2 @@ -121,7 +121,7 @@ It has not yet been decided how the user's preferred locale will be initialized. For now, there is a site wide default package parameter -[ad_parameter DefaultLocale acs-lang "en_US"], and an API for setting +[parameter::get -parameter DefaultLocale -default "en_US"], and an API for setting the locale with the preference stored in a session variable: The ad_locale_set function is used to set the user's preferred locale Index: openacs-4/packages/acs-ldap-authentication/www/examples/user-new-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-ldap-authentication/www/examples/user-new-2.tcl,v diff -u -N -r1.2 -r1.3 --- openacs-4/packages/acs-ldap-authentication/www/examples/user-new-2.tcl 18 Sep 2002 12:08:20 -0000 1.2 +++ openacs-4/packages/acs-ldap-authentication/www/examples/user-new-2.tcl 29 Dec 2008 22:14:14 -0000 1.3 @@ -47,7 +47,7 @@ append exception_text "
  • You URL doesn't have the correct form. A valid URL would be something like \"http://photo.net/philg/\"." } -if {[ad_parameter RegistrationProvidesRandomPasswordP security 0]} { +if {[parameter::get -parameter RegistrationProvidesRandomPasswordP -default 0]} { set password [ad_generate_random_string] } elseif { ![info exists password] || [empty_string_p $password] } { incr exception_count Index: openacs-4/packages/acs-ldap-authentication/www/examples/user-new.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-ldap-authentication/www/examples/user-new.tcl,v diff -u -N -r1.1 -r1.2 --- openacs-4/packages/acs-ldap-authentication/www/examples/user-new.tcl 20 Apr 2001 20:51:09 -0000 1.1 +++ openacs-4/packages/acs-ldap-authentication/www/examples/user-new.tcl 29 Dec 2008 22:14:14 -0000 1.2 @@ -40,8 +40,8 @@ set header [ad_header "Register"] set system_name [ad_system_name] set export_vars [export_form_vars email return_url user_id] -set no_require_password_p [ad_parameter RegistrationProvidesRandomPasswordP security 0] -set require_question_p [ad_parameter UseCustomQuestionForPasswordReset security 1] +set no_require_password_p [parameter::get -parameter RegistrationProvidesRandomPasswordP -default 0] +set require_question_p [parameter::get -parameter UseCustomQuestionForPasswordReset -default 1] set footer [ad_footer] ad_return_template