Index: openacs-4/packages/lors/lors.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lors/lors.info,v diff -u -N -r1.9 -r1.10 --- openacs-4/packages/lors/lors.info 15 May 2007 20:14:42 -0000 1.9 +++ openacs-4/packages/lors/lors.info 7 Oct 2007 22:45:53 -0000 1.10 @@ -16,7 +16,7 @@ http://www.gnu.org/copyleft/gpl.html 1 - + 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 -N -r1.9 -r1.10 --- openacs-4/packages/lorsm/tcl/lorsm-install-procs.tcl 9 Dec 2006 01:34:47 -0000 1.9 +++ openacs-4/packages/lorsm/tcl/lorsm-install-procs.tcl 7 Oct 2007 22:45:53 -0000 1.10 @@ -32,26 +32,9 @@ Install the lorsm-templates } { - # location where the templates file are - set temp_location "[acs_root_dir]/packages/lorsm/templates" + + lorsm::install::templates - # location where we are going to copy the files to - set temp_dir "[acs_root_dir]/templates" - - # check if the template directory exists - # Otherwise create it. - if {![file exists $temp_dir]} { - - file mkdir $temp_dir - - } - - foreach file [glob -nocomplain [file join $temp_location lorsm-*]] { - - file copy -force $file $temp_dir - - } - # 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 @@ -93,10 +76,32 @@ -to_version_name $to_version_name \ -spec { 0.7d 0.8d { - set pretty_name "[_ lorsm.lt_With_Progress_Bar]" - db_dml create_no_index_format { - insert into lorsm_course_presentation_formats values (-4,:pretty_name,'progress-bar','delivery-progress-bar') - } + set pretty_name "[_ lorsm.lt_With_Progress_Bar]" + db_dml create_no_index_format { + inse rt into lorsm_course_presentation_formats values (-4,:pretty_name,'progress-bar','delivery-progress-bar') + } } + 0.8d1 0.8d2 { + lorsm::install::templates + } } } + +ad_proc -private lorsm::install::templates { +} { + # location where the templates file are + set temp_location "[acs_root_dir]/packages/lorsm/templates" + + # location where we are going to copy the files to + set temp_dir "[acs_root_dir]/templates" + + # check if the template directory exists + # Otherwise create it. + if {![file exists $temp_dir]} { + file mkdir $temp_dir + } + + foreach file [glob -nocomplain [file join $temp_location lorsm-*]] { + file copy -force $file $temp_dir + } +} Index: openacs-4/packages/lorsm/www/delivery/applet.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lorsm/www/delivery/applet.js,v diff -u -N -r1.2 -r1.3 --- openacs-4/packages/lorsm/www/delivery/applet.js 13 Aug 2007 09:20:16 -0000 1.2 +++ openacs-4/packages/lorsm/www/delivery/applet.js 7 Oct 2007 22:45:53 -0000 1.3 @@ -307,23 +307,23 @@ debug("returning from LMSInitialize =("+initialized+")"); initialized=initialized+''; if(initialized=='true') { - if (menu_off < 1 ) { - menu_frame=parent.frames['menu']; - menu_frameset=parent.document.getElementById("menuvscontent"); - - menu_x=parent.document.getElementById("left"); - menu_x.onmouseover = FocusListener; - menu_x.onmouseout = BlurListener; - - menu_frame.toggleBox('menudiv',0); - menu_frame.toggleBox('abort',0); - menu_frame.toggleBox('btn_finish',0); - - menu_frameset.cols="5%,*"; - menu_frame.writit('EXIT
','usermessage'); - menu_frame.writit('Abort Course
(clicking this will not record tracking information)
','abort'); - menu_frame.writit('Close Unit
(force LMSFinish)
','btn_finish'); - } +// if (menu_off < 1 ) { +// menu_frame=parent.frames['menu']; +// menu_frameset=parent.document.getElementById("menuvscontent"); +// +// menu_x=parent.document.getElementById("left"); +// menu_x.onmouseover = FocusListener; +// menu_x.onmouseout = BlurListener; +// +// menu_frame.toggleBox('menudiv',0); +// menu_frame.toggleBox('abort',0); +// menu_frame.toggleBox('btn_finish',0); +// +// menu_frameset.cols="5%,*"; +// menu_frame.writit('EXIT
','usermessage'); +// menu_frame.writit('Abort Course
(clicking this will not record tracking information)
','abort'); +// menu_frame.writit('Close Unit
(force LMSFinish)
','btn_finish'); +// } APIFinder.LastServerError=""; } else { if (menu_off < 1 ) { Index: openacs-4/packages/lorsm-portlet/lorsm-portlet.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lorsm-portlet/lorsm-portlet.info,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/lorsm-portlet/lorsm-portlet.info 15 May 2007 20:14:46 -0000 1.3 +++ openacs-4/packages/lorsm-portlet/lorsm-portlet.info 7 Oct 2007 22:45:53 -0000 1.4 @@ -7,14 +7,14 @@ f t - + Ernie Ghiglione - 2007-04-22 + 2007-09-08 OpenACS - + - +