Completed
Push — 1.11.x ( ca7787...41c0f2 )
by José
31:51
created
plugin/show_user_info/lang/english.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,3 +1,3 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-$strings['WelcomeToChamiloUserX']     = "Welcome to Chamilo %s!";
3
+$strings['WelcomeToChamiloUserX'] = "Welcome to Chamilo %s!";
Please login to merge, or discard this patch.
plugin/show_user_info/lang/spanish.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,3 +1,3 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-$strings['WelcomeToChamiloUserX']     = "Bienvenido a Chamilo %s!";
4 3
\ No newline at end of file
4
+$strings['WelcomeToChamiloUserX'] = "Bienvenido a Chamilo %s!";
5 5
\ No newline at end of file
Please login to merge, or discard this patch.
plugin/add_shibboleth_login_button/index.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 // Show the Shibboleth button to login using SHIBBOLETH
3 3
 
4
-$_template['show_message']   = false;
4
+$_template['show_message'] = false;
5 5
 
6 6
 if (api_is_anonymous()) {
7
-    $_template['show_message']   = true;
7
+    $_template['show_message'] = true;
8 8
     // the default title
9 9
     $button_label = "Connexion via Shibboleth";
10 10
     if (!empty($plugin_info['settings']['add_shibboleth_login_button_shibboleth_button_label'])) {
11 11
         $button_label = api_htmlentities($plugin_info['settings']['add_shibboleth_login_button_shibboleth_button_label']);
12 12
     }
13 13
     // the comm
14
-    $comm_label = api_htmlentities($plugin_info['settings']['add_shibboleth_login_button_shibboleth_button_comment']);;
14
+    $comm_label = api_htmlentities($plugin_info['settings']['add_shibboleth_login_button_shibboleth_button_comment']); ;
15 15
     // URL of the image
16 16
     $url_label = $plugin_info['settings']['add_shibboleth_login_button_shibboleth_image_url'];
17 17
     
Please login to merge, or discard this patch.
plugin/courselegal/user_list.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /* For license terms, see /license.txt */
3
-require_once dirname(__FILE__) . '/config.php';
3
+require_once dirname(__FILE__).'/config.php';
4 4
 
5 5
 // Course legal
6 6
 $enabled = api_get_plugin_setting('courselegal', 'tool_enable');
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 $url = api_get_self().'?'.api_get_cidreq();
20 20
 
21 21
 $action = isset($_GET['action']) ? $_GET['action'] : null;
22
-switch($action) {
22
+switch ($action) {
23 23
     case 'resend':
24 24
         if (isset($_GET['user_id'])) {
25 25
             $legal->updateMailAgreementLink($_GET['user_id'], $courseId, $sessionId);
Please login to merge, or discard this patch.
plugin/courselegal/start.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /* For license terms, see /license.txt */
3 3
 
4
-require_once dirname(__FILE__) . '/config.php';
4
+require_once dirname(__FILE__).'/config.php';
5 5
 
6 6
 // Course legal
7 7
 $enabled = api_get_plugin_setting('courselegal', 'tool_enable');
Please login to merge, or discard this patch.
plugin/courselegal/CourseLegalPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -421,7 +421,7 @@
 block discarded – undo
421 421
                 array('id = ? ' => $id)
422 422
             );
423 423
             if (!empty($legalData['filename'])) {
424
-                $fileToDelete = $coursePath . '/' . $legalData['filename'];
424
+                $fileToDelete = $coursePath.'/'.$legalData['filename'];
425 425
                 if (file_exists($fileToDelete)) {
426 426
                     unlink($fileToDelete);
427 427
                 }
Please login to merge, or discard this patch.
plugin/courselegal/install.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /* For license terms, see /license.txt */
3 3
 
4
-require_once dirname(__FILE__) . '/config.php';
4
+require_once dirname(__FILE__).'/config.php';
5 5
 
6 6
 if (!api_is_platform_admin()) {
7 7
     die ('You must have admin permissions to install plugins');
Please login to merge, or discard this patch.
plugin/buycourses/src/expresscheckout.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,8 +40,8 @@
 block discarded – undo
40 40
     $ErrorSeverityCode = urldecode($resArray["L_SEVERITYCODE0"]);
41 41
 
42 42
     echo "SetExpressCheckout API call failed. ";
43
-    echo "Detailed Error Message: " . $ErrorLongMsg;
44
-    echo "Short Error Message: " . $ErrorShortMsg;
45
-    echo "Error Code: " . $ErrorCode;
46
-    echo "Error Severity Code: " . $ErrorSeverityCode;
43
+    echo "Detailed Error Message: ".$ErrorLongMsg;
44
+    echo "Short Error Message: ".$ErrorShortMsg;
45
+    echo "Error Code: ".$ErrorCode;
46
+    echo "Error Severity Code: ".$ErrorSeverityCode;
47 47
 }
Please login to merge, or discard this patch.
plugin/buycourses/src/success.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 
58 58
         unset($_SESSION['bc_sale_id']);
59 59
 
60
-        header('Location: ' . api_get_path(WEB_PLUGIN_PATH) . 'buycourses/index.php');
60
+        header('Location: '.api_get_path(WEB_PLUGIN_PATH).'buycourses/index.php');
61 61
         exit;
62 62
     }
63 63
 
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
     }
167 167
 
168 168
     unset($_SESSION['bc_sale_id']);
169
-    header('Location: ' . api_get_path(WEB_PLUGIN_PATH) . 'buycourses/src/course_catalog.php');
169
+    header('Location: '.api_get_path(WEB_PLUGIN_PATH).'buycourses/src/course_catalog.php');
170 170
     exit;
171 171
 }
172 172
 
Please login to merge, or discard this patch.