Index: openacs-4/packages/cms/www/modules/types/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/types/index.tcl,v diff -u -N -r1.10.2.1 -r1.10.2.2 --- openacs-4/packages/cms/www/modules/types/index.tcl 6 Jun 2005 17:07:24 -0000 1.10.2.1 +++ openacs-4/packages/cms/www/modules/types/index.tcl 31 Aug 2006 19:59:08 -0000 1.10.2.2 @@ -28,15 +28,9 @@ -object_id $module_id -privilege write] # get the content type pretty name -set object_type_pretty [db_string get_object_type ""] +set object_type_pretty [cms::type::pretty_name -content_type $content_type] set page_title "Content Type - $object_type_pretty" -if { [string equal $object_type_pretty ""] } { - # error - invalid content_type - template::forward index -} - - # get all the content types that this content type inherits from db_multirow content_type_tree get_content_type ""