diff --git a/main/admin/access_url_edit_courses_to_url.php b/main/admin/access_url_edit_courses_to_url.php index d28994eaaf..4d796f138d 100755 --- a/main/admin/access_url_edit_courses_to_url.php +++ b/main/admin/access_url_edit_courses_to_url.php @@ -1,8 +1,8 @@ + * @package chamilo.admin + * @author Julio Montoya */ // resetting the course id $cidReset = true; @@ -11,7 +11,7 @@ require_once __DIR__.'/../inc/global.inc.php'; $xajax = new xajax(); $xajax->registerFunction( - array('search_courses', 'Accessurleditcoursestourl', 'search_courses') + array('search_courses', 'Accessurleditcoursestourl', 'search_courses') ); // setting the section (for the tabs) @@ -20,8 +20,8 @@ $this_section = SECTION_PLATFORM_ADMIN; // Access restrictions api_protect_global_admin_script(); if (!api_get_multiple_access_url()) { - header('Location: index.php'); - exit; + header('Location: index.php'); + exit; } // Database Table Definitions @@ -48,13 +48,10 @@ $xajax -> processRequests(); $htmlHeadXtra[] = $xajax->getJavascript('../inc/lib/xajax/'); $htmlHeadXtra[] = ' + return ret; + } + I am a div courses").prependTo("body"); @@ -254,7 +247,7 @@ if ($isChatFolder) { $execute_iframe = true; if ($jplayer_supported) { $extension = api_strtolower($pathinfo['extension']); - if ($extension == 'mp4') { + if ($extension == 'mp4') { $extension = 'm4v'; } $js_path = api_get_path(WEB_LIBRARY_PATH).'javascript/'; @@ -301,8 +294,7 @@ if ($is_freemind_available) { } if (!$jplayer_supported && $execute_iframe) { - - $htmlHeadXtra[] = '