Index: openacs-4/packages/lorsm/tcl/lorsm-install-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lorsm/tcl/lorsm-install-procs.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/lorsm/tcl/lorsm-install-procs.tcl 17 May 2005 17:03:39 -0000 1.5 +++ openacs-4/packages/lorsm/tcl/lorsm-install-procs.tcl 18 May 2005 07:45:24 -0000 1.6 @@ -52,16 +52,23 @@ } - set pretty_name "[_ lorsm.Classic_Style]" - # Insert default values for the course presentation formats - db_dml create_default_format { - insert into lorsm_course_presentation_formats values (-1,:pretty_name,'default','delivery') - } + # by the moment we only have tree format presentations and there is no + # way (by the moment) to add more dinamically, so we create them with an non dynamic id - set pretty_name "[_ lorsm.lt_Without_LORSM_Index_S]" - db_dml create_no_index_format { - insert into lorsm_course_presentation_formats values (-2,:pretty_name,'without_index','delivery-no-index') - } + set pretty_name "[_ lorsm.Classic_Style]" + # Insert default values for the course presentation formats + db_dml create_default_format { + insert into lorsm_course_presentation_formats values (-1,:pretty_name,'default','delivery') + } + + set pretty_name "[_ lorsm.lt_Without_LORSM_Index_S]" + db_dml create_no_index_format { + insert into lorsm_course_presentation_formats values (-2,:pretty_name,'without_index','delivery-no-index') + } + + set pretty_name "[_ lorsm.lt_With_Bottom_Navigatio]" + db_dml create_no_index_format { + insert into lorsm_course_presentation_formats values (-3,:pretty_name,'bottom_navigation_bar','delivery-bottom-bar') + } - }