Index: openacs-4/packages/acs-core-docs/www/db-api-detailed.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/db-api-detailed.html,v diff -u -N -r1.47.2.3 -r1.47.2.4 --- openacs-4/packages/acs-core-docs/www/db-api-detailed.html 9 Sep 2013 10:11:48 -0000 1.47.2.3 +++ openacs-4/packages/acs-core-docs/www/db-api-detailed.html 9 Sep 2013 10:34:30 -0000 1.47.2.4 @@ -84,7 +84,7 @@ variables automatically. For instance:

 
-db_1row select_names "select first_names, last_name from users where user_id = [ad_get_user_id]"
+db_1row select_names "select first_names, last_name from users where user_id = [ad_conn user_id]"
 doc_body_append "Hello, $first_names $last_name!"
 
 

@@ -93,7 +93,7 @@ write:

 
-if { [db_0or1row select_names "select first_names, last_name from users where user_id = [ad_get_user_id]"] } {
+if { [db_0or1row select_names "select first_names, last_name from users where user_id = [ad_conn user_id]"] } {
     doc_body_append "Hello, $first_names $last_name!"
 } else {
     # Executed if the query returns no rows.
Index: openacs-4/packages/acs-core-docs/www/templates.html
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/templates.html,v
diff -u -N -r1.48.2.3 -r1.48.2.4
--- openacs-4/packages/acs-core-docs/www/templates.html	9 Sep 2013 10:11:48 -0000	1.48.2.3
+++ openacs-4/packages/acs-core-docs/www/templates.html	9 Sep 2013 10:34:30 -0000	1.48.2.4
@@ -61,7 +61,7 @@
 } -query {
 }
 
-set user_id [ad_verify_and_get_user_id]
+set user_id [ad_conn user_id]
 
 db_1row user_name {
     select first_names || ' ' || last_name as user_name 
Index: openacs-4/packages/acs-templating/www/doc/no-quote-upgrade.html
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/no-quote-upgrade.html,v
diff -u -N -r1.1.22.2 -r1.1.22.3
--- openacs-4/packages/acs-templating/www/doc/no-quote-upgrade.html	9 Sep 2013 10:11:54 -0000	1.1.22.2
+++ openacs-4/packages/acs-templating/www/doc/no-quote-upgrade.html	9 Sep 2013 10:34:30 -0000	1.1.22.3
@@ -85,7 +85,7 @@
 
     
-set form_vars [export_form_vars var1 var2]
+set form_vars [export_vars -form var1 var2]
       
Index: openacs-4/packages/general-comments/www/comment-ae-2.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/general-comments/www/comment-ae-2.adp,v diff -u -N -r1.9.6.2 -r1.9.6.3 --- openacs-4/packages/general-comments/www/comment-ae-2.adp 9 Sep 2013 10:11:54 -0000 1.9.6.2 +++ openacs-4/packages/general-comments/www/comment-ae-2.adp 9 Sep 2013 10:34:30 -0000 1.9.6.3 @@ -15,7 +15,7 @@
-<%= [export_form_vars comment_id object_id object_name context_id title content comment_mime_type category return_url] %> +<%= [export_vars -form comment_id object_id object_name context_id title content comment_mime_type category return_url] %>

Index: openacs-4/packages/general-comments/www/comment-ae.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/general-comments/www/comment-ae.adp,v diff -u -N -r1.9.6.2 -r1.9.6.3 --- openacs-4/packages/general-comments/www/comment-ae.adp 9 Sep 2013 10:11:54 -0000 1.9.6.2 +++ openacs-4/packages/general-comments/www/comment-ae.adp 9 Sep 2013 10:34:31 -0000 1.9.6.3 @@ -5,7 +5,7 @@

- <%= [export_form_vars comment_id object_id object_name context_id return_url] %> + <%= [export_vars -form comment_id object_id object_name context_id return_url] %>