From eb9ec70e1216770e4a2ed12f7f03a603c19c6729 Mon Sep 17 00:00:00 2001 From: Tom Reijnders Date: Fri, 11 May 2012 11:04:29 +0000 Subject: [PATCH] Fix SCORM 2004 export and changes to the wording. git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/trunk@349 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641 --- .../php/properties/export_template.inc | 22 +++++++------------ .../php/properties/export_template.php | 13 ++++------- website_code/php/scorm/export.php | 2 +- 3 files changed, 13 insertions(+), 24 deletions(-) diff --git a/languages/en-GB/website_code/php/properties/export_template.inc b/languages/en-GB/website_code/php/properties/export_template.inc index 3523374eaa..1f528b03b9 100644 --- a/languages/en-GB/website_code/php/properties/export_template.inc +++ b/languages/en-GB/website_code/php/properties/export_template.inc @@ -12,25 +12,19 @@ define("EXPORT_TITLE","Export"); - define("EXPORT_DESCRIPTION","There are several ways to export a project. An exported project is packaged, but not deleted, into a zip file for you to share with another user, to deploy on the web, or to import into a SCORM compliant LMS or VLE. You can choose whether to export all of the project's files, or just those files used by the project.

Export:"); + define("EXPORT_DESCRIPTION","There are several ways to export a project. An exported project is packaged, but not deleted, into a zip file for you to share with another user, to deploy on the web, or to import into a SCORM compliant LMS or VLE. You can choose whether to export all of the project's files, or just those files used by the project."); - define("EXPORT_ZIP_FULL_LINK","Archive Zip with all files from the project."); + define("EXPORT_ZIP_ARCHIVE", "Archive export. Complete backup including offline editing and round-tripping back to toolkits or sharing with other Xerte users: "); + define("EXPORT_ZIP_ARCHIVE_LINK","Get Archive Zip."); - define("EXPORT_ZIP_LINK","Deployment Zip with just the necessary files used in the project."); + define("EXPORT_ZIP", "Export for deployment. Contains only the files required for importing into a vle without SCORM tracking, sharing via CD or USB etc or importing into another XOT install: "); + define("EXPORT_ZIP_LINK","Get Deployment Zip."); - define("EXPORT_ZIP_LOCAL_LINK","Deployment zip as 2. above, but with references to web based files altered."); + define("EXPORT_SCORM", "Export for SCORM deployment: self contained, SCORM 1.2 or SCORM 2004 enables tracking of Quiz scores e.g. into Moodle gradebook: "); - /* - define("EXPORT_SCORM","A SCORM 1.2 file export will package (but not delete) your project into one zip file. This zip file can then be imported by most VLEs to become part of an online course. This file will be SCORM 1.2 compliant.

Click on SCORM 1.2 export to get this package - "); + define("EXPORT_SCORM_12_LINK","Get SCORM 1.2 package"); - define("EXPORT_SCORM_LINK","SCORM 1.2 export"); - */ - - define("SCORM_DESCRIPTION", "If you want to export a SCORM package, you can choose to export SCORM 1.2 or SCORM 2004 packages. If you don’t know which version of SCORM you need, the SCORM 1.2 package will work in most LMS and VLE systems.

Export:"); - - define("EXPORT_SCORM_METADATA_LINK","SCORM 1.2 package"); - - define("EXPORT_SCORM_2004_LINK","SCORM 2004 3rd Ed package"); + define("EXPORT_SCORM_2004_LINK","Get SCORM 2004 3rd Ed package"); define("EXPORT_FAIL","Sorry you do not have rights to this template"); diff --git a/website_code/php/properties/export_template.php b/website_code/php/properties/export_template.php index f2b9a11bdf..8bfc1df939 100644 --- a/website_code/php/properties/export_template.php +++ b/website_code/php/properties/export_template.php @@ -32,15 +32,10 @@ echo "

" . EXPORT_TITLE . "

"; echo "

" . EXPORT_DESCRIPTION . "

"; - echo "
    "; - echo "
  1. " . "" . EXPORT_ZIP_FULL_LINK . "


  2. "; - echo "
  3. " . "" . EXPORT_ZIP_LINK . "


  4. "; - echo "
  5. " . "" . EXPORT_ZIP_LOCAL_LINK . "
  6. "; - echo "
"; - echo "

" . SCORM_DESCRIPTION . "

"; - echo "
    "; - echo "
  1. " . "" . EXPORT_SCORM_METADATA_LINK . "


  2. "; - echo "
  3. " . "" . EXPORT_SCORM_2004_LINK . "
  4. "; + echo "
      "; + echo "
    1. " . EXPORT_ZIP . "
    "; }else{ diff --git a/website_code/php/scorm/export.php b/website_code/php/scorm/export.php index aeb3f89e70..bed09082bd 100644 --- a/website_code/php/scorm/export.php +++ b/website_code/php/scorm/export.php @@ -136,7 +136,7 @@ folder_loop($scorm_path); copy_scorm_files(); }else if ($scorm=="2004") { - forlder_loop($scorm2004_path); + folder_loop($scorm2004_path); copy_scorm2004_files(); }