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 -r1.47.2.5 -r1.47.2.6 --- openacs-4/packages/acs-core-docs/www/db-api-detailed.html 9 Sep 2013 16:44:18 -0000 1.47.2.5 +++ openacs-4/packages/acs-core-docs/www/db-api-detailed.html 9 Sep 2013 16:50:33 -0000 1.47.2.6 @@ -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 -r1.48.2.5 -r1.48.2.6 --- openacs-4/packages/acs-core-docs/www/templates.html 9 Sep 2013 16:44:18 -0000 1.48.2.5 +++ openacs-4/packages/acs-core-docs/www/templates.html 9 Sep 2013 16:50:34 -0000 1.48.2.6 @@ -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-core-docs/www/tutorial-categories.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/tutorial-categories.html,v diff -u -r1.13.4.2 -r1.13.4.3 --- openacs-4/packages/acs-core-docs/www/tutorial-categories.html 27 Aug 2013 10:52:33 -0000 1.13.4.2 +++ openacs-4/packages/acs-core-docs/www/tutorial-categories.html 9 Sep 2013 16:50:34 -0000 1.13.4.3 @@ -130,7 +130,7 @@ set return_url [ns_conn url] set use_categories_p [parameter::get -parameter "EnableCategoriesP"]
Change your to this:
- <a href=configure?<%=[export_url_vars return_url]%>>Configure</a> + <a href=configure?<%=[export_vars -url {return_url}]%>>Configure</a> <if @use_categories_p@> <a href="@category_map_url@"<#categories.Site_wide_Categories#</a> </if> @@ -170,7 +170,7 @@ set return_url [ad_conn url] #ADP: - <a href=configure?<%=[export_url_vars return_url]%>>Configure</a> + <a href=configure?<%=[export_vars -url {return_url}]%>>Configure</a>
Change the note-edit.tcl
:
# Use Categories? set use_categories_p [parameter::get -parameter "EnableCategoriesP" -default 0] Index: openacs-4/packages/acs-core-docs/www/tutorial-wysiwyg-editor.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/tutorial-wysiwyg-editor.html,v diff -u -r1.8.4.2 -r1.8.4.3 --- openacs-4/packages/acs-core-docs/www/tutorial-wysiwyg-editor.html 27 Aug 2013 10:52:33 -0000 1.8.4.2 +++ openacs-4/packages/acs-core-docs/www/tutorial-wysiwyg-editor.html 9 Sep 2013 16:50:34 -0000 1.8.4.3 @@ -95,5 +95,5 @@ set return_url [ad_conn url] #ADP: - <a href=configure?<%=[export_url_vars return_url]%>>Configure</a> + <a href=configure?<%=[export_vars -url {return_url}]%>>Configure</a>