diff --git a/main/admin/course_list.php b/main/admin/course_list.php index 1e583ee424..2df3b39e5f 100644 --- a/main/admin/course_list.php +++ b/main/admin/course_list.php @@ -1,5 +1,5 @@ '; echo 'SYS_COURSE_PATH :'.api_get_path(SYS_COURSE_PATH).'
'; echo 'REL_COURSE_PATH :'.api_get_path(REL_COURSE_PATH).'
'; - echo 'REL_CLARO_PATH :'.api_get_path(REL_CLARO_PATH).'
'; + echo 'REL_CLARO_PATH :'.api_get_path(REL_CODE_PATH).'
'; echo 'WEB_CODE_PATH :'.api_get_path(WEB_CODE_PATH).'
'; echo 'SYS_CODE_PATH :'.api_get_path(SYS_CODE_PATH).'
'; echo 'SYS_LANG_PATH :'.api_get_path(SYS_LANG_PATH).'
'; diff --git a/main/inc/lib/main_api.lib.php b/main/inc/lib/main_api.lib.php index 52f6809a85..30416305ef 100644 --- a/main/inc/lib/main_api.lib.php +++ b/main/inc/lib/main_api.lib.php @@ -71,7 +71,7 @@ define('REL_PATH', 'REL_PATH'); define('WEB_COURSE_PATH', 'WEB_COURSE_PATH'); define('SYS_COURSE_PATH', 'SYS_COURSE_PATH'); define('REL_COURSE_PATH', 'REL_COURSE_PATH'); -define('REL_CLARO_PATH', 'REL_CLARO_PATH'); +define('REL_CODE_PATH', 'REL_CODE_PATH'); define('WEB_CODE_PATH', 'WEB_CODE_PATH'); define('SYS_CODE_PATH', 'SYS_CODE_PATH'); define('SYS_LANG_PATH', 'SYS_LANG_PATH'); @@ -254,7 +254,7 @@ function api_is_self_registration_allowed() * * @param one of the following constants: * WEB_PATH, SYS_PATH, REL_PATH, WEB_COURSE_PATH, SYS_COURSE_PATH, -* REL_COURSE_PATH, REL_CLARO_PATH, WEB_CODE_PATH, SYS_CODE_PATH, +* REL_COURSE_PATH, REL_CODE_PATH, WEB_CODE_PATH, SYS_CODE_PATH, * SYS_LANG_PATH, WEB_IMG_PATH, GARBAGE_PATH, PLUGIN_PATH, SYS_ARCHIVE_PATH, * INCLUDE_PATH, LIBRARY_PATH, CONFIGURATION_PATH * @@ -267,7 +267,7 @@ function api_is_self_registration_allowed() * WEB_COURSE_PATH http://www.mydokeos.com/courses/ * SYS_COURSE_PATH /var/www/dokeos/courses/ * REL_COURSE_PATH -* REL_CLARO_PATH +* REL_CODE_PATH * WEB_CODE_PATH * SYS_CODE_PATH * SYS_LANG_PATH @@ -336,7 +336,7 @@ function api_get_path($path_type) // example: courses/ or dokeos/courses/ return api_get_path(REL_PATH).$_configuration['course_folder']; break; - case REL_CLARO_PATH : + case REL_CODE_PATH : // example: main/ or dokeos/main/ return api_get_path(REL_PATH).$_configuration['code_append']; break; diff --git a/main/inc/lib/tracking.lib.php b/main/inc/lib/tracking.lib.php index caa3a8665a..df4645762d 100644 --- a/main/inc/lib/tracking.lib.php +++ b/main/inc/lib/tracking.lib.php @@ -170,7 +170,7 @@ class Tracking { //If the last connection is > than 7 days, the text is red //345600 = 7 days in seconds if ($currentTimestamp - $timestamp > 604800) { - return '' . format_locale_date(get_lang('DateFormatLongWithoutDay'), strtotime($last_login_date)) . ' '; + return '' . format_locale_date(get_lang('DateFormatLongWithoutDay'), strtotime($last_login_date)) . ' '; } else { return format_locale_date(get_lang('DateFormatLongWithoutDay'), strtotime($last_login_date)); } diff --git a/main/inc/tool_navigation_menu.inc.php b/main/inc/tool_navigation_menu.inc.php index f95fec1070..5e38032a67 100644 --- a/main/inc/tool_navigation_menu.inc.php +++ b/main/inc/tool_navigation_menu.inc.php @@ -1,5 +1,5 @@ '; $return .= ''; - $return .= '' . get_lang('NewExercise') . ''; + $return .= '' . get_lang('NewExercise') . ''; $return .= ''; $return .= ''; @@ -7254,7 +7254,7 @@ function display_thread_form($action = 'add', $id = 0, $extra_info = '') } $return .= '
'; $return .= ''; - $return .= '' . get_lang('LinkAdd') . ''; + $return .= '' . get_lang('LinkAdd') . ''; $return .= '
'; if(Database::num_rows($res_link) == 0) @@ -7337,7 +7337,7 @@ function display_thread_form($action = 'add', $id = 0, $extra_info = '') $return .= '
'; $return .= ''; - $return .= ''.get_lang('CreateANewForum').''; + $return .= ''.get_lang('CreateANewForum').''; $return .= '
'; return $return; diff --git a/main/newscorm/lp_comm.server.php b/main/newscorm/lp_comm.server.php index 1491665978..6fca304949 100644 --- a/main/newscorm/lp_comm.server.php +++ b/main/newscorm/lp_comm.server.php @@ -86,7 +86,7 @@ function save_item($lp_id,$user_id,$view_id,$item_id,$score=-1,$max=-1,$min=-1,$ $mylp = & $oLP; } } - //$objResponse->addAlert(api_get_path(REL_CLARO_PATH).'newscorm/learnpathItem.class.php'); + //$objResponse->addAlert(api_get_path(REL_CODE_PATH).'newscorm/learnpathItem.class.php'); $prereq_check = $mylp->prerequisites_match($item_id); @@ -312,7 +312,7 @@ function switch_item_details($lp_id,$user_id,$view_id,$current_item,$next_item) if($mylp->force_commit){ $mylp->save_current(); } - //$objResponse->addAlert(api_get_path(REL_CLARO_PATH).'newscorm/learnpathItem.class.php'); + //$objResponse->addAlert(api_get_path(REL_CODE_PATH).'newscorm/learnpathItem.class.php'); if(is_object($mylp->items[$new_item_id])){ $mylpi = & $mylp->items[$new_item_id]; }else{ diff --git a/main/tracking/courseLog.php b/main/tracking/courseLog.php index 4ae1214d42..6ff8981c59 100644 --- a/main/tracking/courseLog.php +++ b/main/tracking/courseLog.php @@ -472,7 +472,7 @@ if($_GET['studentlist'] == 'false') else { // BEGIN : form to remind inactives susers - $form = new FormValidator('reminder_form','get',api_get_path(REL_CLARO_PATH).'announcements/announcements.php'); + $form = new FormValidator('reminder_form','get',api_get_path(REL_CODE_PATH).'announcements/announcements.php'); $renderer = $form->defaultRenderer(); $renderer->setElementTemplate('{label} {element}