From aa6315b68491f5f7836db9685f838b841de5b2a4 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Tue, 22 Jan 2013 13:04:06 +0100 Subject: [PATCH] Minor removing old code + fixing code formatting, removing whitespaces --- main/newscorm/lp_list.php | 315 +++++++++++++++----------------------- 1 file changed, 120 insertions(+), 195 deletions(-) diff --git a/main/newscorm/lp_list.php b/main/newscorm/lp_list.php index 0dc7382a76..d758e29df3 100644 --- a/main/newscorm/lp_list.php +++ b/main/newscorm/lp_list.php @@ -2,13 +2,13 @@ /* For licensing terms, see /license.txt */ /** -* This file was origially the copy of document.php, but many modifications happened since then ; -* the direct file view is not any more needed, if the user uploads a scorm zip file, a directory -* will be automatically created for it, and the files will be uncompressed there for example ; -* -* @package chamilo.learnpath -* @author Yannick Warnier -*/ + * This file was origially the copy of document.php, but many modifications happened since then ; + * the direct file view is not any more needed, if the user uploads a scorm zip file, a directory + * will be automatically created for it, and the files will be uncompressed there for example ; + * + * @package chamilo.learnpath + * @author Yannick Warnier + */ use \ChamiloSession as Session; $this_section = SECTION_COURSES; @@ -18,7 +18,7 @@ if (empty($lp_controller_touched) || $lp_controller_touched != 1) { } require_once 'back_compat.inc.php'; -$courseDir = api_get_course_path().'/scorm'; +$courseDir = api_get_course_path().'/scorm'; $baseWordDir = $courseDir; require_once 'learnpathList.class.php'; @@ -30,7 +30,7 @@ require_once 'learnpathItem.class.php'; */ // Extra javascript functions for in html head: $htmlHeadXtra[] = -"