Completed
Push — 1.10.x ( 34fa34...b0da58 )
by Yannick
448:57 queued 407:31
created
main/user/subscribe_class.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     $courseCode = api_get_course_id();
52 52
 
53 53
     $sql = "SELECT * FROM $course_class_table
54
-            WHERE course_code = '" . $courseCode. "'";
54
+            WHERE course_code = '".$courseCode."'";
55 55
     $res = Database::query($sql);
56 56
     $subscribed_classes = array();
57 57
     while ($obj = Database::fetch_object($res)) {
@@ -60,10 +60,10 @@  discard block
 block discarded – undo
60 60
     $sql = "SELECT c.id	FROM $class_table c WHERE 1 = 1";
61 61
     if (isset($_GET['keyword'])) {
62 62
         $keyword = Database::escape_string(trim($_GET['keyword']));
63
-        $sql .= " AND (c.name LIKE '%" . $keyword . "%')";
63
+        $sql .= " AND (c.name LIKE '%".$keyword."%')";
64 64
     }
65 65
     if (count($subscribed_classes) > 0) {
66
-        $sql .= " AND c.id NOT IN ('" . implode("','", $subscribed_classes) . "')";
66
+        $sql .= " AND c.id NOT IN ('".implode("','", $subscribed_classes)."')";
67 67
     }
68 68
     $res = Database::query($sql);
69 69
     $result = Database::num_rows($res);
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     $class_user_table = Database :: get_main_table(TABLE_MAIN_CLASS_USER);
82 82
     $courseCode = api_get_course_id();
83 83
 
84
-    $sql = "SELECT * FROM $course_class_table WHERE course_code = '" . $courseCode . "'";
84
+    $sql = "SELECT * FROM $course_class_table WHERE course_code = '".$courseCode."'";
85 85
     $res = Database::query($sql);
86 86
     $subscribed_classes = array();
87 87
     while ($obj = Database::fetch_object($res)) {
@@ -97,10 +97,10 @@  discard block
 block discarded – undo
97 97
     $sql .= " WHERE 1 = 1";
98 98
     if (isset($_GET['keyword'])) {
99 99
         $keyword = Database::escape_string(trim($_GET['keyword']));
100
-        $sql .= " AND (c.name LIKE '%" . $keyword . "%')";
100
+        $sql .= " AND (c.name LIKE '%".$keyword."%')";
101 101
     }
102 102
     if (count($subscribed_classes) > 0) {
103
-        $sql .= " AND c.id NOT IN ('" . implode("','", $subscribed_classes) . "')";
103
+        $sql .= " AND c.id NOT IN ('".implode("','", $subscribed_classes)."')";
104 104
     }
105 105
     $sql .= " GROUP BY c.id, c.name ";
106 106
     $sql .= " ORDER BY col$column $direction ";
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
  * @return string Some HTML-code
120 120
  */
121 121
 function reg_filter($class_id) {
122
-    $result = "<a href=\"" . api_get_self() . "?register=yes&amp;class_id=" . $class_id . "\">" . get_lang("reg") . "</a>";
122
+    $result = "<a href=\"".api_get_self()."?register=yes&amp;class_id=".$class_id."\">".get_lang("reg")."</a>";
123 123
     return $result;
124 124
 }
125 125
 
Please login to merge, or discard this patch.
plugin/openmeetings/lang/english.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
plugin/openmeetings/lang/french.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
plugin/openmeetings/lang/spanish.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
plugin/createdrupaluser/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,6 +5,6 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
plugin/createdrupaluser/config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,4 +6,4 @@
 block discarded – undo
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';
Please login to merge, or discard this patch.
plugin/createdrupaluser/install.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,6 +5,6 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
plugin/createdrupaluser/uninstall.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,6 +5,6 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
plugin/tour/install.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,6 +5,6 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.