@@ -8,7 +8,7 @@ discard block |
||
| 8 | 8 | require_once __DIR__.'/../inc/global.inc.php'; |
| 9 | 9 | |
| 10 | 10 | $interbreadcrumb[] = array( |
| 11 | - 'url' => api_get_path(WEB_CODE_PATH) . "calendar/agenda_js.php", |
|
| 11 | + 'url' => api_get_path(WEB_CODE_PATH)."calendar/agenda_js.php", |
|
| 12 | 12 | 'name' => get_lang('Agenda') |
| 13 | 13 | ); |
| 14 | 14 | |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | |
| 31 | 31 | if (!empty($currentCourseId) && $currentCourseId != -1) { |
| 32 | 32 | // Agenda is inside a course tool |
| 33 | - $url = api_get_self() . '?' . api_get_cidreq(); |
|
| 33 | + $url = api_get_self().'?'.api_get_cidreq(); |
|
| 34 | 34 | $this_section = SECTION_COURSES; |
| 35 | 35 | |
| 36 | 36 | // Order by start date |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | if (!empty($events)) { |
| 54 | 54 | foreach ($events as &$event) { |
| 55 | 55 | $courseId = isset($event['course_id']) ? $event['course_id'] : ''; |
| 56 | - $event['url'] = api_get_self() . '?cid=' . $courseId . '&type=' . $event['type']; |
|
| 56 | + $event['url'] = api_get_self().'?cid='.$courseId.'&type='.$event['type']; |
|
| 57 | 57 | } |
| 58 | 58 | } |
| 59 | 59 | } |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | } else { |
| 80 | 80 | $courseCondition = '&'.api_get_cidreq(); |
| 81 | 81 | } |
| 82 | - header('Location: '. api_get_self().'?type='.$agenda->type.$courseCondition); |
|
| 82 | + header('Location: '.api_get_self().'?type='.$agenda->type.$courseCondition); |
|
| 83 | 83 | exit; |
| 84 | 84 | } |
| 85 | 85 | } |