Ivan Tcholakov c9af458a84 Feature #5397 - Replacing mysql_affected_rows() with Database::affected_rows(). 15 gadi atpakaļ
..
js 47022680ce Accept gzopen64() too as a test of the zlib extension load 15 gadi atpakaļ
packaging cd02d218dd [svn r13515] Static files to add to SCORM package on export 17 gadi atpakaļ
README.txt de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
aicc.class.php bb90a73e87 Feature #5397 - Replacing mysql_real_escape_string() with Database::escape_string(). 15 gadi atpakaļ
aiccBlock.class.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
aiccItem.class.php bb90a73e87 Feature #5397 - Replacing mysql_real_escape_string() with Database::escape_string(). 15 gadi atpakaļ
aiccObjective.class.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
aiccResource.class.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
aicc_api.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
aicc_hacp.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
audiorecorder.inc.php 47022680ce Accept gzopen64() too as a test of the zlib extension load 15 gadi atpakaļ
back_compat.inc.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
blank.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
content_makers.inc.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
display_audiorecorder.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
document.php ada9c84124 Feature #5397 - Replacing mysql_fetch_array() with Database::fetch_array(). Installation scripts and some other files are skipped in this transaction. 15 gadi atpakaļ
dtree.css 47022680ce Accept gzopen64() too as a test of the zlib extension load 15 gadi atpakaļ
dtree.js 47022680ce Accept gzopen64() too as a test of the zlib extension load 15 gadi atpakaļ
index.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
learnpath.class.php c9af458a84 Feature #5397 - Replacing mysql_affected_rows() with Database::affected_rows(). 15 gadi atpakaļ
learnpathItem.class.php e5c9dddad1 Feature #5397 - There are two methods in Database class that do the same thing: Database::get_last_insert_id() and Database::insert_id(). Let us deprecate Database::get_last_insert_id(), it is longer and it doesn't follow the intuitive pattern for replacement mysql_* --> Database::*. Replacing Database::get_last_insert_id() with Database::insert_id(). 15 gadi atpakaļ
learnpathList.class.php bb90a73e87 Feature #5397 - Replacing mysql_real_escape_string() with Database::escape_string(). 15 gadi atpakaļ
learnpath_functions.inc.php 6e016fb743 Feature #5397 - Replacing mysql_num_rows() with Database::num_rows(). 15 gadi atpakaļ
lp_add.php 22a61cf7c1 Implemented new functionalities for training sessions - partial DT #5377 15 gadi atpakaļ
lp_add_item.php 22a61cf7c1 Implemented new functionalities for training sessions - partial DT #5377 15 gadi atpakaļ
lp_admin_view.php 22a61cf7c1 Implemented new functionalities for training sessions - partial DT #5377 15 gadi atpakaļ
lp_ajax_last_update_status.php 47022680ce Accept gzopen64() too as a test of the zlib extension load 15 gadi atpakaļ
lp_ajax_save_item.php 1fa21303bd Feature #306 - Replacing the function api_sql_query() with Database::query(), starting from "link" folder and ending with "work" folder. 15 gadi atpakaļ
lp_ajax_save_objectives.php 47022680ce Accept gzopen64() too as a test of the zlib extension load 15 gadi atpakaļ
lp_ajax_start_timer.php 47022680ce Accept gzopen64() too as a test of the zlib extension load 15 gadi atpakaļ
lp_ajax_switch_item.php 47022680ce Accept gzopen64() too as a test of the zlib extension load 15 gadi atpakaļ
lp_api.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
lp_author_image.php 47022680ce Accept gzopen64() too as a test of the zlib extension load 15 gadi atpakaļ
lp_build.php 22a61cf7c1 Implemented new functionalities for training sessions - partial DT #5377 15 gadi atpakaļ
lp_comm.common.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
lp_comm.server.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
lp_content.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
lp_controller.php 22a61cf7c1 Implemented new functionalities for training sessions - partial DT #5377 15 gadi atpakaļ
lp_edit.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
lp_edit_item.php 22a61cf7c1 Implemented new functionalities for training sessions - partial DT #5377 15 gadi atpakaļ
lp_edit_item_prereq.php 22a61cf7c1 Implemented new functionalities for training sessions - partial DT #5377 15 gadi atpakaļ
lp_export.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
lp_footer.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
lp_header.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
lp_list.php 22a61cf7c1 Implemented new functionalities for training sessions - partial DT #5377 15 gadi atpakaļ
lp_list_search.css 47022680ce Accept gzopen64() too as a test of the zlib extension load 15 gadi atpakaļ
lp_list_search.php 47022680ce Accept gzopen64() too as a test of the zlib extension load 15 gadi atpakaļ
lp_log.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
lp_message.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
lp_move_item.php 22a61cf7c1 Implemented new functionalities for training sessions - partial DT #5377 15 gadi atpakaļ
lp_nav.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
lp_save.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
lp_stats.php 22a61cf7c1 Implemented new functionalities for training sessions - partial DT #5377 15 gadi atpakaļ
lp_toc.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
lp_upload.php bb90a73e87 Feature #5397 - Replacing mysql_real_escape_string() with Database::escape_string(). 15 gadi atpakaļ
lp_view.lib.js de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
lp_view.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
lp_view_item.php 22a61cf7c1 Implemented new functionalities for training sessions - partial DT #5377 15 gadi atpakaļ
openoffice_document.class.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
openoffice_presentation.class.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
openoffice_text.class.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
openoffice_text_document.class.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
resourcelinker.inc.php 6e016fb743 Feature #5397 - Replacing mysql_num_rows() with Database::num_rows(). 15 gadi atpakaļ
resourcelinker.php 6e016fb743 Feature #5397 - Replacing mysql_num_rows() with Database::num_rows(). 15 gadi atpakaļ
scorm.class.php e5c9dddad1 Feature #5397 - There are two methods in Database class that do the same thing: Database::get_last_insert_id() and Database::insert_id(). Let us deprecate Database::get_last_insert_id(), it is longer and it doesn't follow the intuitive pattern for replacement mysql_* --> Database::*. Replacing Database::get_last_insert_id() with Database::insert_id(). 15 gadi atpakaļ
scorm.lib.php ada9c84124 Feature #5397 - Replacing mysql_fetch_array() with Database::fetch_array(). Installation scripts and some other files are skipped in this transaction. 15 gadi atpakaļ
scormItem.class.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
scormMetadata.class.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
scormOrganization.class.php bb90a73e87 Feature #5397 - Replacing mysql_real_escape_string() with Database::escape_string(). 15 gadi atpakaļ
scormResource.class.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
scorm_admin.php c9af458a84 Feature #5397 - Replacing mysql_affected_rows() with Database::affected_rows(). 15 gadi atpakaļ
scorm_api.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ
scorm_manage.php de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 gadi atpakaļ

README.txt

To use the new SCORM tool, first run the scorm_update_db.php from where it is in the (new)scorm directory.
This will update all courses databases by adding 4 tables (lp, lp_item, lp_view and lp_item_view) and add an lp_type table in the main database.
If you had installed a development version of the newscorm tool, it is a good idea to also run scorm_update_db_alter.php to make sure the latest changes are in.

Then go to the database and modify the 'tool' table in each course to add the 'newscorm' tool (copy the tool row from 'learnpath' and change the name). Make sure to select newscorm/lp_list.php as a starting point for this tool (although index.php should work as well).
You can do this by using the scorm_migrate_hometools.php script now.

If you are using one of these scripts, it is vital you check by yourself that all the courses have been migrated accurately. For example, you will need to check that all links to learning paths in the course homepage are pointing towards the newscorm/ directory, not scorm/ or learnpath/.

Go to one of your courses' homepage and try the new SCORM tool as you would normally do with the old SCORM tool.
Please note this DOES NOT manage the Dokeos learnpaths yet.

For more detailed development information, please read the corresponding Wiki page: http://www.dokeos.com/wiki/index.php/SCORM_tool_redesign

For any problem contact me directly at