Index: openacs-4/packages/lorsm/www/course-add-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lorsm/www/Attic/course-add-2.tcl,v diff -u -r1.4.2.2 -r1.4.2.3 --- openacs-4/packages/lorsm/www/course-add-2.tcl 26 Apr 2005 16:49:12 -0000 1.4.2.2 +++ openacs-4/packages/lorsm/www/course-add-2.tcl 27 May 2005 15:16:23 -0000 1.4.2.3 @@ -340,6 +340,13 @@ -label "[_ lorsm.Course_Name]" -datatype text -widget text -help_text "[_ lorsm.lt_This_is_the_name_the_]" \ -maxlength 200 +template::element create course_upload format_id \ + -label "[_ lorsm.lt_Course_Presentation_S]" -datatype text -widget select -options [db_list_of_lists select_formats_for_select_widget {select format_pretty_name, + format_id + from lorsm_course_presentation_formats + order by format_pretty_name}] \ + -help_text "[_ lorsm.lt_Use_the_Classic_Style]" -value [db_string default_format {select format_id from lorsm_course_presentation_formats where format_name = 'default'}] + template::element create course_upload course_id \ -label "[_ lorsm.course_id]" -datatype integer -widget hidden