Index: openacs-4/packages/cms/www/modules/types/register-templates.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/types/register-templates.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/cms/www/modules/types/register-templates.tcl 24 May 2001 23:57:17 -0000 1.2 +++ openacs-4/packages/cms/www/modules/types/register-templates.tcl 8 Jun 2001 01:44:53 -0000 1.3 @@ -6,7 +6,7 @@ # get the content type pretty name -query object_type_pretty onevalue " +template::query get_pretty_type object_type_pretty onevalue " select pretty_name from @@ -47,7 +47,7 @@ # make sure we only get content templates (not folders, symlinks, # etc.) that aren't already registered to this content type -query only_marked_templates multilist " +template::query get_content_templates only_marked_templates multilist " select template_id, content_item.get_path( template_id, content_template.get_root_folder ) @@ -79,7 +79,7 @@ if { $template_count > 0 } { # for the context pick list(s) - query cr_use_contexts multilist " + template::query get_use_contexts cr_use_contexts multilist " select use_context, use_context from cr_template_use_contexts order by 1"