@@ -7,7 +7,7 @@ |
||
7 | 7 | |
8 | 8 | //exit; |
9 | 9 | |
10 | -require_once __DIR__ . '/../../config.php'; |
|
10 | +require_once __DIR__.'/../../config.php'; |
|
11 | 11 | |
12 | 12 | api_protect_admin_script(); |
13 | 13 |
@@ -16,7 +16,6 @@ |
||
16 | 16 | * @author Patrick Cool |
17 | 17 | * @author René Haentjens, added CSV file import (October 2004) |
18 | 18 | * @package chamilo.link |
19 | - |
|
20 | 19 | */ |
21 | 20 | |
22 | 21 | // Including libraries |
@@ -42,7 +42,7 @@ |
||
42 | 42 | * Set accessUrlId |
43 | 43 | * |
44 | 44 | * @param integer $accessUrlId |
45 | - * @return AccessUrlRelUser |
|
45 | + * @return AccessUrlRelUserGroup |
|
46 | 46 | */ |
47 | 47 | public function setAccessUrlId($accessUrlId) |
48 | 48 | { |
@@ -89,7 +89,7 @@ |
||
89 | 89 | return [ |
90 | 90 | ['Save', 'NewPage', 'Templates', '-', 'PasteFromWord'], |
91 | 91 | ['Undo', 'Redo'], |
92 | - ['Link', 'Image', 'Video', 'Flash', 'Audio', 'Table', 'Asciimath'], |
|
92 | + ['Link', 'Image', 'Video', 'Flash', 'Audio', 'Table', 'Asciimath'], |
|
93 | 93 | ['BulletedList', 'NumberedList', 'HorizontalRule'], |
94 | 94 | ['JustifyLeft', 'JustifyCenter', 'JustifyBlock'], |
95 | 95 | ['Format', 'Font', 'FontSize', 'Bold', 'Italic', 'TextColor'], |
@@ -89,7 +89,7 @@ |
||
89 | 89 | return [ |
90 | 90 | ['Save', 'NewPage', 'Templates', '-', 'PasteFromWord'], |
91 | 91 | ['Undo', 'Redo'], |
92 | - ['Link', 'Image', 'Video', 'Flash', 'Audio', 'Table', 'Asciimath'], |
|
92 | + ['Link', 'Image', 'Video', 'Flash', 'Audio', 'Table', 'Asciimath'], |
|
93 | 93 | ['BulletedList', 'NumberedList', 'HorizontalRule'], |
94 | 94 | ['JustifyLeft', 'JustifyCenter', 'JustifyBlock'], |
95 | 95 | ['Format', 'Font', 'FontSize', 'Bold', 'Italic', 'TextColor'], |
@@ -89,7 +89,7 @@ |
||
89 | 89 | return [ |
90 | 90 | ['Save', 'NewPage', 'Templates', '-', 'PasteFromWord'], |
91 | 91 | ['Undo', 'Redo'], |
92 | - ['Link', 'Image', 'Video', 'Flash', 'Audio', 'Table', 'Asciimath'], |
|
92 | + ['Link', 'Image', 'Video', 'Flash', 'Audio', 'Table', 'Asciimath'], |
|
93 | 93 | ['BulletedList', 'NumberedList', 'HorizontalRule'], |
94 | 94 | ['JustifyLeft', 'JustifyCenter', 'JustifyBlock'], |
95 | 95 | ['Format', 'Font', 'FontSize', 'Bold', 'Italic', 'TextColor'], |
@@ -17,7 +17,7 @@ |
||
17 | 17 | $result = $objExercise->read($exercise_id); |
18 | 18 | |
19 | 19 | if (!$result) { |
20 | - api_not_allowed(true); |
|
20 | + api_not_allowed(true); |
|
21 | 21 | } |
22 | 22 | |
23 | 23 | $interbreadcrumb[] = array( |
@@ -6,7 +6,7 @@ |
||
6 | 6 | |
7 | 7 | // Setting the global file that gets the general configuration, the databases, the languages, ... |
8 | 8 | require_once '../inc/global.inc.php'; |
9 | -$current_course_tool = TOOL_COURSE_MAINTENANCE; |
|
9 | +$current_course_tool = TOOL_COURSE_MAINTENANCE; |
|
10 | 10 | api_protect_course_script(true); |
11 | 11 | |
12 | 12 | // Notice for unauthorized people. |
@@ -17,7 +17,7 @@ |
||
17 | 17 | $result = $objExercise->read($exercise_id); |
18 | 18 | |
19 | 19 | if (!$result) { |
20 | - api_not_allowed(true); |
|
20 | + api_not_allowed(true); |
|
21 | 21 | } |
22 | 22 | |
23 | 23 | $interbreadcrumb[] = array( |
@@ -38,9 +38,9 @@ |
||
38 | 38 | api_not_allowed(true); |
39 | 39 | } |
40 | 40 | |
41 | -$courseDir = $_course['path'] . "/document"; |
|
41 | +$courseDir = $_course['path']."/document"; |
|
42 | 42 | $sys_course_path = api_get_path(SYS_COURSE_PATH); |
43 | -$base_work_dir = $sys_course_path . $courseDir; |
|
43 | +$base_work_dir = $sys_course_path.$courseDir; |
|
44 | 44 | $noPHP_SELF = true; |
45 | 45 | $max_filled_space = DocumentManager::get_course_quota(); |
46 | 46 |
@@ -39,8 +39,8 @@ |
||
39 | 39 | |
40 | 40 | use ChamiloSession as Session; |
41 | 41 | |
42 | -require_once dirname(__FILE__) . '/ldap.inc.php'; |
|
43 | -require_once dirname(__FILE__) . '/functions.inc.php'; |
|
42 | +require_once dirname(__FILE__).'/ldap.inc.php'; |
|
43 | +require_once dirname(__FILE__).'/functions.inc.php'; |
|
44 | 44 | |
45 | 45 | $ldap_user = extldap_authenticate($login, $password); |
46 | 46 | if ($ldap_user !== false) { |
@@ -17,7 +17,7 @@ |
||
17 | 17 | $result = $objExercise->read($exercise_id); |
18 | 18 | |
19 | 19 | if (!$result) { |
20 | - api_not_allowed(true); |
|
20 | + api_not_allowed(true); |
|
21 | 21 | } |
22 | 22 | |
23 | 23 | $interbreadcrumb[] = array( |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | Display::addFlash( |
48 | 48 | Display::return_message($messageText, 'info', false) |
49 | 49 | ); |
50 | - header('Location: ' . api_get_path(WEB_PATH)); |
|
50 | + header('Location: '.api_get_path(WEB_PATH)); |
|
51 | 51 | exit; |
52 | 52 | } |
53 | 53 | |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | Display::addFlash( |
75 | 75 | Display::return_message($messageText, 'error', false) |
76 | 76 | ); |
77 | - header('Location: ' . api_get_self()); |
|
77 | + header('Location: '.api_get_self()); |
|
78 | 78 | exit; |
79 | 79 | } |
80 | 80 | |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | Display::addFlash( |
95 | 95 | Display::return_message($messageText, 'info', false) |
96 | 96 | ); |
97 | - header('Location: ' . api_get_path(WEB_PATH)); |
|
97 | + header('Location: '.api_get_path(WEB_PATH)); |
|
98 | 98 | exit; |
99 | 99 | } |
100 | 100 | |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | Display::addFlash( |
103 | 103 | Display::return_message(get_lang('CouldNotResetPassword'), 'info', false) |
104 | 104 | ); |
105 | - header('Location: ' . api_get_path(WEB_PATH)); |
|
105 | + header('Location: '.api_get_path(WEB_PATH)); |
|
106 | 106 | exit; |
107 | 107 | } |
108 | 108 | |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | exit; |
122 | 122 | } |
123 | 123 | |
124 | - header('Location: ' . api_get_path(WEB_PATH)); |
|
124 | + header('Location: '.api_get_path(WEB_PATH)); |
|
125 | 125 | exit; |
126 | 126 | } |
127 | 127 | |
@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | Display::addFlash( |
139 | 139 | Display::return_message($messageText, 'info', false) |
140 | 140 | ); |
141 | - header('Location: ' . api_get_path(WEB_PATH)); |
|
141 | + header('Location: '.api_get_path(WEB_PATH)); |
|
142 | 142 | exit; |
143 | 143 | } |
144 | 144 |