Passed
Push — 1.10.x ( aae6b1...e5a590 )
by Yannick
131:05 queued 81:36
created
main/inc/lib/phpseclib/Math/BigInteger.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1662,8 +1662,8 @@  discard block
 block discarded – undo
1662 1662
             );
1663 1663
 
1664 1664
             $RSAPublicKey = "-----BEGIN PUBLIC KEY-----\r\n" .
1665
-                             chunk_split(base64_encode($encapsulated)) .
1666
-                             '-----END PUBLIC KEY-----';
1665
+                                chunk_split(base64_encode($encapsulated)) .
1666
+                                '-----END PUBLIC KEY-----';
1667 1667
 
1668 1668
             $plaintext = str_pad($this->toBytes(), strlen($n->toBytes(true)) - 1, "\0", STR_PAD_LEFT);
1669 1669
 
@@ -3245,7 +3245,7 @@  discard block
 block discarded – undo
3245 3245
 
3246 3246
         if (!$t) {
3247 3247
             // see HAC 4.49 "Note (controlling the error probability)"
3248
-                 if ($length >= 163) { $t =  2; } // floor(1300 / 8)
3248
+                    if ($length >= 163) { $t =  2; } // floor(1300 / 8)
3249 3249
             else if ($length >= 106) { $t =  3; } // floor( 850 / 8)
3250 3250
             else if ($length >= 81 ) { $t =  4; } // floor( 650 / 8)
3251 3251
             else if ($length >= 68 ) { $t =  5; } // floor( 550 / 8)
Please login to merge, or discard this patch.
main/inc/lib/phpseclib/Net/SSH2.php 1 patch
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -822,7 +822,7 @@  discard block
 block discarded – undo
822 822
             array(60 => 'NET_SSH2_MSG_USERAUTH_PASSWD_CHANGEREQ'),
823 823
             array(60 => 'NET_SSH2_MSG_USERAUTH_PK_OK'),
824 824
             array(60 => 'NET_SSH2_MSG_USERAUTH_INFO_REQUEST',
825
-                  61 => 'NET_SSH2_MSG_USERAUTH_INFO_RESPONSE')
825
+                    61 => 'NET_SSH2_MSG_USERAUTH_INFO_RESPONSE')
826 826
         );
827 827
 
828 828
         $start = strtok(microtime(), ' ') + strtok(''); // http://php.net/microtime#61838
@@ -970,7 +970,7 @@  discard block
 block discarded – undo
970 970
             'twofish192-cbc', // OPTIONAL          Twofish with a 192-bit key
971 971
             'twofish256-cbc',
972 972
             'twofish-cbc',    // OPTIONAL          alias for "twofish256-cbc"
973
-                              //                   (this is being retained for historical reasons)
973
+                                //                   (this is being retained for historical reasons)
974 974
             '3des-ctr',       // RECOMMENDED       Three-key 3DES in SDCTR mode
975 975
 
976 976
             '3des-cbc',       // REQUIRED          three-key 3DES in CBC mode
@@ -1000,8 +1000,8 @@  discard block
 block discarded – undo
1000 1000
         }
1001 1001
 
1002 1002
         static $str_kex_algorithms, $str_server_host_key_algorithms,
1003
-               $encryption_algorithms_server_to_client, $mac_algorithms_server_to_client, $compression_algorithms_server_to_client,
1004
-               $encryption_algorithms_client_to_server, $mac_algorithms_client_to_server, $compression_algorithms_client_to_server;
1003
+                $encryption_algorithms_server_to_client, $mac_algorithms_server_to_client, $compression_algorithms_server_to_client,
1004
+                $encryption_algorithms_client_to_server, $mac_algorithms_client_to_server, $compression_algorithms_client_to_server;
1005 1005
 
1006 1006
         if (empty($str_kex_algorithms)) {
1007 1007
             $str_kex_algorithms = implode(',', $kex_algorithms);
@@ -1171,20 +1171,20 @@  discard block
 block discarded – undo
1171 1171
             // http://tools.ietf.org/html/rfc2412, appendex E
1172 1172
             case 'diffie-hellman-group1-sha1':
1173 1173
                 $prime = 'FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74' . 
1174
-                         '020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F1437' . 
1175
-                         '4FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7ED' . 
1176
-                         'EE386BFB5A899FA5AE9F24117C4B1FE649286651ECE65381FFFFFFFFFFFFFFFF';
1174
+                            '020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F1437' . 
1175
+                            '4FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7ED' . 
1176
+                            'EE386BFB5A899FA5AE9F24117C4B1FE649286651ECE65381FFFFFFFFFFFFFFFF';
1177 1177
                 break;
1178 1178
             // see http://tools.ietf.org/html/rfc3526#section-3
1179 1179
             case 'diffie-hellman-group14-sha1':
1180 1180
                 $prime = 'FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74' . 
1181
-                         '020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F1437' . 
1182
-                         '4FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7ED' . 
1183
-                         'EE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF05' . 
1184
-                         '98DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB' . 
1185
-                         '9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3B' . 
1186
-                         'E39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF695581718' . 
1187
-                         '3995497CEA956AE515D2261898FA051015728E5A8AACAA68FFFFFFFFFFFFFFFF';
1181
+                            '020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F1437' . 
1182
+                            '4FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7ED' . 
1183
+                            'EE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF05' . 
1184
+                            '98DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB' . 
1185
+                            '9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3B' . 
1186
+                            'E39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF695581718' . 
1187
+                            '3995497CEA956AE515D2261898FA051015728E5A8AACAA68FFFFFFFFFFFFFFFF';
1188 1188
                 break;
1189 1189
         }
1190 1190
 
@@ -2413,7 +2413,7 @@  discard block
 block discarded – undo
2413 2413
             $current = strtok(microtime(), ' ') + strtok('');
2414 2414
             $message_number = isset($this->message_numbers[ord($payload[0])]) ? $this->message_numbers[ord($payload[0])] : 'UNKNOWN (' . ord($payload[0]) . ')';
2415 2415
             $message_number = '<- ' . $message_number .
2416
-                              ' (since last: ' . round($current - $this->last_packet, 4) . ', network: ' . round($stop - $start, 4) . 's)';
2416
+                                ' (since last: ' . round($current - $this->last_packet, 4) . ', network: ' . round($stop - $start, 4) . 's)';
2417 2417
             $this->_append_log($message_number, $payload);
2418 2418
             $this->last_packet = $current;
2419 2419
         }
@@ -2782,7 +2782,7 @@  discard block
 block discarded – undo
2782 2782
             $current = strtok(microtime(), ' ') + strtok('');
2783 2783
             $message_number = isset($this->message_numbers[ord($data[0])]) ? $this->message_numbers[ord($data[0])] : 'UNKNOWN (' . ord($data[0]) . ')';
2784 2784
             $message_number = '-> ' . $message_number .
2785
-                              ' (since last: ' . round($current - $this->last_packet, 4) . ', network: ' . round($stop - $start, 4) . 's)';
2785
+                                ' (since last: ' . round($current - $this->last_packet, 4) . ', network: ' . round($stop - $start, 4) . 's)';
2786 2786
             $this->_append_log($message_number, $data);
2787 2787
             $this->last_packet = $current;
2788 2788
         }
@@ -3024,12 +3024,12 @@  discard block
 block discarded – undo
3024 3024
                 }
3025 3025
                 $fragment = $this->_string_shift($current_log, $short_width);
3026 3026
                 $hex = substr(
3027
-                           preg_replace(
3028
-                               '#(.)#es',
3029
-                               '"' . $boundary . '" . str_pad(dechex(ord(substr("\\1", -1))), 2, "0", STR_PAD_LEFT)',
3030
-                               $fragment),
3031
-                           strlen($boundary)
3032
-                       );
3027
+                            preg_replace(
3028
+                                '#(.)#es',
3029
+                                '"' . $boundary . '" . str_pad(dechex(ord(substr("\\1", -1))), 2, "0", STR_PAD_LEFT)',
3030
+                                $fragment),
3031
+                            strlen($boundary)
3032
+                        );
3033 3033
                 // replace non ASCII printable characters with dots
3034 3034
                 // http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters
3035 3035
                 // also replace < with a . since < messes up the output on web browsers
Please login to merge, or discard this patch.
main/inc/lib/phpseclib/Net/SFTP.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -413,8 +413,8 @@  discard block
 block discarded – undo
413 413
         if ($response === false) {
414 414
             // from PuTTY's psftp.exe
415 415
             $command = "test -x /usr/lib/sftp-server && exec /usr/lib/sftp-server\n" .
416
-                       "test -x /usr/local/lib/sftp-server && exec /usr/local/lib/sftp-server\n" .
417
-                       "exec sftp-server";
416
+                        "test -x /usr/local/lib/sftp-server && exec /usr/local/lib/sftp-server\n" .
417
+                        "exec sftp-server";
418 418
             // we don't do $this->exec($command, false) because exec() operates on a different channel and plus the SSH_MSG_CHANNEL_OPEN that exec() does
419 419
             // is redundant
420 420
             $packet = pack('CNNa*CNa*',
@@ -2055,7 +2055,7 @@  discard block
 block discarded – undo
2055 2055
 
2056 2056
         if (defined('NET_SFTP_LOGGING')) {
2057 2057
             $packet_type = '-> ' . $this->packet_types[$type] . 
2058
-                           ' (' . round($stop - $start, 4) . 's)';
2058
+                            ' (' . round($stop - $start, 4) . 's)';
2059 2059
             if (NET_SFTP_LOGGING == NET_SFTP_LOG_REALTIME) {
2060 2060
                 echo "<pre>\r\n" . $this->_format_log(array($data), array($packet_type)) . "\r\n</pre>\r\n";
2061 2061
                 flush();
@@ -2131,7 +2131,7 @@  discard block
 block discarded – undo
2131 2131
 
2132 2132
         if (defined('NET_SFTP_LOGGING')) {
2133 2133
             $packet_type = '<- ' . $this->packet_types[$this->packet_type] . 
2134
-                           ' (' . round($stop - $start, 4) . 's)';
2134
+                            ' (' . round($stop - $start, 4) . 's)';
2135 2135
             if (NET_SFTP_LOGGING == NET_SFTP_LOG_REALTIME) {
2136 2136
                 echo "<pre>\r\n" . $this->_format_log(array($packet), array($packet_type)) . "\r\n</pre>\r\n";
2137 2137
                 flush();
Please login to merge, or discard this patch.
main/inc/lib/phpseclib/Net/SSH1.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1364,12 +1364,12 @@
 block discarded – undo
1364 1364
                 }
1365 1365
                 $fragment = $this->_string_shift($current_log, $short_width);
1366 1366
                 $hex = substr(
1367
-                           preg_replace(
1368
-                               '#(.)#es',
1369
-                               '"' . $boundary . '" . str_pad(dechex(ord(substr("\\1", -1))), 2, "0", STR_PAD_LEFT)',
1370
-                               $fragment),
1371
-                           strlen($boundary)
1372
-                       );
1367
+                            preg_replace(
1368
+                                '#(.)#es',
1369
+                                '"' . $boundary . '" . str_pad(dechex(ord(substr("\\1", -1))), 2, "0", STR_PAD_LEFT)',
1370
+                                $fragment),
1371
+                            strlen($boundary)
1372
+                        );
1373 1373
                 // replace non ASCII printable characters with dots
1374 1374
                 // http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters
1375 1375
                 // also replace < with a . since < messes up the output on web browsers
Please login to merge, or discard this patch.
main/inc/lib/phpseclib/Net/SCP.php 1 patch
Indentation   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@  discard block
 block discarded – undo
18 18
  *    if (!$ssh->login('username', 'password')) {
19 19
  *        exit('bad login');
20 20
  *    }
21
-
22 21
  *    $scp = new Net_SCP($ssh);
23 22
  *    $scp->put('abcd', str_repeat('x', 1024*1024));
24 23
  * ?>
@@ -284,7 +283,7 @@  discard block
 block discarded – undo
284 283
             case NET_SCP_SSH1:
285 284
                 $data = pack('CNa*', NET_SSH1_CMSG_STDIN_DATA, strlen($data), $data);
286 285
                 $this->ssh->_send_binary_packet($data);
287
-         }
286
+            }
288 287
     }
289 288
 
290 289
     /**
@@ -320,7 +319,7 @@  discard block
 block discarded – undo
320 319
                             return false;
321 320
                     }
322 321
                 }
323
-         }
322
+            }
324 323
     }
325 324
 
326 325
     /**
@@ -336,6 +335,6 @@  discard block
 block discarded – undo
336 335
                 break;
337 336
             case NET_SCP_SSH1:
338 337
                 $this->ssh->disconnect();
339
-         }
338
+            }
340 339
     }
341 340
 }
Please login to merge, or discard this patch.
main/inc/lib/sortable_table.class.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -339,9 +339,9 @@  discard block
 block discarded – undo
339 339
     }
340 340
 
341 341
     /**
342
-    * This function shows the content of a table in a grid.
343
-    * Should not be use to edit information (edit/delete rows) only.
344
-    **/
342
+     * This function shows the content of a table in a grid.
343
+     * Should not be use to edit information (edit/delete rows) only.
344
+     **/
345 345
     public function display_grid()
346 346
     {
347 347
 
@@ -790,7 +790,7 @@  discard block
 block discarded – undo
790 790
                 //$param[$tablename.'_direction'] = $_GET[$tablename.'_direction'];
791 791
                 $my_get_direction = $_GET[$tablename.'_direction'];
792 792
                 if (!in_array($my_get_direction, array('ASC', 'DESC'))) {
793
-                     $param[$tablename.'_direction'] =  'ASC';
793
+                        $param[$tablename.'_direction'] =  'ASC';
794 794
                 } else {
795 795
                     $param[$tablename.'_direction'] = $my_get_direction;
796 796
                 }
@@ -917,7 +917,7 @@  discard block
 block discarded – undo
917 917
         if (is_array($row)) {
918 918
             foreach ($row as & $value) {
919 919
                 if (empty($value)) {
920
-                     $value = '-';
920
+                        $value = '-';
921 921
                 }
922 922
             }
923 923
         }
Please login to merge, or discard this patch.
main/inc/lib/grade_model.lib.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -50,15 +50,15 @@  discard block
 block discarded – undo
50 50
     /**
51 51
      * Displays the title + grid
52 52
      */
53
-	public function display()
53
+    public function display()
54 54
     {
55
-		// action links
56
-		echo '<div class="actions" style="margin-bottom:20px">';
55
+        // action links
56
+        echo '<div class="actions" style="margin-bottom:20px">';
57 57
         echo '<a href="grade_models.php">'.Display::return_icon('back.png',get_lang('Back'),'','32').'</a>';
58
-		echo '<a href="'.api_get_self().'?action=add">'.Display::return_icon('add.png',get_lang('Add'),'','32').'</a>';
59
-		echo '</div>';
58
+        echo '<a href="'.api_get_self().'?action=add">'.Display::return_icon('add.png',get_lang('Add'),'','32').'</a>';
59
+        echo '</div>';
60 60
         echo Display::grid_html('grade_model');
61
-	}
61
+    }
62 62
 
63 63
     /**
64 64
      * Returns a Form validator Obj
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
         }
116 116
 
117 117
         $form->addElement('hidden', 'maxvalue', '100');
118
-		$form->addElement('hidden', 'minvalue', '0');
118
+        $form->addElement('hidden', 'minvalue', '0');
119 119
         $renderer = & $form->defaultRenderer();
120 120
 
121 121
         $component_array = array();
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
             $form->addElement('text', 'components['.$i.'][title]',      null);
128 128
             $form->addElement('hidden', 'components['.$i.'][id]',       null);
129 129
 
130
-             $template_percentage =
130
+                $template_percentage =
131 131
             '<div id=' . $i . ' style="display: '.(($i<=$nr_items)?'inline':'none').';" class="control-group">
132 132
                 <p>
133 133
                 <label class="control-label">{label}</label>
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
         // Setting the rules
193 193
         $form->addRule('name', get_lang('ThisFieldIsRequired'), 'required');
194 194
 
195
-		return $form;
195
+        return $form;
196 196
     }
197 197
 
198 198
     public function get_components($id)
@@ -206,8 +206,8 @@  discard block
 block discarded – undo
206 206
 
207 207
     public function save($params, $show_query = false)
208 208
     {
209
-	    $id = parent::save($params, $show_query);
210
-	    if (!empty($id)) {
209
+        $id = parent::save($params, $show_query);
210
+        if (!empty($id)) {
211 211
             foreach ($params['components'] as $component) {
212 212
                 if (!empty($component['title']) && !empty($component['percentage']) && !empty($component['acronym'])) {
213 213
                     $obj = new GradeModelComponents();
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
         }
219 219
 
220 220
         //event_system(LOG_CAREER_CREATE, LOG_CAREER_ID, $id, api_get_utc_datetime(), api_get_user_id());
221
-   		return $id;
221
+            return $id;
222 222
     }
223 223
 
224 224
     /**
@@ -244,8 +244,8 @@  discard block
 block discarded – undo
244 244
 
245 245
     public function delete($id)
246 246
     {
247
-	    parent::delete($id);
248
-	    //event_system(LOG_CAREER_DELETE, LOG_CAREER_ID, $id, api_get_utc_datetime(), api_get_user_id());
247
+        parent::delete($id);
248
+        //event_system(LOG_CAREER_DELETE, LOG_CAREER_ID, $id, api_get_utc_datetime(), api_get_user_id());
249 249
     }
250 250
 
251 251
     public function fill_grade_model_select_in_form(&$form, $name = 'gradebook_model_id', $default_value = null)
@@ -290,14 +290,14 @@  discard block
 block discarded – undo
290 290
     public $table;
291 291
     public $columns = array('id', 'title', 'percentage', 'acronym', 'grade_model_id');
292 292
 
293
-	public function __construct()
293
+    public function __construct()
294 294
     {
295 295
         $this->table =  Database::get_main_table(TABLE_GRADE_MODEL_COMPONENTS);
296
-	}
296
+    }
297 297
 
298 298
     public function save($params, $show_query = false)
299 299
     {
300
-	    $id = parent::save($params, $show_query);
300
+        $id = parent::save($params, $show_query);
301 301
         return $id;
302 302
     }
303 303
 }
Please login to merge, or discard this patch.
main/inc/lib/access_url_edit_sessions_to_url_functions.lib.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -1,23 +1,23 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /* For licensing terms, see /license.txt */
3 3
 /**
4
- * Definition of the Accessurleditsessiontourl class
5
- * @package chamilo.library
6
- */
4
+     * Definition of the Accessurleditsessiontourl class
5
+     * @package chamilo.library
6
+     */
7 7
 /**
8
- * Init
9
- */
8
+     * Init
9
+     */
10 10
 require_once ('xajax/xajax.inc.php');
11 11
 /**
12
- * Accessurleditsessiontourl class
13
- * Contains several functions dealing with displaying,
14
- * editing,... of a Access_url_edit_session_to_url_functions
15
- *
16
- * @version 1.0
17
- * @author Toon Keppens <[email protected]>
18
- * @author Julio Montoya - Cleaning code
19
- * @author Ricardo Rodriguez - Separated the function and code
20
- */
12
+     * Accessurleditsessiontourl class
13
+     * Contains several functions dealing with displaying,
14
+     * editing,... of a Access_url_edit_session_to_url_functions
15
+     *
16
+     * @version 1.0
17
+     * @author Toon Keppens <[email protected]>
18
+     * @author Julio Montoya - Cleaning code
19
+     * @author Ricardo Rodriguez - Separated the function and code
20
+     */
21 21
 class Accessurleditsessionstourl
22 22
 {
23 23
     /**
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
             while ($session = Database :: fetch_array($rs)) {
49 49
                 $i++;
50 50
                 if ($i<=10) {
51
-                     $return .= '<a href="#" onclick="add_user_to_url(\''.addslashes($session['id']).'\',\''.addslashes($session['name']).' ('.addslashes($session['id']).')'.'\')">'.$session['name'].' </a><br />';
51
+                        $return .= '<a href="#" onclick="add_user_to_url(\''.addslashes($session['id']).'\',\''.addslashes($session['name']).' ('.addslashes($session['id']).')'.'\')">'.$session['name'].' </a><br />';
52 52
                 } else {
53 53
                     $return .= '...<br />';
54 54
                 }
Please login to merge, or discard this patch.
main/inc/lib/api.lib.php 1 patch
Indentation   +13 added lines, -15 removed lines patch added patch discarded remove patch
@@ -610,7 +610,6 @@  discard block
 block discarded – undo
610 610
  * The other configuration parameters have not been changed.
611 611
  *
612 612
  * This is how we can get most used paths, for common purpose:
613
-
614 613
  * api_get_path(REL_PATH)                       /chamilo/
615 614
  * api_get_path(REL_COURSE_PATH)                /chamilo/courses/
616 615
  * api_get_path(REL_CODE_PATH)                  /chamilo/main/
@@ -1789,7 +1788,6 @@  discard block
 block discarded – undo
1789 1788
 
1790 1789
 /**
1791 1790
  * Returns the current course info array.
1792
-
1793 1791
  * Now if the course_code is given, the returned array gives info about that
1794 1792
  * particular course, not specially the current one.
1795 1793
  * @param int $id Numeric ID of the course
@@ -2723,7 +2721,7 @@  discard block
 block discarded – undo
2723 2721
         switch ($session_user_status) {
2724 2722
             case 0:
2725 2723
                 $session_status['status'] = 'student';
2726
-               break;
2724
+                break;
2727 2725
             case 2:
2728 2726
                 $session_status['status'] = 'coach';
2729 2727
             break;
@@ -6475,7 +6473,7 @@  discard block
 block discarded – undo
6475 6473
 function api_get_jquery_ui_js($include_jqgrid = false) {
6476 6474
     $libraries = array();
6477 6475
     if ($include_jqgrid) {
6478
-       $libraries[]='jqgrid';
6476
+        $libraries[]='jqgrid';
6479 6477
     }
6480 6478
     return api_get_jquery_libraries_js($libraries);
6481 6479
 }
@@ -6683,10 +6681,10 @@  discard block
 block discarded – undo
6683 6681
     }
6684 6682
 }
6685 6683
 /**
6686
- * Checks the PHP version installed is enough to run Chamilo
6687
- * @param string Include path (used to load the error page)
6688
- * @return void
6689
- */
6684
+     * Checks the PHP version installed is enough to run Chamilo
6685
+     * @param string Include path (used to load the error page)
6686
+     * @return void
6687
+     */
6690 6688
 function api_check_php_version($my_inc_path = null) {
6691 6689
     if (!function_exists('version_compare') || version_compare( phpversion(), REQUIRED_PHP_VERSION, '<')) {
6692 6690
         $global_error_code = 1;
@@ -6699,9 +6697,9 @@  discard block
 block discarded – undo
6699 6697
     }
6700 6698
 }
6701 6699
 /**
6702
- * Checks whether the Archive directory is present and writeable. If not,
6703
- * prints a warning message.
6704
- */
6700
+     * Checks whether the Archive directory is present and writeable. If not,
6701
+     * prints a warning message.
6702
+     */
6705 6703
 function api_check_archive_dir() {
6706 6704
     if (is_dir(api_get_path(SYS_ARCHIVE_PATH)) && !is_writable(api_get_path(SYS_ARCHIVE_PATH))) {
6707 6705
         $message = Display::return_message(get_lang('ArchivesDirectoryNotWriteableContactAdmin'),'warning');
@@ -6709,10 +6707,10 @@  discard block
 block discarded – undo
6709 6707
     }
6710 6708
 }
6711 6709
 /**
6712
- * Returns an array of global configuration settings which should be ignored
6713
- * when printing the configuration settings screens
6714
- * @return array Array of strings, each identifying one of the excluded settings
6715
- */
6710
+     * Returns an array of global configuration settings which should be ignored
6711
+     * when printing the configuration settings screens
6712
+     * @return array Array of strings, each identifying one of the excluded settings
6713
+     */
6716 6714
 function api_get_locked_settings() {
6717 6715
     return array(
6718 6716
         'server_type',
Please login to merge, or discard this patch.