Index: openacs-4/contrib/obsolete-packages/bboard/www/message-edit-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/bboard/www/message-edit-2.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/contrib/obsolete-packages/bboard/www/message-edit-2.tcl 28 Aug 2003 09:41:47 -0000 1.7 +++ openacs-4/contrib/obsolete-packages/bboard/www/message-edit-2.tcl 26 Feb 2005 17:52:19 -0000 1.8 @@ -21,7 +21,7 @@ } -validate { content_html -requires {content mime_type} { if [string eq $mime_type "text/html"] { - set complaint [ad_check_for_naughty_html $content] + set complaint [ad_html_security_check $content] if ![empty_string_p $complaint] { ad_complain $complaint return 0 Index: openacs-4/contrib/obsolete-packages/bboard/www/message-edit-3.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/bboard/www/message-edit-3.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/contrib/obsolete-packages/bboard/www/message-edit-3.tcl 28 Aug 2003 09:41:47 -0000 1.4 +++ openacs-4/contrib/obsolete-packages/bboard/www/message-edit-3.tcl 26 Feb 2005 17:52:19 -0000 1.5 @@ -22,7 +22,7 @@ } -validate { content_html -requires {content mime_type} { if [string eq $mime_type "text/html"] { - set complaint [ad_check_for_naughty_html $content] + set complaint [ad_html_security_check $content] if ![empty_string_p $complaint] { ad_complain $complaint } Index: openacs-4/contrib/obsolete-packages/library/www/admin/categories/index-template.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/library/www/admin/categories/index-template.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/contrib/obsolete-packages/library/www/admin/categories/index-template.tcl 2 Jul 2003 12:19:45 -0000 1.1 +++ openacs-4/contrib/obsolete-packages/library/www/admin/categories/index-template.tcl 26 Feb 2005 17:52:19 -0000 1.2 @@ -4,7 +4,7 @@ set path_info index } -array set node [site_node "/categories"] +array set node [site_node::get -url "/categories"] ad_conn -set template_key $node(template_key) ad_return_template Index: openacs-4/contrib/obsolete-packages/library/www/groupadmin/index-template.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/library/www/groupadmin/index-template.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/contrib/obsolete-packages/library/www/groupadmin/index-template.tcl 2 Jul 2003 12:19:45 -0000 1.1 +++ openacs-4/contrib/obsolete-packages/library/www/groupadmin/index-template.tcl 26 Feb 2005 17:52:19 -0000 1.2 @@ -22,7 +22,7 @@ set target $path_info } -array set node [site_node "/groupadmin"] +array set node [site_node::get -url "/groupadmin"] ad_conn -set template_key $node(template_key) ad_return_template Index: openacs-4/contrib/obsolete-packages/library/www/linking/index-template.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/library/www/linking/index-template.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/contrib/obsolete-packages/library/www/linking/index-template.tcl 2 Jul 2003 12:19:45 -0000 1.1 +++ openacs-4/contrib/obsolete-packages/library/www/linking/index-template.tcl 26 Feb 2005 17:52:19 -0000 1.2 @@ -11,7 +11,7 @@ set path_info index } -array set node [site_node [bookmarks::get_global_instance_path]] +array set node [site_node::get -url [bookmarks::get_global_instance_path]] ad_conn -set template_key $node(template_key) if {[info exists pass]} { Index: openacs-4/contrib/packages/events/www/admin/order-history-date.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/events/www/admin/order-history-date.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/contrib/packages/events/www/admin/order-history-date.tcl 9 Mar 2003 12:08:22 -0000 1.1 +++ openacs-4/contrib/packages/events/www/admin/order-history-date.tcl 26 Feb 2005 17:52:19 -0000 1.2 @@ -73,7 +73,7 @@ set r_date $reg_date append whole_page " - [util_IllustraDatetoPrettyDate $reg_date] + [ec_IllustraDatetoPrettyDate $reg_date] $n_orders\n" } Index: openacs-4/contrib/packages/personal-community/tcl/personal-community-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/personal-community/tcl/personal-community-procs.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/contrib/packages/personal-community/tcl/personal-community-procs.tcl 14 Nov 2003 20:57:06 -0000 1.1 +++ openacs-4/contrib/packages/personal-community/tcl/personal-community-procs.tcl 26 Feb 2005 17:52:19 -0000 1.2 @@ -176,11 +176,11 @@ set parent_node_id [dotlrn_community::get_community_node_id $parent_community_id] } - set package_id [site_node_apm_integration::new_site_node_and_package \ - -name $community_key \ - -parent_id $parent_node_id \ + set package_id [site_node::instantiate_and_mount \ + -node_name $community_key \ + -parent_node_id $parent_node_id \ -package_key [dotlrn_community::one_community_package_key] \ - -instance_name $pretty_name \ + -package_name $pretty_name \ -context_id $community_id \ ] Index: openacs-4/contrib/packages/populate/tcl/populate-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/populate/tcl/populate-procs.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/contrib/packages/populate/tcl/populate-procs.tcl 11 Dec 2003 21:39:44 -0000 1.3 +++ openacs-4/contrib/packages/populate/tcl/populate-procs.tcl 26 Feb 2005 17:52:20 -0000 1.4 @@ -22,7 +22,11 @@ db_transaction { set package_id [db_nextval acs_object_id_seq] set node_id [site_node::new -name subsite_$package_id -parent_id $parent_id] - apm_package_create_instance -package_id $package_id subsite_$package_id $context_id acs-subsite + apm_package_instance_new \ + -package_id $package_id \ + -instance_name subsite_$package_id \ + -context_id $context_id \ + -package_key acs-subsite site_node::mount -node_id $node_id -object_id $package_id site_node::update_cache -node_id $node_id apm_invoke_callback_proc -package_key acs-subsite -type "after-instantiate" -arg_list [list package_id $package_id] Index: openacs-4/packages/acs-admin/www/apm/bulk-intall.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/Attic/bulk-intall.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/acs-admin/www/apm/bulk-intall.tcl 13 Mar 2001 22:59:26 -0000 1.1 +++ openacs-4/packages/acs-admin/www/apm/bulk-intall.tcl 26 Feb 2005 17:52:20 -0000 1.2 @@ -33,7 +33,7 @@ set ul_p 0 - foreach file [apm_version_file_list -type data_model_create $version_id] { + foreach file [apm_get_package_files -package_key $package_key -file_type data_model_create] { if { [string match *-drop.sql [file tail $file]] } { continue } @@ -50,7 +50,7 @@ ns_write "\n" } - foreach file [apm_version_file_list -type java_code $version_id] { + foreach file [apm_get_package_files -package_key $package_key -file_type java_code] { if { !$ul_p } { ns_write "