diff --git a/main/coursecopy/backup.php b/main/coursecopy/backup.php index 757f6b8a9d..c0b7811820 100755 --- a/main/coursecopy/backup.php +++ b/main/coursecopy/backup.php @@ -1,13 +1,14 @@ * @package chamilo.backup */ - +/** + * Code + */ // Language files that need to be included $language_file = array('exercice', 'coursebackup', 'admin'); diff --git a/main/coursecopy/classes/CourseRestorer.class.php b/main/coursecopy/classes/CourseRestorer.class.php index d32b34a0bd..d1ace885d0 100755 --- a/main/coursecopy/classes/CourseRestorer.class.php +++ b/main/coursecopy/classes/CourseRestorer.class.php @@ -4,6 +4,9 @@ * Course Restorer script * @package chamilo.backup */ +/** + * Code + */ require_once 'Course.class.php'; require_once 'Event.class.php'; require_once 'Link.class.php'; diff --git a/main/coursecopy/classes/Document.class.php b/main/coursecopy/classes/Document.class.php index 89df3db2fc..d9c49317ce 100755 --- a/main/coursecopy/classes/Document.class.php +++ b/main/coursecopy/classes/Document.class.php @@ -4,6 +4,9 @@ * Document class file * @package chamilo.backup */ +/** + * Code + */ require_once 'Resource.class.php'; define('DOCUMENT','file'); diff --git a/main/coursecopy/classes/DummyCourseCreator.class.php b/main/coursecopy/classes/DummyCourseCreator.class.php index 248757020b..29f05a7a94 100755 --- a/main/coursecopy/classes/DummyCourseCreator.class.php +++ b/main/coursecopy/classes/DummyCourseCreator.class.php @@ -4,6 +4,9 @@ * Dummy course creator * @package chamilo.backup */ +/** + * Code + */ require_once 'Course.class.php'; require_once 'Document.class.php'; require_once 'Event.class.php'; @@ -16,7 +19,10 @@ require_once 'ForumPost.class.php'; require_once 'CourseDescription.class.php'; require_once 'CourseCopyLearnpath.class.php'; require_once 'CourseRestorer.class.php'; - +/** + * Class + * @package chamilo.backup + */ class DummyCourseCreator { /** diff --git a/main/coursecopy/classes/Event.class.php b/main/coursecopy/classes/Event.class.php index 482333fa78..1ccdff98ff 100755 --- a/main/coursecopy/classes/Event.class.php +++ b/main/coursecopy/classes/Event.class.php @@ -4,11 +4,14 @@ * Event backup script * @package chamilo.backup */ +/** + * Code + */ require_once 'Resource.class.php'; - /** * An event * @author Bart Mollet + * @package chamilo.backup */ class Event extends Resource { diff --git a/main/coursecopy/classes/Forum.class.php b/main/coursecopy/classes/Forum.class.php index beebbb9834..2d1b555814 100755 --- a/main/coursecopy/classes/Forum.class.php +++ b/main/coursecopy/classes/Forum.class.php @@ -4,11 +4,14 @@ * Forum backup script * @package chamilo.backup */ +/** + * Code + */ require_once 'Resource.class.php'; - /** * A forum * @author Bart Mollet + * @package chamilo.backup */ class Forum extends Resource { diff --git a/main/coursecopy/classes/ForumCategory.class.php b/main/coursecopy/classes/ForumCategory.class.php index 366e8c7e9e..e9afcccf25 100755 --- a/main/coursecopy/classes/ForumCategory.class.php +++ b/main/coursecopy/classes/ForumCategory.class.php @@ -4,11 +4,14 @@ * Forum category backup class * @package chamilo.backup */ +/** + * Code + */ require_once 'Resource.class.php'; - /** * A forum-category * @author Bart Mollet + * @package chamilo.backup */ class ForumCategory extends Resource { diff --git a/main/coursecopy/classes/ForumPost.class.php b/main/coursecopy/classes/ForumPost.class.php index 51dfe5244c..fc2d166a2a 100755 --- a/main/coursecopy/classes/ForumPost.class.php +++ b/main/coursecopy/classes/ForumPost.class.php @@ -4,11 +4,15 @@ * Forum post backup script * @package chamilo.backup */ +/** + * Code + */ require_once 'Resource.class.php'; /** * A forum-post * @author Bart Mollet + * @package chamilo.backup */ class ForumPost extends Resource { diff --git a/main/coursecopy/classes/Glossary.class.php b/main/coursecopy/classes/Glossary.class.php index 06bd22e1e2..4a7bbc389e 100755 --- a/main/coursecopy/classes/Glossary.class.php +++ b/main/coursecopy/classes/Glossary.class.php @@ -4,6 +4,9 @@ * Glossary backup script * @package chamilo.backup */ +/** + * Code + */ require_once 'Resource.class.php'; /** diff --git a/main/coursecopy/classes/Link.class.php b/main/coursecopy/classes/Link.class.php index c9a45d30ea..0db5044e8b 100755 --- a/main/coursecopy/classes/Link.class.php +++ b/main/coursecopy/classes/Link.class.php @@ -4,11 +4,15 @@ * Link backup script * @package chamilo.backup */ +/** + * Code + */ require_once 'Resource.class.php'; /** * A WWW-link from the Links-module in a Chamilo-course. * @author Bart Mollet + * @package chamilo.backup */ class Link extends Resource { diff --git a/main/coursecopy/classes/LinkCategory.class.php b/main/coursecopy/classes/LinkCategory.class.php index 8b2180435a..4566b59055 100755 --- a/main/coursecopy/classes/LinkCategory.class.php +++ b/main/coursecopy/classes/LinkCategory.class.php @@ -4,11 +4,15 @@ * Link category backup script * @package chamilo.backup */ +/** + * Code + */ require_once 'Resource.class.php'; /** * A LinkCategory * @author Bart Mollet + * @package chamilo.backup */ class LinkCategory extends Resource { diff --git a/main/coursecopy/classes/Quiz.class.php b/main/coursecopy/classes/Quiz.class.php index 243cc49fed..3b703e57ab 100755 --- a/main/coursecopy/classes/Quiz.class.php +++ b/main/coursecopy/classes/Quiz.class.php @@ -4,9 +4,10 @@ * Exercises backup script * @package chamilo.backup */ - +/** + * Code + */ require_once 'Resource.class.php'; - /** * An Quiz * @author Bart Mollet diff --git a/main/coursecopy/classes/QuizQuestion.class.php b/main/coursecopy/classes/QuizQuestion.class.php index bb78acf350..61495ea354 100755 --- a/main/coursecopy/classes/QuizQuestion.class.php +++ b/main/coursecopy/classes/QuizQuestion.class.php @@ -4,9 +4,10 @@ * Exercises questions backup script * @package chamilo.backup */ - +/** + * Code + */ require_once 'Resource.class.php'; - /** * An QuizQuestion * @author Bart Mollet diff --git a/main/coursecopy/classes/ScormDocument.class.php b/main/coursecopy/classes/ScormDocument.class.php index 5545a1a0c6..540c5da9a0 100755 --- a/main/coursecopy/classes/ScormDocument.class.php +++ b/main/coursecopy/classes/ScormDocument.class.php @@ -4,8 +4,10 @@ * SCORM document backup script * @package chamilo.backup */ +/** + * Code + */ require_once 'Resource.class.php'; - /** * ScormDocument class * @author Olivier Brouckaert diff --git a/main/coursecopy/classes/SurveyInvitation.class.php b/main/coursecopy/classes/SurveyInvitation.class.php index 81dd1b1fbf..5ac961673c 100755 --- a/main/coursecopy/classes/SurveyInvitation.class.php +++ b/main/coursecopy/classes/SurveyInvitation.class.php @@ -4,8 +4,10 @@ * Survey invitations backup script * @package chamilo.backup */ +/** + * Code + */ require_once 'Resource.class.php'; - /** * An SurveyInvitation * @author Yannick Warnier diff --git a/main/coursecopy/classes/SurveyQuestion.class.php b/main/coursecopy/classes/SurveyQuestion.class.php index 5335d5c5ad..4b4b9d7deb 100755 --- a/main/coursecopy/classes/SurveyQuestion.class.php +++ b/main/coursecopy/classes/SurveyQuestion.class.php @@ -4,6 +4,9 @@ * Survey questions backup script * @package chamilo.backup */ +/** + * Code + */ require_once 'Resource.class.php'; /** * A SurveyQuestion diff --git a/main/coursecopy/classes/ToolIntro.class.php b/main/coursecopy/classes/ToolIntro.class.php index 7356147559..86234e0bf2 100755 --- a/main/coursecopy/classes/ToolIntro.class.php +++ b/main/coursecopy/classes/ToolIntro.class.php @@ -4,11 +4,14 @@ * Tool intro backup script * @package chamilo.backup */ +/** + * Code + */ require_once 'Resource.class.php'; - /** * A WWW-link from the Links-module in a Chamilo-course. * @author Bart Mollet + * @package chamilo.backup */ class ToolIntro extends Resource { diff --git a/main/coursecopy/copy_course.php b/main/coursecopy/copy_course.php index 0cb4fd7e4f..3549f1012b 100755 --- a/main/coursecopy/copy_course.php +++ b/main/coursecopy/copy_course.php @@ -1,6 +1,11 @@ Lots of bug fixes/improvements * @package chamilo.backup */ - +/** + * Code + */ /* INIT SECTION */ // Language files that need to be included @@ -406,4 +407,4 @@ if ((isset($_POST['action']) && $_POST['action'] == 'course_select_form') || (is /* FOOTER */ -Display::display_footer(); \ No newline at end of file +Display::display_footer(); diff --git a/main/coursecopy/create_backup.php b/main/coursecopy/create_backup.php index 282d8be52b..c35448c8b7 100755 --- a/main/coursecopy/create_backup.php +++ b/main/coursecopy/create_backup.php @@ -1,13 +1,14 @@ * @package chamilo.backup */ - +/** + * Code + */ // Language files that need to be included $language_file = array('exercice', 'admin', 'coursebackup'); @@ -102,4 +103,4 @@ if ((isset($_POST['action']) && $_POST['action'] == 'course_select_form') || (is } /* FOOTER */ -Display::display_footer(); \ No newline at end of file +Display::display_footer(); diff --git a/main/coursecopy/import_backup.php b/main/coursecopy/import_backup.php index 18178c5b61..9bf2f942d9 100755 --- a/main/coursecopy/import_backup.php +++ b/main/coursecopy/import_backup.php @@ -1,13 +1,14 @@ * @package chamilo.backup */ - +/** + * Code + */ /* INIT SECTION */ // Language files that need to be included diff --git a/main/coursecopy/recycle_course.php b/main/coursecopy/recycle_course.php index 2b3371704e..45864c5b64 100755 --- a/main/coursecopy/recycle_course.php +++ b/main/coursecopy/recycle_course.php @@ -1,13 +1,14 @@ * @package chamilo.backup */ - +/** + * Code + */ // Language files that need to be included $language_file = array ('exercice', 'admin', 'course_info', 'coursebackup'); diff --git a/main/external_module/external_module.php b/main/external_module/external_module.php index da94733cc0..086a2a8575 100755 --- a/main/external_module/external_module.php +++ b/main/external_module/external_module.php @@ -1,7 +1,6 @@ \ No newline at end of file +?> diff --git a/main/newscorm/aicc.class.php b/main/newscorm/aicc.class.php index 019021f9ec..c53d24ba4b 100755 --- a/main/newscorm/aicc.class.php +++ b/main/newscorm/aicc.class.php @@ -7,13 +7,18 @@ * @author Yannick Warnier * @license GNU/GPL */ - +/** + * Code + */ require_once 'aiccItem.class.php'; //require_once 'aiccMetadata.class.php'; //require_once 'aiccOrganization.class.php'; require_once 'aiccResource.class.php'; require_once 'aiccBlock.class.php'; - +/** + * Class + * @package chamilo.learnpath + */ class aicc extends learnpath { public $config = array(); diff --git a/main/newscorm/aiccItem.class.php b/main/newscorm/aiccItem.class.php index e4b8f68ff8..728fa527e0 100755 --- a/main/newscorm/aiccItem.class.php +++ b/main/newscorm/aiccItem.class.php @@ -10,6 +10,7 @@ /** * This class handles the elements from an AICC Descriptor file. + * @package chamilo.learnpath */ require_once 'learnpathItem.class.php'; class aiccItem extends learnpathItem { diff --git a/main/newscorm/audiorecorder.inc.php b/main/newscorm/audiorecorder.inc.php index a8a6d76439..638bb05a72 100755 --- a/main/newscorm/audiorecorder.inc.php +++ b/main/newscorm/audiorecorder.inc.php @@ -9,7 +9,9 @@ * @author Arnaud Ligot * @package chamilo.learnpath */ - +/** + * Code + */ global $_configuration; $web_path = api_get_path(WEB_CODE_PATH); $getid3_path = api_get_path(LIBRARY_PATH); diff --git a/main/newscorm/back_compat.inc.php b/main/newscorm/back_compat.inc.php index 89747d7906..6ef02e032b 100755 --- a/main/newscorm/back_compat.inc.php +++ b/main/newscorm/back_compat.inc.php @@ -1,6 +1,5 @@ */ - +/** + * Code + */ $language_file = array('learnpath', 'document','exercice'); // Flag to allow for anonymous user - needs to be set before global.inc.php. @@ -42,4 +43,4 @@ if (isset($_GET['error'])) { } ?> - \ No newline at end of file + diff --git a/main/newscorm/display_audiorecorder.php b/main/newscorm/display_audiorecorder.php index 120e57c947..abb7a57a62 100755 --- a/main/newscorm/display_audiorecorder.php +++ b/main/newscorm/display_audiorecorder.php @@ -7,7 +7,9 @@ * @author Yannick Warnier * @license GNU/GPL */ - +/** + * Code + */ // Flag to allow for anonymous user - needs to be set before global.inc.php. $use_anonymous = true; diff --git a/main/newscorm/index.php b/main/newscorm/index.php index 11e6bbf755..72fe3371d7 100755 --- a/main/newscorm/index.php +++ b/main/newscorm/index.php @@ -1,14 +1,15 @@ */ - +/** + * Code + */ // Flag to allow for anonymous user - needs to be set before global.inc.php. $use_anonymous = true; require 'back_compat.inc.php'; -header('location: lp_controller.php?'.api_get_cidReq().'&action=list'); \ No newline at end of file +header('location: lp_controller.php?'.api_get_cidReq().'&action=list'); diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php index 4afb06842b..cf09e3eda8 100755 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -1,6 +1,5 @@ * @author Julio Montoya Several improvements and fixes */ - /** * Defines the learnpath parent class * @package chamilo.learnpath */ - class learnpath { public $attempt = 0; // The number for the current ID view. @@ -3449,8 +3446,7 @@ class learnpath { * and the prerequisite string on error. * This function is based on the rules for aicc_script language as described in the SCORM 1.2 CAM documentation page 108. * @param integer Optional item ID. If none given, uses the current open item. - * @return boolean True if prerequisites are matched, false otherwise - * @return string Empty string if true returned, prerequisites string otherwise. + * @return boolean True if prerequisites are matched, false otherwise - Empty string if true returned, prerequisites string otherwise. */ public function prerequisites_match($item = null) { if ($this->debug > 0) { diff --git a/main/newscorm/lp_add_item.php b/main/newscorm/lp_add_item.php index 67455bbd9f..621b5b050d 100755 --- a/main/newscorm/lp_add_item.php +++ b/main/newscorm/lp_add_item.php @@ -1,6 +1,5 @@ '; echo ''; /* FOOTER */ -Display::display_footer(); \ No newline at end of file +Display::display_footer(); diff --git a/main/newscorm/lp_admin_view.php b/main/newscorm/lp_admin_view.php index 5807279d9c..7bbeb374bf 100755 --- a/main/newscorm/lp_admin_view.php +++ b/main/newscorm/lp_admin_view.php @@ -11,7 +11,9 @@ * @package chamilo.learnpath */ -/* INIT SECTION */ +/** + * INIT SECTION + */ $this_section = SECTION_COURSES; @@ -303,4 +305,4 @@ if (isset($_POST['save_audio'])) { echo $_SESSION['oLP']->overview(); /* FOOTER */ -Display::display_footer(); \ No newline at end of file +Display::display_footer(); diff --git a/main/newscorm/lp_ajax_initialize.php b/main/newscorm/lp_ajax_initialize.php index 47baca0dda..072489ba9f 100755 --- a/main/newscorm/lp_ajax_initialize.php +++ b/main/newscorm/lp_ajax_initialize.php @@ -9,7 +9,9 @@ * @package chamilo.learnpath * @author Yannick Warnier */ - +/** + * Code + */ // Flag to allow for anonymous user - needs to be set before global.inc.php. $use_anonymous = true; diff --git a/main/newscorm/lp_ajax_last_update_status.php b/main/newscorm/lp_ajax_last_update_status.php index c4f233e1f4..bffbd636c2 100755 --- a/main/newscorm/lp_ajax_last_update_status.php +++ b/main/newscorm/lp_ajax_last_update_status.php @@ -20,7 +20,9 @@ * @package chamilo.learnpath * @author Yannick Warnier */ - +/** + * Code + */ // Flag to allow for anonymous user - needs to be set before global.inc.php' $use_anonymous = true; diff --git a/main/newscorm/lp_ajax_log.php b/main/newscorm/lp_ajax_log.php index 4bcb0ddde8..38055aa97c 100755 --- a/main/newscorm/lp_ajax_log.php +++ b/main/newscorm/lp_ajax_log.php @@ -1,6 +1,5 @@ */ - +/** + * Code + */ // Flag to allow for anonymous user - needs to be set before global.inc.php. $use_anonymous = true; diff --git a/main/newscorm/lp_ajax_save_objectives.php b/main/newscorm/lp_ajax_save_objectives.php index 7daed146db..948658c679 100755 --- a/main/newscorm/lp_ajax_save_objectives.php +++ b/main/newscorm/lp_ajax_save_objectives.php @@ -1,6 +1,5 @@ */ - +/** + * Code + */ // Flag to allow for anonymous user - needs to be set before global.inc.php. $use_anonymous = true; diff --git a/main/newscorm/lp_ajax_switch_item.php b/main/newscorm/lp_ajax_switch_item.php index 4fe550af96..a423a481e3 100755 --- a/main/newscorm/lp_ajax_switch_item.php +++ b/main/newscorm/lp_ajax_switch_item.php @@ -8,7 +8,9 @@ * @package chamilo.learnpath * @author Yannick Warnier */ - +/** + * Code + */ // Flag to allow for anonymous user - needs to be set before global.inc.php $use_anonymous = true; diff --git a/main/newscorm/lp_ajax_switch_item_toc.php b/main/newscorm/lp_ajax_switch_item_toc.php index 6341b5f4cf..4652d2fa1b 100755 --- a/main/newscorm/lp_ajax_switch_item_toc.php +++ b/main/newscorm/lp_ajax_switch_item_toc.php @@ -1,6 +1,5 @@ */ - +/** + * Code + */ // Flag to allow for anonymous user - needs to be set before global.inc.php. $use_anonymous = true; diff --git a/main/newscorm/lp_api.php b/main/newscorm/lp_api.php index d2cac733eb..5b8657c033 100755 --- a/main/newscorm/lp_api.php +++ b/main/newscorm/lp_api.php @@ -1,13 +1,14 @@ */ - +/** + * Code + */ // Flag to allow for anonymous user - needs to be set before global.inc.php. $use_anonymous = true; @@ -20,4 +21,4 @@ include_once '../inc/reduced_header.inc.php'; - \ No newline at end of file + diff --git a/main/newscorm/lp_author_image.php b/main/newscorm/lp_author_image.php index d0526b2d75..300916032a 100755 --- a/main/newscorm/lp_author_image.php +++ b/main/newscorm/lp_author_image.php @@ -6,7 +6,9 @@ * @package chamilo.learnpath * @author Julio Montoya Armas */ - +/** + * Code + */ $use_anonymous = true; require_once 'back_compat.inc.php'; require_once 'learnpath.class.php'; @@ -47,4 +49,4 @@ echo ''; echo ''; ?> - \ No newline at end of file + diff --git a/main/newscorm/lp_build.php b/main/newscorm/lp_build.php index 5ed7cf68a2..f2609e1839 100755 --- a/main/newscorm/lp_build.php +++ b/main/newscorm/lp_build.php @@ -11,7 +11,9 @@ * @package chamilo.learnpath */ -/* INIT SECTION */ +/** + * INIT SECTION +*/ $_SESSION['whereami'] = 'lp/build'; $this_section = SECTION_COURSES; diff --git a/main/newscorm/lp_comm.common.php b/main/newscorm/lp_comm.common.php index 50c2c00897..dc69924681 100755 --- a/main/newscorm/lp_comm.common.php +++ b/main/newscorm/lp_comm.common.php @@ -1,6 +1,5 @@ */ - +/** + * Code + */ // Flag to allow for anonymous user - needs to be set before global.inc.php. $use_anonymous = true; diff --git a/main/newscorm/lp_comm.server.php b/main/newscorm/lp_comm.server.php index e28c180b5d..22aadcd5a4 100755 --- a/main/newscorm/lp_comm.server.php +++ b/main/newscorm/lp_comm.server.php @@ -1,6 +1,5 @@ */ - +/** + * Code + */ // Flag to allow for anonymous user - needs to be set before global.inc.php. $use_anonymous = true; diff --git a/main/newscorm/lp_content.php b/main/newscorm/lp_content.php index f35c65422b..cf43296fa5 100755 --- a/main/newscorm/lp_content.php +++ b/main/newscorm/lp_content.php @@ -6,7 +6,9 @@ * @package chamilo.learnpath * @author Yannick Warnier */ - +/** + * Code + */ // Including the global initialization file. require_once '../inc/global.inc.php'; @@ -96,4 +98,4 @@ $save_setting = api_get_setting('show_navigation_menu'); global $_setting; $_setting['show_navigation_menu'] = false; if ($debug > 0) { error_log('New LP - In lp_content.php - Loading '.$src, 0); } -header("Location: ".urldecode($src)); \ No newline at end of file +header("Location: ".urldecode($src)); diff --git a/main/newscorm/lp_edit.php b/main/newscorm/lp_edit.php index 23d62dfc50..6cffae961d 100755 --- a/main/newscorm/lp_edit.php +++ b/main/newscorm/lp_edit.php @@ -1,12 +1,13 @@ */ - +/** + * Code + */ require_once api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php'; require_once api_get_path(LIBRARY_PATH).'specific_fields_manager.lib.php'; @@ -226,4 +227,4 @@ echo '
'; $form -> display(); echo '
'; -Display::display_footer(); \ No newline at end of file +Display::display_footer(); diff --git a/main/newscorm/lp_edit_item.php b/main/newscorm/lp_edit_item.php index 9892c0b440..6db1c4f0c4 100755 --- a/main/newscorm/lp_edit_item.php +++ b/main/newscorm/lp_edit_item.php @@ -11,8 +11,9 @@ * @author Julio Montoya - Improving the list of templates * @package chamilo.learnpath */ - -/* INIT SECTION */ +/** + * INIT SECTION + */ $this_section = SECTION_COURSES; diff --git a/main/newscorm/lp_edit_item_prereq.php b/main/newscorm/lp_edit_item_prereq.php index a803a9ec2e..059cdeac1d 100755 --- a/main/newscorm/lp_edit_item_prereq.php +++ b/main/newscorm/lp_edit_item_prereq.php @@ -1,6 +1,5 @@ - cleaning and update for new SCORM tool * @package chamilo.learnpath */ - +/** + * Code + */ /* INIT SECTION */ $this_section = SECTION_COURSES; diff --git a/main/newscorm/lp_footer.php b/main/newscorm/lp_footer.php index cbb90d7900..388641bb43 100755 --- a/main/newscorm/lp_footer.php +++ b/main/newscorm/lp_footer.php @@ -6,7 +6,9 @@ * @package chamilo.learnpath * @author Yannick Warnier */ - +/** + * Code + */ // Flag to allow for anonymous user - needs to be set before global.inc.php. $use_anonymous = true; diff --git a/main/newscorm/lp_header.php b/main/newscorm/lp_header.php index b40926e456..f975e2e494 100755 --- a/main/newscorm/lp_header.php +++ b/main/newscorm/lp_header.php @@ -1,13 +1,13 @@ */ - +/** + * Code + */ // Flag to allow for anonymous user - needs to be set before global.inc.php. $use_anonymous = true; @@ -80,4 +80,4 @@ echo ''; echo ''; ?> - \ No newline at end of file + diff --git a/main/newscorm/lp_list.php b/main/newscorm/lp_list.php index eaef987ef4..4f2d35fdb8 100755 --- a/main/newscorm/lp_list.php +++ b/main/newscorm/lp_list.php @@ -9,7 +9,9 @@ * @package chamilo.learnpath * @author Yannick Warnier */ - +/** + * Code + */ $this_section = SECTION_COURSES; if (empty($lp_controller_touched) || $lp_controller_touched != 1) { header('location: lp_controller.php?action=list'); @@ -497,4 +499,4 @@ if (is_array($flat_list)) { echo "
"; echo "

"; /* FOOTER */ -Display::display_footer(); \ No newline at end of file +Display::display_footer(); diff --git a/main/newscorm/lp_list_search.php b/main/newscorm/lp_list_search.php index e428b043f5..ecebbbd461 100755 --- a/main/newscorm/lp_list_search.php +++ b/main/newscorm/lp_list_search.php @@ -9,6 +9,9 @@ * @author Julio Montoya Lots of bug fixing * */ +/** + * Code + */ require_once api_get_path(LIBRARY_PATH).'sortabletable.class.php'; require api_get_path(LIBRARY_PATH).'search/search_widget.php'; require api_get_path(LIBRARY_PATH).'search/DokeosQuery.php'; diff --git a/main/newscorm/lp_log.php b/main/newscorm/lp_log.php index aaa8016cee..c1a0ec1815 100755 --- a/main/newscorm/lp_log.php +++ b/main/newscorm/lp_log.php @@ -15,7 +15,9 @@ * @package chamilo.learnpath * @author Yannick Warnier */ - +/** + * Code + */ // Flag to allow for anonymous user - needs to be set before global.inc.php. $use_anonymous = true; diff --git a/main/newscorm/lp_message.php b/main/newscorm/lp_message.php index 674ea4b512..05448dce14 100755 --- a/main/newscorm/lp_message.php +++ b/main/newscorm/lp_message.php @@ -1,6 +1,5 @@ */ - +/** + * Code + */ // Flag to allow for anonymous user - needs to be set before global.inc.php. $use_anonymous = true; diff --git a/main/newscorm/lp_move_item.php b/main/newscorm/lp_move_item.php index 825f4cd31a..5e3c20e7cb 100755 --- a/main/newscorm/lp_move_item.php +++ b/main/newscorm/lp_move_item.php @@ -10,7 +10,9 @@ * @author Yannick Warnier - cleaning and update for new SCORM tool * @package chamilo.learnpath */ - +/** + * Code + */ /* INIT SECTION */ $this_section = SECTION_COURSES; diff --git a/main/newscorm/lp_nav.php b/main/newscorm/lp_nav.php index 9700e84712..274bd1c12a 100755 --- a/main/newscorm/lp_nav.php +++ b/main/newscorm/lp_nav.php @@ -7,7 +7,9 @@ * @author Yannick Warnier * @license GNU/GPL */ - +/** + * Code + */ // Flag to allow for anonymous user - needs to be set before global.inc.php. $use_anonymous = true; @@ -58,4 +60,4 @@ if (isset($_SESSION['lpobject'])) { } session_write_close(); ?> - \ No newline at end of file + diff --git a/main/newscorm/lp_stats.php b/main/newscorm/lp_stats.php index e39df9a65d..7268d542dd 100755 --- a/main/newscorm/lp_stats.php +++ b/main/newscorm/lp_stats.php @@ -1,15 +1,16 @@ * @todo clean this file like the exercise files J.M */ +/** + * Code + */ require_once 'learnpath.class.php'; require_once 'resourcelinker.inc.php'; require_once api_get_path(LIBRARY_PATH).'tracking.lib.php'; diff --git a/main/newscorm/lp_toc.php b/main/newscorm/lp_toc.php index 84bc1ed2b6..8fc2ff109d 100755 --- a/main/newscorm/lp_toc.php +++ b/main/newscorm/lp_toc.php @@ -6,7 +6,9 @@ * @package chamilo.learnpath * @author Yannick Warnier */ - +/** + * Code + */ // Flag to allow for anonymous user - needs to be set before global.inc.php. $use_anonymous = true; diff --git a/main/newscorm/lp_upload.php b/main/newscorm/lp_upload.php index e2bfec88d9..e827160022 100755 --- a/main/newscorm/lp_upload.php +++ b/main/newscorm/lp_upload.php @@ -1,12 +1,13 @@ */ - +/** + * Code + */ // Flag to allow for anonymous user - needs to be set before global.inc.php. $use_anonymous = true; require_once 'back_compat.inc.php'; diff --git a/main/newscorm/lp_view.php b/main/newscorm/lp_view.php index 458dd4a43f..55ed7e6185 100755 --- a/main/newscorm/lp_view.php +++ b/main/newscorm/lp_view.php @@ -13,7 +13,9 @@ * @author Roan Embrechts, code improvements and refactoring * @license GNU/GPL - See Chamilo license directory for details */ - +/** + * Code + */ /* INIT SECTION */ $_SESSION['whereami'] = 'lp/view'; diff --git a/main/newscorm/lp_view_item.php b/main/newscorm/lp_view_item.php index 583ae8f8a6..a640c6d292 100755 --- a/main/newscorm/lp_view_item.php +++ b/main/newscorm/lp_view_item.php @@ -10,7 +10,9 @@ * @author Yannick Warnier - cleaning and update for new SCORM tool * @package chamilo.learnpath */ - +/** + * Code + */ // Prevents FF 3.6 + Adobe Reader 9 bug see BT#794 when calling a pdf file in a LP. if (isset($_GET['src'])) { // Including the global initialization file. diff --git a/main/newscorm/openoffice_text.class.php b/main/newscorm/openoffice_text.class.php index e93e47f164..06a3e42781 100755 --- a/main/newscorm/openoffice_text.class.php +++ b/main/newscorm/openoffice_text.class.php @@ -12,7 +12,6 @@ /** * Defines the "OpenofficeText" child of class "learnpath" - * @package chamilo.learnpath.OpenofficeDocument */ require_once 'openoffice_document.class.php'; if (api_get_setting('search_enabled') == 'true') { @@ -20,7 +19,9 @@ if (api_get_setting('search_enabled') == 'true') { require_once api_get_path(LIBRARY_PATH).'search/DokeosIndexer.class.php'; require_once api_get_path(LIBRARY_PATH).'search/IndexableChunk.class.php'; } - +/** + * @package chamilo.learnpath.OpenofficeDocument + */ class OpenofficeText extends OpenofficeDocument { public $split_steps; diff --git a/main/newscorm/openoffice_text_document.class.php b/main/newscorm/openoffice_text_document.class.php index 2b6f68efa1..8577bd4557 100755 --- a/main/newscorm/openoffice_text_document.class.php +++ b/main/newscorm/openoffice_text_document.class.php @@ -1,6 +1,5 @@ * @license GNU/GPL */ - /** * Defines the "OpenOfficeTextDocument" child of class "learnpath" - * @package chamilo.learnpath.openofficedocument */ require_once 'openoffice_document.class.php'; require_once api_get_path(LIBRARY_PATH).'specific_fields_manager.lib.php'; require_once api_get_path(LIBRARY_PATH).'search/DokeosIndexer.class.php'; require_once api_get_path(LIBRARY_PATH).'search/IndexableChunk.class.php'; - +/** + * @package chamilo.learnpath.openofficedocument + */ class OpenOfficeTextDocument extends OpenofficeDocument { public $split_steps; diff --git a/main/newscorm/resourcelinker.inc.php b/main/newscorm/resourcelinker.inc.php index a74ab9263d..4ee371883f 100755 --- a/main/newscorm/resourcelinker.inc.php +++ b/main/newscorm/resourcelinker.inc.php @@ -9,7 +9,9 @@ * @todo use the constants for the tools * @todo use Database API instead of creating table names locally. */ - +/** + * Code + */ /* INIT SECTION */ //$language_file = 'resourcelinker'; diff --git a/main/newscorm/resourcelinker.php b/main/newscorm/resourcelinker.php index 74ddb1442d..6a5d46385b 100755 --- a/main/newscorm/resourcelinker.php +++ b/main/newscorm/resourcelinker.php @@ -9,7 +9,9 @@ * @todo reorganise code, * use Database API instead of creating table names locally. */ - +/** + * Code + */ /* INIT SECTION */ // Flag to allow for anonymous user - needs to be set before global.inc.php. diff --git a/main/newscorm/scorm_admin.php b/main/newscorm/scorm_admin.php index 98aee3c4fb..2e964101d0 100755 --- a/main/newscorm/scorm_admin.php +++ b/main/newscorm/scorm_admin.php @@ -11,7 +11,9 @@ * @author Roan Embrechts, code improvements and refactoring * @author Yannick Warnier, complete refactoring */ - +/** + * Code (exit) + */ exit; // Flag to allow for anonymous user - needs to be set before global.inc.php.