@@ -12,9 +12,9 @@ |
||
12 | 12 | |
13 | 13 | $this_section = SECTION_COURSES; |
14 | 14 | |
15 | -$interbreadcrumb[]= array ('url' =>'classes.php','name' => get_lang('Classes')); |
|
15 | +$interbreadcrumb[] = array('url' =>'classes.php', 'name' => get_lang('Classes')); |
|
16 | 16 | if (isset($_GET['id'])) { |
17 | - $interbreadcrumb[]= array ('url' =>'#','name' => get_lang('Groups')); |
|
17 | + $interbreadcrumb[] = array('url' =>'#', 'name' => get_lang('Groups')); |
|
18 | 18 | } |
19 | 19 | |
20 | 20 | Display :: display_header($tool_name, 'Classes'); |
@@ -15,8 +15,8 @@ discard block |
||
15 | 15 | |
16 | 16 | $tool_name = get_lang('ImportUsersToACourse'); |
17 | 17 | |
18 | -$interbreadcrumb[] = array ("url" => "user.php", "name" => get_lang("Users")); |
|
19 | -$interbreadcrumb[] = array ("url" => "#", "name" => get_lang("ImportUsersToACourse")); |
|
18 | +$interbreadcrumb[] = array("url" => "user.php", "name" => get_lang("Users")); |
|
19 | +$interbreadcrumb[] = array("url" => "#", "name" => get_lang("ImportUsersToACourse")); |
|
20 | 20 | |
21 | 21 | $form = new FormValidator('user_import', 'post', 'user_import.php'); |
22 | 22 | $form->addElement('header', $tool_name); |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | if (isset($_FILES['import_file']['size']) && $_FILES['import_file']['size'] !== 0) { |
43 | 43 | $unsubscribe_users = isset($_POST['unsubscribe_users']) ? true : false; |
44 | 44 | //@todo : csvToArray deprecated |
45 | - $users = Import::csvToArray($_FILES['import_file']['tmp_name']); |
|
45 | + $users = Import::csvToArray($_FILES['import_file']['tmp_name']); |
|
46 | 46 | $invalid_users = array(); |
47 | 47 | $clean_users = array(); |
48 | 48 | |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | $user_ids = array(); |
80 | 80 | foreach ($current_user_list as $user) { |
81 | 81 | if (!CourseManager::is_course_teacher($user['user_id'], $course_code)) { |
82 | - $user_ids[]= $user['user_id']; |
|
82 | + $user_ids[] = $user['user_id']; |
|
83 | 83 | } |
84 | 84 | } |
85 | 85 | CourseManager::unsubscribe_user($user_ids, $course_code, $session_id); |
@@ -92,12 +92,12 @@ discard block |
||
92 | 92 | if (empty($session_id)) { |
93 | 93 | //just to make sure |
94 | 94 | if (CourseManager :: is_user_subscribed_in_course($userId, $course_code)) { |
95 | - $user_to_show[]= $userInfo['complete_name']; |
|
95 | + $user_to_show[] = $userInfo['complete_name']; |
|
96 | 96 | } |
97 | 97 | } else { |
98 | 98 | //just to make sure |
99 | 99 | if (CourseManager::is_user_subscribed_in_course($userId, $course_code, true, $session_id)) { |
100 | - $user_to_show[]= $userInfo['complete_name']; |
|
100 | + $user_to_show[] = $userInfo['complete_name']; |
|
101 | 101 | } |
102 | 102 | } |
103 | 103 | } |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | $message = get_lang('CheckUsersWithId'); |
106 | 106 | $type = 'warning'; |
107 | 107 | foreach ($invalid_users as $invalid_user) { |
108 | - $user_to_show[]= $invalid_user; |
|
108 | + $user_to_show[] = $invalid_user; |
|
109 | 109 | } |
110 | 110 | } |
111 | 111 | } |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | Display::display_warning_message($message.': <br />'.$userMessage, false); |
131 | 131 | } |
132 | 132 | } else { |
133 | - $empty_line_msg = ($empty_line == 0) ? get_lang('ErrorsWhenImportingFile'): get_lang('ErrorsWhenImportingFile').': '.get_lang('EmptyHeaderLine'); |
|
133 | + $empty_line_msg = ($empty_line == 0) ? get_lang('ErrorsWhenImportingFile') : get_lang('ErrorsWhenImportingFile').': '.get_lang('EmptyHeaderLine'); |
|
134 | 134 | Display::display_error_message($empty_line_msg); |
135 | 135 | } |
136 | 136 | } |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | $strings['VideoConferenceAddedToTheCalendar'] = "Videoconference added to the calendar"; |
21 | 21 | $strings['VideoConferenceAddedToTheLinkTool'] = "Videoconference added to the link tool"; |
22 | 22 | |
23 | -$strings['GoToTheVideoConference'] = "Go to the videoconference"; |
|
23 | +$strings['GoToTheVideoConference'] = "Go to the videoconference"; |
|
24 | 24 | |
25 | 25 | $strings['Records'] = "Recording"; |
26 | 26 | $strings['Meeting'] = "Meeting"; |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | $strings['EnterConference'] = "Enter the videoconference"; |
32 | 32 | $strings['RecordList'] = "Recording list"; |
33 | 33 | $strings['ServerIsNotRunning'] = "Videoconference server is not running"; |
34 | -$strings['ServerIsNotConfigured'] = "Videoconference server is not configured"; |
|
34 | +$strings['ServerIsNotConfigured'] = "Videoconference server is not configured"; |
|
35 | 35 | |
36 | 36 | $strings['XUsersOnLine'] = "%s user(s) online"; |
37 | 37 |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | $strings['VideoConferenceAddedToTheCalendar'] = "Vidéoconférence ajoutée au calendrier"; |
14 | 14 | $strings['VideoConferenceAddedToTheLinkTool'] = "Vidéoconférence ajoutée comme lien. Vous pouvez éditer et publier le lien sur la page principale du cours depuis l'outil liens."; |
15 | 15 | |
16 | -$strings['GoToTheVideoConference'] = "Entrer dans la salle de conférence"; |
|
16 | +$strings['GoToTheVideoConference'] = "Entrer dans la salle de conférence"; |
|
17 | 17 | |
18 | 18 | $strings['Records'] = "Enregistrement"; |
19 | 19 | $strings['Meeting'] = "Salle de conférence"; |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | $strings['EnterConference'] = "Entrer dans la salle de conférence"; |
25 | 25 | $strings['RecordList'] = "Liste des enregistrements"; |
26 | 26 | $strings['ServerIsNotRunning'] = "Le serveur de vidéoconférence ne fonctionne pas"; |
27 | -$strings['ServerIsNotConfigured'] = "Le serveur de vidéoconférence n'est pas configuré correctement"; |
|
27 | +$strings['ServerIsNotConfigured'] = "Le serveur de vidéoconférence n'est pas configuré correctement"; |
|
28 | 28 | |
29 | 29 | $strings['XUsersOnLine'] = "%s utilisateurs dans la salle"; |
30 | 30 |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | $strings['VideoConferenceAddedToTheCalendar'] = "Videoconferencia añadida al calendario"; |
14 | 14 | $strings['VideoConferenceAddedToTheLinkTool'] = "Videoconferencia añadida como enlace. Puede editar y publicar el enlace en la página principal del curso desde la herramienta de enlace."; |
15 | 15 | |
16 | -$strings['GoToTheVideoConference'] = "Ir a la videoconferencia"; |
|
16 | +$strings['GoToTheVideoConference'] = "Ir a la videoconferencia"; |
|
17 | 17 | |
18 | 18 | $strings['Records'] = "Grabación"; |
19 | 19 | $strings['Meeting'] = "Sala de conferencia"; |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | $strings['EnterConference'] = "Entrar a la videoconferencia"; |
25 | 25 | $strings['RecordList'] = "Lista de grabaciones"; |
26 | 26 | $strings['ServerIsNotRunning'] = "El servidor de videoconferencia no está funcionando"; |
27 | -$strings['ServerIsNotConfigured'] = "El servidor de videoconferencia no está configurado correctamente"; |
|
27 | +$strings['ServerIsNotConfigured'] = "El servidor de videoconferencia no está configurado correctamente"; |
|
28 | 28 | |
29 | 29 | $strings['XUsersOnLine'] = "%s usuario(s) en la sala"; |
30 | 30 |
@@ -5,6 +5,6 @@ |
||
5 | 5 | * @author Imanol Losada Oriol <[email protected]> |
6 | 6 | * @package chamilo.plugin.skype |
7 | 7 | */ |
8 | -require_once __DIR__ . '/config.php'; |
|
8 | +require_once __DIR__.'/config.php'; |
|
9 | 9 | |
10 | 10 | Skype::create()->install(); |
@@ -6,4 +6,4 @@ |
||
6 | 6 | * @package chamilo.plugin.skype |
7 | 7 | */ |
8 | 8 | |
9 | -require_once api_get_path(SYS_PATH) . 'main/inc/global.inc.php'; |
|
9 | +require_once api_get_path(SYS_PATH).'main/inc/global.inc.php'; |
@@ -5,6 +5,6 @@ |
||
5 | 5 | * @author Imanol Losada Oriol <[email protected]> |
6 | 6 | * @package chamilo.plugin.skype |
7 | 7 | */ |
8 | -require_once __DIR__ . '/config.php'; |
|
8 | +require_once __DIR__.'/config.php'; |
|
9 | 9 | |
10 | 10 | Skype::create()->install(); |
@@ -5,6 +5,6 @@ |
||
5 | 5 | * @author Imanol Losada Oriol <[email protected]> |
6 | 6 | * @package chamilo.plugin.skype |
7 | 7 | */ |
8 | -require_once __DIR__ . '/config.php'; |
|
8 | +require_once __DIR__.'/config.php'; |
|
9 | 9 | |
10 | 10 | Skype::create()->install(); |