Completed
Push — master ( 565c08...93d030 )
by José
125:33 queued 71:22
created
main/inc/lib/TicketManager.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1464,7 +1464,7 @@  discard block
 block discarded – undo
1464 1464
         ];
1465 1465
         Database::update($table, $newParams, ['id = ? ' => $ticketId]);
1466 1466
 
1467
-         self::sendNotification(
1467
+            self::sendNotification(
1468 1468
             $ticketId,
1469 1469
             $userId,
1470 1470
             get_lang('TicketUpdated'),
@@ -1926,9 +1926,9 @@  discard block
 block discarded – undo
1926 1926
         return 0;
1927 1927
     }
1928 1928
 
1929
-     /**
1930
-     * @return array
1931
-     */
1929
+        /**
1930
+         * @return array
1931
+         */
1932 1932
     public static function getPriorityList()
1933 1933
     {
1934 1934
         $projects = Database::getManager()->getRepository('ChamiloTicketBundle:Priority')->findAll();
@@ -2343,8 +2343,8 @@  discard block
 block discarded – undo
2343 2343
     }
2344 2344
 
2345 2345
         /**
2346
-     * @return array
2347
-     */
2346
+         * @return array
2347
+         */
2348 2348
     public static function getDefaultPriorityList() {
2349 2349
         return [
2350 2350
             self::PRIORITY_NORMAL,
Please login to merge, or discard this patch.
main/notebook/index.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -38,12 +38,12 @@  discard block
 block discarded – undo
38 38
 
39 39
 // Tool name
40 40
 if ($action === 'addnote') {
41
-	$tool = 'NoteAddNew';
42
-	$interbreadcrumb[] = array('url' => 'index.php?'.api_get_cidreq(), 'name' => get_lang('ToolNotebook'));
41
+    $tool = 'NoteAddNew';
42
+    $interbreadcrumb[] = array('url' => 'index.php?'.api_get_cidreq(), 'name' => get_lang('ToolNotebook'));
43 43
 }
44 44
 if ($action === 'editnote') {
45
-	$tool = 'ModifyNote';
46
-	$interbreadcrumb[] = array('url' => 'index.php?'.api_get_cidreq(), 'name' => get_lang('ToolNotebook'));
45
+    $tool = 'ModifyNote';
46
+    $interbreadcrumb[] = array('url' => 'index.php?'.api_get_cidreq(), 'name' => get_lang('ToolNotebook'));
47 47
 }
48 48
 
49 49
 // Displaying the header
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         exit;
64 64
     }
65 65
 
66
-	$_SESSION['notebook_view'] = 'creation_date';
66
+    $_SESSION['notebook_view'] = 'creation_date';
67 67
 
68 68
     $form = new FormValidator(
69 69
         'note',
Please login to merge, or discard this patch.
main/inc/lib/banner.lib.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -55,22 +55,22 @@  discard block
 block discarded – undo
55 55
     $navigation['myprofile']['title'] = get_lang('ModifyProfile');
56 56
     $navigation['myprofile']['key'] = 'profile';
57 57
     $navigation['myprofile']['icon'] = 'profile.png';
58
-	// Link to my agenda
58
+    // Link to my agenda
59 59
     $navigation['myagenda']['url'] = api_get_path(WEB_CODE_PATH).'calendar/agenda_js.php?type=personal';
60 60
     $navigation['myagenda']['title'] = get_lang('MyAgenda');
61 61
     $navigation['myagenda']['key'] = 'agenda';
62 62
     $navigation['myagenda']['icon'] = 'agenda.png';
63 63
 
64
-	// Gradebook
65
-	if (api_get_setting('gradebook_enable') == 'true') {
64
+    // Gradebook
65
+    if (api_get_setting('gradebook_enable') == 'true') {
66 66
         $navigation['mygradebook']['url'] = api_get_path(WEB_CODE_PATH).'gradebook/gradebook.php'.(!empty($_course['path']) ? '?coursePath='.$_course['path'].'&courseCode='.$_course['official_code'] : '' );
67 67
         $navigation['mygradebook']['title'] = get_lang('MyGradebook');
68 68
         $navigation['mygradebook']['key'] = 'gradebook';
69 69
         $navigation['mygradebook']['icon'] = 'gradebook.png';
70
-	}
70
+    }
71 71
 
72
-	// Reporting
73
-	if (api_is_allowed_to_create_course() || api_is_drh() || api_is_session_admin()) {
72
+    // Reporting
73
+    if (api_is_allowed_to_create_course() || api_is_drh() || api_is_session_admin()) {
74 74
         // Link to my space
75 75
         $navigation['session_my_space']['url'] = api_get_path(WEB_CODE_PATH).'mySpace/'.(api_is_drh()?'session.php':'');
76 76
         $navigation['session_my_space']['title'] = get_lang('MySpace');
@@ -97,23 +97,23 @@  discard block
 block discarded – undo
97 97
         $navigation['session_my_progress']['icon'] = 'my-progress.png';
98 98
     }
99 99
 
100
-	// Social
101
-	if (api_get_setting('allow_social_tool')=='true') {
100
+    // Social
101
+    if (api_get_setting('allow_social_tool')=='true') {
102 102
         $navigation['social']['url'] = api_get_path(WEB_CODE_PATH).'social/home.php';
103 103
         $navigation['social']['title'] = get_lang('SocialNetwork');
104 104
         $navigation['social']['key'] = 'social-network';
105 105
         $navigation['social']['icon'] = 'social-network.png';
106
-	}
106
+    }
107 107
 
108
-	// Dashboard
109
-	if (api_is_platform_admin() || api_is_drh() || api_is_session_admin()) {
108
+    // Dashboard
109
+    if (api_is_platform_admin() || api_is_drh() || api_is_session_admin()) {
110 110
         $navigation['dashboard']['url'] = api_get_path(WEB_CODE_PATH).'dashboard/index.php';
111 111
         $navigation['dashboard']['title'] = get_lang('Dashboard');
112 112
         $navigation['dashboard']['key'] = 'dashboard';
113 113
         $navigation['dashboard']['icon'] = 'dashboard.png';
114
-	}
114
+    }
115 115
 
116
-	// Reports
116
+    // Reports
117 117
     /*
118 118
 	if (api_is_platform_admin() || api_is_drh() || api_is_session_admin()) {
119 119
         $navigation['reports']['url'] = api_get_path(WEB_CODE_PATH).'reports/index.php';
@@ -136,15 +136,15 @@  discard block
 block discarded – undo
136 136
     }
137 137
     // End Custom Tabs
138 138
 
139
-	// Platform administration
140
-	if (api_is_platform_admin(true)) {
139
+    // Platform administration
140
+    if (api_is_platform_admin(true)) {
141 141
         $navigation['platform_admin']['url'] = api_get_path(WEB_CODE_PATH).'admin/';
142 142
         $navigation['platform_admin']['title'] = get_lang('PlatformAdmin');
143 143
         $navigation['platform_admin']['key'] = 'admin';
144 144
         $navigation['platform_admin']['icon'] = 'admin.png';
145
-	}
145
+    }
146 146
 
147
-	return $navigation;
147
+    return $navigation;
148 148
 }
149 149
 
150 150
 /**
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
         if ($number &&
214 214
             (api_get_setting('showonline', 'world') == 'true' && !$user_id) ||
215 215
                 (api_get_setting('showonline', 'users') == 'true' && $user_id)
216
-           )
216
+            )
217 217
         {
218 218
                 $html .= '<li><a href="'.api_get_path(WEB_PATH).'whoisonline.php" target="_self" title="'.get_lang('UsersOnline').'" >'.
219 219
                             Display::return_icon('user.png', get_lang('UsersOnline'), array(), ICON_SIZE_TINY).' '.$number.'</a></li>';
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
             }
335 335
         }
336 336
 
337
-		// Reports
337
+        // Reports
338 338
         if (!empty($possible_tabs['reports'])) {
339 339
             if (api_get_setting('show_tabs', 'reports') == 'true') {
340 340
                 if ((api_is_platform_admin() || api_is_drh() || api_is_session_admin()) && Rights::hasRight('show_tabs:reports')) {
@@ -576,7 +576,7 @@  discard block
 block discarded – undo
576 576
         $navigation_item_my_courses['title'] = get_lang('MyCourses');
577 577
         $navigation_item_my_courses['url'] = api_get_path(WEB_PATH).'user_portal.php';
578 578
         $navigation[] = $navigation_item_my_courses;
579
-        */
579
+         */
580 580
         $navigation[] = $navigation_item;
581 581
     }
582 582
 
Please login to merge, or discard this patch.
main/inc/lib/extra_field.lib.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
         'changeable',
21 21
         'filter',
22 22
         'extra_field_type',
23
-         /* Enable this when field_loggeable is introduced as a table field (2.0)
23
+            /* Enable this when field_loggeable is introduced as a table field (2.0)
24 24
         'field_loggeable',
25 25
          */
26 26
         'created_at'
@@ -2041,7 +2041,7 @@  discard block
 block discarded – undo
2041 2041
                 'align' => 'left',
2042 2042
                 'sortable' => 'true',
2043 2043
             ),
2044
-             array(
2044
+                array(
2045 2045
                 'name' => 'visible_to_others',
2046 2046
                 'index' => 'visible_to_others',
2047 2047
                 'width' => '40',
Please login to merge, or discard this patch.
main/lp/learnpath.class.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6038,8 +6038,8 @@  discard block
 block discarded – undo
6038 6038
             $course_id = api_get_course_int_id();
6039 6039
         }
6040 6040
 
6041
-       $creatorId = empty($creatorId) ? api_get_user_id() : $creatorId;
6042
-       $sessionId = api_get_session_id();
6041
+        $creatorId = empty($creatorId) ? api_get_user_id() : $creatorId;
6042
+        $sessionId = api_get_session_id();
6043 6043
 
6044 6044
         // Generates folder
6045 6045
         $result = $this->generate_lp_folder($courseInfo);
@@ -11114,7 +11114,7 @@  discard block
 block discarded – undo
11114 11114
         $lpItemId = [];
11115 11115
         $typeListNotToVerify = self::getChapterTypes();
11116 11116
 
11117
-	    // Using get_toc() function instead $this->items because returns the correct order of the items
11117
+        // Using get_toc() function instead $this->items because returns the correct order of the items
11118 11118
         foreach ($this->get_toc() as $item) {
11119 11119
             if (!in_array($item['type'], $typeListNotToVerify)) {
11120 11120
                 $lpItemId[] = $item['id'];
Please login to merge, or discard this patch.
main/inc/lib/legal.lib.php 1 patch
Indentation   +88 added lines, -88 removed lines patch added patch discarded remove patch
@@ -15,15 +15,15 @@  discard block
 block discarded – undo
15 15
     {
16 16
     }
17 17
 
18
-	/**
19
-	 * Add a new Term and Condition
20
-	 * @param int $language language id
21
-	 * @param string $content content
22
-	 * @param int $type term and condition type (0 or 1)
23
-	 * @param string $changes explain changes
24
-	 * @return boolean success
25
-	 */
26
-	public static function add($language, $content, $type, $changes)
18
+    /**
19
+     * Add a new Term and Condition
20
+     * @param int $language language id
21
+     * @param string $content content
22
+     * @param int $type term and condition type (0 or 1)
23
+     * @param string $changes explain changes
24
+     * @return boolean success
25
+     */
26
+    public static function add($language, $content, $type, $changes)
27 27
     {
28 28
         $legal_table = Database::get_main_table(TABLE_MAIN_LEGAL);
29 29
         $last = self::get_last_condition($language);
@@ -93,27 +93,27 @@  discard block
 block discarded – undo
93 93
         }
94 94
     }
95 95
 
96
-	/**
97
-	 * Gets the data of a Term and condition by language
98
-	 * @param int $language language id
99
-	 * @return array all the info of a Term and condition
100
-	 */
101
-	public static function get_last_condition($language)
96
+    /**
97
+     * Gets the data of a Term and condition by language
98
+     * @param int $language language id
99
+     * @return array all the info of a Term and condition
100
+     */
101
+    public static function get_last_condition($language)
102 102
     {
103
-		$legal_conditions_table = Database::get_main_table(TABLE_MAIN_LEGAL);
104
-		$language= Database::escape_string($language);
105
-		$sql = "SELECT * FROM $legal_conditions_table
103
+        $legal_conditions_table = Database::get_main_table(TABLE_MAIN_LEGAL);
104
+        $language= Database::escape_string($language);
105
+        $sql = "SELECT * FROM $legal_conditions_table
106 106
                 WHERE language_id = '".$language."'
107 107
                 ORDER BY version DESC
108 108
                 LIMIT 1 ";
109
-		$result = Database::query($sql);
110
-		$result = Database::fetch_array($result, 'ASSOC');
109
+        $result = Database::query($sql);
110
+        $result = Database::fetch_array($result, 'ASSOC');
111 111
 
112 112
         if (isset($result['content'])) {
113 113
             $result['content'] = self::replaceTags($result['content']);
114 114
         }
115 115
         return $result;
116
-	}
116
+    }
117 117
 
118 118
     /**
119 119
      * @param string $content
@@ -137,12 +137,12 @@  discard block
 block discarded – undo
137 137
         return $content;
138 138
     }
139 139
 
140
-	/**
141
-	 * Gets the last version of a Term and condition by language
142
-	 * @param int $language language id
143
-	 * @return boolean | int the version or false if does not exist
144
-	 */
145
-	public static function get_last_version($language)
140
+    /**
141
+     * Gets the last version of a Term and condition by language
142
+     * @param int $language language id
143
+     * @return boolean | int the version or false if does not exist
144
+     */
145
+    public static function get_last_version($language)
146 146
     {
147 147
         $legal_conditions_table = Database::get_main_table(TABLE_MAIN_LEGAL);
148 148
         $language = intval($language);
@@ -160,15 +160,15 @@  discard block
 block discarded – undo
160 160
 
161 161
             return false;
162 162
         }
163
-	}
163
+    }
164 164
 
165
-	/**
166
-	 * Show the last condition
167
-	 * @param array $term_preview with type and content i.e array('type'=>'1', 'content'=>'hola');
165
+    /**
166
+     * Show the last condition
167
+     * @param array $term_preview with type and content i.e array('type'=>'1', 'content'=>'hola');
168 168
      *
169
-	 * @return string html preview
170
-	 */
171
-	public static function show_last_condition($term_preview)
169
+     * @return string html preview
170
+     */
171
+    public static function show_last_condition($term_preview)
172 172
     {
173 173
         $preview = '';
174 174
         switch ($term_preview['type']) {
@@ -199,34 +199,34 @@  discard block
 block discarded – undo
199 199
                 break;
200 200
         }
201 201
 
202
-		return $preview;
203
-	}
202
+        return $preview;
203
+    }
204 204
 
205
-	/**
206
-	 * Get the terms and condition table (only for maintenance)
207
-	 * @param int $from
208
-	 * @param int $number_of_items
209
-	 * @param int $column
210
-	 * @return array
211
-	 */
212
-	public static function get_legal_data($from, $number_of_items, $column)
205
+    /**
206
+     * Get the terms and condition table (only for maintenance)
207
+     * @param int $from
208
+     * @param int $number_of_items
209
+     * @param int $column
210
+     * @return array
211
+     */
212
+    public static function get_legal_data($from, $number_of_items, $column)
213 213
     {
214
-		$legal_conditions_table = Database::get_main_table(TABLE_MAIN_LEGAL);
215
-		$lang_table = Database::get_main_table(TABLE_MAIN_LANGUAGE);
216
-		$from = intval($from);
217
-		$number_of_items = intval($number_of_items);
218
-		$column = intval($column);
214
+        $legal_conditions_table = Database::get_main_table(TABLE_MAIN_LEGAL);
215
+        $lang_table = Database::get_main_table(TABLE_MAIN_LANGUAGE);
216
+        $from = intval($from);
217
+        $number_of_items = intval($number_of_items);
218
+        $column = intval($column);
219 219
 
220
- 		$sql  = "SELECT version, original_name as language, content, changes, type, FROM_UNIXTIME(date)
220
+            $sql  = "SELECT version, original_name as language, content, changes, type, FROM_UNIXTIME(date)
221 221
 				FROM $legal_conditions_table inner join $lang_table l on(language_id = l.id) ";
222
-		$sql .= "ORDER BY language, version ASC ";
223
-		$sql .= "LIMIT $from, $number_of_items ";
222
+        $sql .= "ORDER BY language, version ASC ";
223
+        $sql .= "LIMIT $from, $number_of_items ";
224 224
 
225
-		$result = Database::query($sql);
226
-		$legals = array();
227
-		while ($legal = Database::fetch_array($result)) {
228
-			// max 2000 chars
229
-			$languages[] = $legal[1];
225
+        $result = Database::query($sql);
226
+        $legals = array();
227
+        while ($legal = Database::fetch_array($result)) {
228
+            // max 2000 chars
229
+            $languages[] = $legal[1];
230 230
             if (strlen($legal[2]) > 2000) {
231 231
                 $legal[2] = substr($legal[2], 0, 2000).' ... ';
232 232
             }
@@ -235,51 +235,51 @@  discard block
 block discarded – undo
235 235
             } elseif ($legal[4] == 1) {
236 236
                 $legal[4] = get_lang('PageLink');
237 237
             }
238
-			$legals[] = $legal;
239
-		}
238
+            $legals[] = $legal;
239
+        }
240 240
 
241
-		return $legals;
242
-	}
241
+        return $legals;
242
+    }
243 243
 
244
-	/**
245
-	 * Gets the number of terms and conditions available
246
-	 * @return int
247
-	 */
248
-	public static function count()
244
+    /**
245
+     * Gets the number of terms and conditions available
246
+     * @return int
247
+     */
248
+    public static function count()
249 249
     {
250
-		$legal_conditions_table = Database::get_main_table(TABLE_MAIN_LEGAL);
251
-		$sql = "SELECT count(*) as count_result
250
+        $legal_conditions_table = Database::get_main_table(TABLE_MAIN_LEGAL);
251
+        $sql = "SELECT count(*) as count_result
252 252
 		        FROM $legal_conditions_table
253 253
 		        ORDER BY id DESC ";
254
-		$result = Database::query($sql);
255
-		$url = Database::fetch_array($result,'ASSOC');
256
-		$result = $url['count_result'];
254
+        $result = Database::query($sql);
255
+        $url = Database::fetch_array($result,'ASSOC');
256
+        $result = $url['count_result'];
257 257
 
258
-		return $result;
259
-	}
258
+        return $result;
259
+    }
260 260
 
261
-	/**
262
-	 * Get type of terms and conditions
263
-	 * @param int $legal_id
264
-	 * @param int $language_id
265
-	 * @return int The current type of terms and conditions
266
-	 */
267
-	public static function get_type_of_terms_and_conditions($legal_id, $language_id)
261
+    /**
262
+     * Get type of terms and conditions
263
+     * @param int $legal_id
264
+     * @param int $language_id
265
+     * @return int The current type of terms and conditions
266
+     */
267
+    public static function get_type_of_terms_and_conditions($legal_id, $language_id)
268 268
     {
269
-		$legal_conditions_table = Database::get_main_table(TABLE_MAIN_LEGAL);
270
-		$legal_id = intval($legal_id);
271
-		$language_id = intval($language_id);
272
-		$sql = 'SELECT type FROM '.$legal_conditions_table.'
269
+        $legal_conditions_table = Database::get_main_table(TABLE_MAIN_LEGAL);
270
+        $legal_id = intval($legal_id);
271
+        $language_id = intval($language_id);
272
+        $sql = 'SELECT type FROM '.$legal_conditions_table.'
273 273
 		        WHERE id =  "'.$legal_id.'" AND language_id="'.$language_id.'"';
274
-		$rs = Database::query($sql);
274
+        $rs = Database::query($sql);
275 275
 
276
-		return Database::result($rs,0,'type');
277
-	}
276
+        return Database::result($rs,0,'type');
277
+    }
278 278
 
279 279
     /**
280 280
      * @param int $userId
281 281
      */
282
-	public static function sendLegal($userId)
282
+    public static function sendLegal($userId)
283 283
     {
284 284
         $subject = get_lang('SendTermsSubject');
285 285
         $content = sprintf(
Please login to merge, or discard this patch.
main/course_info/download.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -11,11 +11,11 @@  discard block
 block discarded – undo
11 11
 $this_section = SECTION_COURSES;
12 12
 
13 13
 if (isset($_GET['session']) && $_GET['session']) {
14
-	$archive_path = api_get_path(SYS_ARCHIVE_PATH).'temp/';
15
-	$_cid = true;
16
-	$is_courseAdmin = true;
14
+    $archive_path = api_get_path(SYS_ARCHIVE_PATH).'temp/';
15
+    $_cid = true;
16
+    $is_courseAdmin = true;
17 17
 } else {
18
-	$archive_path = CourseArchiver::getBackupDir();
18
+    $archive_path = CourseArchiver::getBackupDir();
19 19
 }
20 20
 
21 21
 $archive_file = isset($_GET['archive']) ? $_GET['archive'] : null;
@@ -31,9 +31,9 @@  discard block
 block discarded – undo
31 31
 $content_type = '';
32 32
 
33 33
 if (in_array($extension, array('xml', 'csv')) && (api_is_platform_admin(true) || api_is_drh())) {
34
-	$content_type = 'application/force-download';
34
+    $content_type = 'application/force-download';
35 35
 } elseif ($extension === 'zip' && $_cid && (api_is_platform_admin(true) || $is_courseAdmin)) {
36
-	$content_type = 'application/force-download';
36
+    $content_type = 'application/force-download';
37 37
 }
38 38
 
39 39
 if (empty($content_type)) {
Please login to merge, or discard this patch.
main/admin/special_exports.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 if ((isset($_POST['action']) && $_POST['action'] == 'course_select_form') ||
46 46
     (isset ($_POST['backup_option']) && $_POST['backup_option'] == 'full_backup')
47 47
 ) {
48
-	$export = false;
48
+    $export = false;
49 49
     if (isset ($_POST['action']) && $_POST['action'] == 'course_select_form') {
50 50
         $FileZip = create_zip();
51 51
         $to_group_id = 0;
@@ -288,9 +288,9 @@  discard block
 block discarded – undo
288 288
                 $query_session_doc = Database::query($sql_session_doc);
289 289
                 while ($rows_course_session_file = Database::fetch_assoc($query_session_doc)) {
290 290
                     $zip_folder->add($FileZip['PATH_COURSE'].$_course['directory'].'/document'.$rows_course_session_file['path'],
291
-                         PCLZIP_OPT_ADD_PATH, $_course['directory']."/".$rows_session['name'],
292
-                         PCLZIP_OPT_REMOVE_PATH, $FileZip['PATH_COURSE'].$_course['directory'].'/document'.$FileZip['PATH_REMOVE']
293
-                     );
291
+                            PCLZIP_OPT_ADD_PATH, $_course['directory']."/".$rows_session['name'],
292
+                            PCLZIP_OPT_REMOVE_PATH, $FileZip['PATH_COURSE'].$_course['directory'].'/document'.$FileZip['PATH_REMOVE']
293
+                        );
294 294
                 }
295 295
             }
296 296
         }
Please login to merge, or discard this patch.
main/dropbox/dropbox_init.inc.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
             $javascript .= "'".$dropbox_person->sentWork[$i]->title."'";
217 217
         }
218 218
     }
219
-	$javascript .= ");
219
+    $javascript .= ");
220 220
 
221 221
 		function checkfile(str)
222 222
 		{
@@ -326,15 +326,15 @@  discard block
 block discarded – undo
326 326
         'url' => api_get_path(WEB_CODE_PATH).'dropbox/index.php?'.api_get_cidreq(),
327 327
         'name' => get_lang('Dropbox', ''),
328 328
     );
329
-	$nameTools = get_lang('ReceivedFiles');
329
+    $nameTools = get_lang('ReceivedFiles');
330 330
 
331
-	if ($action == 'addreceivedcategory') {
331
+    if ($action == 'addreceivedcategory') {
332 332
         $interbreadcrumb[] = array(
333 333
             'url' => api_get_path(WEB_CODE_PATH).'dropbox/index.php?view=received&'.api_get_cidreq(),
334 334
             'name' => get_lang('ReceivedFiles'),
335 335
         );
336
-		$nameTools = get_lang('AddNewCategory');
337
-	}
336
+        $nameTools = get_lang('AddNewCategory');
337
+    }
338 338
 }
339 339
 
340 340
 if ($view == 'sent' || empty($view)) {
Please login to merge, or discard this patch.