Skip to content

Commit

Permalink
Fix SCORM 2004 export and changes to the wording.
Browse files Browse the repository at this point in the history
git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/trunk@349 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641
  • Loading branch information
torinfo committed May 11, 2012
1 parent 2d0ca7d commit eb9ec70
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 24 deletions.
22 changes: 8 additions & 14 deletions languages/en-GB/website_code/php/properties/export_template.inc
Expand Up @@ -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.</p><p>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.</p><p>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.</p><p>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");

Expand Down
13 changes: 4 additions & 9 deletions website_code/php/properties/export_template.php
Expand Up @@ -32,15 +32,10 @@
echo "<p class=\"header\"><span>" . EXPORT_TITLE . "</span></p>";

echo "<p>" . EXPORT_DESCRIPTION . "</p>";
echo "<ol type='1' start='1'>";
echo "<li>" . "<a href='" . $xerte_toolkits_site->site_url . url_return("export_full" , $_POST['template_id']) . "'>" . EXPORT_ZIP_FULL_LINK . "</a></li><br></br>";
echo "<li>" . "<a href='" . $xerte_toolkits_site->site_url . url_return("export" , $_POST['template_id']) . "'>" . EXPORT_ZIP_LINK . "</a></li><br></br>";
echo "<li>" . "<a href='" . $xerte_toolkits_site->site_url . url_return("export_local" , $_POST['template_id']) . "'>" . EXPORT_ZIP_LOCAL_LINK . "</a></li>";
echo "</ol>";
echo "<p>" . SCORM_DESCRIPTION . "</p>";
echo "<ol type='1' start='4'>";
echo "<li>" . "<a href='" . $xerte_toolkits_site->site_url . url_return("scorm_rich" , $_POST['template_id']) . "'>" . EXPORT_SCORM_METADATA_LINK . "</a></li><br></br>";
echo "<li>" . "<a href='" . $xerte_toolkits_site->site_url . url_return("scorm2004" , $_POST['template_id']) . "'>" . EXPORT_SCORM_2004_LINK . "</a></li>";
echo "<ol type='1'>";
echo "<li>" . EXPORT_ZIP . "<ul><li><a href='" . $xerte_toolkits_site->site_url . url_return("export" , $_POST['template_id']) . "'>" . EXPORT_ZIP_LINK . "</a></li></li><br />";
echo "<li>" . EXPORT_SCORM . "<ol type='a'><li><a href='" . $xerte_toolkits_site->site_url . url_return("export_scorm" , $_POST['template_id']) . "'>" . EXPORT_SCORM_12_LINK . "</a></li><br/><li><a href='" . $xerte_toolkits_site->site_url . url_return("export_scorm_2004" , $_POST['template_id']) . "'>" . EXPORT_SCORM_2004_LINK . "</a></li><br /></ol></li>";
echo "<li>" . EXPORT_ZIP_ARCHIVE . "<ul><li><a href='" . $xerte_toolkits_site->site_url . url_return("export_full" , $_POST['template_id']) . "'>" . EXPORT_ZIP_ARCHIVE_LINK . "</a></li><br /></li>";
echo "</ol>";

}else{
Expand Down
2 changes: 1 addition & 1 deletion website_code/php/scorm/export.php
Expand Up @@ -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();
}

Expand Down

0 comments on commit eb9ec70

Please sign in to comment.