Passed
Push — master ( 8b88f4...c5ef2d )
by Christian
07:24 queued 10s
created
drupal/sites/all/features/friends/friends.views_default.inc 1 patch
Indentation   +549 added lines, -549 removed lines patch added patch discarded remove patch
@@ -4,133 +4,133 @@  discard block
 block discarded – undo
4 4
  * Implementation of hook_views_default_views().
5 5
  */
6 6
 function friends_views_default_views() {
7
-  $views = array();
7
+    $views = array();
8 8
 
9
-  // Exported view: boinc_friends
10
-  $view = new view;
11
-  $view->name = 'boinc_friends';
12
-  $view->description = 'Customized views for friend relationships';
13
-  $view->tag = 'boinc';
14
-  $view->base_table = 'users';
15
-  $view->core = 6;
16
-  $view->api_version = '2';
17
-  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
18
-  $handler = $view->new_display('default', 'Defaults', 'default');
19
-  $handler->override_option('relationships', array(
9
+    // Exported view: boinc_friends
10
+    $view = new view;
11
+    $view->name = 'boinc_friends';
12
+    $view->description = 'Customized views for friend relationships';
13
+    $view->tag = 'boinc';
14
+    $view->base_table = 'users';
15
+    $view->core = 6;
16
+    $view->api_version = '2';
17
+    $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
18
+    $handler = $view->new_display('default', 'Defaults', 'default');
19
+    $handler->override_option('relationships', array(
20 20
     'flag_friend_content_rel' => array(
21
-      'label' => 'flag friend',
22
-      'required' => 1,
23
-      'flag' => 'friend',
24
-      'user_scope' => 'any',
25
-      'id' => 'flag_friend_content_rel',
26
-      'table' => 'users',
27
-      'field' => 'flag_friend_content_rel',
28
-      'override' => array(
21
+        'label' => 'flag friend',
22
+        'required' => 1,
23
+        'flag' => 'friend',
24
+        'user_scope' => 'any',
25
+        'id' => 'flag_friend_content_rel',
26
+        'table' => 'users',
27
+        'field' => 'flag_friend_content_rel',
28
+        'override' => array(
29 29
         'button' => 'Override',
30
-      ),
31
-      'relationship' => 'none',
30
+        ),
31
+        'relationship' => 'none',
32 32
     ),
33
-  ));
34
-  $handler->override_option('fields', array(
33
+    ));
34
+    $handler->override_option('fields', array(
35 35
     'name' => array(
36
-      'label' => 'Name',
37
-      'link_to_user' => 1,
38
-      'exclude' => 0,
39
-      'id' => 'name',
40
-      'table' => 'users',
41
-      'field' => 'name',
42
-      'override' => array(
36
+        'label' => 'Name',
37
+        'link_to_user' => 1,
38
+        'exclude' => 0,
39
+        'id' => 'name',
40
+        'table' => 'users',
41
+        'field' => 'name',
42
+        'override' => array(
43 43
         'button' => 'Override',
44
-      ),
45
-      'relationship' => 'none',
44
+        ),
45
+        'relationship' => 'none',
46 46
     ),
47 47
     'ops' => array(
48
-      'label' => 'Flag link',
49
-      'link_type' => '',
50
-      'exclude' => 0,
51
-      'id' => 'ops',
52
-      'table' => 'flag_content',
53
-      'field' => 'ops',
54
-      'relationship' => 'flag_friend_content_rel',
55
-      'override' => array(
48
+        'label' => 'Flag link',
49
+        'link_type' => '',
50
+        'exclude' => 0,
51
+        'id' => 'ops',
52
+        'table' => 'flag_content',
53
+        'field' => 'ops',
54
+        'relationship' => 'flag_friend_content_rel',
55
+        'override' => array(
56 56
         'button' => 'Override',
57
-      ),
57
+        ),
58 58
     ),
59 59
     'uid' => array(
60
-      'label' => 'Flag friend links',
61
-      'exclude' => 0,
62
-      'id' => 'uid',
63
-      'table' => 'flag_friend',
64
-      'field' => 'uid',
65
-      'relationship' => 'none',
66
-    ),
67
-  ));
68
-  $handler->override_option('arguments', array(
60
+        'label' => 'Flag friend links',
61
+        'exclude' => 0,
62
+        'id' => 'uid',
63
+        'table' => 'flag_friend',
64
+        'field' => 'uid',
65
+        'relationship' => 'none',
66
+    ),
67
+    ));
68
+    $handler->override_option('arguments', array(
69 69
     'friend_uid' => array(
70
-      'id' => 'friend_uid',
71
-      'table' => 'flag_friend',
72
-      'field' => 'friend_uid',
70
+        'id' => 'friend_uid',
71
+        'table' => 'flag_friend',
72
+        'field' => 'friend_uid',
73 73
     ),
74
-  ));
75
-  $handler->override_option('filters', array(
74
+    ));
75
+    $handler->override_option('filters', array(
76 76
     'status' => array(
77
-      'operator' => '=',
78
-      'value' => '1',
79
-      'group' => '0',
80
-      'exposed' => FALSE,
81
-      'expose' => array(
77
+        'operator' => '=',
78
+        'value' => '1',
79
+        'group' => '0',
80
+        'exposed' => FALSE,
81
+        'expose' => array(
82 82
         'operator' => FALSE,
83 83
         'label' => '',
84
-      ),
85
-      'id' => 'status',
86
-      'table' => 'users',
87
-      'field' => 'status',
88
-      'relationship' => 'none',
89
-    ),
90
-  ));
91
-  $handler->override_option('access', array(
84
+        ),
85
+        'id' => 'status',
86
+        'table' => 'users',
87
+        'field' => 'status',
88
+        'relationship' => 'none',
89
+    ),
90
+    ));
91
+    $handler->override_option('access', array(
92 92
     'type' => 'perm',
93 93
     'perm' => 'access content',
94
-  ));
95
-  $handler->override_option('cache', array(
94
+    ));
95
+    $handler->override_option('cache', array(
96 96
     'type' => 'none',
97
-  ));
98
-  $handler->override_option('empty', bts('No Friends have been added.', array(), NULL, 'boinc:friends-page'));
99
-  $handler->override_option('empty_format', '5');
100
-  $handler->override_option('use_pager', '1');
101
-  $handler->override_option('distinct', 1);
102
-  $handler->override_option('style_plugin', 'table');
103
-  $handler->override_option('style_options', array(
97
+    ));
98
+    $handler->override_option('empty', bts('No Friends have been added.', array(), NULL, 'boinc:friends-page'));
99
+    $handler->override_option('empty_format', '5');
100
+    $handler->override_option('use_pager', '1');
101
+    $handler->override_option('distinct', 1);
102
+    $handler->override_option('style_plugin', 'table');
103
+    $handler->override_option('style_options', array(
104 104
     'grouping' => '',
105 105
     'override' => 1,
106 106
     'sticky' => 0,
107 107
     'order' => 'asc',
108 108
     'summary' => '',
109 109
     'columns' => array(
110
-      'name' => 'name',
111
-      'ops' => 'ops',
112
-      'uid' => 'uid',
110
+        'name' => 'name',
111
+        'ops' => 'ops',
112
+        'uid' => 'uid',
113 113
     ),
114 114
     'info' => array(
115
-      'name' => array(
115
+        'name' => array(
116 116
         'sortable' => 0,
117 117
         'separator' => '',
118
-      ),
119
-      'ops' => array(
118
+        ),
119
+        'ops' => array(
120 120
         'separator' => '',
121
-      ),
122
-      'uid' => array(
121
+        ),
122
+        'uid' => array(
123 123
         'separator' => '',
124
-      ),
124
+        ),
125 125
     ),
126 126
     'default' => '-1',
127
-  ));
128
-  $handler = $view->new_display('page', 'Page (friends)', 'page_1');
129
-  $handler->override_option('relationships', array());
130
-  $handler->override_option('fields', array(
127
+    ));
128
+    $handler = $view->new_display('page', 'Page (friends)', 'page_1');
129
+    $handler->override_option('relationships', array());
130
+    $handler->override_option('fields', array(
131 131
     'picture' => array(
132
-      'label' => 'Friend',
133
-      'alter' => array(
132
+        'label' => 'Friend',
133
+        'alter' => array(
134 134
         'alter_text' => 0,
135 135
         'text' => '',
136 136
         'make_link' => 0,
@@ -149,35 +149,35 @@  discard block
 block discarded – undo
149 149
         'ellipsis' => 1,
150 150
         'html' => 0,
151 151
         'strip_tags' => 0,
152
-      ),
153
-      'empty' => '',
154
-      'hide_empty' => 0,
155
-      'empty_zero' => 0,
156
-      'hide_alter_empty' => 1,
157
-      'exclude' => 1,
158
-      'id' => 'picture',
159
-      'table' => 'users',
160
-      'field' => 'picture',
161
-      'override' => array(
152
+        ),
153
+        'empty' => '',
154
+        'hide_empty' => 0,
155
+        'empty_zero' => 0,
156
+        'hide_alter_empty' => 1,
157
+        'exclude' => 1,
158
+        'id' => 'picture',
159
+        'table' => 'users',
160
+        'field' => 'picture',
161
+        'override' => array(
162 162
         'button' => 'Use default',
163
-      ),
164
-      'relationship' => 'none',
163
+        ),
164
+        'relationship' => 'none',
165 165
     ),
166 166
     'name' => array(
167
-      'label' => 'Name',
168
-      'link_to_user' => 1,
169
-      'exclude' => 0,
170
-      'id' => 'name',
171
-      'table' => 'users',
172
-      'field' => 'name',
173
-      'override' => array(
167
+        'label' => 'Name',
168
+        'link_to_user' => 1,
169
+        'exclude' => 0,
170
+        'id' => 'name',
171
+        'table' => 'users',
172
+        'field' => 'name',
173
+        'override' => array(
174 174
         'button' => 'Use default',
175
-      ),
176
-      'relationship' => 'none',
175
+        ),
176
+        'relationship' => 'none',
177 177
     ),
178 178
     'uid' => array(
179
-      'label' => '',
180
-      'alter' => array(
179
+        'label' => '',
180
+        'alter' => array(
181 181
         'alter_text' => 0,
182 182
         'text' => '',
183 183
         'make_link' => 0,
@@ -196,87 +196,87 @@  discard block
 block discarded – undo
196 196
         'ellipsis' => 1,
197 197
         'html' => 0,
198 198
         'strip_tags' => 0,
199
-      ),
200
-      'empty' => '',
201
-      'hide_empty' => 1,
202
-      'empty_zero' => 0,
203
-      'hide_alter_empty' => 1,
204
-      'exclude' => 0,
205
-      'id' => 'uid',
206
-      'table' => 'flag_friend',
207
-      'field' => 'uid',
208
-      'override' => array(
199
+        ),
200
+        'empty' => '',
201
+        'hide_empty' => 1,
202
+        'empty_zero' => 0,
203
+        'hide_alter_empty' => 1,
204
+        'exclude' => 0,
205
+        'id' => 'uid',
206
+        'table' => 'flag_friend',
207
+        'field' => 'uid',
208
+        'override' => array(
209 209
         'button' => 'Use default',
210
-      ),
211
-      'relationship' => 'none',
210
+        ),
211
+        'relationship' => 'none',
212 212
     ),
213
-  ));
214
-  $handler->override_option('arguments', array(
213
+    ));
214
+    $handler->override_option('arguments', array(
215 215
     'friend_uid' => array(
216
-      'default_action' => 'default',
217
-      'style_plugin' => 'default_summary',
218
-      'style_options' => array(),
219
-      'wildcard' => 'all',
220
-      'wildcard_substitution' => 'All',
221
-      'title' => '',
222
-      'breadcrumb' => '',
223
-      'default_argument_type' => 'current_user',
224
-      'default_argument' => '',
225
-      'validate_type' => 'none',
226
-      'validate_fail' => 'not found',
227
-      'break_phrase' => 0,
228
-      'not' => 0,
229
-      'flag_friend_include_arg_user' => 0,
230
-      'id' => 'friend_uid',
231
-      'table' => 'flag_friend',
232
-      'field' => 'friend_uid',
233
-      'override' => array(
216
+        'default_action' => 'default',
217
+        'style_plugin' => 'default_summary',
218
+        'style_options' => array(),
219
+        'wildcard' => 'all',
220
+        'wildcard_substitution' => 'All',
221
+        'title' => '',
222
+        'breadcrumb' => '',
223
+        'default_argument_type' => 'current_user',
224
+        'default_argument' => '',
225
+        'validate_type' => 'none',
226
+        'validate_fail' => 'not found',
227
+        'break_phrase' => 0,
228
+        'not' => 0,
229
+        'flag_friend_include_arg_user' => 0,
230
+        'id' => 'friend_uid',
231
+        'table' => 'flag_friend',
232
+        'field' => 'friend_uid',
233
+        'override' => array(
234 234
         'button' => 'Use default',
235
-      ),
236
-      'relationship' => 'none',
237
-      'default_options_div_prefix' => '',
238
-      'default_argument_user' => 0,
239
-      'default_argument_fixed' => '',
240
-      'default_argument_php' => '',
241
-      'validate_argument_node_access' => 0,
242
-      'validate_argument_nid_type' => 'nid',
243
-      'validate_argument_vocabulary' => array(
235
+        ),
236
+        'relationship' => 'none',
237
+        'default_options_div_prefix' => '',
238
+        'default_argument_user' => 0,
239
+        'default_argument_fixed' => '',
240
+        'default_argument_php' => '',
241
+        'validate_argument_node_access' => 0,
242
+        'validate_argument_nid_type' => 'nid',
243
+        'validate_argument_vocabulary' => array(
244 244
         2 => 0,
245 245
         3 => 0,
246
-      ),
247
-      'validate_argument_type' => 'tid',
248
-      'validate_argument_node_flag_name' => '*relationship*',
249
-      'validate_argument_node_flag_test' => 'flaggable',
250
-      'validate_argument_node_flag_id_type' => 'id',
251
-      'validate_argument_user_flag_name' => '*relationship*',
252
-      'validate_argument_user_flag_test' => 'flaggable',
253
-      'validate_argument_user_flag_id_type' => 'id',
254
-      'validate_argument_php' => '',
255
-      'validate_user_argument_type' => 'uid',
256
-      'validate_user_roles' => array(
246
+        ),
247
+        'validate_argument_type' => 'tid',
248
+        'validate_argument_node_flag_name' => '*relationship*',
249
+        'validate_argument_node_flag_test' => 'flaggable',
250
+        'validate_argument_node_flag_id_type' => 'id',
251
+        'validate_argument_user_flag_name' => '*relationship*',
252
+        'validate_argument_user_flag_test' => 'flaggable',
253
+        'validate_argument_user_flag_id_type' => 'id',
254
+        'validate_argument_php' => '',
255
+        'validate_user_argument_type' => 'uid',
256
+        'validate_user_roles' => array(
257 257
         2 => 0,
258 258
         3 => 0,
259 259
         5 => 0,
260 260
         4 => 0,
261 261
         6 => 0,
262
-      ),
263
-      'me_redirect' => 0,
264
-      'me_validate_user_argument_type' => 'uid',
265
-      'me_validate_user_roles' => array(
262
+        ),
263
+        'me_redirect' => 0,
264
+        'me_validate_user_argument_type' => 'uid',
265
+        'me_validate_user_roles' => array(
266 266
         2 => 0,
267 267
         3 => 0,
268 268
         5 => 0,
269 269
         4 => 0,
270 270
         6 => 0,
271
-      ),
272
-      'default_taxonomy_tid_term_page' => 0,
273
-      'default_taxonomy_tid_node' => 0,
274
-      'default_taxonomy_tid_limit' => 0,
275
-      'default_taxonomy_tid_vids' => array(
271
+        ),
272
+        'default_taxonomy_tid_term_page' => 0,
273
+        'default_taxonomy_tid_node' => 0,
274
+        'default_taxonomy_tid_limit' => 0,
275
+        'default_taxonomy_tid_vids' => array(
276 276
         2 => 0,
277 277
         3 => 0,
278
-      ),
279
-      'validate_argument_node_type' => array(
278
+        ),
279
+        'validate_argument_node_type' => array(
280 280
         'page' => 0,
281 281
         'profile' => 0,
282 282
         'forum' => 0,
@@ -284,33 +284,33 @@  discard block
 block discarded – undo
284 284
         'news' => 0,
285 285
         'story' => 0,
286 286
         'team' => 0,
287
-      ),
288
-      'validate_argument_transform' => 0,
289
-      'validate_user_restrict_roles' => 0,
290
-      'me_validate_user_restrict_roles' => 0,
291
-    ),
292
-  ));
293
-  $handler->override_option('title', 'Friends');
294
-  $handler->override_option('path', 'account/%/friends/all');
295
-  $handler->override_option('menu', array(
287
+        ),
288
+        'validate_argument_transform' => 0,
289
+        'validate_user_restrict_roles' => 0,
290
+        'me_validate_user_restrict_roles' => 0,
291
+    ),
292
+    ));
293
+    $handler->override_option('title', 'Friends');
294
+    $handler->override_option('path', 'account/%/friends/all');
295
+    $handler->override_option('menu', array(
296 296
     'type' => 'default tab',
297 297
     'title' => bts('View All Friends', array(), NULL, 'boinc:friends-page'),
298 298
     'description' => '',
299 299
     'weight' => '-10',
300 300
     'name' => 'navigation',
301
-  ));
302
-  $handler->override_option('tab_options', array(
301
+    ));
302
+    $handler->override_option('tab_options', array(
303 303
     'type' => 'normal',
304 304
     'title' => 'Friends',
305 305
     'description' => '',
306 306
     'weight' => '0',
307 307
     'name' => 'navigation',
308
-  ));
309
-  $handler = $view->new_display('page', 'Page (pending)', 'page_2');
310
-  $handler->override_option('fields', array(
308
+    ));
309
+    $handler = $view->new_display('page', 'Page (pending)', 'page_2');
310
+    $handler->override_option('fields', array(
311 311
     'picture' => array(
312
-      'label' => 'User',
313
-      'alter' => array(
312
+        'label' => 'User',
313
+        'alter' => array(
314 314
         'alter_text' => 0,
315 315
         'text' => '',
316 316
         'make_link' => 0,
@@ -329,46 +329,46 @@  discard block
 block discarded – undo
329 329
         'ellipsis' => 1,
330 330
         'html' => 0,
331 331
         'strip_tags' => 0,
332
-      ),
333
-      'empty' => '',
334
-      'hide_empty' => 0,
335
-      'empty_zero' => 0,
336
-      'hide_alter_empty' => 1,
337
-      'exclude' => 1,
338
-      'id' => 'picture',
339
-      'table' => 'users',
340
-      'field' => 'picture',
341
-      'override' => array(
332
+        ),
333
+        'empty' => '',
334
+        'hide_empty' => 0,
335
+        'empty_zero' => 0,
336
+        'hide_alter_empty' => 1,
337
+        'exclude' => 1,
338
+        'id' => 'picture',
339
+        'table' => 'users',
340
+        'field' => 'picture',
341
+        'override' => array(
342 342
         'button' => 'Use default',
343
-      ),
344
-      'relationship' => 'none',
343
+        ),
344
+        'relationship' => 'none',
345 345
     ),
346 346
     'name' => array(
347
-      'label' => 'Name',
348
-      'link_to_user' => 1,
349
-      'exclude' => 0,
350
-      'id' => 'name',
351
-      'table' => 'users',
352
-      'field' => 'name',
353
-      'override' => array(
347
+        'label' => 'Name',
348
+        'link_to_user' => 1,
349
+        'exclude' => 0,
350
+        'id' => 'name',
351
+        'table' => 'users',
352
+        'field' => 'name',
353
+        'override' => array(
354 354
         'button' => 'Use default',
355
-      ),
356
-      'relationship' => 'none',
355
+        ),
356
+        'relationship' => 'none',
357 357
     ),
358 358
     'message' => array(
359
-      'label' => 'Message',
360
-      'exclude' => 0,
361
-      'id' => 'message',
362
-      'table' => 'flag_friend_message',
363
-      'field' => 'message',
364
-      'relationship' => 'flag_friend_content_rel',
365
-      'override' => array(
359
+        'label' => 'Message',
360
+        'exclude' => 0,
361
+        'id' => 'message',
362
+        'table' => 'flag_friend_message',
363
+        'field' => 'message',
364
+        'relationship' => 'flag_friend_content_rel',
365
+        'override' => array(
366 366
         'button' => 'Use default',
367
-      ),
367
+        ),
368 368
     ),
369 369
     'uid' => array(
370
-      'label' => 'Flag friend links',
371
-      'alter' => array(
370
+        'label' => 'Flag friend links',
371
+        'alter' => array(
372 372
         'alter_text' => 1,
373 373
         'text' => '<ul class="tab-list">
374 374
   <li class="alt tab">[uid]</li>',
@@ -388,23 +388,23 @@  discard block
 block discarded – undo
388 388
         'ellipsis' => 1,
389 389
         'html' => 0,
390 390
         'strip_tags' => 0,
391
-      ),
392
-      'empty' => '',
393
-      'hide_empty' => 0,
394
-      'empty_zero' => 0,
395
-      'hide_alter_empty' => 1,
396
-      'exclude' => 0,
397
-      'id' => 'uid',
398
-      'table' => 'flag_friend',
399
-      'field' => 'uid',
400
-      'override' => array(
391
+        ),
392
+        'empty' => '',
393
+        'hide_empty' => 0,
394
+        'empty_zero' => 0,
395
+        'hide_alter_empty' => 1,
396
+        'exclude' => 0,
397
+        'id' => 'uid',
398
+        'table' => 'flag_friend',
399
+        'field' => 'uid',
400
+        'override' => array(
401 401
         'button' => 'Use default',
402
-      ),
403
-      'relationship' => 'none',
402
+        ),
403
+        'relationship' => 'none',
404 404
     ),
405 405
     'ops' => array(
406
-      'label' => '',
407
-      'alter' => array(
406
+        'label' => '',
407
+        'alter' => array(
408 408
         'alter_text' => 1,
409 409
         'text' => '  <li class="first alt tab">[ops]</li>
410 410
 </ul>',
@@ -424,148 +424,148 @@  discard block
 block discarded – undo
424 424
         'ellipsis' => 1,
425 425
         'html' => 0,
426 426
         'strip_tags' => 0,
427
-      ),
428
-      'empty' => '',
429
-      'hide_empty' => 0,
430
-      'empty_zero' => 0,
431
-      'hide_alter_empty' => 1,
432
-      'link_type' => '',
433
-      'exclude' => 0,
434
-      'id' => 'ops',
435
-      'table' => 'flag_content',
436
-      'field' => 'ops',
437
-      'relationship' => 'flag_friend_content_rel',
438
-      'override' => array(
427
+        ),
428
+        'empty' => '',
429
+        'hide_empty' => 0,
430
+        'empty_zero' => 0,
431
+        'hide_alter_empty' => 1,
432
+        'link_type' => '',
433
+        'exclude' => 0,
434
+        'id' => 'ops',
435
+        'table' => 'flag_content',
436
+        'field' => 'ops',
437
+        'relationship' => 'flag_friend_content_rel',
438
+        'override' => array(
439 439
         'button' => 'Use default',
440
-      ),
440
+        ),
441 441
     ),
442
-  ));
443
-  $handler->override_option('arguments', array(
442
+    ));
443
+    $handler->override_option('arguments', array(
444 444
     'content_id' => array(
445
-      'default_action' => 'default',
446
-      'style_plugin' => 'default_summary',
447
-      'style_options' => array(),
448
-      'wildcard' => 'all',
449
-      'wildcard_substitution' => 'All',
450
-      'title' => '',
451
-      'default_argument_type' => 'user',
452
-      'default_argument' => '',
453
-      'validate_type' => 'php',
454
-      'validate_fail' => 'not found',
455
-      'break_phrase' => 0,
456
-      'not' => 0,
457
-      'id' => 'content_id',
458
-      'table' => 'flag_content',
459
-      'field' => 'content_id',
460
-      'relationship' => 'flag_friend_content_rel',
461
-      'override' => array(
445
+        'default_action' => 'default',
446
+        'style_plugin' => 'default_summary',
447
+        'style_options' => array(),
448
+        'wildcard' => 'all',
449
+        'wildcard_substitution' => 'All',
450
+        'title' => '',
451
+        'default_argument_type' => 'user',
452
+        'default_argument' => '',
453
+        'validate_type' => 'php',
454
+        'validate_fail' => 'not found',
455
+        'break_phrase' => 0,
456
+        'not' => 0,
457
+        'id' => 'content_id',
458
+        'table' => 'flag_content',
459
+        'field' => 'content_id',
460
+        'relationship' => 'flag_friend_content_rel',
461
+        'override' => array(
462 462
         'button' => 'Use default',
463
-      ),
464
-      'default_options_div_prefix' => '',
465
-      'default_argument_user' => 0,
466
-      'default_argument_fixed' => '',
467
-      'default_argument_php' => '',
468
-      'validate_argument_node_access' => 0,
469
-      'validate_argument_nid_type' => 'nid',
470
-      'validate_argument_vocabulary' => array(),
471
-      'validate_argument_type' => 'tid',
472
-      'validate_argument_node_flag_name' => '*relationship*',
473
-      'validate_argument_node_flag_test' => 'flaggable',
474
-      'validate_argument_node_flag_id_type' => 'id',
475
-      'validate_argument_user_flag_name' => '*relationship*',
476
-      'validate_argument_user_flag_test' => 'flaggable',
477
-      'validate_argument_user_flag_id_type' => 'id',
478
-      'validate_argument_php' => 'if ($argument !== $GLOBALS[\'user\']->uid && !user_access(\'administer users\')) {
463
+        ),
464
+        'default_options_div_prefix' => '',
465
+        'default_argument_user' => 0,
466
+        'default_argument_fixed' => '',
467
+        'default_argument_php' => '',
468
+        'validate_argument_node_access' => 0,
469
+        'validate_argument_nid_type' => 'nid',
470
+        'validate_argument_vocabulary' => array(),
471
+        'validate_argument_type' => 'tid',
472
+        'validate_argument_node_flag_name' => '*relationship*',
473
+        'validate_argument_node_flag_test' => 'flaggable',
474
+        'validate_argument_node_flag_id_type' => 'id',
475
+        'validate_argument_user_flag_name' => '*relationship*',
476
+        'validate_argument_user_flag_test' => 'flaggable',
477
+        'validate_argument_user_flag_id_type' => 'id',
478
+        'validate_argument_php' => 'if ($argument !== $GLOBALS[\'user\']->uid && !user_access(\'administer users\')) {
479 479
                                       return FALSE;
480 480
                                     }
481 481
                                     return TRUE;',
482 482
     ),
483
-  ));
484
-  $handler->override_option('title', 'Friend Requests');
485
-  $handler->override_option('header', 'These are users who would like to be your friend.');
486
-  $handler->override_option('header_format', '5');
487
-  $handler->override_option('header_empty', 0);
488
-  $handler->override_option('empty', 'No Friend Requests.');
489
-  $handler->override_option('style_options', array(
483
+    ));
484
+    $handler->override_option('title', 'Friend Requests');
485
+    $handler->override_option('header', 'These are users who would like to be your friend.');
486
+    $handler->override_option('header_format', '5');
487
+    $handler->override_option('header_empty', 0);
488
+    $handler->override_option('empty', 'No Friend Requests.');
489
+    $handler->override_option('style_options', array(
490 490
     'grouping' => '',
491 491
     'override' => 1,
492 492
     'sticky' => 0,
493 493
     'order' => 'asc',
494 494
     'summary' => '',
495 495
     'columns' => array(
496
-      'picture' => 'picture',
497
-      'name' => 'name',
498
-      'message' => 'message',
499
-      'ops' => 'ops',
500
-      'uid' => 'ops',
496
+        'picture' => 'picture',
497
+        'name' => 'name',
498
+        'message' => 'message',
499
+        'ops' => 'ops',
500
+        'uid' => 'ops',
501 501
     ),
502 502
     'info' => array(
503
-      'picture' => array(
503
+        'picture' => array(
504 504
         'sortable' => 0,
505 505
         'separator' => '',
506
-      ),
507
-      'name' => array(
506
+        ),
507
+        'name' => array(
508 508
         'sortable' => 0,
509 509
         'separator' => '',
510
-      ),
511
-      'message' => array(
510
+        ),
511
+        'message' => array(
512 512
         'separator' => '',
513
-      ),
514
-      'ops' => array(
513
+        ),
514
+        'ops' => array(
515 515
         'separator' => '',
516
-      ),
517
-      'uid' => array(
516
+        ),
517
+        'uid' => array(
518 518
         'separator' => '',
519
-      ),
519
+        ),
520 520
     ),
521 521
     'default' => '-1',
522
-  ));
523
-  $handler->override_option('path', 'account/%/friends/pending');
524
-  $handler->override_option('menu', array(
522
+    ));
523
+    $handler->override_option('path', 'account/%/friends/pending');
524
+    $handler->override_option('menu', array(
525 525
     'type' => 'tab',
526 526
     'title' => bts('Friend Requests', array(), NULL, 'boinc:friends-page'),
527 527
     'description' => '',
528 528
     'weight' => '0',
529 529
     'name' => 'navigation',
530
-  ));
531
-  $handler->override_option('tab_options', array(
530
+    ));
531
+    $handler->override_option('tab_options', array(
532 532
     'type' => 'none',
533 533
     'title' => '',
534 534
     'description' => '',
535 535
     'weight' => 0,
536 536
     'name' => 'navigation',
537
-  ));
538
-  $handler = $view->new_display('page', 'Page (flagged)', 'page_3');
539
-  $handler->override_option('relationships', array(
537
+    ));
538
+    $handler = $view->new_display('page', 'Page (flagged)', 'page_3');
539
+    $handler->override_option('relationships', array(
540 540
     'flag_content_rel' => array(
541
-      'label' => 'flag',
542
-      'required' => 1,
543
-      'flag' => 'friend',
544
-      'user_scope' => 'any',
545
-      'id' => 'flag_content_rel',
546
-      'table' => 'users',
547
-      'field' => 'flag_content_rel',
548
-      'override' => array(
541
+        'label' => 'flag',
542
+        'required' => 1,
543
+        'flag' => 'friend',
544
+        'user_scope' => 'any',
545
+        'id' => 'flag_content_rel',
546
+        'table' => 'users',
547
+        'field' => 'flag_content_rel',
548
+        'override' => array(
549 549
         'button' => 'Use default',
550
-      ),
551
-      'relationship' => 'none',
550
+        ),
551
+        'relationship' => 'none',
552 552
     ),
553 553
     'uid' => array(
554
-      'label' => 'Flag user',
555
-      'required' => 0,
556
-      'id' => 'uid',
557
-      'table' => 'flag_content',
558
-      'field' => 'uid',
559
-      'relationship' => 'flag_content_rel',
560
-      'override' => array(
554
+        'label' => 'Flag user',
555
+        'required' => 0,
556
+        'id' => 'uid',
557
+        'table' => 'flag_content',
558
+        'field' => 'uid',
559
+        'relationship' => 'flag_content_rel',
560
+        'override' => array(
561 561
         'button' => 'Use default',
562
-      ),
562
+        ),
563 563
     ),
564
-  ));
565
-  $handler->override_option('fields', array(
564
+    ));
565
+    $handler->override_option('fields', array(
566 566
     'picture' => array(
567
-      'label' => 'User',
568
-      'alter' => array(
567
+        'label' => 'User',
568
+        'alter' => array(
569 569
         'alter_text' => 0,
570 570
         'text' => '',
571 571
         'make_link' => 0,
@@ -584,46 +584,46 @@  discard block
 block discarded – undo
584 584
         'ellipsis' => 1,
585 585
         'html' => 0,
586 586
         'strip_tags' => 0,
587
-      ),
588
-      'empty' => '',
589
-      'hide_empty' => 0,
590
-      'empty_zero' => 0,
591
-      'hide_alter_empty' => 1,
592
-      'exclude' => 1,
593
-      'id' => 'picture',
594
-      'table' => 'users',
595
-      'field' => 'picture',
596
-      'override' => array(
587
+        ),
588
+        'empty' => '',
589
+        'hide_empty' => 0,
590
+        'empty_zero' => 0,
591
+        'hide_alter_empty' => 1,
592
+        'exclude' => 1,
593
+        'id' => 'picture',
594
+        'table' => 'users',
595
+        'field' => 'picture',
596
+        'override' => array(
597 597
         'button' => 'Use default',
598
-      ),
599
-      'relationship' => 'none',
598
+        ),
599
+        'relationship' => 'none',
600 600
     ),
601 601
     'name' => array(
602
-      'label' => 'Name',
603
-      'link_to_user' => 1,
604
-      'exclude' => 0,
605
-      'id' => 'name',
606
-      'table' => 'users',
607
-      'field' => 'name',
608
-      'override' => array(
602
+        'label' => 'Name',
603
+        'link_to_user' => 1,
604
+        'exclude' => 0,
605
+        'id' => 'name',
606
+        'table' => 'users',
607
+        'field' => 'name',
608
+        'override' => array(
609 609
         'button' => 'Use default',
610
-      ),
611
-      'relationship' => 'none',
610
+        ),
611
+        'relationship' => 'none',
612 612
     ),
613 613
     'message' => array(
614
-      'label' => 'Message',
615
-      'exclude' => 0,
616
-      'id' => 'message',
617
-      'table' => 'flag_friend_message',
618
-      'field' => 'message',
619
-      'relationship' => 'flag_content_rel',
620
-      'override' => array(
614
+        'label' => 'Message',
615
+        'exclude' => 0,
616
+        'id' => 'message',
617
+        'table' => 'flag_friend_message',
618
+        'field' => 'message',
619
+        'relationship' => 'flag_content_rel',
620
+        'override' => array(
621 621
         'button' => 'Use default',
622
-      ),
622
+        ),
623 623
     ),
624 624
     'ops' => array(
625
-      'label' => '',
626
-      'alter' => array(
625
+        'label' => '',
626
+        'alter' => array(
627 627
         'alter_text' => 0,
628 628
         'text' => '',
629 629
         'make_link' => 0,
@@ -642,113 +642,113 @@  discard block
 block discarded – undo
642 642
         'ellipsis' => 1,
643 643
         'html' => 0,
644 644
         'strip_tags' => 0,
645
-      ),
646
-      'empty' => '',
647
-      'hide_empty' => 0,
648
-      'empty_zero' => 0,
649
-      'hide_alter_empty' => 1,
650
-      'link_type' => '',
651
-      'exclude' => 0,
652
-      'id' => 'ops',
653
-      'table' => 'flag_content',
654
-      'field' => 'ops',
655
-      'relationship' => 'flag_content_rel',
656
-      'override' => array(
645
+        ),
646
+        'empty' => '',
647
+        'hide_empty' => 0,
648
+        'empty_zero' => 0,
649
+        'hide_alter_empty' => 1,
650
+        'link_type' => '',
651
+        'exclude' => 0,
652
+        'id' => 'ops',
653
+        'table' => 'flag_content',
654
+        'field' => 'ops',
655
+        'relationship' => 'flag_content_rel',
656
+        'override' => array(
657 657
         'button' => 'Use default',
658
-      ),
658
+        ),
659 659
     ),
660
-  ));
661
-  $handler->override_option('arguments', array(
660
+    ));
661
+    $handler->override_option('arguments', array(
662 662
     'uid' => array(
663
-      'default_action' => 'default',
664
-      'style_plugin' => 'default_summary',
665
-      'style_options' => array(),
666
-      'wildcard' => 'all',
667
-      'wildcard_substitution' => 'All',
668
-      'title' => '',
669
-      'breadcrumb' => '',
670
-      'default_argument_type' => 'user',
671
-      'default_argument' => '',
672
-      'validate_type' => 'php',
673
-      'validate_fail' => 'not found',
674
-      'break_phrase' => 0,
675
-      'not' => 0,
676
-      'id' => 'uid',
677
-      'table' => 'users',
678
-      'field' => 'uid',
679
-      'validate_user_argument_type' => 'uid',
680
-      'validate_user_roles' => array(
663
+        'default_action' => 'default',
664
+        'style_plugin' => 'default_summary',
665
+        'style_options' => array(),
666
+        'wildcard' => 'all',
667
+        'wildcard_substitution' => 'All',
668
+        'title' => '',
669
+        'breadcrumb' => '',
670
+        'default_argument_type' => 'user',
671
+        'default_argument' => '',
672
+        'validate_type' => 'php',
673
+        'validate_fail' => 'not found',
674
+        'break_phrase' => 0,
675
+        'not' => 0,
676
+        'id' => 'uid',
677
+        'table' => 'users',
678
+        'field' => 'uid',
679
+        'validate_user_argument_type' => 'uid',
680
+        'validate_user_roles' => array(
681 681
         2 => 0,
682
-      ),
683
-      'override' => array(
682
+        ),
683
+        'override' => array(
684 684
         'button' => 'Use default',
685
-      ),
686
-      'relationship' => 'uid',
687
-      'default_options_div_prefix' => '',
688
-      'default_argument_user' => 0,
689
-      'default_argument_fixed' => '',
690
-      'default_argument_php' => '',
691
-      'validate_argument_node_type' => array(
685
+        ),
686
+        'relationship' => 'uid',
687
+        'default_options_div_prefix' => '',
688
+        'default_argument_user' => 0,
689
+        'default_argument_fixed' => '',
690
+        'default_argument_php' => '',
691
+        'validate_argument_node_type' => array(
692 692
         'page' => 0,
693 693
         'story' => 0,
694
-      ),
695
-      'validate_argument_node_access' => 0,
696
-      'validate_argument_nid_type' => 'nid',
697
-      'validate_argument_vocabulary' => array(),
698
-      'validate_argument_type' => 'tid',
699
-      'validate_argument_transform' => 0,
700
-      'validate_user_restrict_roles' => 0,
701
-      'validate_argument_node_flag_name' => '*relationship*',
702
-      'validate_argument_node_flag_test' => 'flaggable',
703
-      'validate_argument_node_flag_id_type' => 'id',
704
-      'validate_argument_user_flag_name' => '*relationship*',
705
-      'validate_argument_user_flag_test' => 'flaggable',
706
-      'validate_argument_user_flag_id_type' => 'id',
707
-      'validate_argument_php' => 'if ($argument !== $GLOBALS[\'user\']->uid && !user_access(\'administer users\')) {
694
+        ),
695
+        'validate_argument_node_access' => 0,
696
+        'validate_argument_nid_type' => 'nid',
697
+        'validate_argument_vocabulary' => array(),
698
+        'validate_argument_type' => 'tid',
699
+        'validate_argument_transform' => 0,
700
+        'validate_user_restrict_roles' => 0,
701
+        'validate_argument_node_flag_name' => '*relationship*',
702
+        'validate_argument_node_flag_test' => 'flaggable',
703
+        'validate_argument_node_flag_id_type' => 'id',
704
+        'validate_argument_user_flag_name' => '*relationship*',
705
+        'validate_argument_user_flag_test' => 'flaggable',
706
+        'validate_argument_user_flag_id_type' => 'id',
707
+        'validate_argument_php' => 'if ($argument !== $GLOBALS[\'user\']->uid && !user_access(\'administer users\')) {
708 708
     return FALSE;
709 709
   }
710 710
   return TRUE;',
711 711
     ),
712
-  ));
713
-  $handler->override_option('title', 'Awaiting Friend Approvals');
714
-  $handler->override_option('header', 'These are users who you have requested to be friends with.');
715
-  $handler->override_option('header_format', '5');
716
-  $handler->override_option('header_empty', 1);
717
-  $handler->override_option('empty', 'No Friend Requests.');
718
-  $handler->override_option('path', 'account/%/friends/flagged');
719
-  $handler->override_option('menu', array(
712
+    ));
713
+    $handler->override_option('title', 'Awaiting Friend Approvals');
714
+    $handler->override_option('header', 'These are users who you have requested to be friends with.');
715
+    $handler->override_option('header_format', '5');
716
+    $handler->override_option('header_empty', 1);
717
+    $handler->override_option('empty', 'No Friend Requests.');
718
+    $handler->override_option('path', 'account/%/friends/flagged');
719
+    $handler->override_option('menu', array(
720 720
     'type' => 'tab',
721 721
     'title' => bts('Awaiting Friend Approvals', array(), NULL, 'boinc:friends-page'),
722 722
     'description' => '',
723 723
     'weight' => '0',
724 724
     'name' => 'navigation',
725
-  ));
726
-  $handler->override_option('tab_options', array(
725
+    ));
726
+    $handler->override_option('tab_options', array(
727 727
     'type' => 'none',
728 728
     'title' => '',
729 729
     'description' => '',
730 730
     'weight' => 0,
731 731
     'name' => 'navigation',
732
-  ));
733
-  $handler = $view->new_display('block', 'Current user\'s Friends block', 'block_1');
734
-  $handler->override_option('relationships', array(
732
+    ));
733
+    $handler = $view->new_display('block', 'Current user\'s Friends block', 'block_1');
734
+    $handler->override_option('relationships', array(
735 735
     'content_profile_rel' => array(
736
-      'label' => 'Content Profile',
737
-      'required' => 0,
738
-      'type' => 'profile',
739
-      'id' => 'content_profile_rel',
740
-      'table' => 'users',
741
-      'field' => 'content_profile_rel',
742
-      'override' => array(
736
+        'label' => 'Content Profile',
737
+        'required' => 0,
738
+        'type' => 'profile',
739
+        'id' => 'content_profile_rel',
740
+        'table' => 'users',
741
+        'field' => 'content_profile_rel',
742
+        'override' => array(
743 743
         'button' => 'Use default',
744
-      ),
745
-      'relationship' => 'none',
744
+        ),
745
+        'relationship' => 'none',
746 746
     ),
747
-  ));
748
-  $handler->override_option('fields', array(
747
+    ));
748
+    $handler->override_option('fields', array(
749 749
     'name' => array(
750
-      'label' => 'Name',
751
-      'alter' => array(
750
+        'label' => 'Name',
751
+        'alter' => array(
752 752
         'alter_text' => 0,
753 753
         'text' => '',
754 754
         'make_link' => 0,
@@ -767,26 +767,26 @@  discard block
 block discarded – undo
767 767
         'ellipsis' => 1,
768 768
         'html' => 0,
769 769
         'strip_tags' => 0,
770
-      ),
771
-      'empty' => '',
772
-      'hide_empty' => 0,
773
-      'empty_zero' => 0,
774
-      'hide_alter_empty' => 1,
775
-      'link_to_user' => 0,
776
-      'overwrite_anonymous' => 0,
777
-      'anonymous_text' => '',
778
-      'exclude' => 0,
779
-      'id' => 'name',
780
-      'table' => 'users',
781
-      'field' => 'name',
782
-      'override' => array(
770
+        ),
771
+        'empty' => '',
772
+        'hide_empty' => 0,
773
+        'empty_zero' => 0,
774
+        'hide_alter_empty' => 1,
775
+        'link_to_user' => 0,
776
+        'overwrite_anonymous' => 0,
777
+        'anonymous_text' => '',
778
+        'exclude' => 0,
779
+        'id' => 'name',
780
+        'table' => 'users',
781
+        'field' => 'name',
782
+        'override' => array(
783 783
         'button' => 'Use default',
784
-      ),
785
-      'relationship' => 'none',
784
+        ),
785
+        'relationship' => 'none',
786 786
     ),
787 787
     'field_image_fid' => array(
788
-      'label' => '',
789
-      'alter' => array(
788
+        'label' => '',
789
+        'alter' => array(
790 790
         'alter_text' => 0,
791 791
         'text' => '',
792 792
         'make_link' => 0,
@@ -805,32 +805,32 @@  discard block
 block discarded – undo
805 805
         'ellipsis' => 1,
806 806
         'html' => 0,
807 807
         'strip_tags' => 0,
808
-      ),
809
-      'empty' => '',
810
-      'hide_empty' => 0,
811
-      'empty_zero' => 0,
812
-      'hide_alter_empty' => 1,
813
-      'link_to_node' => 0,
814
-      'label_type' => 'none',
815
-      'format' => 'image_plain',
816
-      'multiple' => array(
808
+        ),
809
+        'empty' => '',
810
+        'hide_empty' => 0,
811
+        'empty_zero' => 0,
812
+        'hide_alter_empty' => 1,
813
+        'link_to_node' => 0,
814
+        'label_type' => 'none',
815
+        'format' => 'image_plain',
816
+        'multiple' => array(
817 817
         'group' => TRUE,
818 818
         'multiple_number' => '',
819 819
         'multiple_from' => '',
820 820
         'multiple_reversed' => FALSE,
821
-      ),
822
-      'exclude' => 0,
823
-      'id' => 'field_image_fid',
824
-      'table' => 'node_data_field_image',
825
-      'field' => 'field_image_fid',
826
-      'relationship' => 'content_profile_rel',
827
-      'override' => array(
821
+        ),
822
+        'exclude' => 0,
823
+        'id' => 'field_image_fid',
824
+        'table' => 'node_data_field_image',
825
+        'field' => 'field_image_fid',
826
+        'relationship' => 'content_profile_rel',
827
+        'override' => array(
828 828
         'button' => 'Use default',
829
-      ),
829
+        ),
830 830
     ),
831 831
     'uid' => array(
832
-      'label' => 'Uid',
833
-      'alter' => array(
832
+        'label' => 'Uid',
833
+        'alter' => array(
834 834
         'alter_text' => 0,
835 835
         'text' => '',
836 836
         'make_link' => 0,
@@ -849,70 +849,70 @@  discard block
 block discarded – undo
849 849
         'ellipsis' => 1,
850 850
         'html' => 0,
851 851
         'strip_tags' => 0,
852
-      ),
853
-      'empty' => '',
854
-      'hide_empty' => 0,
855
-      'empty_zero' => 0,
856
-      'hide_alter_empty' => 1,
857
-      'link_to_user' => 0,
858
-      'exclude' => 0,
859
-      'id' => 'uid',
860
-      'table' => 'users',
861
-      'field' => 'uid',
862
-      'override' => array(
852
+        ),
853
+        'empty' => '',
854
+        'hide_empty' => 0,
855
+        'empty_zero' => 0,
856
+        'hide_alter_empty' => 1,
857
+        'link_to_user' => 0,
858
+        'exclude' => 0,
859
+        'id' => 'uid',
860
+        'table' => 'users',
861
+        'field' => 'uid',
862
+        'override' => array(
863 863
         'button' => 'Use default',
864
-      ),
865
-      'relationship' => 'none',
864
+        ),
865
+        'relationship' => 'none',
866 866
     ),
867
-  ));
868
-  $handler->override_option('arguments', array(
867
+    ));
868
+    $handler->override_option('arguments', array(
869 869
     'friend_uid' => array(
870
-      'default_action' => 'default',
871
-      'style_plugin' => 'default_summary',
872
-      'style_options' => array(),
873
-      'wildcard' => 'all',
874
-      'wildcard_substitution' => 'All',
875
-      'title' => '',
876
-      'default_argument_type' => 'current_user',
877
-      'default_argument' => '',
878
-      'validate_type' => 'none',
879
-      'validate_fail' => 'not found',
880
-      'break_phrase' => 0,
881
-      'not' => 0,
882
-      'id' => 'friend_uid',
883
-      'table' => 'flag_friend',
884
-      'field' => 'friend_uid',
885
-      'override' => array(
870
+        'default_action' => 'default',
871
+        'style_plugin' => 'default_summary',
872
+        'style_options' => array(),
873
+        'wildcard' => 'all',
874
+        'wildcard_substitution' => 'All',
875
+        'title' => '',
876
+        'default_argument_type' => 'current_user',
877
+        'default_argument' => '',
878
+        'validate_type' => 'none',
879
+        'validate_fail' => 'not found',
880
+        'break_phrase' => 0,
881
+        'not' => 0,
882
+        'id' => 'friend_uid',
883
+        'table' => 'flag_friend',
884
+        'field' => 'friend_uid',
885
+        'override' => array(
886 886
         'button' => 'Use default',
887
-      ),
888
-      'relationship' => 'none',
889
-      'default_options_div_prefix' => '',
890
-      'default_argument_user' => 0,
891
-      'default_argument_fixed' => '',
892
-      'default_argument_php' => '',
893
-      'validate_argument_node_access' => 0,
894
-      'validate_argument_nid_type' => 'nid',
895
-      'validate_argument_node_flag_name' => '*relationship*',
896
-      'validate_argument_node_flag_test' => 'flaggable',
897
-      'validate_argument_node_flag_id_type' => 'id',
898
-      'validate_argument_user_flag_name' => '*relationship*',
899
-      'validate_argument_user_flag_test' => 'flaggable',
900
-      'validate_argument_user_flag_id_type' => 'id',
901
-      'validate_argument_php' => '',
902
-    ),
903
-  ));
904
-  $handler->override_option('header_format', '3');
905
-  $handler->override_option('header_empty', 0);
906
-  $handler->override_option('items_per_page', 6);
907
-  $handler->override_option('use_pager', '0');
908
-  $handler->override_option('use_more', 1);
909
-  $handler->override_option('use_more_always', 1);
910
-  $handler->override_option('style_plugin', 'default');
911
-  $handler->override_option('style_options', array());
912
-  $handler->override_option('block_description', '');
913
-  $handler->override_option('block_caching', -1);
887
+        ),
888
+        'relationship' => 'none',
889
+        'default_options_div_prefix' => '',
890
+        'default_argument_user' => 0,
891
+        'default_argument_fixed' => '',
892
+        'default_argument_php' => '',
893
+        'validate_argument_node_access' => 0,
894
+        'validate_argument_nid_type' => 'nid',
895
+        'validate_argument_node_flag_name' => '*relationship*',
896
+        'validate_argument_node_flag_test' => 'flaggable',
897
+        'validate_argument_node_flag_id_type' => 'id',
898
+        'validate_argument_user_flag_name' => '*relationship*',
899
+        'validate_argument_user_flag_test' => 'flaggable',
900
+        'validate_argument_user_flag_id_type' => 'id',
901
+        'validate_argument_php' => '',
902
+    ),
903
+    ));
904
+    $handler->override_option('header_format', '3');
905
+    $handler->override_option('header_empty', 0);
906
+    $handler->override_option('items_per_page', 6);
907
+    $handler->override_option('use_pager', '0');
908
+    $handler->override_option('use_more', 1);
909
+    $handler->override_option('use_more_always', 1);
910
+    $handler->override_option('style_plugin', 'default');
911
+    $handler->override_option('style_options', array());
912
+    $handler->override_option('block_description', '');
913
+    $handler->override_option('block_caching', -1);
914 914
 
915
-  $views[$view->name] = $view;
915
+    $views[$view->name] = $view;
916 916
 
917
-  return $views;
917
+    return $views;
918 918
 }
Please login to merge, or discard this patch.
global_search_solr/global_search_solr.apachesolr_search_defaults.inc 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -4,18 +4,18 @@  discard block
 block discarded – undo
4 4
  * Implementation of hook_apachesolr_search_default_searchers().
5 5
  */
6 6
 function global_search_solr_apachesolr_search_default_searchers() {
7
-  $export = array();
7
+    $export = array();
8 8
 
9
-  $searcher = new stdClass;
10
-  $searcher->disabled = FALSE; /* Edit this to true to make a default searcher disabled initially */
11
-  $searcher->api_version = 3;
12
-  $searcher->page_id = 'core_search';
13
-  $searcher->label = 'Core Search';
14
-  $searcher->description = 'Core Search';
15
-  $searcher->search_path = 'search/site';
16
-  $searcher->page_title = bts('Search site', array(), NULL, 'boinc:search-page');
17
-  $searcher->env_id = 'solr';
18
-  $searcher->settings = array(
9
+    $searcher = new stdClass;
10
+    $searcher->disabled = FALSE; /* Edit this to true to make a default searcher disabled initially */
11
+    $searcher->api_version = 3;
12
+    $searcher->page_id = 'core_search';
13
+    $searcher->label = 'Core Search';
14
+    $searcher->description = 'Core Search';
15
+    $searcher->search_path = 'search/site';
16
+    $searcher->page_title = bts('Search site', array(), NULL, 'boinc:search-page');
17
+    $searcher->env_id = 'solr';
18
+    $searcher->settings = array(
19 19
     'fq' => array(),
20 20
     'apachesolr_search_custom_enable' => 0,
21 21
     'apachesolr_search_search_type' => 'custom',
@@ -24,8 +24,8 @@  discard block
 block discarded – undo
24 24
     'apachesolr_search_browse' => 'none',
25 25
     'apachesolr_search_spellcheck' => 1,
26 26
     'apachesolr_search_allow_user_input' => 0,
27
-  );
28
-  $export['core_search'] = $searcher;
27
+    );
28
+    $export['core_search'] = $searcher;
29 29
 
30
-  return $export;
30
+    return $export;
31 31
 }
Please login to merge, or discard this patch.
drupal/sites/all/features/stats_charts/stats_charts.views_default.inc 1 patch
Indentation   +460 added lines, -460 removed lines patch added patch discarded remove patch
@@ -4,22 +4,22 @@  discard block
 block discarded – undo
4 4
  * Implementation of hook_views_default_views().
5 5
  */
6 6
 function stats_charts_views_default_views() {
7
-  $views = array();
7
+    $views = array();
8 8
 
9
-  // Exported view: boinc_account_stats
10
-  $view = new view;
11
-  $view->name = 'boinc_account_stats';
12
-  $view->description = 'BOINC user stats information';
13
-  $view->tag = '';
14
-  $view->base_table = 'user';
15
-  $view->core = 0;
16
-  $view->api_version = '2';
17
-  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
18
-  $handler = $view->new_display('default', 'Defaults', 'default');
19
-  $handler->override_option('fields', array(
9
+    // Exported view: boinc_account_stats
10
+    $view = new view;
11
+    $view->name = 'boinc_account_stats';
12
+    $view->description = 'BOINC user stats information';
13
+    $view->tag = '';
14
+    $view->base_table = 'user';
15
+    $view->core = 0;
16
+    $view->api_version = '2';
17
+    $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
18
+    $handler = $view->new_display('default', 'Defaults', 'default');
19
+    $handler->override_option('fields', array(
20 20
     'id' => array(
21
-      'label' => 'User ID',
22
-      'alter' => array(
21
+        'label' => 'User ID',
22
+        'alter' => array(
23 23
         'alter_text' => 0,
24 24
         'text' => '',
25 25
         'make_link' => 0,
@@ -36,25 +36,25 @@  discard block
 block discarded – undo
36 36
         'ellipsis' => 1,
37 37
         'html' => 0,
38 38
         'strip_tags' => 0,
39
-      ),
40
-      'empty' => '',
41
-      'hide_empty' => 0,
42
-      'empty_zero' => 0,
43
-      'set_precision' => FALSE,
44
-      'precision' => 0,
45
-      'decimal' => '.',
46
-      'separator' => '',
47
-      'prefix' => '',
48
-      'suffix' => '',
49
-      'exclude' => 0,
50
-      'id' => 'id',
51
-      'table' => 'user',
52
-      'field' => 'id',
53
-      'relationship' => 'none',
39
+        ),
40
+        'empty' => '',
41
+        'hide_empty' => 0,
42
+        'empty_zero' => 0,
43
+        'set_precision' => FALSE,
44
+        'precision' => 0,
45
+        'decimal' => '.',
46
+        'separator' => '',
47
+        'prefix' => '',
48
+        'suffix' => '',
49
+        'exclude' => 0,
50
+        'id' => 'id',
51
+        'table' => 'user',
52
+        'field' => 'id',
53
+        'relationship' => 'none',
54 54
     ),
55 55
     'total_credit' => array(
56
-      'label' => 'Total credit',
57
-      'alter' => array(
56
+        'label' => 'Total credit',
57
+        'alter' => array(
58 58
         'alter_text' => 0,
59 59
         'text' => '',
60 60
         'make_link' => 0,
@@ -71,25 +71,25 @@  discard block
 block discarded – undo
71 71
         'ellipsis' => 1,
72 72
         'html' => 0,
73 73
         'strip_tags' => 0,
74
-      ),
75
-      'empty' => '',
76
-      'hide_empty' => 0,
77
-      'empty_zero' => 0,
78
-      'set_precision' => 1,
79
-      'precision' => '0',
80
-      'decimal' => '.',
81
-      'separator' => ',',
82
-      'prefix' => '',
83
-      'suffix' => '',
84
-      'exclude' => 0,
85
-      'id' => 'total_credit',
86
-      'table' => 'user',
87
-      'field' => 'total_credit',
88
-      'relationship' => 'none',
74
+        ),
75
+        'empty' => '',
76
+        'hide_empty' => 0,
77
+        'empty_zero' => 0,
78
+        'set_precision' => 1,
79
+        'precision' => '0',
80
+        'decimal' => '.',
81
+        'separator' => ',',
82
+        'prefix' => '',
83
+        'suffix' => '',
84
+        'exclude' => 0,
85
+        'id' => 'total_credit',
86
+        'table' => 'user',
87
+        'field' => 'total_credit',
88
+        'relationship' => 'none',
89 89
     ),
90 90
     'expavg_credit' => array(
91
-      'label' => 'Recent average credit',
92
-      'alter' => array(
91
+        'label' => 'Recent average credit',
92
+        'alter' => array(
93 93
         'alter_text' => 0,
94 94
         'text' => '',
95 95
         'make_link' => 0,
@@ -106,25 +106,25 @@  discard block
 block discarded – undo
106 106
         'ellipsis' => 1,
107 107
         'html' => 0,
108 108
         'strip_tags' => 0,
109
-      ),
110
-      'empty' => '',
111
-      'hide_empty' => 0,
112
-      'empty_zero' => 0,
113
-      'set_precision' => 1,
114
-      'precision' => '2',
115
-      'decimal' => '.',
116
-      'separator' => ',',
117
-      'prefix' => '',
118
-      'suffix' => '',
119
-      'exclude' => 0,
120
-      'id' => 'expavg_credit',
121
-      'table' => 'user',
122
-      'field' => 'expavg_credit',
123
-      'relationship' => 'none',
109
+        ),
110
+        'empty' => '',
111
+        'hide_empty' => 0,
112
+        'empty_zero' => 0,
113
+        'set_precision' => 1,
114
+        'precision' => '2',
115
+        'decimal' => '.',
116
+        'separator' => ',',
117
+        'prefix' => '',
118
+        'suffix' => '',
119
+        'exclude' => 0,
120
+        'id' => 'expavg_credit',
121
+        'table' => 'user',
122
+        'field' => 'expavg_credit',
123
+        'relationship' => 'none',
124 124
     ),
125 125
     'nothing_4' => array(
126
-      'label' => 'Pending credit',
127
-      'alter' => array(
126
+        'label' => 'Pending credit',
127
+        'alter' => array(
128 128
         'text' => 'View',
129 129
         'make_link' => 1,
130 130
         'path' => 'account/credit/pending',
@@ -142,20 +142,20 @@  discard block
 block discarded – undo
142 142
         'ellipsis' => 1,
143 143
         'html' => 0,
144 144
         'strip_tags' => 0,
145
-      ),
146
-      'empty' => '',
147
-      'hide_empty' => 0,
148
-      'empty_zero' => 0,
149
-      'hide_alter_empty' => 1,
150
-      'exclude' => 1,
151
-      'id' => 'nothing_4',
152
-      'table' => 'views',
153
-      'field' => 'nothing',
154
-      'relationship' => 'none',
145
+        ),
146
+        'empty' => '',
147
+        'hide_empty' => 0,
148
+        'empty_zero' => 0,
149
+        'hide_alter_empty' => 1,
150
+        'exclude' => 1,
151
+        'id' => 'nothing_4',
152
+        'table' => 'views',
153
+        'field' => 'nothing',
154
+        'relationship' => 'none',
155 155
     ),
156 156
     'nothing_5' => array(
157
-      'label' => 'Computers on this account',
158
-      'alter' => array(
157
+        'label' => 'Computers on this account',
158
+        'alter' => array(
159 159
         'text' => 'View',
160 160
         'make_link' => 1,
161 161
         'path' => 'account/computers',
@@ -171,19 +171,19 @@  discard block
 block discarded – undo
171 171
         'ellipsis' => 1,
172 172
         'html' => 0,
173 173
         'strip_tags' => 0,
174
-      ),
175
-      'empty' => '',
176
-      'hide_empty' => 0,
177
-      'empty_zero' => 0,
178
-      'exclude' => 0,
179
-      'id' => 'nothing_5',
180
-      'table' => 'views',
181
-      'field' => 'nothing',
182
-      'relationship' => 'none',
174
+        ),
175
+        'empty' => '',
176
+        'hide_empty' => 0,
177
+        'empty_zero' => 0,
178
+        'exclude' => 0,
179
+        'id' => 'nothing_5',
180
+        'table' => 'views',
181
+        'field' => 'nothing',
182
+        'relationship' => 'none',
183 183
     ),
184 184
     'nothing_6' => array(
185
-      'label' => 'Tasks',
186
-      'alter' => array(
185
+        'label' => 'Tasks',
186
+        'alter' => array(
187 187
         'text' => 'View',
188 188
         'make_link' => 1,
189 189
         'path' => 'account/tasks',
@@ -199,19 +199,19 @@  discard block
 block discarded – undo
199 199
         'ellipsis' => 1,
200 200
         'html' => 0,
201 201
         'strip_tags' => 0,
202
-      ),
203
-      'empty' => '',
204
-      'hide_empty' => 0,
205
-      'empty_zero' => 0,
206
-      'exclude' => 0,
207
-      'id' => 'nothing_6',
208
-      'table' => 'views',
209
-      'field' => 'nothing',
210
-      'relationship' => 'none',
202
+        ),
203
+        'empty' => '',
204
+        'hide_empty' => 0,
205
+        'empty_zero' => 0,
206
+        'exclude' => 0,
207
+        'id' => 'nothing_6',
208
+        'table' => 'views',
209
+        'field' => 'nothing',
210
+        'relationship' => 'none',
211 211
     ),
212 212
     'cross_project_id' => array(
213
-      'label' => 'Cross-project statistics',
214
-      'alter' => array(
213
+        'label' => 'Cross-project statistics',
214
+        'alter' => array(
215 215
         'alter_text' => 0,
216 216
         'text' => '',
217 217
         'make_link' => 0,
@@ -228,22 +228,22 @@  discard block
 block discarded – undo
228 228
         'ellipsis' => 1,
229 229
         'html' => 0,
230 230
         'strip_tags' => 0,
231
-      ),
232
-      'empty' => '',
233
-      'hide_empty' => 0,
234
-      'empty_zero' => 0,
235
-      'exclude' => 1,
236
-      'id' => 'cross_project_id',
237
-      'table' => 'user',
238
-      'field' => 'cross_project_id',
239
-      'relationship' => 'none',
240
-      'override' => array(
231
+        ),
232
+        'empty' => '',
233
+        'hide_empty' => 0,
234
+        'empty_zero' => 0,
235
+        'exclude' => 1,
236
+        'id' => 'cross_project_id',
237
+        'table' => 'user',
238
+        'field' => 'cross_project_id',
239
+        'relationship' => 'none',
240
+        'override' => array(
241 241
         'button' => 'Override',
242
-      ),
242
+        ),
243 243
     ),
244 244
     'nothing_8' => array(
245
-      'label' => 'Certificate',
246
-      'alter' => array(
245
+        'label' => 'Certificate',
246
+        'alter' => array(
247 247
         'text' => '<a href="account/certs">Account</a> | <a href="account/certs/all">Cross-project</a>',
248 248
         'make_link' => 0,
249 249
         'path' => '',
@@ -259,129 +259,129 @@  discard block
 block discarded – undo
259 259
         'ellipsis' => 1,
260 260
         'html' => 0,
261 261
         'strip_tags' => 0,
262
-      ),
263
-      'empty' => '',
264
-      'hide_empty' => 0,
265
-      'empty_zero' => 0,
266
-      'exclude' => 0,
267
-      'id' => 'nothing_8',
268
-      'table' => 'views',
269
-      'field' => 'nothing',
270
-      'relationship' => 'none',
262
+        ),
263
+        'empty' => '',
264
+        'hide_empty' => 0,
265
+        'empty_zero' => 0,
266
+        'exclude' => 0,
267
+        'id' => 'nothing_8',
268
+        'table' => 'views',
269
+        'field' => 'nothing',
270
+        'relationship' => 'none',
271 271
     ),
272
-  ));
273
-  $handler->override_option('arguments', array(
272
+    ));
273
+    $handler->override_option('arguments', array(
274 274
     'id' => array(
275
-      'default_action' => 'default',
276
-      'style_plugin' => 'default_summary',
277
-      'style_options' => array(),
278
-      'wildcard' => 'all',
279
-      'wildcard_substitution' => 'All',
280
-      'title' => '',
281
-      'breadcrumb' => '',
282
-      'default_argument_type' => 'current_user',
283
-      'default_argument' => '',
284
-      'validate_type' => 'numeric',
285
-      'validate_fail' => 'not found',
286
-      'break_phrase' => 0,
287
-      'not' => 0,
288
-      'id' => 'id',
289
-      'table' => 'user',
290
-      'field' => 'id',
291
-      'validate_user_argument_type' => 'uid',
292
-      'validate_user_roles' => array(
275
+        'default_action' => 'default',
276
+        'style_plugin' => 'default_summary',
277
+        'style_options' => array(),
278
+        'wildcard' => 'all',
279
+        'wildcard_substitution' => 'All',
280
+        'title' => '',
281
+        'breadcrumb' => '',
282
+        'default_argument_type' => 'current_user',
283
+        'default_argument' => '',
284
+        'validate_type' => 'numeric',
285
+        'validate_fail' => 'not found',
286
+        'break_phrase' => 0,
287
+        'not' => 0,
288
+        'id' => 'id',
289
+        'table' => 'user',
290
+        'field' => 'id',
291
+        'validate_user_argument_type' => 'uid',
292
+        'validate_user_roles' => array(
293 293
         2 => 0,
294 294
         4 => 0,
295 295
         7 => 0,
296 296
         5 => 0,
297 297
         3 => 0,
298 298
         6 => 0,
299
-      ),
300
-      'relationship' => 'none',
301
-      'default_options_div_prefix' => '',
302
-      'default_argument_fixed' => '',
303
-      'default_argument_user' => 0,
304
-      'default_argument_php' => '',
305
-      'validate_argument_node_type' => array(
299
+        ),
300
+        'relationship' => 'none',
301
+        'default_options_div_prefix' => '',
302
+        'default_argument_fixed' => '',
303
+        'default_argument_user' => 0,
304
+        'default_argument_php' => '',
305
+        'validate_argument_node_type' => array(
306 306
         'page' => 0,
307 307
         'news' => 0,
308 308
         'profile' => 0,
309 309
         'forum' => 0,
310 310
         'panel' => 0,
311 311
         'story' => 0,
312
-      ),
313
-      'validate_argument_node_access' => 0,
314
-      'validate_argument_nid_type' => 'nid',
315
-      'validate_argument_vocabulary' => array(
312
+        ),
313
+        'validate_argument_node_access' => 0,
314
+        'validate_argument_nid_type' => 'nid',
315
+        'validate_argument_vocabulary' => array(
316 316
         1 => 0,
317 317
         2 => 0,
318
-      ),
319
-      'validate_argument_type' => 'tid',
320
-      'validate_argument_transform' => 0,
321
-      'validate_user_restrict_roles' => 0,
322
-      'validate_argument_php' => '',
323
-      'override' => array(
318
+        ),
319
+        'validate_argument_type' => 'tid',
320
+        'validate_argument_transform' => 0,
321
+        'validate_user_restrict_roles' => 0,
322
+        'validate_argument_php' => '',
323
+        'override' => array(
324 324
         'button' => 'Override',
325
-      ),
326
-      'me_redirect' => 0,
327
-      'me_validate_user_argument_type' => 'uid',
328
-      'me_validate_user_roles' => array(
325
+        ),
326
+        'me_redirect' => 0,
327
+        'me_validate_user_argument_type' => 'uid',
328
+        'me_validate_user_roles' => array(
329 329
         2 => 0,
330 330
         4 => 0,
331 331
         7 => 0,
332 332
         5 => 0,
333 333
         3 => 0,
334 334
         6 => 0,
335
-      ),
336
-      'default_taxonomy_tid_term_page' => 0,
337
-      'default_taxonomy_tid_node' => 0,
338
-      'default_taxonomy_tid_limit' => 0,
339
-      'default_taxonomy_tid_vids' => array(
335
+        ),
336
+        'default_taxonomy_tid_term_page' => 0,
337
+        'default_taxonomy_tid_node' => 0,
338
+        'default_taxonomy_tid_limit' => 0,
339
+        'default_taxonomy_tid_vids' => array(
340 340
         1 => 0,
341 341
         2 => 0,
342
-      ),
343
-      'validate_argument_node_flag_name' => '*relationship*',
344
-      'validate_argument_node_flag_test' => 'flaggable',
345
-      'validate_argument_node_flag_id_type' => 'id',
346
-      'validate_argument_user_flag_name' => '*relationship*',
347
-      'validate_argument_user_flag_test' => 'flaggable',
348
-      'validate_argument_user_flag_id_type' => 'id',
349
-      'me_validate_user_restrict_roles' => 0,
342
+        ),
343
+        'validate_argument_node_flag_name' => '*relationship*',
344
+        'validate_argument_node_flag_test' => 'flaggable',
345
+        'validate_argument_node_flag_id_type' => 'id',
346
+        'validate_argument_user_flag_name' => '*relationship*',
347
+        'validate_argument_user_flag_test' => 'flaggable',
348
+        'validate_argument_user_flag_id_type' => 'id',
349
+        'me_validate_user_restrict_roles' => 0,
350 350
     ),
351
-  ));
352
-  $handler->override_option('access', array(
351
+    ));
352
+    $handler->override_option('access', array(
353 353
     'type' => 'none',
354
-  ));
355
-  $handler->override_option('cache', array(
354
+    ));
355
+    $handler->override_option('cache', array(
356 356
     'type' => 'none',
357
-  ));
358
-  $handler->override_option('css_class', 'stats');
359
-  $handler->override_option('header_format', '1');
360
-  $handler->override_option('header_empty', 0);
361
-  $handler->override_option('style_options', array(
357
+    ));
358
+    $handler->override_option('css_class', 'stats');
359
+    $handler->override_option('header_format', '1');
360
+    $handler->override_option('header_empty', 0);
361
+    $handler->override_option('style_options', array(
362 362
     'grouping' => '',
363
-  ));
364
-  $handler = $view->new_display('page', 'Page', 'page_1');
365
-  $handler->override_option('path', 'account/obsolete');
366
-  $handler->override_option('menu', array(
363
+    ));
364
+    $handler = $view->new_display('page', 'Page', 'page_1');
365
+    $handler->override_option('path', 'account/obsolete');
366
+    $handler->override_option('menu', array(
367 367
     'type' => 'tab',
368 368
     'title' => 'Obsolete',
369 369
     'description' => '',
370 370
     'weight' => '0',
371 371
     'name' => 'navigation',
372
-  ));
373
-  $handler->override_option('tab_options', array(
372
+    ));
373
+    $handler->override_option('tab_options', array(
374 374
     'type' => 'none',
375 375
     'title' => '',
376 376
     'description' => '',
377 377
     'weight' => 0,
378 378
     'name' => 'navigation',
379
-  ));
380
-  $handler = $view->new_display('panel_pane', 'Credit status', 'panel_pane_1');
381
-  $handler->override_option('fields', array(
379
+    ));
380
+    $handler = $view->new_display('panel_pane', 'Credit status', 'panel_pane_1');
381
+    $handler->override_option('fields', array(
382 382
     'id' => array(
383
-      'label' => 'User ID',
384
-      'alter' => array(
383
+        'label' => 'User ID',
384
+        'alter' => array(
385 385
         'alter_text' => 0,
386 386
         'text' => '',
387 387
         'make_link' => 0,
@@ -398,28 +398,28 @@  discard block
 block discarded – undo
398 398
         'ellipsis' => 1,
399 399
         'html' => 0,
400 400
         'strip_tags' => 0,
401
-      ),
402
-      'empty' => '',
403
-      'hide_empty' => 0,
404
-      'empty_zero' => 0,
405
-      'set_precision' => FALSE,
406
-      'precision' => 0,
407
-      'decimal' => '.',
408
-      'separator' => '',
409
-      'prefix' => '',
410
-      'suffix' => '',
411
-      'exclude' => 1,
412
-      'id' => 'id',
413
-      'table' => 'user',
414
-      'field' => 'id',
415
-      'relationship' => 'none',
416
-      'override' => array(
401
+        ),
402
+        'empty' => '',
403
+        'hide_empty' => 0,
404
+        'empty_zero' => 0,
405
+        'set_precision' => FALSE,
406
+        'precision' => 0,
407
+        'decimal' => '.',
408
+        'separator' => '',
409
+        'prefix' => '',
410
+        'suffix' => '',
411
+        'exclude' => 1,
412
+        'id' => 'id',
413
+        'table' => 'user',
414
+        'field' => 'id',
415
+        'relationship' => 'none',
416
+        'override' => array(
417 417
         'button' => 'Use default',
418
-      ),
418
+        ),
419 419
     ),
420 420
     'total_credit' => array(
421
-      'label' => 'Total credit',
422
-      'alter' => array(
421
+        'label' => 'Total credit',
422
+        'alter' => array(
423 423
         'alter_text' => 0,
424 424
         'text' => '',
425 425
         'make_link' => 0,
@@ -436,25 +436,25 @@  discard block
 block discarded – undo
436 436
         'ellipsis' => 1,
437 437
         'html' => 0,
438 438
         'strip_tags' => 0,
439
-      ),
440
-      'empty' => '',
441
-      'hide_empty' => 0,
442
-      'empty_zero' => 0,
443
-      'set_precision' => 1,
444
-      'precision' => '0',
445
-      'decimal' => '.',
446
-      'separator' => ',',
447
-      'prefix' => '',
448
-      'suffix' => '',
449
-      'exclude' => 0,
450
-      'id' => 'total_credit',
451
-      'table' => 'user',
452
-      'field' => 'total_credit',
453
-      'relationship' => 'none',
439
+        ),
440
+        'empty' => '',
441
+        'hide_empty' => 0,
442
+        'empty_zero' => 0,
443
+        'set_precision' => 1,
444
+        'precision' => '0',
445
+        'decimal' => '.',
446
+        'separator' => ',',
447
+        'prefix' => '',
448
+        'suffix' => '',
449
+        'exclude' => 0,
450
+        'id' => 'total_credit',
451
+        'table' => 'user',
452
+        'field' => 'total_credit',
453
+        'relationship' => 'none',
454 454
     ),
455 455
     'expavg_credit' => array(
456
-      'label' => 'Recent avg',
457
-      'alter' => array(
456
+        'label' => 'Recent avg',
457
+        'alter' => array(
458 458
         'alter_text' => 0,
459 459
         'text' => '',
460 460
         'make_link' => 0,
@@ -471,28 +471,28 @@  discard block
 block discarded – undo
471 471
         'ellipsis' => 1,
472 472
         'html' => 0,
473 473
         'strip_tags' => 0,
474
-      ),
475
-      'empty' => '',
476
-      'hide_empty' => 0,
477
-      'empty_zero' => 0,
478
-      'set_precision' => 1,
479
-      'precision' => '2',
480
-      'decimal' => '.',
481
-      'separator' => ',',
482
-      'prefix' => '',
483
-      'suffix' => '',
484
-      'exclude' => 0,
485
-      'id' => 'expavg_credit',
486
-      'table' => 'user',
487
-      'field' => 'expavg_credit',
488
-      'relationship' => 'none',
489
-      'override' => array(
474
+        ),
475
+        'empty' => '',
476
+        'hide_empty' => 0,
477
+        'empty_zero' => 0,
478
+        'set_precision' => 1,
479
+        'precision' => '2',
480
+        'decimal' => '.',
481
+        'separator' => ',',
482
+        'prefix' => '',
483
+        'suffix' => '',
484
+        'exclude' => 0,
485
+        'id' => 'expavg_credit',
486
+        'table' => 'user',
487
+        'field' => 'expavg_credit',
488
+        'relationship' => 'none',
489
+        'override' => array(
490 490
         'button' => 'Use default',
491
-      ),
491
+        ),
492 492
     ),
493 493
     'nothing_4' => array(
494
-      'label' => '',
495
-      'alter' => array(
494
+        'label' => '',
495
+        'alter' => array(
496 496
         'text' => 'Pending',
497 497
         'make_link' => 1,
498 498
         'path' => 'account/tasks/pending',
@@ -510,23 +510,23 @@  discard block
 block discarded – undo
510 510
         'ellipsis' => 1,
511 511
         'html' => 0,
512 512
         'strip_tags' => 0,
513
-      ),
514
-      'empty' => '',
515
-      'hide_empty' => 0,
516
-      'empty_zero' => 0,
517
-      'hide_alter_empty' => 1,
518
-      'exclude' => 1,
519
-      'id' => 'nothing_4',
520
-      'table' => 'views',
521
-      'field' => 'nothing',
522
-      'relationship' => 'none',
523
-      'override' => array(
513
+        ),
514
+        'empty' => '',
515
+        'hide_empty' => 0,
516
+        'empty_zero' => 0,
517
+        'hide_alter_empty' => 1,
518
+        'exclude' => 1,
519
+        'id' => 'nothing_4',
520
+        'table' => 'views',
521
+        'field' => 'nothing',
522
+        'relationship' => 'none',
523
+        'override' => array(
524 524
         'button' => 'Use default',
525
-      ),
525
+        ),
526 526
     ),
527 527
     'nothing' => array(
528
-      'label' => '',
529
-      'alter' => array(
528
+        'label' => '',
529
+        'alter' => array(
530 530
         'text' => bts('Certificates', array(), NULL, 'boinc:account-dashboard'),
531 531
         'make_link' => 1,
532 532
         'path' => 'account/certs',
@@ -544,23 +544,23 @@  discard block
 block discarded – undo
544 544
         'ellipsis' => 1,
545 545
         'html' => 0,
546 546
         'strip_tags' => 0,
547
-      ),
548
-      'empty' => '',
549
-      'hide_empty' => 0,
550
-      'empty_zero' => 0,
551
-      'hide_alter_empty' => 1,
552
-      'exclude' => 0,
553
-      'id' => 'nothing',
554
-      'table' => 'views',
555
-      'field' => 'nothing',
556
-      'override' => array(
547
+        ),
548
+        'empty' => '',
549
+        'hide_empty' => 0,
550
+        'empty_zero' => 0,
551
+        'hide_alter_empty' => 1,
552
+        'exclude' => 0,
553
+        'id' => 'nothing',
554
+        'table' => 'views',
555
+        'field' => 'nothing',
556
+        'override' => array(
557 557
         'button' => 'Use default',
558
-      ),
559
-      'relationship' => 'none',
558
+        ),
559
+        'relationship' => 'none',
560 560
     ),
561 561
     'nothing_1' => array(
562
-      'label' => '',
563
-      'alter' => array(
562
+        'label' => '',
563
+        'alter' => array(
564 564
         'text' => 'Cross-project',
565 565
         'make_link' => 1,
566 566
         'path' => 'account/certs/all',
@@ -576,22 +576,22 @@  discard block
 block discarded – undo
576 576
         'ellipsis' => 1,
577 577
         'html' => 0,
578 578
         'strip_tags' => 0,
579
-      ),
580
-      'empty' => '',
581
-      'hide_empty' => 0,
582
-      'empty_zero' => 0,
583
-      'exclude' => 1,
584
-      'id' => 'nothing_1',
585
-      'table' => 'views',
586
-      'field' => 'nothing',
587
-      'override' => array(
579
+        ),
580
+        'empty' => '',
581
+        'hide_empty' => 0,
582
+        'empty_zero' => 0,
583
+        'exclude' => 1,
584
+        'id' => 'nothing_1',
585
+        'table' => 'views',
586
+        'field' => 'nothing',
587
+        'override' => array(
588 588
         'button' => 'Use default',
589
-      ),
590
-      'relationship' => 'none',
589
+        ),
590
+        'relationship' => 'none',
591 591
     ),
592 592
     'cross_project_id' => array(
593
-      'label' => '',
594
-      'alter' => array(
593
+        'label' => '',
594
+        'alter' => array(
595 595
         'alter_text' => 0,
596 596
         'text' => '<div class="chart"><img src="charts/user/[cross_project_id]" /></div>',
597 597
         'make_link' => 0,
@@ -608,22 +608,22 @@  discard block
 block discarded – undo
608 608
         'ellipsis' => 1,
609 609
         'html' => 0,
610 610
         'strip_tags' => 0,
611
-      ),
612
-      'empty' => '',
613
-      'hide_empty' => 0,
614
-      'empty_zero' => 0,
615
-      'exclude' => 1,
616
-      'id' => 'cross_project_id',
617
-      'table' => 'user',
618
-      'field' => 'cross_project_id',
619
-      'relationship' => 'none',
620
-      'override' => array(
611
+        ),
612
+        'empty' => '',
613
+        'hide_empty' => 0,
614
+        'empty_zero' => 0,
615
+        'exclude' => 1,
616
+        'id' => 'cross_project_id',
617
+        'table' => 'user',
618
+        'field' => 'cross_project_id',
619
+        'relationship' => 'none',
620
+        'override' => array(
621 621
         'button' => 'Use default',
622
-      ),
622
+        ),
623 623
     ),
624 624
     'phpcode' => array(
625
-      'label' => '',
626
-      'alter' => array(
625
+        'label' => '',
626
+        'alter' => array(
627 627
         'alter_text' => 0,
628 628
         'text' => '',
629 629
         'make_link' => 0,
@@ -642,32 +642,32 @@  discard block
 block discarded – undo
642 642
         'ellipsis' => 1,
643 643
         'html' => 0,
644 644
         'strip_tags' => 0,
645
-      ),
646
-      'empty' => '',
647
-      'hide_empty' => 0,
648
-      'empty_zero' => 0,
649
-      'hide_alter_empty' => 1,
650
-      'value' => '<?php global $base_path; ?>
645
+        ),
646
+        'empty' => '',
647
+        'hide_empty' => 0,
648
+        'empty_zero' => 0,
649
+        'hide_alter_empty' => 1,
650
+        'value' => '<?php global $base_path; ?>
651 651
 <?php $account = user_load(get_drupal_id($data->id)); ?>
652 652
 <div class="chart"><img src="<?php echo "{$base_path}charts/user/{$account->boincuser_cpid}"; ?>" /></div>',
653
-      'exclude' => 0,
654
-      'id' => 'phpcode',
655
-      'table' => 'customfield',
656
-      'field' => 'phpcode',
657
-      'override' => array(
653
+        'exclude' => 0,
654
+        'id' => 'phpcode',
655
+        'table' => 'customfield',
656
+        'field' => 'phpcode',
657
+        'override' => array(
658 658
         'button' => 'Use default',
659
-      ),
660
-      'relationship' => 'none',
659
+        ),
660
+        'relationship' => 'none',
661 661
     ),
662
-  ));
663
-  $handler->override_option('style_options', array());
664
-  $handler->override_option('pane_title', 'BOINC account stats detail');
665
-  $handler->override_option('pane_description', '');
666
-  $handler->override_option('pane_category', array(
662
+    ));
663
+    $handler->override_option('style_options', array());
664
+    $handler->override_option('pane_title', 'BOINC account stats detail');
665
+    $handler->override_option('pane_description', '');
666
+    $handler->override_option('pane_category', array(
667 667
     'name' => 'View panes',
668 668
     'weight' => 0,
669
-  ));
670
-  $handler->override_option('allow', array(
669
+    ));
670
+    $handler->override_option('allow', array(
671 671
     'use_pager' => FALSE,
672 672
     'items_per_page' => FALSE,
673 673
     'offset' => FALSE,
@@ -677,15 +677,15 @@  discard block
 block discarded – undo
677 677
     'title_override' => FALSE,
678 678
     'exposed_form' => FALSE,
679 679
     'fields_override' => FALSE,
680
-  ));
681
-  $handler->override_option('argument_input', array());
682
-  $handler->override_option('link_to_view', 0);
683
-  $handler->override_option('inherit_panels_path', 0);
684
-  $handler = $view->new_display('panel_pane', 'User overview', 'panel_pane_2');
685
-  $handler->override_option('fields', array(
680
+    ));
681
+    $handler->override_option('argument_input', array());
682
+    $handler->override_option('link_to_view', 0);
683
+    $handler->override_option('inherit_panels_path', 0);
684
+    $handler = $view->new_display('panel_pane', 'User overview', 'panel_pane_2');
685
+    $handler->override_option('fields', array(
686 686
     'id' => array(
687
-      'label' => 'User ID',
688
-      'alter' => array(
687
+        'label' => 'User ID',
688
+        'alter' => array(
689 689
         'alter_text' => 0,
690 690
         'text' => '',
691 691
         'make_link' => 0,
@@ -704,32 +704,32 @@  discard block
 block discarded – undo
704 704
         'ellipsis' => 1,
705 705
         'html' => 0,
706 706
         'strip_tags' => 0,
707
-      ),
708
-      'empty' => '',
709
-      'hide_empty' => 0,
710
-      'empty_zero' => 0,
711
-      'hide_alter_empty' => 1,
712
-      'set_precision' => FALSE,
713
-      'precision' => 0,
714
-      'decimal' => '.',
715
-      'separator' => '',
716
-      'format_plural' => 0,
717
-      'format_plural_singular' => '1',
718
-      'format_plural_plural' => '@count',
719
-      'prefix' => '',
720
-      'suffix' => '',
721
-      'exclude' => 1,
722
-      'id' => 'id',
723
-      'table' => 'user',
724
-      'field' => 'id',
725
-      'relationship' => 'none',
726
-      'override' => array(
707
+        ),
708
+        'empty' => '',
709
+        'hide_empty' => 0,
710
+        'empty_zero' => 0,
711
+        'hide_alter_empty' => 1,
712
+        'set_precision' => FALSE,
713
+        'precision' => 0,
714
+        'decimal' => '.',
715
+        'separator' => '',
716
+        'format_plural' => 0,
717
+        'format_plural_singular' => '1',
718
+        'format_plural_plural' => '@count',
719
+        'prefix' => '',
720
+        'suffix' => '',
721
+        'exclude' => 1,
722
+        'id' => 'id',
723
+        'table' => 'user',
724
+        'field' => 'id',
725
+        'relationship' => 'none',
726
+        'override' => array(
727 727
         'button' => 'Use default',
728
-      ),
728
+        ),
729 729
     ),
730 730
     'total_credit' => array(
731
-      'label' => 'Total credit',
732
-      'alter' => array(
731
+        'label' => 'Total credit',
732
+        'alter' => array(
733 733
         'alter_text' => 0,
734 734
         'text' => '',
735 735
         'make_link' => 0,
@@ -746,25 +746,25 @@  discard block
 block discarded – undo
746 746
         'ellipsis' => 1,
747 747
         'html' => 0,
748 748
         'strip_tags' => 0,
749
-      ),
750
-      'empty' => '',
751
-      'hide_empty' => 0,
752
-      'empty_zero' => 0,
753
-      'set_precision' => 1,
754
-      'precision' => '0',
755
-      'decimal' => '.',
756
-      'separator' => ',',
757
-      'prefix' => '',
758
-      'suffix' => '',
759
-      'exclude' => 0,
760
-      'id' => 'total_credit',
761
-      'table' => 'user',
762
-      'field' => 'total_credit',
763
-      'relationship' => 'none',
749
+        ),
750
+        'empty' => '',
751
+        'hide_empty' => 0,
752
+        'empty_zero' => 0,
753
+        'set_precision' => 1,
754
+        'precision' => '0',
755
+        'decimal' => '.',
756
+        'separator' => ',',
757
+        'prefix' => '',
758
+        'suffix' => '',
759
+        'exclude' => 0,
760
+        'id' => 'total_credit',
761
+        'table' => 'user',
762
+        'field' => 'total_credit',
763
+        'relationship' => 'none',
764 764
     ),
765 765
     'expavg_credit' => array(
766
-      'label' => 'Avg credit',
767
-      'alter' => array(
766
+        'label' => 'Avg credit',
767
+        'alter' => array(
768 768
         'alter_text' => 0,
769 769
         'text' => '',
770 770
         'make_link' => 0,
@@ -783,32 +783,32 @@  discard block
 block discarded – undo
783 783
         'ellipsis' => 1,
784 784
         'html' => 0,
785 785
         'strip_tags' => 0,
786
-      ),
787
-      'empty' => '',
788
-      'hide_empty' => 0,
789
-      'empty_zero' => 0,
790
-      'hide_alter_empty' => 1,
791
-      'set_precision' => 1,
792
-      'precision' => '2',
793
-      'decimal' => '.',
794
-      'separator' => ',',
795
-      'format_plural' => 0,
796
-      'format_plural_singular' => '1',
797
-      'format_plural_plural' => '@count',
798
-      'prefix' => '',
799
-      'suffix' => '',
800
-      'exclude' => 0,
801
-      'id' => 'expavg_credit',
802
-      'table' => 'user',
803
-      'field' => 'expavg_credit',
804
-      'relationship' => 'none',
805
-      'override' => array(
786
+        ),
787
+        'empty' => '',
788
+        'hide_empty' => 0,
789
+        'empty_zero' => 0,
790
+        'hide_alter_empty' => 1,
791
+        'set_precision' => 1,
792
+        'precision' => '2',
793
+        'decimal' => '.',
794
+        'separator' => ',',
795
+        'format_plural' => 0,
796
+        'format_plural_singular' => '1',
797
+        'format_plural_plural' => '@count',
798
+        'prefix' => '',
799
+        'suffix' => '',
800
+        'exclude' => 0,
801
+        'id' => 'expavg_credit',
802
+        'table' => 'user',
803
+        'field' => 'expavg_credit',
804
+        'relationship' => 'none',
805
+        'override' => array(
806 806
         'button' => 'Use default',
807
-      ),
807
+        ),
808 808
     ),
809 809
     'phpcode_1' => array(
810
-      'label' => '',
811
-      'alter' => array(
810
+        'label' => '',
811
+        'alter' => array(
812 812
         'alter_text' => 0,
813 813
         'text' => '',
814 814
         'make_link' => 0,
@@ -827,28 +827,28 @@  discard block
 block discarded – undo
827 827
         'ellipsis' => 1,
828 828
         'html' => 0,
829 829
         'strip_tags' => 0,
830
-      ),
831
-      'empty' => '',
832
-      'hide_empty' => 0,
833
-      'empty_zero' => 0,
834
-      'hide_alter_empty' => 1,
835
-      'value' => '<?php
830
+        ),
831
+        'empty' => '',
832
+        'hide_empty' => 0,
833
+        'empty_zero' => 0,
834
+        'hide_alter_empty' => 1,
835
+        'value' => '<?php
836 836
 
837 837
 echo l(bts(\'Show computers\', array(), NULL, \'boinc:accountpage\'), \'account/\' . get_drupal_id($data->id) . \'/computers\');
838 838
 
839 839
 ?>',
840
-      'exclude' => 0,
841
-      'id' => 'phpcode_1',
842
-      'table' => 'customfield',
843
-      'field' => 'phpcode',
844
-      'override' => array(
840
+        'exclude' => 0,
841
+        'id' => 'phpcode_1',
842
+        'table' => 'customfield',
843
+        'field' => 'phpcode',
844
+        'override' => array(
845 845
         'button' => 'Use default',
846
-      ),
847
-      'relationship' => 'none',
846
+        ),
847
+        'relationship' => 'none',
848 848
     ),
849 849
     'cross_project_id' => array(
850
-      'label' => 'Cross-project statistics',
851
-      'alter' => array(
850
+        'label' => 'Cross-project statistics',
851
+        'alter' => array(
852 852
         'alter_text' => 0,
853 853
         'text' => '',
854 854
         'make_link' => 0,
@@ -865,22 +865,22 @@  discard block
 block discarded – undo
865 865
         'ellipsis' => 1,
866 866
         'html' => 0,
867 867
         'strip_tags' => 0,
868
-      ),
869
-      'empty' => '',
870
-      'hide_empty' => 0,
871
-      'empty_zero' => 0,
872
-      'exclude' => 1,
873
-      'id' => 'cross_project_id',
874
-      'table' => 'user',
875
-      'field' => 'cross_project_id',
876
-      'relationship' => 'none',
877
-      'override' => array(
868
+        ),
869
+        'empty' => '',
870
+        'hide_empty' => 0,
871
+        'empty_zero' => 0,
872
+        'exclude' => 1,
873
+        'id' => 'cross_project_id',
874
+        'table' => 'user',
875
+        'field' => 'cross_project_id',
876
+        'relationship' => 'none',
877
+        'override' => array(
878 878
         'button' => 'Override',
879
-      ),
879
+        ),
880 880
     ),
881 881
     'phpcode' => array(
882
-      'label' => '',
883
-      'alter' => array(
882
+        'label' => '',
883
+        'alter' => array(
884 884
         'alter_text' => 0,
885 885
         'text' => '',
886 886
         'make_link' => 0,
@@ -899,39 +899,39 @@  discard block
 block discarded – undo
899 899
         'ellipsis' => 1,
900 900
         'html' => 0,
901 901
         'strip_tags' => 0,
902
-      ),
903
-      'empty' => '',
904
-      'hide_empty' => 0,
905
-      'empty_zero' => 0,
906
-      'hide_alter_empty' => 1,
907
-      'value' => '<?php global $base_path; ?>
902
+        ),
903
+        'empty' => '',
904
+        'hide_empty' => 0,
905
+        'empty_zero' => 0,
906
+        'hide_alter_empty' => 1,
907
+        'value' => '<?php global $base_path; ?>
908 908
 <?php $account = user_load(get_drupal_id($data->id)); ?>
909 909
 <div class="chart"><img src="<?php echo "{$base_path}charts/user/{$account->boincuser_cpid}/small"; ?>" /></div>',
910
-      'exclude' => 0,
911
-      'id' => 'phpcode',
912
-      'table' => 'customfield',
913
-      'field' => 'phpcode',
914
-      'override' => array(
910
+        'exclude' => 0,
911
+        'id' => 'phpcode',
912
+        'table' => 'customfield',
913
+        'field' => 'phpcode',
914
+        'override' => array(
915 915
         'button' => 'Use default',
916
-      ),
917
-      'relationship' => 'none',
916
+        ),
917
+        'relationship' => 'none',
918 918
     ),
919
-  ));
920
-  $handler->override_option('title', 'Statistics');
921
-  $handler->override_option('empty', 'empty...');
922
-  $handler->override_option('empty_format', '5');
923
-  $handler->override_option('row_options', array(
919
+    ));
920
+    $handler->override_option('title', 'Statistics');
921
+    $handler->override_option('empty', 'empty...');
922
+    $handler->override_option('empty_format', '5');
923
+    $handler->override_option('row_options', array(
924 924
     'inline' => array(),
925 925
     'separator' => '',
926 926
     'hide_empty' => 0,
927
-  ));
928
-  $handler->override_option('pane_title', 'BOINC account stats overview');
929
-  $handler->override_option('pane_description', '');
930
-  $handler->override_option('pane_category', array(
927
+    ));
928
+    $handler->override_option('pane_title', 'BOINC account stats overview');
929
+    $handler->override_option('pane_description', '');
930
+    $handler->override_option('pane_category', array(
931 931
     'name' => 'View panes',
932 932
     'weight' => 0,
933
-  ));
934
-  $handler->override_option('allow', array(
933
+    ));
934
+    $handler->override_option('allow', array(
935 935
     'use_pager' => 0,
936 936
     'items_per_page' => 0,
937 937
     'offset' => 0,
@@ -941,21 +941,21 @@  discard block
 block discarded – undo
941 941
     'title_override' => 'title_override',
942 942
     'exposed_form' => 0,
943 943
     'fields_override' => 0,
944
-  ));
945
-  $handler->override_option('argument_input', array(
944
+    ));
945
+    $handler->override_option('argument_input', array(
946 946
     'id' => array(
947
-      'type' => 'panel',
948
-      'context' => 'node_edit_form.author-mail-raw',
949
-      'context_optional' => 0,
950
-      'panel' => '0',
951
-      'fixed' => '',
952
-      'label' => 'BOINC: Id',
947
+        'type' => 'panel',
948
+        'context' => 'node_edit_form.author-mail-raw',
949
+        'context_optional' => 0,
950
+        'panel' => '0',
951
+        'fixed' => '',
952
+        'label' => 'BOINC: Id',
953 953
     ),
954
-  ));
955
-  $handler->override_option('link_to_view', 0);
956
-  $handler->override_option('inherit_panels_path', 0);
954
+    ));
955
+    $handler->override_option('link_to_view', 0);
956
+    $handler->override_option('inherit_panels_path', 0);
957 957
 
958
-  $views[$view->name] = $view;
958
+    $views[$view->name] = $view;
959 959
 
960
-  return $views;
960
+    return $views;
961 961
 }
Please login to merge, or discard this patch.
sites/all/features/boinc_standard/boinc_standard.features.menu_custom.inc 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -4,19 +4,19 @@
 block discarded – undo
4 4
  * Implementation of hook_menu_default_menu_custom().
5 5
  */
6 6
 function boinc_standard_menu_default_menu_custom() {
7
-  $menus = array();
7
+    $menus = array();
8 8
 
9
-  // Exported menu: menu-footer-links
10
-  $menus['menu-footer-links'] = array(
9
+    // Exported menu: menu-footer-links
10
+    $menus['menu-footer-links'] = array(
11 11
     'menu_name' => 'menu-footer-links',
12 12
     'title' => 'Footer links',
13 13
     'description' => 'Auxiliary menu, typically at the bottom of the page in the footer, that includes links to content such as "about us" or "privacy policy" etc.',
14
-  );
15
-  // Translatables
16
-  // Title and description for footer menu appears in admin menu: Admin> Site Building> Menus
17
-  t('Auxiliary menu, typically at the bottom of the page in the footer, that includes links to content such as "about us" or "privacy policy" etc.');
18
-  t('Footer links');
14
+    );
15
+    // Translatables
16
+    // Title and description for footer menu appears in admin menu: Admin> Site Building> Menus
17
+    t('Auxiliary menu, typically at the bottom of the page in the footer, that includes links to content such as "about us" or "privacy policy" etc.');
18
+    t('Footer links');
19 19
 
20 20
 
21
-  return $menus;
21
+    return $menus;
22 22
 }
Please login to merge, or discard this patch.
sites/all/features/user_profiles/user_profiles.features.menu_links.inc 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -4,18 +4,18 @@  discard block
 block discarded – undo
4 4
  * Implementation of hook_menu_default_menu_links().
5 5
  */
6 6
 function user_profiles_menu_default_menu_links() {
7
-  $menu_links = array();
7
+    $menu_links = array();
8 8
 
9
-  // Exported menu link: primary-links:account/profile
10
-  $menu_links['primary-links:account/profile'] = array(
9
+    // Exported menu link: primary-links:account/profile
10
+    $menu_links['primary-links:account/profile'] = array(
11 11
     'menu_name' => 'primary-links',
12 12
     'link_path' => 'account/profile',
13 13
     'router_path' => 'account/profile',
14 14
     'link_title' => 'Profile',
15 15
     'options' => array(
16
-      'attributes' => array(
16
+        'attributes' => array(
17 17
         'title' => '',
18
-      ),
18
+        ),
19 19
     ),
20 20
     'module' => 'menu',
21 21
     'hidden' => '0',
@@ -24,17 +24,17 @@  discard block
 block discarded – undo
24 24
     'expanded' => '0',
25 25
     'weight' => '-49',
26 26
     'parent_path' => 'dashboard',
27
-  );
28
-  // Exported menu link: primary-links:moderate/profiles
29
-  $menu_links['primary-links:moderate/profiles'] = array(
27
+    );
28
+    // Exported menu link: primary-links:moderate/profiles
29
+    $menu_links['primary-links:moderate/profiles'] = array(
30 30
     'menu_name' => 'primary-links',
31 31
     'link_path' => 'moderate/profiles',
32 32
     'router_path' => 'moderate/profiles',
33 33
     'link_title' => 'Queue',
34 34
     'options' => array(
35
-      'attributes' => array(
35
+        'attributes' => array(
36 36
         'title' => '',
37
-      ),
37
+        ),
38 38
     ),
39 39
     'module' => 'menu',
40 40
     'hidden' => '0',
@@ -43,11 +43,11 @@  discard block
 block discarded – undo
43 43
     'expanded' => '0',
44 44
     'weight' => '-50',
45 45
     'parent_path' => 'moderate',
46
-  );
47
-  // Translatables
48
-  // Use bts() function to translate additional strings.
49
-  bts('Queue', array(), NULL, 'boinc:menu-link');
50
-  bts('Profile', array(), NULL, 'boinc:menu-link');
46
+    );
47
+    // Translatables
48
+    // Use bts() function to translate additional strings.
49
+    bts('Queue', array(), NULL, 'boinc:menu-link');
50
+    bts('Profile', array(), NULL, 'boinc:menu-link');
51 51
 
52
-  return $menu_links;
52
+    return $menu_links;
53 53
 }
Please login to merge, or discard this patch.
drupal/sites/all/features/news/news.features.menu_links.inc 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -4,19 +4,19 @@  discard block
 block discarded – undo
4 4
  * Implementation of hook_menu_default_menu_links().
5 5
  */
6 6
 function news_menu_default_menu_links() {
7
-  $menu_links = array();
7
+    $menu_links = array();
8 8
 
9
-  // Exported menu link: primary-links:news
10
-  $menu_links['primary-links:news'] = array(
9
+    // Exported menu link: primary-links:news
10
+    $menu_links['primary-links:news'] = array(
11 11
     'menu_name' => 'primary-links',
12 12
     'link_path' => 'news',
13 13
     'router_path' => 'news',
14 14
     'link_title' => 'News',
15 15
     'options' => array(
16
-      'attributes' => array(
16
+        'attributes' => array(
17 17
         'title' => '',
18
-      ),
19
-      'alter' => TRUE,
18
+        ),
19
+        'alter' => TRUE,
20 20
     ),
21 21
     'module' => 'menu',
22 22
     'hidden' => '0',
@@ -24,11 +24,11 @@  discard block
 block discarded – undo
24 24
     'has_children' => '0',
25 25
     'expanded' => '1',
26 26
     'weight' => '-48',
27
-  );
28
-  // Translatables
29
-  // Use bts() function to translate additional strings.
30
-  bts('News', array(), NULL, 'boinc:menu-link');
27
+    );
28
+    // Translatables
29
+    // Use bts() function to translate additional strings.
30
+    bts('News', array(), NULL, 'boinc:menu-link');
31 31
 
32 32
 
33
-  return $menu_links;
33
+    return $menu_links;
34 34
 }
Please login to merge, or discard this patch.
sites/all/features/boinc_standard/boinc_standard.features.menu_links.inc 1 patch
Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -4,18 +4,18 @@  discard block
 block discarded – undo
4 4
  * Implementation of hook_menu_default_menu_links().
5 5
  */
6 6
 function boinc_standard_menu_default_menu_links() {
7
-  $menu_links = array();
7
+    $menu_links = array();
8 8
 
9
-  // Exported menu link: menu-footer-links:https://boinc.berkeley.edu/
10
-  $menu_links['menu-footer-links:https://boinc.berkeley.edu/'] = array(
9
+    // Exported menu link: menu-footer-links:https://boinc.berkeley.edu/
10
+    $menu_links['menu-footer-links:https://boinc.berkeley.edu/'] = array(
11 11
     'menu_name' => 'menu-footer-links',
12 12
     'link_path' => 'https://boinc.berkeley.edu/',
13 13
     'router_path' => '',
14 14
     'link_title' => 'BOINC',
15 15
     'options' => array(
16
-      'attributes' => array(
16
+        'attributes' => array(
17 17
         'title' => '',
18
-      ),
18
+        ),
19 19
     ),
20 20
     'module' => 'menu',
21 21
     'hidden' => '0',
@@ -23,17 +23,17 @@  discard block
 block discarded – undo
23 23
     'has_children' => '0',
24 24
     'expanded' => '0',
25 25
     'weight' => '10',
26
-  );
27
-  // Exported menu link: primary-links:<front>
28
-  $menu_links['primary-links:<front>'] = array(
26
+    );
27
+    // Exported menu link: primary-links:<front>
28
+    $menu_links['primary-links:<front>'] = array(
29 29
     'menu_name' => 'primary-links',
30 30
     'link_path' => '<front>',
31 31
     'router_path' => '',
32 32
     'link_title' => 'Home',
33 33
     'options' => array(
34
-      'attributes' => array(
34
+        'attributes' => array(
35 35
         'title' => '',
36
-      ),
36
+        ),
37 37
     ),
38 38
     'module' => 'menu',
39 39
     'hidden' => '0',
@@ -41,17 +41,17 @@  discard block
 block discarded – undo
41 41
     'has_children' => '0',
42 42
     'expanded' => '0',
43 43
     'weight' => '-50',
44
-  );
45
-  // Exported menu link: primary-links:dashboard
46
-  $menu_links['primary-links:dashboard'] = array(
44
+    );
45
+    // Exported menu link: primary-links:dashboard
46
+    $menu_links['primary-links:dashboard'] = array(
47 47
     'menu_name' => 'primary-links',
48 48
     'link_path' => 'dashboard',
49 49
     'router_path' => 'dashboard',
50 50
     'link_title' => 'Dashboard',
51 51
     'options' => array(
52
-      'attributes' => array(
52
+        'attributes' => array(
53 53
         'title' => '',
54
-      ),
54
+        ),
55 55
     ),
56 56
     'module' => 'menu',
57 57
     'hidden' => '0',
@@ -60,17 +60,17 @@  discard block
 block discarded – undo
60 60
     'expanded' => '0',
61 61
     'weight' => '-50',
62 62
     'parent_path' => 'dashboard',
63
-  );
64
-  // Exported menu link: primary-links:user/me/edit
65
-  $menu_links['primary-links:user/me/edit'] = array(
63
+    );
64
+    // Exported menu link: primary-links:user/me/edit
65
+    $menu_links['primary-links:user/me/edit'] = array(
66 66
     'menu_name' => 'primary-links',
67 67
     'link_path' => 'user/me/edit',
68 68
     'router_path' => 'user/%/edit',
69 69
     'link_title' => 'Credentials',
70 70
     'options' => array(
71
-      'attributes' => array(
71
+        'attributes' => array(
72 72
         'title' => '',
73
-      ),
73
+        ),
74 74
     ),
75 75
     'module' => 'menu',
76 76
     'hidden' => '0',
@@ -79,12 +79,12 @@  discard block
 block discarded – undo
79 79
     'expanded' => '0',
80 80
     'weight' => '-48',
81 81
     'parent_path' => 'dashboard',
82
-  );
83
-  // Translatables
84
-  // Use bts() function to translate additional strings.
85
-  bts('Home', array(), NULL, 'boinc:menu-link');
86
-  bts('Credentials', array(), NULL, 'boinc:menu-link');
87
-  bts('Dashboard', array(), NULL, 'boinc:menu-link');
82
+    );
83
+    // Translatables
84
+    // Use bts() function to translate additional strings.
85
+    bts('Home', array(), NULL, 'boinc:menu-link');
86
+    bts('Credentials', array(), NULL, 'boinc:menu-link');
87
+    bts('Dashboard', array(), NULL, 'boinc:menu-link');
88 88
 
89
-  return $menu_links;
89
+    return $menu_links;
90 90
 }
Please login to merge, or discard this patch.
sites/all/features/user_preferences/user_preferences.views_default.inc 1 patch
Indentation   +397 added lines, -397 removed lines patch added patch discarded remove patch
@@ -4,48 +4,48 @@  discard block
 block discarded – undo
4 4
  * Implementation of hook_views_default_views().
5 5
  */
6 6
 function user_preferences_views_default_views() {
7
-  $views = array();
7
+    $views = array();
8 8
 
9
-  // Exported view: subscriptions
10
-  $view = new view;
11
-  $view->name = 'subscriptions';
12
-  $view->description = '';
13
-  $view->tag = '';
14
-  $view->base_table = 'node';
15
-  $view->core = 6;
16
-  $view->api_version = '2';
17
-  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
18
-  $handler = $view->new_display('default', 'Defaults', 'default');
19
-  $handler->override_option('relationships', array(
9
+    // Exported view: subscriptions
10
+    $view = new view;
11
+    $view->name = 'subscriptions';
12
+    $view->description = '';
13
+    $view->tag = '';
14
+    $view->base_table = 'node';
15
+    $view->core = 6;
16
+    $view->api_version = '2';
17
+    $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
18
+    $handler = $view->new_display('default', 'Defaults', 'default');
19
+    $handler->override_option('relationships', array(
20 20
     'flag_content_rel' => array(
21
-      'label' => 'Subscription flag',
22
-      'required' => 1,
23
-      'flag' => 'subscriptions',
24
-      'user_scope' => 'current',
25
-      'id' => 'flag_content_rel',
26
-      'table' => 'node',
27
-      'field' => 'flag_content_rel',
28
-      'relationship' => 'none',
21
+        'label' => 'Subscription flag',
22
+        'required' => 1,
23
+        'flag' => 'subscriptions',
24
+        'user_scope' => 'current',
25
+        'id' => 'flag_content_rel',
26
+        'table' => 'node',
27
+        'field' => 'flag_content_rel',
28
+        'relationship' => 'none',
29 29
     ),
30 30
     'flag_count_rel' => array(
31
-      'label' => 'counter',
32
-      'required' => 1,
33
-      'flag' => 'subscriptions',
34
-      'id' => 'flag_count_rel',
35
-      'table' => 'node',
36
-      'field' => 'flag_count_rel',
37
-      'relationship' => 'none',
31
+        'label' => 'counter',
32
+        'required' => 1,
33
+        'flag' => 'subscriptions',
34
+        'id' => 'flag_count_rel',
35
+        'table' => 'node',
36
+        'field' => 'flag_count_rel',
37
+        'relationship' => 'none',
38 38
     ),
39 39
     'vid' => array(
40
-      'id' => 'vid',
41
-      'table' => 'term_node',
42
-      'field' => 'vid',
40
+        'id' => 'vid',
41
+        'table' => 'term_node',
42
+        'field' => 'vid',
43 43
     ),
44
-  ));
45
-  $handler->override_option('fields', array(
44
+    ));
45
+    $handler->override_option('fields', array(
46 46
     'title' => array(
47
-      'label' => 'Page',
48
-      'alter' => array(
47
+        'label' => 'Page',
48
+        'alter' => array(
49 49
         'alter_text' => 0,
50 50
         'text' => '',
51 51
         'make_link' => 0,
@@ -64,21 +64,21 @@  discard block
 block discarded – undo
64 64
         'ellipsis' => 1,
65 65
         'html' => 0,
66 66
         'strip_tags' => 0,
67
-      ),
68
-      'empty' => '',
69
-      'hide_empty' => 0,
70
-      'empty_zero' => 0,
71
-      'hide_alter_empty' => 1,
72
-      'link_to_node' => 0,
73
-      'exclude' => 1,
74
-      'id' => 'title',
75
-      'table' => 'node',
76
-      'field' => 'title',
77
-      'relationship' => 'none',
67
+        ),
68
+        'empty' => '',
69
+        'hide_empty' => 0,
70
+        'empty_zero' => 0,
71
+        'hide_alter_empty' => 1,
72
+        'link_to_node' => 0,
73
+        'exclude' => 1,
74
+        'id' => 'title',
75
+        'table' => 'node',
76
+        'field' => 'title',
77
+        'relationship' => 'none',
78 78
     ),
79 79
     'type' => array(
80
-      'label' => 'Type',
81
-      'alter' => array(
80
+        'label' => 'Type',
81
+        'alter' => array(
82 82
         'alter_text' => 0,
83 83
         'text' => '',
84 84
         'make_link' => 0,
@@ -97,22 +97,22 @@  discard block
 block discarded – undo
97 97
         'ellipsis' => 1,
98 98
         'html' => 0,
99 99
         'strip_tags' => 0,
100
-      ),
101
-      'empty' => '',
102
-      'hide_empty' => 0,
103
-      'empty_zero' => 0,
104
-      'hide_alter_empty' => 1,
105
-      'link_to_node' => 0,
106
-      'machine_name' => 0,
107
-      'exclude' => 1,
108
-      'id' => 'type',
109
-      'table' => 'node',
110
-      'field' => 'type',
111
-      'relationship' => 'none',
100
+        ),
101
+        'empty' => '',
102
+        'hide_empty' => 0,
103
+        'empty_zero' => 0,
104
+        'hide_alter_empty' => 1,
105
+        'link_to_node' => 0,
106
+        'machine_name' => 0,
107
+        'exclude' => 1,
108
+        'id' => 'type',
109
+        'table' => 'node',
110
+        'field' => 'type',
111
+        'relationship' => 'none',
112 112
     ),
113 113
     'timestamp' => array(
114
-      'label' => 'Has new content',
115
-      'alter' => array(
114
+        'label' => 'Has new content',
115
+        'alter' => array(
116 116
         'alter_text' => 0,
117 117
         'text' => '',
118 118
         'make_link' => 0,
@@ -131,22 +131,22 @@  discard block
 block discarded – undo
131 131
         'ellipsis' => 1,
132 132
         'html' => 0,
133 133
         'strip_tags' => 0,
134
-      ),
135
-      'empty' => '',
136
-      'hide_empty' => 0,
137
-      'empty_zero' => 0,
138
-      'hide_alter_empty' => 1,
139
-      'link_to_node' => 0,
140
-      'comments' => 1,
141
-      'exclude' => 1,
142
-      'id' => 'timestamp',
143
-      'table' => 'history_user',
144
-      'field' => 'timestamp',
145
-      'relationship' => 'none',
134
+        ),
135
+        'empty' => '',
136
+        'hide_empty' => 0,
137
+        'empty_zero' => 0,
138
+        'hide_alter_empty' => 1,
139
+        'link_to_node' => 0,
140
+        'comments' => 1,
141
+        'exclude' => 1,
142
+        'id' => 'timestamp',
143
+        'table' => 'history_user',
144
+        'field' => 'timestamp',
145
+        'relationship' => 'none',
146 146
     ),
147 147
     'new_comments' => array(
148
-      'label' => 'New comments',
149
-      'alter' => array(
148
+        'label' => 'New comments',
149
+        'alter' => array(
150 150
         'alter_text' => 0,
151 151
         'text' => '',
152 152
         'make_link' => 0,
@@ -165,30 +165,30 @@  discard block
 block discarded – undo
165 165
         'ellipsis' => 1,
166 166
         'html' => 0,
167 167
         'strip_tags' => 0,
168
-      ),
169
-      'empty' => '',
170
-      'hide_empty' => 0,
171
-      'empty_zero' => 0,
172
-      'hide_alter_empty' => 1,
173
-      'set_precision' => FALSE,
174
-      'precision' => 0,
175
-      'decimal' => '.',
176
-      'separator' => ',',
177
-      'format_plural' => 0,
178
-      'format_plural_singular' => '1',
179
-      'format_plural_plural' => '@count',
180
-      'prefix' => '',
181
-      'suffix' => '',
182
-      'link_to_comment' => 1,
183
-      'exclude' => 1,
184
-      'id' => 'new_comments',
185
-      'table' => 'node',
186
-      'field' => 'new_comments',
187
-      'relationship' => 'none',
168
+        ),
169
+        'empty' => '',
170
+        'hide_empty' => 0,
171
+        'empty_zero' => 0,
172
+        'hide_alter_empty' => 1,
173
+        'set_precision' => FALSE,
174
+        'precision' => 0,
175
+        'decimal' => '.',
176
+        'separator' => ',',
177
+        'format_plural' => 0,
178
+        'format_plural_singular' => '1',
179
+        'format_plural_plural' => '@count',
180
+        'prefix' => '',
181
+        'suffix' => '',
182
+        'link_to_comment' => 1,
183
+        'exclude' => 1,
184
+        'id' => 'new_comments',
185
+        'table' => 'node',
186
+        'field' => 'new_comments',
187
+        'relationship' => 'none',
188 188
     ),
189 189
     'name' => array(
190
-      'label' => 'Term',
191
-      'alter' => array(
190
+        'label' => 'Term',
191
+        'alter' => array(
192 192
         'alter_text' => 0,
193 193
         'text' => '',
194 194
         'make_link' => 0,
@@ -207,21 +207,21 @@  discard block
 block discarded – undo
207 207
         'ellipsis' => 1,
208 208
         'html' => 0,
209 209
         'strip_tags' => 0,
210
-      ),
211
-      'empty' => '',
212
-      'hide_empty' => 0,
213
-      'empty_zero' => 0,
214
-      'hide_alter_empty' => 1,
215
-      'link_to_taxonomy' => 0,
216
-      'exclude' => 1,
217
-      'id' => 'name',
218
-      'table' => 'term_data',
219
-      'field' => 'name',
220
-      'relationship' => 'none',
210
+        ),
211
+        'empty' => '',
212
+        'hide_empty' => 0,
213
+        'empty_zero' => 0,
214
+        'hide_alter_empty' => 1,
215
+        'link_to_taxonomy' => 0,
216
+        'exclude' => 1,
217
+        'id' => 'name',
218
+        'table' => 'term_data',
219
+        'field' => 'name',
220
+        'relationship' => 'none',
221 221
     ),
222 222
     'name_1' => array(
223
-      'label' => 'Vocabulary name',
224
-      'alter' => array(
223
+        'label' => 'Vocabulary name',
224
+        'alter' => array(
225 225
         'alter_text' => 0,
226 226
         'text' => '',
227 227
         'make_link' => 0,
@@ -240,20 +240,20 @@  discard block
 block discarded – undo
240 240
         'ellipsis' => 1,
241 241
         'html' => 0,
242 242
         'strip_tags' => 0,
243
-      ),
244
-      'empty' => '',
245
-      'hide_empty' => 0,
246
-      'empty_zero' => 0,
247
-      'hide_alter_empty' => 1,
248
-      'exclude' => 1,
249
-      'id' => 'name_1',
250
-      'table' => 'vocabulary',
251
-      'field' => 'name',
252
-      'relationship' => 'none',
243
+        ),
244
+        'empty' => '',
245
+        'hide_empty' => 0,
246
+        'empty_zero' => 0,
247
+        'hide_alter_empty' => 1,
248
+        'exclude' => 1,
249
+        'id' => 'name_1',
250
+        'table' => 'vocabulary',
251
+        'field' => 'name',
252
+        'relationship' => 'none',
253 253
     ),
254 254
     'phpcode' => array(
255
-      'label' => 'Page',
256
-      'alter' => array(
255
+        'label' => 'Page',
256
+        'alter' => array(
257 257
         'alter_text' => 0,
258 258
         'text' => '',
259 259
         'make_link' => 0,
@@ -272,12 +272,12 @@  discard block
 block discarded – undo
272 272
         'ellipsis' => 1,
273 273
         'html' => 0,
274 274
         'strip_tags' => 0,
275
-      ),
276
-      'empty' => '',
277
-      'hide_empty' => 0,
278
-      'empty_zero' => 0,
279
-      'hide_alter_empty' => 1,
280
-      'value' => '<?php
275
+        ),
276
+        'empty' => '',
277
+        'hide_empty' => 0,
278
+        'empty_zero' => 0,
279
+        'hide_alter_empty' => 1,
280
+        'value' => '<?php
281 281
 $updated = ($data->node_comment_statistics_last_updated > $data->history_user_timestamp) ? TRUE : FALSE;
282 282
 $url = "node/{$data->nid}";
283 283
 if ($data->node_new_comments) {
@@ -288,15 +288,15 @@  discard block
 block discarded – undo
288 288
 print l($data->node_title, $url);
289 289
 print \'</span>\';
290 290
 ?>',
291
-      'exclude' => 0,
292
-      'id' => 'phpcode',
293
-      'table' => 'customfield',
294
-      'field' => 'phpcode',
295
-      'relationship' => 'none',
291
+        'exclude' => 0,
292
+        'id' => 'phpcode',
293
+        'table' => 'customfield',
294
+        'field' => 'phpcode',
295
+        'relationship' => 'none',
296 296
     ),
297 297
     'phpcode_1' => array(
298
-      'label' => '',
299
-      'alter' => array(
298
+        'label' => '',
299
+        'alter' => array(
300 300
         'alter_text' => 0,
301 301
         'text' => '',
302 302
         'make_link' => 0,
@@ -315,12 +315,12 @@  discard block
 block discarded – undo
315 315
         'ellipsis' => 1,
316 316
         'html' => 0,
317 317
         'strip_tags' => 0,
318
-      ),
319
-      'empty' => '',
320
-      'hide_empty' => 0,
321
-      'empty_zero' => 0,
322
-      'hide_alter_empty' => 1,
323
-      'value' => '<?php
318
+        ),
319
+        'empty' => '',
320
+        'hide_empty' => 0,
321
+        'empty_zero' => 0,
322
+        'hide_alter_empty' => 1,
323
+        'value' => '<?php
324 324
 if ($data->node_type == \'forum\') {
325 325
   print $data->vocabulary_name . \' &rsaquo; \' . $data->term_data_name;
326 326
 }
@@ -328,15 +328,15 @@  discard block
 block discarded – undo
328 328
   print bts(\'News\', array(), NULL, \'boinc:menu-link\');
329 329
 }
330 330
 ?>',
331
-      'exclude' => 0,
332
-      'id' => 'phpcode_1',
333
-      'table' => 'customfield',
334
-      'field' => 'phpcode',
335
-      'relationship' => 'none',
331
+        'exclude' => 0,
332
+        'id' => 'phpcode_1',
333
+        'table' => 'customfield',
334
+        'field' => 'phpcode',
335
+        'relationship' => 'none',
336 336
     ),
337 337
     'last_updated' => array(
338
-      'label' => 'Updated',
339
-      'alter' => array(
338
+        'label' => 'Updated',
339
+        'alter' => array(
340 340
         'alter_text' => 0,
341 341
         'text' => '',
342 342
         'make_link' => 0,
@@ -355,25 +355,25 @@  discard block
 block discarded – undo
355 355
         'ellipsis' => 1,
356 356
         'html' => 0,
357 357
         'strip_tags' => 0,
358
-      ),
359
-      'empty' => '',
360
-      'hide_empty' => 0,
361
-      'empty_zero' => 0,
362
-      'hide_alter_empty' => 1,
363
-      'date_format' => 'time ago',
364
-      'custom_date_format' => '',
365
-      'exclude' => 0,
366
-      'id' => 'last_updated',
367
-      'table' => 'node_comment_statistics',
368
-      'field' => 'last_updated',
369
-      'override' => array(
358
+        ),
359
+        'empty' => '',
360
+        'hide_empty' => 0,
361
+        'empty_zero' => 0,
362
+        'hide_alter_empty' => 1,
363
+        'date_format' => 'time ago',
364
+        'custom_date_format' => '',
365
+        'exclude' => 0,
366
+        'id' => 'last_updated',
367
+        'table' => 'node_comment_statistics',
368
+        'field' => 'last_updated',
369
+        'override' => array(
370 370
         'button' => 'Override',
371
-      ),
372
-      'relationship' => 'none',
371
+        ),
372
+        'relationship' => 'none',
373 373
     ),
374 374
     'ops' => array(
375
-      'label' => '',
376
-      'alter' => array(
375
+        'label' => '',
376
+        'alter' => array(
377 377
         'alter_text' => 0,
378 378
         'text' => '',
379 379
         'make_link' => 0,
@@ -392,79 +392,79 @@  discard block
 block discarded – undo
392 392
         'ellipsis' => 1,
393 393
         'html' => 0,
394 394
         'strip_tags' => 0,
395
-      ),
396
-      'empty' => '',
397
-      'hide_empty' => 0,
398
-      'empty_zero' => 0,
399
-      'hide_alter_empty' => 1,
400
-      'link_type' => '',
401
-      'exclude' => 0,
402
-      'id' => 'ops',
403
-      'table' => 'flag_content',
404
-      'field' => 'ops',
405
-      'relationship' => 'flag_content_rel',
395
+        ),
396
+        'empty' => '',
397
+        'hide_empty' => 0,
398
+        'empty_zero' => 0,
399
+        'hide_alter_empty' => 1,
400
+        'link_type' => '',
401
+        'exclude' => 0,
402
+        'id' => 'ops',
403
+        'table' => 'flag_content',
404
+        'field' => 'ops',
405
+        'relationship' => 'flag_content_rel',
406 406
     ),
407
-  ));
408
-  $handler->override_option('access', array(
407
+    ));
408
+    $handler->override_option('access', array(
409 409
     'type' => 'none',
410
-  ));
411
-  $handler->override_option('cache', array(
410
+    ));
411
+    $handler->override_option('cache', array(
412 412
     'type' => 'none',
413
-  ));
414
-  $handler->override_option('use_pager', '1');
415
-  $handler = $view->new_display('page', 'Page', 'page_1');
416
-  $handler->override_option('style_plugin', 'table');
417
-  $handler->override_option('style_options', array(
413
+    ));
414
+    $handler->override_option('use_pager', '1');
415
+    $handler = $view->new_display('page', 'Page', 'page_1');
416
+    $handler->override_option('style_plugin', 'table');
417
+    $handler->override_option('style_options', array(
418 418
     'grouping' => '',
419 419
     'override' => 1,
420 420
     'sticky' => 0,
421 421
     'order' => 'desc',
422 422
     'summary' => '',
423 423
     'columns' => array(
424
-      'ops' => 'ops',
425
-      'title' => 'title',
426
-      'type' => 'type',
427
-      'last_updated' => 'last_updated',
424
+        'ops' => 'ops',
425
+        'title' => 'title',
426
+        'type' => 'type',
427
+        'last_updated' => 'last_updated',
428 428
     ),
429 429
     'info' => array(
430
-      'ops' => array(
430
+        'ops' => array(
431 431
         'separator' => '',
432
-      ),
433
-      'title' => array(
432
+        ),
433
+        'title' => array(
434 434
         'sortable' => 0,
435 435
         'separator' => '',
436
-      ),
437
-      'type' => array(
436
+        ),
437
+        'type' => array(
438 438
         'sortable' => 0,
439 439
         'separator' => '',
440
-      ),
441
-      'last_updated' => array(
440
+        ),
441
+        'last_updated' => array(
442 442
         'sortable' => 0,
443 443
         'separator' => '',
444
-      ),
444
+        ),
445 445
     ),
446 446
     'default' => 'last_updated',
447
-  ));
448
-  $handler->override_option('path', 'account/prefs/subscriptions');
449
-  $handler->override_option('menu', array(
447
+    ));
448
+    $handler->override_option('path', 'account/prefs/subscriptions');
449
+    $handler->override_option('menu', array(
450 450
     'type' => 'tab',
451 451
     'title' => bts('Subscriptions', array(), NULL, 'boinc:account-dashboard'),
452 452
     'description' => '',
453 453
     'weight' => '20',
454 454
     'name' => 'primary-links',
455
-  ));
456
-  $handler->override_option('tab_options', array(
455
+    ));
456
+    $handler->override_option('tab_options', array(
457 457
     'type' => 'none',
458 458
     'title' => '',
459 459
     'description' => '',
460 460
     'weight' => 0,
461 461
     'name' => 'navigation',
462
-  ));
463
-  $handler = $view->new_display('panel_pane', 'Content pane', 'panel_pane_1');
464
-  $handler->override_option('fields', array(
462
+    ));
463
+    $handler = $view->new_display('panel_pane', 'Content pane', 'panel_pane_1');
464
+    $handler->override_option('fields', array(
465 465
     'title' => array(
466
-      'label' => 'Page',
467
-      'alter' => array(
466
+        'label' => 'Page',
467
+        'alter' => array(
468 468
         'alter_text' => 0,
469 469
         'text' => '',
470 470
         'make_link' => 0,
@@ -483,24 +483,24 @@  discard block
 block discarded – undo
483 483
         'ellipsis' => 1,
484 484
         'html' => 0,
485 485
         'strip_tags' => 0,
486
-      ),
487
-      'empty' => '',
488
-      'hide_empty' => 0,
489
-      'empty_zero' => 0,
490
-      'hide_alter_empty' => 1,
491
-      'link_to_node' => 1,
492
-      'exclude' => 1,
493
-      'id' => 'title',
494
-      'table' => 'node',
495
-      'field' => 'title',
496
-      'relationship' => 'none',
497
-      'override' => array(
486
+        ),
487
+        'empty' => '',
488
+        'hide_empty' => 0,
489
+        'empty_zero' => 0,
490
+        'hide_alter_empty' => 1,
491
+        'link_to_node' => 1,
492
+        'exclude' => 1,
493
+        'id' => 'title',
494
+        'table' => 'node',
495
+        'field' => 'title',
496
+        'relationship' => 'none',
497
+        'override' => array(
498 498
         'button' => 'Use default',
499
-      ),
499
+        ),
500 500
     ),
501 501
     'type' => array(
502
-      'label' => 'Type',
503
-      'alter' => array(
502
+        'label' => 'Type',
503
+        'alter' => array(
504 504
         'alter_text' => 0,
505 505
         'text' => '',
506 506
         'make_link' => 0,
@@ -519,25 +519,25 @@  discard block
 block discarded – undo
519 519
         'ellipsis' => 1,
520 520
         'html' => 0,
521 521
         'strip_tags' => 0,
522
-      ),
523
-      'empty' => '',
524
-      'hide_empty' => 0,
525
-      'empty_zero' => 0,
526
-      'hide_alter_empty' => 1,
527
-      'link_to_node' => 0,
528
-      'machine_name' => 0,
529
-      'exclude' => 1,
530
-      'id' => 'type',
531
-      'table' => 'node',
532
-      'field' => 'type',
533
-      'override' => array(
522
+        ),
523
+        'empty' => '',
524
+        'hide_empty' => 0,
525
+        'empty_zero' => 0,
526
+        'hide_alter_empty' => 1,
527
+        'link_to_node' => 0,
528
+        'machine_name' => 0,
529
+        'exclude' => 1,
530
+        'id' => 'type',
531
+        'table' => 'node',
532
+        'field' => 'type',
533
+        'override' => array(
534 534
         'button' => 'Use default',
535
-      ),
536
-      'relationship' => 'none',
535
+        ),
536
+        'relationship' => 'none',
537 537
     ),
538 538
     'timestamp' => array(
539
-      'label' => 'Has new content',
540
-      'alter' => array(
539
+        'label' => 'Has new content',
540
+        'alter' => array(
541 541
         'alter_text' => 0,
542 542
         'text' => '',
543 543
         'make_link' => 0,
@@ -556,25 +556,25 @@  discard block
 block discarded – undo
556 556
         'ellipsis' => 1,
557 557
         'html' => 0,
558 558
         'strip_tags' => 0,
559
-      ),
560
-      'empty' => '',
561
-      'hide_empty' => 0,
562
-      'empty_zero' => 0,
563
-      'hide_alter_empty' => 1,
564
-      'link_to_node' => 0,
565
-      'comments' => 1,
566
-      'exclude' => 1,
567
-      'id' => 'timestamp',
568
-      'table' => 'history_user',
569
-      'field' => 'timestamp',
570
-      'relationship' => 'none',
571
-      'override' => array(
559
+        ),
560
+        'empty' => '',
561
+        'hide_empty' => 0,
562
+        'empty_zero' => 0,
563
+        'hide_alter_empty' => 1,
564
+        'link_to_node' => 0,
565
+        'comments' => 1,
566
+        'exclude' => 1,
567
+        'id' => 'timestamp',
568
+        'table' => 'history_user',
569
+        'field' => 'timestamp',
570
+        'relationship' => 'none',
571
+        'override' => array(
572 572
         'button' => 'Use default',
573
-      ),
573
+        ),
574 574
     ),
575 575
     'new_comments' => array(
576
-      'label' => 'New comments',
577
-      'alter' => array(
576
+        'label' => 'New comments',
577
+        'alter' => array(
578 578
         'alter_text' => 0,
579 579
         'text' => '',
580 580
         'make_link' => 0,
@@ -593,33 +593,33 @@  discard block
 block discarded – undo
593 593
         'ellipsis' => 1,
594 594
         'html' => 0,
595 595
         'strip_tags' => 0,
596
-      ),
597
-      'empty' => '',
598
-      'hide_empty' => 0,
599
-      'empty_zero' => 0,
600
-      'hide_alter_empty' => 1,
601
-      'set_precision' => FALSE,
602
-      'precision' => 0,
603
-      'decimal' => '.',
604
-      'separator' => ',',
605
-      'format_plural' => 0,
606
-      'format_plural_singular' => '1',
607
-      'format_plural_plural' => '@count',
608
-      'prefix' => '',
609
-      'suffix' => '',
610
-      'link_to_comment' => 1,
611
-      'exclude' => 1,
612
-      'id' => 'new_comments',
613
-      'table' => 'node',
614
-      'field' => 'new_comments',
615
-      'relationship' => 'none',
616
-      'override' => array(
596
+        ),
597
+        'empty' => '',
598
+        'hide_empty' => 0,
599
+        'empty_zero' => 0,
600
+        'hide_alter_empty' => 1,
601
+        'set_precision' => FALSE,
602
+        'precision' => 0,
603
+        'decimal' => '.',
604
+        'separator' => ',',
605
+        'format_plural' => 0,
606
+        'format_plural_singular' => '1',
607
+        'format_plural_plural' => '@count',
608
+        'prefix' => '',
609
+        'suffix' => '',
610
+        'link_to_comment' => 1,
611
+        'exclude' => 1,
612
+        'id' => 'new_comments',
613
+        'table' => 'node',
614
+        'field' => 'new_comments',
615
+        'relationship' => 'none',
616
+        'override' => array(
617 617
         'button' => 'Use default',
618
-      ),
618
+        ),
619 619
     ),
620 620
     'name' => array(
621
-      'label' => 'Term',
622
-      'alter' => array(
621
+        'label' => 'Term',
622
+        'alter' => array(
623 623
         'alter_text' => 0,
624 624
         'text' => '',
625 625
         'make_link' => 0,
@@ -638,24 +638,24 @@  discard block
 block discarded – undo
638 638
         'ellipsis' => 1,
639 639
         'html' => 0,
640 640
         'strip_tags' => 0,
641
-      ),
642
-      'empty' => '',
643
-      'hide_empty' => 0,
644
-      'empty_zero' => 0,
645
-      'hide_alter_empty' => 1,
646
-      'link_to_taxonomy' => 0,
647
-      'exclude' => 1,
648
-      'id' => 'name',
649
-      'table' => 'term_data',
650
-      'field' => 'name',
651
-      'override' => array(
641
+        ),
642
+        'empty' => '',
643
+        'hide_empty' => 0,
644
+        'empty_zero' => 0,
645
+        'hide_alter_empty' => 1,
646
+        'link_to_taxonomy' => 0,
647
+        'exclude' => 1,
648
+        'id' => 'name',
649
+        'table' => 'term_data',
650
+        'field' => 'name',
651
+        'override' => array(
652 652
         'button' => 'Use default',
653
-      ),
654
-      'relationship' => 'none',
653
+        ),
654
+        'relationship' => 'none',
655 655
     ),
656 656
     'name_1' => array(
657
-      'label' => 'Vocabulary name',
658
-      'alter' => array(
657
+        'label' => 'Vocabulary name',
658
+        'alter' => array(
659 659
         'alter_text' => 0,
660 660
         'text' => '',
661 661
         'make_link' => 0,
@@ -674,23 +674,23 @@  discard block
 block discarded – undo
674 674
         'ellipsis' => 1,
675 675
         'html' => 0,
676 676
         'strip_tags' => 0,
677
-      ),
678
-      'empty' => '',
679
-      'hide_empty' => 0,
680
-      'empty_zero' => 0,
681
-      'hide_alter_empty' => 1,
682
-      'exclude' => 1,
683
-      'id' => 'name_1',
684
-      'table' => 'vocabulary',
685
-      'field' => 'name',
686
-      'override' => array(
677
+        ),
678
+        'empty' => '',
679
+        'hide_empty' => 0,
680
+        'empty_zero' => 0,
681
+        'hide_alter_empty' => 1,
682
+        'exclude' => 1,
683
+        'id' => 'name_1',
684
+        'table' => 'vocabulary',
685
+        'field' => 'name',
686
+        'override' => array(
687 687
         'button' => 'Use default',
688
-      ),
689
-      'relationship' => 'none',
688
+        ),
689
+        'relationship' => 'none',
690 690
     ),
691 691
     'phpcode' => array(
692
-      'label' => 'Page',
693
-      'alter' => array(
692
+        'label' => 'Page',
693
+        'alter' => array(
694 694
         'alter_text' => 0,
695 695
         'text' => '',
696 696
         'make_link' => 0,
@@ -709,12 +709,12 @@  discard block
 block discarded – undo
709 709
         'ellipsis' => 1,
710 710
         'html' => 0,
711 711
         'strip_tags' => 0,
712
-      ),
713
-      'empty' => '',
714
-      'hide_empty' => 0,
715
-      'empty_zero' => 0,
716
-      'hide_alter_empty' => 1,
717
-      'value' => '<?php
712
+        ),
713
+        'empty' => '',
714
+        'hide_empty' => 0,
715
+        'empty_zero' => 0,
716
+        'hide_alter_empty' => 1,
717
+        'value' => '<?php
718 718
 $updated = ($data->node_comment_statistics_last_updated > $data->history_user_timestamp) ? TRUE : FALSE;
719 719
 $url = "node/{$data->nid}";
720 720
 if ($data->node_new_comments) {
@@ -725,18 +725,18 @@  discard block
 block discarded – undo
725 725
 print l($data->node_title, $url);
726 726
 print \'</span>\';
727 727
 ?>',
728
-      'exclude' => 0,
729
-      'id' => 'phpcode',
730
-      'table' => 'customfield',
731
-      'field' => 'phpcode',
732
-      'override' => array(
728
+        'exclude' => 0,
729
+        'id' => 'phpcode',
730
+        'table' => 'customfield',
731
+        'field' => 'phpcode',
732
+        'override' => array(
733 733
         'button' => 'Use default',
734
-      ),
735
-      'relationship' => 'none',
734
+        ),
735
+        'relationship' => 'none',
736 736
     ),
737 737
     'phpcode_1' => array(
738
-      'label' => '',
739
-      'alter' => array(
738
+        'label' => '',
739
+        'alter' => array(
740 740
         'alter_text' => 0,
741 741
         'text' => '',
742 742
         'make_link' => 0,
@@ -755,12 +755,12 @@  discard block
 block discarded – undo
755 755
         'ellipsis' => 1,
756 756
         'html' => 0,
757 757
         'strip_tags' => 0,
758
-      ),
759
-      'empty' => '',
760
-      'hide_empty' => 0,
761
-      'empty_zero' => 0,
762
-      'hide_alter_empty' => 1,
763
-      'value' => '<?php
758
+        ),
759
+        'empty' => '',
760
+        'hide_empty' => 0,
761
+        'empty_zero' => 0,
762
+        'hide_alter_empty' => 1,
763
+        'value' => '<?php
764 764
 if ($data->node_type == \'forum\') {
765 765
   print $data->vocabulary_name . \' &rsaquo; \' . $data->term_data_name;
766 766
 }
@@ -768,18 +768,18 @@  discard block
 block discarded – undo
768 768
   print bts(\'News\', array(), NULL, \'boinc:menu-link\');
769 769
 }
770 770
 ?>',
771
-      'exclude' => 0,
772
-      'id' => 'phpcode_1',
773
-      'table' => 'customfield',
774
-      'field' => 'phpcode',
775
-      'override' => array(
771
+        'exclude' => 0,
772
+        'id' => 'phpcode_1',
773
+        'table' => 'customfield',
774
+        'field' => 'phpcode',
775
+        'override' => array(
776 776
         'button' => 'Use default',
777
-      ),
778
-      'relationship' => 'none',
777
+        ),
778
+        'relationship' => 'none',
779 779
     ),
780 780
     'last_updated' => array(
781
-      'label' => bts('Updated', array(), NULL, 'boinc:account-dashboard'),
782
-      'alter' => array(
781
+        'label' => bts('Updated', array(), NULL, 'boinc:account-dashboard'),
782
+        'alter' => array(
783 783
         'alter_text' => 0,
784 784
         'text' => '',
785 785
         'make_link' => 0,
@@ -798,25 +798,25 @@  discard block
 block discarded – undo
798 798
         'ellipsis' => 1,
799 799
         'html' => 0,
800 800
         'strip_tags' => 0,
801
-      ),
802
-      'empty' => '',
803
-      'hide_empty' => 0,
804
-      'empty_zero' => 0,
805
-      'hide_alter_empty' => 1,
806
-      'date_format' => 'time ago',
807
-      'custom_date_format' => '',
808
-      'exclude' => 0,
809
-      'id' => 'last_updated',
810
-      'table' => 'node_comment_statistics',
811
-      'field' => 'last_updated',
812
-      'override' => array(
801
+        ),
802
+        'empty' => '',
803
+        'hide_empty' => 0,
804
+        'empty_zero' => 0,
805
+        'hide_alter_empty' => 1,
806
+        'date_format' => 'time ago',
807
+        'custom_date_format' => '',
808
+        'exclude' => 0,
809
+        'id' => 'last_updated',
810
+        'table' => 'node_comment_statistics',
811
+        'field' => 'last_updated',
812
+        'override' => array(
813 813
         'button' => 'Use default',
814
-      ),
815
-      'relationship' => 'none',
814
+        ),
815
+        'relationship' => 'none',
816 816
     ),
817 817
     'ops' => array(
818
-      'label' => '',
819
-      'alter' => array(
818
+        'label' => '',
819
+        'alter' => array(
820 820
         'alter_text' => 0,
821 821
         'text' => '',
822 822
         'make_link' => 0,
@@ -835,66 +835,66 @@  discard block
 block discarded – undo
835 835
         'ellipsis' => 1,
836 836
         'html' => 0,
837 837
         'strip_tags' => 0,
838
-      ),
839
-      'empty' => '',
840
-      'hide_empty' => 0,
841
-      'empty_zero' => 0,
842
-      'hide_alter_empty' => 1,
843
-      'link_type' => '',
844
-      'exclude' => 1,
845
-      'id' => 'ops',
846
-      'table' => 'flag_content',
847
-      'field' => 'ops',
848
-      'relationship' => 'flag_content_rel',
849
-      'override' => array(
838
+        ),
839
+        'empty' => '',
840
+        'hide_empty' => 0,
841
+        'empty_zero' => 0,
842
+        'hide_alter_empty' => 1,
843
+        'link_type' => '',
844
+        'exclude' => 1,
845
+        'id' => 'ops',
846
+        'table' => 'flag_content',
847
+        'field' => 'ops',
848
+        'relationship' => 'flag_content_rel',
849
+        'override' => array(
850 850
         'button' => 'Use default',
851
-      ),
851
+        ),
852 852
     ),
853
-  ));
854
-  $handler->override_option('title', 'Subscriptions');
855
-  $handler->override_option('items_per_page', 5);
856
-  $handler->override_option('use_pager', '0');
857
-  $handler->override_option('use_more', 1);
858
-  $handler->override_option('use_more_always', 1);
859
-  $handler->override_option('style_plugin', 'table');
860
-  $handler->override_option('style_options', array(
853
+    ));
854
+    $handler->override_option('title', 'Subscriptions');
855
+    $handler->override_option('items_per_page', 5);
856
+    $handler->override_option('use_pager', '0');
857
+    $handler->override_option('use_more', 1);
858
+    $handler->override_option('use_more_always', 1);
859
+    $handler->override_option('style_plugin', 'table');
860
+    $handler->override_option('style_options', array(
861 861
     'grouping' => '',
862 862
     'override' => 1,
863 863
     'sticky' => 0,
864 864
     'order' => 'desc',
865 865
     'summary' => '',
866 866
     'columns' => array(
867
-      'title' => 'title',
868
-      'type' => 'type',
869
-      'ops' => 'ops',
870
-      'last_updated' => 'last_updated',
867
+        'title' => 'title',
868
+        'type' => 'type',
869
+        'ops' => 'ops',
870
+        'last_updated' => 'last_updated',
871 871
     ),
872 872
     'info' => array(
873
-      'title' => array(
873
+        'title' => array(
874 874
         'sortable' => 0,
875 875
         'separator' => '',
876
-      ),
877
-      'type' => array(
876
+        ),
877
+        'type' => array(
878 878
         'sortable' => 0,
879 879
         'separator' => '',
880
-      ),
881
-      'ops' => array(
880
+        ),
881
+        'ops' => array(
882 882
         'separator' => '',
883
-      ),
884
-      'last_updated' => array(
883
+        ),
884
+        'last_updated' => array(
885 885
         'sortable' => 0,
886 886
         'separator' => '',
887
-      ),
887
+        ),
888 888
     ),
889 889
     'default' => 'last_updated',
890
-  ));
891
-  $handler->override_option('pane_title', '');
892
-  $handler->override_option('pane_description', '');
893
-  $handler->override_option('pane_category', array(
890
+    ));
891
+    $handler->override_option('pane_title', '');
892
+    $handler->override_option('pane_description', '');
893
+    $handler->override_option('pane_category', array(
894 894
     'name' => 'View panes',
895 895
     'weight' => 0,
896
-  ));
897
-  $handler->override_option('allow', array(
896
+    ));
897
+    $handler->override_option('allow', array(
898 898
     'use_pager' => FALSE,
899 899
     'items_per_page' => FALSE,
900 900
     'offset' => FALSE,
@@ -904,12 +904,12 @@  discard block
 block discarded – undo
904 904
     'title_override' => FALSE,
905 905
     'exposed_form' => FALSE,
906 906
     'fields_override' => FALSE,
907
-  ));
908
-  $handler->override_option('argument_input', array());
909
-  $handler->override_option('link_to_view', 0);
910
-  $handler->override_option('inherit_panels_path', 0);
907
+    ));
908
+    $handler->override_option('argument_input', array());
909
+    $handler->override_option('link_to_view', 0);
910
+    $handler->override_option('inherit_panels_path', 0);
911 911
 
912
-  $views[$view->name] = $view;
912
+    $views[$view->name] = $view;
913 913
 
914
-  return $views;
914
+    return $views;
915 915
 }
Please login to merge, or discard this patch.
all/features/user_preferences/user_preferences.features.menu_links.inc 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -4,18 +4,18 @@  discard block
 block discarded – undo
4 4
  * Implementation of hook_menu_default_menu_links().
5 5
  */
6 6
 function user_preferences_menu_default_menu_links() {
7
-  $menu_links = array();
7
+    $menu_links = array();
8 8
 
9
-  // Exported menu link: primary-links:account/prefs
10
-  $menu_links['primary-links:account/prefs'] = array(
9
+    // Exported menu link: primary-links:account/prefs
10
+    $menu_links['primary-links:account/prefs'] = array(
11 11
     'menu_name' => 'primary-links',
12 12
     'link_path' => 'account/prefs',
13 13
     'router_path' => 'account/prefs',
14 14
     'link_title' => 'Preferences',
15 15
     'options' => array(
16
-      'attributes' => array(
16
+        'attributes' => array(
17 17
         'title' => '',
18
-      ),
18
+        ),
19 19
     ),
20 20
     'module' => 'menu',
21 21
     'hidden' => '0',
@@ -24,13 +24,13 @@  discard block
 block discarded – undo
24 24
     'expanded' => '0',
25 25
     'weight' => '-47',
26 26
     'parent_path' => 'dashboard',
27
-  );
28
-  // Translatables
29
-  // Use bts() function to translate additional strings.
30
-  bts('Preferences', array(), NULL, 'boinc:menu-link');
31
-  bts('Community', array(), NULL, 'boinc:menu-link');
32
-  bts('Privacy', array(), NULL, 'boinc:menu-link');
33
-  bts('Subscriptions', array(), NULL, 'boinc:menu-link:-1:ignoreoverwrite');
27
+    );
28
+    // Translatables
29
+    // Use bts() function to translate additional strings.
30
+    bts('Preferences', array(), NULL, 'boinc:menu-link');
31
+    bts('Community', array(), NULL, 'boinc:menu-link');
32
+    bts('Privacy', array(), NULL, 'boinc:menu-link');
33
+    bts('Subscriptions', array(), NULL, 'boinc:menu-link:-1:ignoreoverwrite');
34 34
 
35
-  return $menu_links;
35
+    return $menu_links;
36 36
 }
Please login to merge, or discard this patch.