Index: openacs-4/packages/cms/www/modules/types/content-method-set-default.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/types/content-method-set-default.tcl,v diff -u -r1.2 -r1.2.14.1 --- openacs-4/packages/cms/www/modules/types/content-method-set-default.tcl 24 May 2001 23:57:17 -0000 1.2 +++ openacs-4/packages/cms/www/modules/types/content-method-set-default.tcl 18 May 2005 15:13:12 -0000 1.2.14.1 @@ -10,7 +10,7 @@ # default return_url if { [template::util::is_nil return_url] } { - set return_url "index?id=$content_type" + set return_url "index?content_type=$content_type" } Index: openacs-4/packages/cms/www/modules/types/content-method-unregister.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/types/content-method-unregister.tcl,v diff -u -r1.2 -r1.2.14.1 --- openacs-4/packages/cms/www/modules/types/content-method-unregister.tcl 24 May 2001 23:57:17 -0000 1.2 +++ openacs-4/packages/cms/www/modules/types/content-method-unregister.tcl 18 May 2005 15:13:12 -0000 1.2.14.1 @@ -10,7 +10,7 @@ # default return_url if { [template::util::is_nil return_url] } { - set return_url "index?id=$content_type" + set return_url "index?content_type=$content_type" } Index: openacs-4/packages/cms/www/modules/types/content-method-unset-default.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/types/content-method-unset-default.tcl,v diff -u -r1.3 -r1.3.14.1 --- openacs-4/packages/cms/www/modules/types/content-method-unset-default.tcl 27 May 2001 00:22:34 -0000 1.3 +++ openacs-4/packages/cms/www/modules/types/content-method-unset-default.tcl 18 May 2005 15:13:12 -0000 1.3.14.1 @@ -9,7 +9,7 @@ # default return_url if { [template::util::is_nil return_url] } { - set return_url "index?id=$content_type" + set return_url "index?content_type=$content_type" } Index: openacs-4/packages/cms/www/modules/types/content-method.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/types/content-method.tcl,v diff -u -r1.8 -r1.8.2.1 --- openacs-4/packages/cms/www/modules/types/content-method.tcl 9 May 2005 22:44:49 -0000 1.8 +++ openacs-4/packages/cms/www/modules/types/content-method.tcl 18 May 2005 15:13:12 -0000 1.8.2.1 @@ -8,7 +8,7 @@ # default return_url if { [template::util::is_nil return_url] } { - set return_url "index?id=$content_type" + set return_url "index?content_type=$content_type" } template::list::create \ Index: openacs-4/packages/cms/www/modules/types/mime-types.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/types/mime-types.tcl,v diff -u -r1.7 -r1.7.2.1 --- openacs-4/packages/cms/www/modules/types/mime-types.tcl 9 May 2005 22:44:49 -0000 1.7 +++ openacs-4/packages/cms/www/modules/types/mime-types.tcl 18 May 2005 15:13:12 -0000 1.7.2.1 @@ -17,7 +17,7 @@ if { [template::util::is_nil content_type_name] } { ns_log Notice \ "register-mime-types.tcl - ERROR: BAD CONTENT_TYPE - $content_type" - template::forward "index?id=content_revision" + template::forward "index?content_type=content_revision" } template::list::create \ @@ -79,5 +79,5 @@ content_method::flush_content_methods_cache $content_type - template::forward "index?id=$content_type" + template::forward "index?content_type=$content_type" } Index: openacs-4/packages/cms/www/modules/types/relation-register.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/types/relation-register.tcl,v diff -u -r1.8 -r1.8.2.1 --- openacs-4/packages/cms/www/modules/types/relation-register.tcl 17 May 2005 21:25:08 -0000 1.8 +++ openacs-4/packages/cms/www/modules/types/relation-register.tcl 18 May 2005 15:13:12 -0000 1.8.2.1 @@ -20,7 +20,7 @@ set type_label "Child Content Type" } else { - template::forward index?id=$content_type + template::forward index?content_type=$content_type } set pretty_name [db_string get_pretty_name ""] Index: openacs-4/packages/cms/www/modules/types/relation-unregister.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/types/relation-unregister.tcl,v diff -u -r1.8 -r1.8.2.1 --- openacs-4/packages/cms/www/modules/types/relation-unregister.tcl 16 May 2005 22:59:25 -0000 1.8 +++ openacs-4/packages/cms/www/modules/types/relation-unregister.tcl 18 May 2005 15:13:12 -0000 1.8.2.1 @@ -26,7 +26,7 @@ } else { # bad rel_type, don't do anything - template::forward "index?id=$content_type" + template::forward "index?content_type=$content_type" } Index: openacs-4/packages/cms/www/modules/types/set-default-template.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/types/set-default-template.tcl,v diff -u -r1.2 -r1.2.14.1 --- openacs-4/packages/cms/www/modules/types/set-default-template.tcl 24 May 2001 23:57:17 -0000 1.2 +++ openacs-4/packages/cms/www/modules/types/set-default-template.tcl 18 May 2005 15:13:12 -0000 1.2.14.1 @@ -23,7 +23,7 @@ # set the default return_url if none exists if { [template::util::is_nil return_url] } { - set return_url "index?id=$content_type&mount_point=types" + set return_url "index?content_type=$content_type&mount_point=types" } forward $return_url Index: openacs-4/packages/cms/www/modules/types/unregister-mime-type.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/types/unregister-mime-type.tcl,v diff -u -r1.5 -r1.5.2.1 --- openacs-4/packages/cms/www/modules/types/unregister-mime-type.tcl 16 May 2005 17:38:19 -0000 1.5 +++ openacs-4/packages/cms/www/modules/types/unregister-mime-type.tcl 18 May 2005 15:13:12 -0000 1.5.2.1 @@ -18,4 +18,4 @@ content_method::flush_content_methods_cache $content_type -template::forward "index?id=$content_type" +template::forward "index?content_type=$content_type" Index: openacs-4/packages/cms/www/modules/types/widget-register.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/types/widget-register.tcl,v diff -u -r1.8 -r1.8.2.1 --- openacs-4/packages/cms/www/modules/types/widget-register.tcl 16 May 2005 17:38:19 -0000 1.8 +++ openacs-4/packages/cms/www/modules/types/widget-register.tcl 18 May 2005 15:13:12 -0000 1.8.2.1 @@ -15,7 +15,7 @@ } -wizard create -action "index?id=$content_type" -params { +wizard create -action "index?content_type=$content_type" -params { attribute_id content_type widget } -steps { 1 -label "Choose a widget" -url "widget-register-1" Index: openacs-4/packages/cms/www/modules/types/content_symlink/delete.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/types/content_symlink/delete.tcl,v diff -u -r1.3 -r1.3.8.1 --- openacs-4/packages/cms/www/modules/types/content_symlink/delete.tcl 30 Sep 2003 12:10:06 -0000 1.3 +++ openacs-4/packages/cms/www/modules/types/content_symlink/delete.tcl 18 May 2005 15:13:12 -0000 1.3.8.1 @@ -5,8 +5,7 @@ template::request set_param parent_id -datatype keyword -optional db_transaction { - db_exec_plsql symlink_delete " - begin content_symlink.del(:id); end;" + db_exec_plsql symlink_delete {} } template::forward "../../sitemap/refresh-tree?id=$parent_id"