Completed
Pull Request — master (#2659)
by Christian
10:33
created
drupal/sites/all/features/teams/teams.features.inc 1 patch
Switch Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -4,40 +4,40 @@
 block discarded – undo
4 4
  * Implementation of hook_ctools_plugin_api().
5 5
  */
6 6
 function teams_ctools_plugin_api() {
7
-  list($module, $api) = func_get_args();
8
-  if ($module == "page_manager" && $api == "pages_default") {
9
-    return array("version" => 1);
10
-  }
11
-  elseif ($module == "strongarm" && $api == "strongarm") {
12
-    return array("version" => 1);
13
-  }
7
+list($module, $api) = func_get_args();
8
+if ($module == "page_manager" && $api == "pages_default") {
9
+return array("version" => 1);
10
+}
11
+elseif ($module == "strongarm" && $api == "strongarm") {
12
+return array("version" => 1);
13
+}
14 14
 }
15 15
 
16 16
 /**
17 17
  * Implementation of hook_node_info().
18 18
  */
19 19
 function teams_node_info() {
20
-  $items = array(
21
-    'team' => array(
22
-      'name' => t('Team'),
23
-      'module' => 'features',
24
-      'description' => t('A grouping of users, centered on a common interest.'),
25
-      'has_title' => '1',
26
-      'title_label' => t('Name'),
27
-      'has_body' => '1',
28
-      'body_label' => t('Description'),
29
-      'min_word_count' => '0',
30
-      'help' => '',
31
-    ),
32
-  );
33
-  return $items;
20
+$items = array(
21
+'team' => array(
22
+  'name' => t('Team'),
23
+  'module' => 'features',
24
+  'description' => t('A grouping of users, centered on a common interest.'),
25
+  'has_title' => '1',
26
+  'title_label' => t('Name'),
27
+  'has_body' => '1',
28
+  'body_label' => t('Description'),
29
+  'min_word_count' => '0',
30
+  'help' => '',
31
+),
32
+);
33
+return $items;
34 34
 }
35 35
 
36 36
 /**
37 37
  * Implementation of hook_views_api().
38 38
  */
39 39
 function teams_views_api() {
40
-  return array(
41
-    'api' => '2',
42
-  );
40
+return array(
41
+'api' => '2',
42
+);
43 43
 }
Please login to merge, or discard this patch.
drupal/sites/all/features/teams/teams.views_default.inc 1 patch
Switch Indentation   +4025 added lines, -4025 removed lines patch added patch discarded remove patch
@@ -4,1059 +4,1059 @@  discard block
 block discarded – undo
4 4
  * Implementation of hook_views_default_views().
5 5
  */
6 6
 function teams_views_default_views() {
7
-  $views = array();
7
+$views = array();
8 8
 
9
-  // Exported view: boinc_team_members
10
-  $view = new view;
11
-  $view->name = 'boinc_team_members';
12
-  $view->description = '';
13
-  $view->tag = '';
14
-  $view->base_table = 'user';
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('fields', array(
20
-    'id' => array(
21
-      'label' => 'Id',
22
-      'alter' => array(
23
-        'alter_text' => 0,
24
-        'text' => '',
25
-        'make_link' => 0,
26
-        'path' => '',
27
-        'absolute' => 0,
28
-        'link_class' => '',
29
-        'alt' => '',
30
-        'rel' => '',
31
-        'prefix' => '',
32
-        'suffix' => '',
33
-        'target' => '',
34
-        'help' => '',
35
-        'trim' => 0,
36
-        'max_length' => '',
37
-        'word_boundary' => 1,
38
-        'ellipsis' => 1,
39
-        'html' => 0,
40
-        'strip_tags' => 0,
41
-      ),
42
-      'empty' => '',
43
-      'hide_empty' => 0,
44
-      'empty_zero' => 0,
45
-      'hide_alter_empty' => 1,
46
-      'set_precision' => FALSE,
47
-      'precision' => 0,
48
-      'decimal' => '.',
49
-      'separator' => ',',
50
-      'format_plural' => 0,
51
-      'format_plural_singular' => '1',
52
-      'format_plural_plural' => '@count',
53
-      'prefix' => '',
54
-      'suffix' => '',
55
-      'exclude' => 0,
56
-      'id' => 'id',
57
-      'table' => 'user',
58
-      'field' => 'id',
59
-      'relationship' => 'none',
60
-    ),
61
-    'name' => array(
62
-      'label' => 'Name',
63
-      'alter' => array(
64
-        'alter_text' => 0,
65
-        'text' => '',
66
-        'make_link' => 0,
67
-        'path' => '',
68
-        'absolute' => 0,
69
-        'link_class' => '',
70
-        'alt' => '',
71
-        'rel' => '',
72
-        'prefix' => '',
73
-        'suffix' => '',
74
-        'target' => '',
75
-        'help' => '',
76
-        'trim' => 0,
77
-        'max_length' => '',
78
-        'word_boundary' => 1,
79
-        'ellipsis' => 1,
80
-        'html' => 0,
81
-        'strip_tags' => 0,
82
-      ),
83
-      'empty' => '',
84
-      'hide_empty' => 0,
85
-      'empty_zero' => 0,
86
-      'hide_alter_empty' => 1,
87
-      'exclude' => 0,
88
-      'id' => 'name',
89
-      'table' => 'user',
90
-      'field' => 'name',
91
-      'relationship' => 'none',
92
-    ),
93
-    'total_credit' => array(
94
-      'label' => 'Total Credit',
95
-      'alter' => array(
96
-        'alter_text' => 0,
97
-        'text' => '',
98
-        'make_link' => 0,
99
-        'path' => '',
100
-        'absolute' => 0,
101
-        'link_class' => '',
102
-        'alt' => '',
103
-        'rel' => '',
104
-        'prefix' => '',
105
-        'suffix' => '',
106
-        'target' => '',
107
-        'help' => '',
108
-        'trim' => 0,
109
-        'max_length' => '',
110
-        'word_boundary' => 1,
111
-        'ellipsis' => 1,
112
-        'html' => 0,
113
-        'strip_tags' => 0,
114
-      ),
115
-      'empty' => '',
116
-      'hide_empty' => 0,
117
-      'empty_zero' => 0,
118
-      'hide_alter_empty' => 1,
119
-      'set_precision' => 1,
120
-      'precision' => '0',
121
-      'decimal' => '.',
122
-      'separator' => ',',
123
-      'format_plural' => 0,
124
-      'format_plural_singular' => '1',
125
-      'format_plural_plural' => '@count',
126
-      'prefix' => '',
127
-      'suffix' => '',
128
-      'exclude' => 0,
129
-      'id' => 'total_credit',
130
-      'table' => 'user',
131
-      'field' => 'total_credit',
132
-      'relationship' => 'none',
133
-    ),
134
-    'expavg_credit' => array(
135
-      'label' => 'Recent average credit',
136
-      'alter' => array(
137
-        'alter_text' => 0,
138
-        'text' => '',
139
-        'make_link' => 0,
140
-        'path' => '',
141
-        'absolute' => 0,
142
-        'link_class' => '',
143
-        'alt' => '',
144
-        'rel' => '',
145
-        'prefix' => '',
146
-        'suffix' => '',
147
-        'target' => '',
148
-        'help' => '',
149
-        'trim' => 0,
150
-        'max_length' => '',
151
-        'word_boundary' => 1,
152
-        'ellipsis' => 1,
153
-        'html' => 0,
154
-        'strip_tags' => 0,
155
-      ),
156
-      'empty' => '',
157
-      'hide_empty' => 0,
158
-      'empty_zero' => 0,
159
-      'hide_alter_empty' => 1,
160
-      'set_precision' => 1,
161
-      'precision' => '2',
162
-      'decimal' => '.',
163
-      'separator' => ',',
164
-      'format_plural' => 0,
165
-      'format_plural_singular' => '1',
166
-      'format_plural_plural' => '@count',
167
-      'prefix' => '',
168
-      'suffix' => '',
169
-      'exclude' => 0,
170
-      'id' => 'expavg_credit',
171
-      'table' => 'user',
172
-      'field' => 'expavg_credit',
173
-      'relationship' => 'none',
174
-    ),
175
-    'country' => array(
176
-      'label' => 'Country',
177
-      'alter' => array(
178
-        'alter_text' => 0,
179
-        'text' => '',
180
-        'make_link' => 0,
181
-        'path' => '',
182
-        'absolute' => 0,
183
-        'link_class' => '',
184
-        'alt' => '',
185
-        'rel' => '',
186
-        'prefix' => '',
187
-        'suffix' => '',
188
-        'target' => '',
189
-        'help' => '',
190
-        'trim' => 0,
191
-        'max_length' => '',
192
-        'word_boundary' => 1,
193
-        'ellipsis' => 1,
194
-        'html' => 0,
195
-        'strip_tags' => 0,
196
-      ),
197
-      'empty' => '',
198
-      'hide_empty' => 0,
199
-      'empty_zero' => 0,
200
-      'hide_alter_empty' => 1,
201
-      'exclude' => 0,
202
-      'id' => 'country',
203
-      'table' => 'user',
204
-      'field' => 'country',
205
-      'relationship' => 'none',
206
-    ),
207
-    'create_time' => array(
208
-      'label' => 'Member since',
209
-      'alter' => array(
210
-        'alter_text' => 0,
211
-        'text' => '',
212
-        'make_link' => 0,
213
-        'path' => '',
214
-        'absolute' => 0,
215
-        'link_class' => '',
216
-        'alt' => '',
217
-        'rel' => '',
218
-        'prefix' => '',
219
-        'suffix' => '',
220
-        'target' => '',
221
-        'help' => '',
222
-        'trim' => 0,
223
-        'max_length' => '',
224
-        'word_boundary' => 1,
225
-        'ellipsis' => 1,
226
-        'html' => 0,
227
-        'strip_tags' => 0,
228
-      ),
229
-      'empty' => '',
230
-      'hide_empty' => 0,
231
-      'empty_zero' => 0,
232
-      'hide_alter_empty' => 1,
233
-      'date_format' => 'small',
234
-      'custom_date_format' => '',
235
-      'exclude' => 0,
236
-      'id' => 'create_time',
237
-      'table' => 'user',
238
-      'field' => 'create_time',
239
-      'relationship' => 'none',
240
-    ),
241
-  ));
242
-  $handler->override_option('access', array(
243
-    'type' => 'none',
244
-  ));
245
-  $handler->override_option('cache', array(
246
-    'type' => 'none',
247
-  ));
248
-  $handler = $view->new_display('panel_pane', 'Team member list', 'panel_pane_1');
249
-  $handler->override_option('fields', array(
250
-    'rownumber' => array(
251
-      'label' => 'Rank',
252
-      'alter' => array(
253
-        'alter_text' => 0,
254
-        'text' => '',
255
-        'make_link' => 0,
256
-        'path' => '',
257
-        'absolute' => 0,
258
-        'link_class' => '',
259
-        'alt' => '',
260
-        'rel' => '',
261
-        'prefix' => '',
262
-        'suffix' => '',
263
-        'target' => '',
264
-        'help' => '',
265
-        'trim' => 0,
266
-        'max_length' => '',
267
-        'word_boundary' => 1,
268
-        'ellipsis' => 1,
269
-        'html' => 0,
270
-        'strip_tags' => 0,
271
-      ),
272
-      'empty' => '',
273
-      'hide_empty' => 0,
274
-      'empty_zero' => 0,
275
-      'hide_alter_empty' => 1,
276
-      'exclude' => 0,
277
-      'id' => 'rownumber',
278
-      'table' => 'customfield',
279
-      'field' => 'rownumber',
280
-      'override' => array(
281
-        'button' => 'Use default',
282
-      ),
283
-      'relationship' => 'none',
284
-    ),
285
-    'id' => array(
286
-      'label' => 'Id',
287
-      'alter' => array(
288
-        'alter_text' => 0,
289
-        'text' => '',
290
-        'make_link' => 0,
291
-        'path' => '',
292
-        'absolute' => 0,
293
-        'link_class' => '',
294
-        'alt' => '',
295
-        'rel' => '',
296
-        'prefix' => '',
297
-        'suffix' => '',
298
-        'target' => '',
299
-        'help' => '',
300
-        'trim' => 0,
301
-        'max_length' => '',
302
-        'word_boundary' => 1,
303
-        'ellipsis' => 1,
304
-        'html' => 0,
305
-        'strip_tags' => 0,
306
-      ),
307
-      'empty' => '',
308
-      'hide_empty' => 0,
309
-      'empty_zero' => 0,
310
-      'hide_alter_empty' => 1,
311
-      'set_precision' => FALSE,
312
-      'precision' => 0,
313
-      'decimal' => '.',
314
-      'separator' => '',
315
-      'format_plural' => 0,
316
-      'format_plural_singular' => '1',
317
-      'format_plural_plural' => '@count',
318
-      'prefix' => '',
319
-      'suffix' => '',
320
-      'exclude' => 1,
321
-      'id' => 'id',
322
-      'table' => 'user',
323
-      'field' => 'id',
324
-      'relationship' => 'none',
325
-      'override' => array(
326
-        'button' => 'Use default',
327
-      ),
328
-    ),
329
-    'phpcode' => array(
330
-      'label' => 'Uid',
331
-      'alter' => array(
332
-        'alter_text' => 0,
333
-        'text' => '',
334
-        'make_link' => 0,
335
-        'path' => '',
336
-        'absolute' => 0,
337
-        'link_class' => '',
338
-        'alt' => '',
339
-        'rel' => '',
340
-        'prefix' => '',
341
-        'suffix' => '',
342
-        'target' => '',
343
-        'help' => '',
344
-        'trim' => 0,
345
-        'max_length' => '',
346
-        'word_boundary' => 1,
347
-        'ellipsis' => 1,
348
-        'html' => 0,
349
-        'strip_tags' => 0,
350
-      ),
351
-      'empty' => '',
352
-      'hide_empty' => 0,
353
-      'empty_zero' => 0,
354
-      'hide_alter_empty' => 1,
355
-      'value' => '<?php
9
+// Exported view: boinc_team_members
10
+$view = new view;
11
+$view->name = 'boinc_team_members';
12
+$view->description = '';
13
+$view->tag = '';
14
+$view->base_table = 'user';
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('fields', array(
20
+'id' => array(
21
+  'label' => 'Id',
22
+  'alter' => array(
23
+    'alter_text' => 0,
24
+    'text' => '',
25
+    'make_link' => 0,
26
+    'path' => '',
27
+    'absolute' => 0,
28
+    'link_class' => '',
29
+    'alt' => '',
30
+    'rel' => '',
31
+    'prefix' => '',
32
+    'suffix' => '',
33
+    'target' => '',
34
+    'help' => '',
35
+    'trim' => 0,
36
+    'max_length' => '',
37
+    'word_boundary' => 1,
38
+    'ellipsis' => 1,
39
+    'html' => 0,
40
+    'strip_tags' => 0,
41
+  ),
42
+  'empty' => '',
43
+  'hide_empty' => 0,
44
+  'empty_zero' => 0,
45
+  'hide_alter_empty' => 1,
46
+  'set_precision' => FALSE,
47
+  'precision' => 0,
48
+  'decimal' => '.',
49
+  'separator' => ',',
50
+  'format_plural' => 0,
51
+  'format_plural_singular' => '1',
52
+  'format_plural_plural' => '@count',
53
+  'prefix' => '',
54
+  'suffix' => '',
55
+  'exclude' => 0,
56
+  'id' => 'id',
57
+  'table' => 'user',
58
+  'field' => 'id',
59
+  'relationship' => 'none',
60
+),
61
+'name' => array(
62
+  'label' => 'Name',
63
+  'alter' => array(
64
+    'alter_text' => 0,
65
+    'text' => '',
66
+    'make_link' => 0,
67
+    'path' => '',
68
+    'absolute' => 0,
69
+    'link_class' => '',
70
+    'alt' => '',
71
+    'rel' => '',
72
+    'prefix' => '',
73
+    'suffix' => '',
74
+    'target' => '',
75
+    'help' => '',
76
+    'trim' => 0,
77
+    'max_length' => '',
78
+    'word_boundary' => 1,
79
+    'ellipsis' => 1,
80
+    'html' => 0,
81
+    'strip_tags' => 0,
82
+  ),
83
+  'empty' => '',
84
+  'hide_empty' => 0,
85
+  'empty_zero' => 0,
86
+  'hide_alter_empty' => 1,
87
+  'exclude' => 0,
88
+  'id' => 'name',
89
+  'table' => 'user',
90
+  'field' => 'name',
91
+  'relationship' => 'none',
92
+),
93
+'total_credit' => array(
94
+  'label' => 'Total Credit',
95
+  'alter' => array(
96
+    'alter_text' => 0,
97
+    'text' => '',
98
+    'make_link' => 0,
99
+    'path' => '',
100
+    'absolute' => 0,
101
+    'link_class' => '',
102
+    'alt' => '',
103
+    'rel' => '',
104
+    'prefix' => '',
105
+    'suffix' => '',
106
+    'target' => '',
107
+    'help' => '',
108
+    'trim' => 0,
109
+    'max_length' => '',
110
+    'word_boundary' => 1,
111
+    'ellipsis' => 1,
112
+    'html' => 0,
113
+    'strip_tags' => 0,
114
+  ),
115
+  'empty' => '',
116
+  'hide_empty' => 0,
117
+  'empty_zero' => 0,
118
+  'hide_alter_empty' => 1,
119
+  'set_precision' => 1,
120
+  'precision' => '0',
121
+  'decimal' => '.',
122
+  'separator' => ',',
123
+  'format_plural' => 0,
124
+  'format_plural_singular' => '1',
125
+  'format_plural_plural' => '@count',
126
+  'prefix' => '',
127
+  'suffix' => '',
128
+  'exclude' => 0,
129
+  'id' => 'total_credit',
130
+  'table' => 'user',
131
+  'field' => 'total_credit',
132
+  'relationship' => 'none',
133
+),
134
+'expavg_credit' => array(
135
+  'label' => 'Recent average credit',
136
+  'alter' => array(
137
+    'alter_text' => 0,
138
+    'text' => '',
139
+    'make_link' => 0,
140
+    'path' => '',
141
+    'absolute' => 0,
142
+    'link_class' => '',
143
+    'alt' => '',
144
+    'rel' => '',
145
+    'prefix' => '',
146
+    'suffix' => '',
147
+    'target' => '',
148
+    'help' => '',
149
+    'trim' => 0,
150
+    'max_length' => '',
151
+    'word_boundary' => 1,
152
+    'ellipsis' => 1,
153
+    'html' => 0,
154
+    'strip_tags' => 0,
155
+  ),
156
+  'empty' => '',
157
+  'hide_empty' => 0,
158
+  'empty_zero' => 0,
159
+  'hide_alter_empty' => 1,
160
+  'set_precision' => 1,
161
+  'precision' => '2',
162
+  'decimal' => '.',
163
+  'separator' => ',',
164
+  'format_plural' => 0,
165
+  'format_plural_singular' => '1',
166
+  'format_plural_plural' => '@count',
167
+  'prefix' => '',
168
+  'suffix' => '',
169
+  'exclude' => 0,
170
+  'id' => 'expavg_credit',
171
+  'table' => 'user',
172
+  'field' => 'expavg_credit',
173
+  'relationship' => 'none',
174
+),
175
+'country' => array(
176
+  'label' => 'Country',
177
+  'alter' => array(
178
+    'alter_text' => 0,
179
+    'text' => '',
180
+    'make_link' => 0,
181
+    'path' => '',
182
+    'absolute' => 0,
183
+    'link_class' => '',
184
+    'alt' => '',
185
+    'rel' => '',
186
+    'prefix' => '',
187
+    'suffix' => '',
188
+    'target' => '',
189
+    'help' => '',
190
+    'trim' => 0,
191
+    'max_length' => '',
192
+    'word_boundary' => 1,
193
+    'ellipsis' => 1,
194
+    'html' => 0,
195
+    'strip_tags' => 0,
196
+  ),
197
+  'empty' => '',
198
+  'hide_empty' => 0,
199
+  'empty_zero' => 0,
200
+  'hide_alter_empty' => 1,
201
+  'exclude' => 0,
202
+  'id' => 'country',
203
+  'table' => 'user',
204
+  'field' => 'country',
205
+  'relationship' => 'none',
206
+),
207
+'create_time' => array(
208
+  'label' => 'Member since',
209
+  'alter' => array(
210
+    'alter_text' => 0,
211
+    'text' => '',
212
+    'make_link' => 0,
213
+    'path' => '',
214
+    'absolute' => 0,
215
+    'link_class' => '',
216
+    'alt' => '',
217
+    'rel' => '',
218
+    'prefix' => '',
219
+    'suffix' => '',
220
+    'target' => '',
221
+    'help' => '',
222
+    'trim' => 0,
223
+    'max_length' => '',
224
+    'word_boundary' => 1,
225
+    'ellipsis' => 1,
226
+    'html' => 0,
227
+    'strip_tags' => 0,
228
+  ),
229
+  'empty' => '',
230
+  'hide_empty' => 0,
231
+  'empty_zero' => 0,
232
+  'hide_alter_empty' => 1,
233
+  'date_format' => 'small',
234
+  'custom_date_format' => '',
235
+  'exclude' => 0,
236
+  'id' => 'create_time',
237
+  'table' => 'user',
238
+  'field' => 'create_time',
239
+  'relationship' => 'none',
240
+),
241
+));
242
+$handler->override_option('access', array(
243
+'type' => 'none',
244
+));
245
+$handler->override_option('cache', array(
246
+'type' => 'none',
247
+));
248
+$handler = $view->new_display('panel_pane', 'Team member list', 'panel_pane_1');
249
+$handler->override_option('fields', array(
250
+'rownumber' => array(
251
+  'label' => 'Rank',
252
+  'alter' => array(
253
+    'alter_text' => 0,
254
+    'text' => '',
255
+    'make_link' => 0,
256
+    'path' => '',
257
+    'absolute' => 0,
258
+    'link_class' => '',
259
+    'alt' => '',
260
+    'rel' => '',
261
+    'prefix' => '',
262
+    'suffix' => '',
263
+    'target' => '',
264
+    'help' => '',
265
+    'trim' => 0,
266
+    'max_length' => '',
267
+    'word_boundary' => 1,
268
+    'ellipsis' => 1,
269
+    'html' => 0,
270
+    'strip_tags' => 0,
271
+  ),
272
+  'empty' => '',
273
+  'hide_empty' => 0,
274
+  'empty_zero' => 0,
275
+  'hide_alter_empty' => 1,
276
+  'exclude' => 0,
277
+  'id' => 'rownumber',
278
+  'table' => 'customfield',
279
+  'field' => 'rownumber',
280
+  'override' => array(
281
+    'button' => 'Use default',
282
+  ),
283
+  'relationship' => 'none',
284
+),
285
+'id' => array(
286
+  'label' => 'Id',
287
+  'alter' => array(
288
+    'alter_text' => 0,
289
+    'text' => '',
290
+    'make_link' => 0,
291
+    'path' => '',
292
+    'absolute' => 0,
293
+    'link_class' => '',
294
+    'alt' => '',
295
+    'rel' => '',
296
+    'prefix' => '',
297
+    'suffix' => '',
298
+    'target' => '',
299
+    'help' => '',
300
+    'trim' => 0,
301
+    'max_length' => '',
302
+    'word_boundary' => 1,
303
+    'ellipsis' => 1,
304
+    'html' => 0,
305
+    'strip_tags' => 0,
306
+  ),
307
+  'empty' => '',
308
+  'hide_empty' => 0,
309
+  'empty_zero' => 0,
310
+  'hide_alter_empty' => 1,
311
+  'set_precision' => FALSE,
312
+  'precision' => 0,
313
+  'decimal' => '.',
314
+  'separator' => '',
315
+  'format_plural' => 0,
316
+  'format_plural_singular' => '1',
317
+  'format_plural_plural' => '@count',
318
+  'prefix' => '',
319
+  'suffix' => '',
320
+  'exclude' => 1,
321
+  'id' => 'id',
322
+  'table' => 'user',
323
+  'field' => 'id',
324
+  'relationship' => 'none',
325
+  'override' => array(
326
+    'button' => 'Use default',
327
+  ),
328
+),
329
+'phpcode' => array(
330
+  'label' => 'Uid',
331
+  'alter' => array(
332
+    'alter_text' => 0,
333
+    'text' => '',
334
+    'make_link' => 0,
335
+    'path' => '',
336
+    'absolute' => 0,
337
+    'link_class' => '',
338
+    'alt' => '',
339
+    'rel' => '',
340
+    'prefix' => '',
341
+    'suffix' => '',
342
+    'target' => '',
343
+    'help' => '',
344
+    'trim' => 0,
345
+    'max_length' => '',
346
+    'word_boundary' => 1,
347
+    'ellipsis' => 1,
348
+    'html' => 0,
349
+    'strip_tags' => 0,
350
+  ),
351
+  'empty' => '',
352
+  'hide_empty' => 0,
353
+  'empty_zero' => 0,
354
+  'hide_alter_empty' => 1,
355
+  'value' => '<?php
356 356
   echo boincuser_lookup_uid($data->id);
357 357
 ?>',
358
-      'exclude' => 1,
359
-      'id' => 'phpcode',
360
-      'table' => 'customfield',
361
-      'field' => 'phpcode',
362
-      'override' => array(
363
-        'button' => 'Use default',
364
-      ),
365
-      'relationship' => 'none',
366
-    ),
367
-    'name' => array(
368
-      'label' => 'Name',
369
-      'alter' => array(
370
-        'alter_text' => 0,
371
-        'text' => '',
372
-        'make_link' => 1,
373
-        'path' => 'account/[phpcode]',
374
-        'absolute' => 0,
375
-        'link_class' => '',
376
-        'alt' => '',
377
-        'rel' => '',
378
-        'prefix' => '',
379
-        'suffix' => '',
380
-        'target' => '',
381
-        'help' => '',
382
-        'trim' => 0,
383
-        'max_length' => '',
384
-        'word_boundary' => 1,
385
-        'ellipsis' => 1,
386
-        'html' => 0,
387
-        'strip_tags' => 0,
388
-      ),
389
-      'empty' => '',
390
-      'hide_empty' => 0,
391
-      'empty_zero' => 0,
392
-      'hide_alter_empty' => 1,
393
-      'exclude' => 0,
394
-      'id' => 'name',
395
-      'table' => 'user',
396
-      'field' => 'name',
397
-      'relationship' => 'none',
398
-      'override' => array(
399
-        'button' => 'Use default',
400
-      ),
401
-    ),
402
-    'total_credit' => array(
403
-      'label' => 'Total Credit',
404
-      'alter' => array(
405
-        'alter_text' => 0,
406
-        'text' => '',
407
-        'make_link' => 0,
408
-        'path' => '',
409
-        'absolute' => 0,
410
-        'link_class' => '',
411
-        'alt' => '',
412
-        'rel' => '',
413
-        'prefix' => '',
414
-        'suffix' => '',
415
-        'target' => '',
416
-        'help' => '',
417
-        'trim' => 0,
418
-        'max_length' => '',
419
-        'word_boundary' => 1,
420
-        'ellipsis' => 1,
421
-        'html' => 0,
422
-        'strip_tags' => 0,
423
-      ),
424
-      'empty' => '',
425
-      'hide_empty' => 0,
426
-      'empty_zero' => 0,
427
-      'hide_alter_empty' => 1,
428
-      'set_precision' => 1,
429
-      'precision' => '0',
430
-      'decimal' => '.',
431
-      'separator' => ',',
432
-      'format_plural' => 0,
433
-      'format_plural_singular' => '1',
434
-      'format_plural_plural' => '@count',
435
-      'prefix' => '',
436
-      'suffix' => '',
437
-      'exclude' => 0,
438
-      'id' => 'total_credit',
439
-      'table' => 'user',
440
-      'field' => 'total_credit',
441
-      'relationship' => 'none',
442
-      'override' => array(
443
-        'button' => 'Use default',
444
-      ),
445
-    ),
446
-    'expavg_credit' => array(
447
-      'label' => 'Recent average credit',
448
-      'alter' => array(
449
-        'alter_text' => 0,
450
-        'text' => '',
451
-        'make_link' => 0,
452
-        'path' => '',
453
-        'absolute' => 0,
454
-        'link_class' => '',
455
-        'alt' => '',
456
-        'rel' => '',
457
-        'prefix' => '',
458
-        'suffix' => '',
459
-        'target' => '',
460
-        'help' => '',
461
-        'trim' => 0,
462
-        'max_length' => '',
463
-        'word_boundary' => 1,
464
-        'ellipsis' => 1,
465
-        'html' => 0,
466
-        'strip_tags' => 0,
467
-      ),
468
-      'empty' => '',
469
-      'hide_empty' => 0,
470
-      'empty_zero' => 0,
471
-      'hide_alter_empty' => 1,
472
-      'set_precision' => 1,
473
-      'precision' => '2',
474
-      'decimal' => '.',
475
-      'separator' => ',',
476
-      'format_plural' => 0,
477
-      'format_plural_singular' => '1',
478
-      'format_plural_plural' => '@count',
479
-      'prefix' => '',
480
-      'suffix' => '',
481
-      'exclude' => 0,
482
-      'id' => 'expavg_credit',
483
-      'table' => 'user',
484
-      'field' => 'expavg_credit',
485
-      'relationship' => 'none',
486
-    ),
487
-    'country' => array(
488
-      'label' => 'Country',
489
-      'alter' => array(
490
-        'alter_text' => 0,
491
-        'text' => '',
492
-        'make_link' => 0,
493
-        'path' => '',
494
-        'absolute' => 0,
495
-        'link_class' => '',
496
-        'alt' => '',
497
-        'rel' => '',
498
-        'prefix' => '',
499
-        'suffix' => '',
500
-        'target' => '',
501
-        'help' => '',
502
-        'trim' => 0,
503
-        'max_length' => '',
504
-        'word_boundary' => 1,
505
-        'ellipsis' => 1,
506
-        'html' => 0,
507
-        'strip_tags' => 0,
508
-      ),
509
-      'empty' => '',
510
-      'hide_empty' => 0,
511
-      'empty_zero' => 0,
512
-      'hide_alter_empty' => 1,
513
-      'exclude' => 0,
514
-      'id' => 'country',
515
-      'table' => 'user',
516
-      'field' => 'country',
517
-      'override' => array(
518
-        'button' => 'Use default',
519
-      ),
520
-      'relationship' => 'none',
521
-    ),
522
-    'create_time' => array(
523
-      'label' => 'Member Since',
524
-      'alter' => array(
525
-        'alter_text' => 0,
526
-        'text' => '',
527
-        'make_link' => 0,
528
-        'path' => '',
529
-        'absolute' => 0,
530
-        'link_class' => '',
531
-        'alt' => '',
532
-        'rel' => '',
533
-        'prefix' => '',
534
-        'suffix' => '',
535
-        'target' => '',
536
-        'help' => '',
537
-        'trim' => 0,
538
-        'max_length' => '',
539
-        'word_boundary' => 1,
540
-        'ellipsis' => 1,
541
-        'html' => 0,
542
-        'strip_tags' => 0,
543
-      ),
544
-      'empty' => '',
545
-      'hide_empty' => 0,
546
-      'empty_zero' => 0,
547
-      'hide_alter_empty' => 1,
548
-      'date_format' => 'custom',
549
-      'custom_date_format' => 'j M Y G:i:s T',
550
-      'exclude' => 0,
551
-      'id' => 'create_time',
552
-      'table' => 'user',
553
-      'field' => 'create_time',
554
-      'relationship' => 'none',
555
-      'override' => array(
556
-        'button' => 'Use default',
557
-      ),
558
-    ),
559
-  ));
560
-  $handler->override_option('arguments', array(
561
-    'teamid' => array(
562
-      'default_action' => 'empty',
563
-      'style_plugin' => 'default_summary',
564
-      'style_options' => array(),
565
-      'wildcard' => 'all',
566
-      'wildcard_substitution' => 'All',
567
-      'title' => '',
568
-      'breadcrumb' => '',
569
-      'default_argument_type' => 'fixed',
570
-      'default_argument' => '',
571
-      'validate_type' => 'numeric',
572
-      'validate_fail' => 'not found',
573
-      'break_phrase' => 0,
574
-      'not' => 0,
575
-      'id' => 'teamid',
576
-      'table' => 'user',
577
-      'field' => 'teamid',
578
-      'validate_user_argument_type' => 'uid',
579
-      'validate_user_roles' => array(
580
-        2 => 0,
581
-        3519698132 => 0,
582
-        1110965548 => 0,
583
-        2938987599 => 0,
584
-        1257454314 => 0,
585
-        268174006 => 0,
586
-        1271379760 => 0,
587
-        933038561 => 0,
588
-      ),
589
-      'me_redirect' => 0,
590
-      'me_validate_user_argument_type' => 'uid',
591
-      'me_validate_user_roles' => array(
592
-        2 => 0,
593
-        3519698132 => 0,
594
-        1110965548 => 0,
595
-        2938987599 => 0,
596
-        1257454314 => 0,
597
-        268174006 => 0,
598
-        1271379760 => 0,
599
-        933038561 => 0,
600
-      ),
601
-      'override' => array(
602
-        'button' => 'Use default',
603
-      ),
604
-      'relationship' => 'none',
605
-      'default_options_div_prefix' => '',
606
-      'default_taxonomy_tid_term_page' => 0,
607
-      'default_taxonomy_tid_node' => 0,
608
-      'default_taxonomy_tid_limit' => 0,
609
-      'default_taxonomy_tid_vids' => array(
610
-        1 => 0,
611
-        2 => 0,
612
-      ),
613
-      'default_argument_user' => 0,
614
-      'default_argument_fixed' => '',
615
-      'default_argument_php' => '',
616
-      'validate_argument_node_type' => array(
617
-        'page' => 0,
618
-        'news' => 0,
619
-        'profile' => 0,
620
-        'forum' => 0,
621
-        'panel' => 0,
622
-        'story' => 0,
623
-        'team' => 0,
624
-      ),
625
-      'validate_argument_node_access' => 0,
626
-      'validate_argument_nid_type' => 'nid',
627
-      'validate_argument_vocabulary' => array(
628
-        1 => 0,
629
-        2 => 0,
630
-      ),
631
-      'validate_argument_type' => 'tid',
632
-      'validate_argument_transform' => 0,
633
-      'validate_user_restrict_roles' => 0,
634
-      'validate_argument_node_flag_name' => '*relationship*',
635
-      'validate_argument_node_flag_test' => 'flaggable',
636
-      'validate_argument_node_flag_id_type' => 'id',
637
-      'validate_argument_user_flag_name' => '*relationship*',
638
-      'validate_argument_user_flag_test' => 'flaggable',
639
-      'validate_argument_user_flag_id_type' => 'id',
640
-      'validate_argument_php' => '',
641
-      'me_validate_user_restrict_roles' => 0,
642
-    ),
643
-  ));
644
-  $handler->override_option('use_pager', '1');
645
-  $handler->override_option('style_plugin', 'table');
646
-  $handler->override_option('style_options', array(
647
-    'grouping' => '',
648
-    'override' => 1,
649
-    'sticky' => 1,
650
-    'order' => 'desc',
651
-    'summary' => '',
652
-    'columns' => array(
653
-      'id' => 'id',
654
-      'name' => 'name',
655
-      'email_addr' => 'email_addr',
656
-      'total_credit' => 'total_credit',
657
-      'expavg_credit' => 'expavg_credit',
658
-      'country' => 'country',
659
-      'create_time' => 'create_time',
660
-    ),
661
-    'info' => array(
662
-      'id' => array(
663
-        'sortable' => 0,
664
-        'separator' => '',
665
-      ),
666
-      'name' => array(
667
-        'sortable' => 1,
668
-        'separator' => '',
669
-      ),
670
-      'email_addr' => array(
671
-        'sortable' => 0,
672
-        'separator' => '',
673
-      ),
674
-      'total_credit' => array(
675
-        'sortable' => 1,
676
-        'separator' => '',
677
-      ),
678
-      'expavg_credit' => array(
679
-        'sortable' => 1,
680
-        'separator' => '',
681
-      ),
682
-      'country' => array(
683
-        'sortable' => 1,
684
-        'separator' => '',
685
-      ),
686
-      'create_time' => array(
687
-        'sortable' => 0,
688
-        'separator' => '',
689
-      ),
690
-    ),
691
-    'default' => 'expavg_credit',
692
-  ));
693
-  $handler->override_option('pane_title', 'Team member list');
694
-  $handler->override_option('pane_description', '');
695
-  $handler->override_option('pane_category', array(
696
-    'name' => 'View panes',
697
-    'weight' => 0,
698
-  ));
699
-  $handler->override_option('allow', array(
700
-    'use_pager' => 0,
701
-    'items_per_page' => 'items_per_page',
702
-    'offset' => 0,
703
-    'link_to_view' => 0,
704
-    'more_link' => 0,
705
-    'path_override' => 0,
706
-    'title_override' => 'title_override',
707
-    'exposed_form' => 0,
708
-    'fields_override' => 0,
709
-  ));
710
-  $handler->override_option('argument_input', array(
711
-    'teamid' => array(
712
-      'type' => 'panel',
713
-      'context' => 'term.description',
714
-      'context_optional' => 0,
715
-      'panel' => '0',
716
-      'fixed' => '',
717
-      'label' => 'BOINC: Team ID',
718
-    ),
719
-  ));
720
-  $handler->override_option('link_to_view', 0);
721
-  $handler->override_option('inherit_panels_path', 0);
722
-  $handler = $view->new_display('panel_pane', 'Team member list for admin', 'panel_pane_2');
723
-  $handler->override_option('fields', array(
724
-    'rownumber' => array(
725
-      'label' => 'Rank',
726
-      'alter' => array(
727
-        'alter_text' => 0,
728
-        'text' => '',
729
-        'make_link' => 0,
730
-        'path' => '',
731
-        'absolute' => 0,
732
-        'link_class' => '',
733
-        'alt' => '',
734
-        'rel' => '',
735
-        'prefix' => '',
736
-        'suffix' => '',
737
-        'target' => '',
738
-        'help' => '',
739
-        'trim' => 0,
740
-        'max_length' => '',
741
-        'word_boundary' => 1,
742
-        'ellipsis' => 1,
743
-        'html' => 0,
744
-        'strip_tags' => 0,
745
-      ),
746
-      'empty' => '',
747
-      'hide_empty' => 0,
748
-      'empty_zero' => 0,
749
-      'hide_alter_empty' => 1,
750
-      'exclude' => 0,
751
-      'id' => 'rownumber',
752
-      'table' => 'customfield',
753
-      'field' => 'rownumber',
754
-      'override' => array(
755
-        'button' => 'Use default',
756
-      ),
757
-      'relationship' => 'none',
758
-    ),
759
-    'id' => array(
760
-      'label' => 'Id',
761
-      'alter' => array(
762
-        'alter_text' => 0,
763
-        'text' => '',
764
-        'make_link' => 0,
765
-        'path' => '',
766
-        'absolute' => 0,
767
-        'link_class' => '',
768
-        'alt' => '',
769
-        'rel' => '',
770
-        'prefix' => '',
771
-        'suffix' => '',
772
-        'target' => '',
773
-        'help' => '',
774
-        'trim' => 0,
775
-        'max_length' => '',
776
-        'word_boundary' => 1,
777
-        'ellipsis' => 1,
778
-        'html' => 0,
779
-        'strip_tags' => 0,
780
-      ),
781
-      'empty' => '',
782
-      'hide_empty' => 0,
783
-      'empty_zero' => 0,
784
-      'hide_alter_empty' => 1,
785
-      'set_precision' => FALSE,
786
-      'precision' => 0,
787
-      'decimal' => '.',
788
-      'separator' => '',
789
-      'format_plural' => 0,
790
-      'format_plural_singular' => '1',
791
-      'format_plural_plural' => '@count',
792
-      'prefix' => '',
793
-      'suffix' => '',
794
-      'exclude' => 1,
795
-      'id' => 'id',
796
-      'table' => 'user',
797
-      'field' => 'id',
798
-      'relationship' => 'none',
799
-      'override' => array(
800
-        'button' => 'Use default',
801
-      ),
802
-    ),
803
-    'phpcode_2' => array(
804
-      'label' => 'Uid',
805
-      'alter' => array(
806
-        'alter_text' => 0,
807
-        'text' => '',
808
-        'make_link' => 0,
809
-        'path' => '',
810
-        'absolute' => 0,
811
-        'link_class' => '',
812
-        'alt' => '',
813
-        'rel' => '',
814
-        'prefix' => '',
815
-        'suffix' => '',
816
-        'target' => '',
817
-        'help' => '',
818
-        'trim' => 0,
819
-        'max_length' => '',
820
-        'word_boundary' => 1,
821
-        'ellipsis' => 1,
822
-        'html' => 0,
823
-        'strip_tags' => 0,
824
-      ),
825
-      'empty' => '',
826
-      'hide_empty' => 0,
827
-      'empty_zero' => 0,
828
-      'hide_alter_empty' => 1,
829
-      'value' => '<?php
358
+  'exclude' => 1,
359
+  'id' => 'phpcode',
360
+  'table' => 'customfield',
361
+  'field' => 'phpcode',
362
+  'override' => array(
363
+    'button' => 'Use default',
364
+  ),
365
+  'relationship' => 'none',
366
+),
367
+'name' => array(
368
+  'label' => 'Name',
369
+  'alter' => array(
370
+    'alter_text' => 0,
371
+    'text' => '',
372
+    'make_link' => 1,
373
+    'path' => 'account/[phpcode]',
374
+    'absolute' => 0,
375
+    'link_class' => '',
376
+    'alt' => '',
377
+    'rel' => '',
378
+    'prefix' => '',
379
+    'suffix' => '',
380
+    'target' => '',
381
+    'help' => '',
382
+    'trim' => 0,
383
+    'max_length' => '',
384
+    'word_boundary' => 1,
385
+    'ellipsis' => 1,
386
+    'html' => 0,
387
+    'strip_tags' => 0,
388
+  ),
389
+  'empty' => '',
390
+  'hide_empty' => 0,
391
+  'empty_zero' => 0,
392
+  'hide_alter_empty' => 1,
393
+  'exclude' => 0,
394
+  'id' => 'name',
395
+  'table' => 'user',
396
+  'field' => 'name',
397
+  'relationship' => 'none',
398
+  'override' => array(
399
+    'button' => 'Use default',
400
+  ),
401
+),
402
+'total_credit' => array(
403
+  'label' => 'Total Credit',
404
+  'alter' => array(
405
+    'alter_text' => 0,
406
+    'text' => '',
407
+    'make_link' => 0,
408
+    'path' => '',
409
+    'absolute' => 0,
410
+    'link_class' => '',
411
+    'alt' => '',
412
+    'rel' => '',
413
+    'prefix' => '',
414
+    'suffix' => '',
415
+    'target' => '',
416
+    'help' => '',
417
+    'trim' => 0,
418
+    'max_length' => '',
419
+    'word_boundary' => 1,
420
+    'ellipsis' => 1,
421
+    'html' => 0,
422
+    'strip_tags' => 0,
423
+  ),
424
+  'empty' => '',
425
+  'hide_empty' => 0,
426
+  'empty_zero' => 0,
427
+  'hide_alter_empty' => 1,
428
+  'set_precision' => 1,
429
+  'precision' => '0',
430
+  'decimal' => '.',
431
+  'separator' => ',',
432
+  'format_plural' => 0,
433
+  'format_plural_singular' => '1',
434
+  'format_plural_plural' => '@count',
435
+  'prefix' => '',
436
+  'suffix' => '',
437
+  'exclude' => 0,
438
+  'id' => 'total_credit',
439
+  'table' => 'user',
440
+  'field' => 'total_credit',
441
+  'relationship' => 'none',
442
+  'override' => array(
443
+    'button' => 'Use default',
444
+  ),
445
+),
446
+'expavg_credit' => array(
447
+  'label' => 'Recent average credit',
448
+  'alter' => array(
449
+    'alter_text' => 0,
450
+    'text' => '',
451
+    'make_link' => 0,
452
+    'path' => '',
453
+    'absolute' => 0,
454
+    'link_class' => '',
455
+    'alt' => '',
456
+    'rel' => '',
457
+    'prefix' => '',
458
+    'suffix' => '',
459
+    'target' => '',
460
+    'help' => '',
461
+    'trim' => 0,
462
+    'max_length' => '',
463
+    'word_boundary' => 1,
464
+    'ellipsis' => 1,
465
+    'html' => 0,
466
+    'strip_tags' => 0,
467
+  ),
468
+  'empty' => '',
469
+  'hide_empty' => 0,
470
+  'empty_zero' => 0,
471
+  'hide_alter_empty' => 1,
472
+  'set_precision' => 1,
473
+  'precision' => '2',
474
+  'decimal' => '.',
475
+  'separator' => ',',
476
+  'format_plural' => 0,
477
+  'format_plural_singular' => '1',
478
+  'format_plural_plural' => '@count',
479
+  'prefix' => '',
480
+  'suffix' => '',
481
+  'exclude' => 0,
482
+  'id' => 'expavg_credit',
483
+  'table' => 'user',
484
+  'field' => 'expavg_credit',
485
+  'relationship' => 'none',
486
+),
487
+'country' => array(
488
+  'label' => 'Country',
489
+  'alter' => array(
490
+    'alter_text' => 0,
491
+    'text' => '',
492
+    'make_link' => 0,
493
+    'path' => '',
494
+    'absolute' => 0,
495
+    'link_class' => '',
496
+    'alt' => '',
497
+    'rel' => '',
498
+    'prefix' => '',
499
+    'suffix' => '',
500
+    'target' => '',
501
+    'help' => '',
502
+    'trim' => 0,
503
+    'max_length' => '',
504
+    'word_boundary' => 1,
505
+    'ellipsis' => 1,
506
+    'html' => 0,
507
+    'strip_tags' => 0,
508
+  ),
509
+  'empty' => '',
510
+  'hide_empty' => 0,
511
+  'empty_zero' => 0,
512
+  'hide_alter_empty' => 1,
513
+  'exclude' => 0,
514
+  'id' => 'country',
515
+  'table' => 'user',
516
+  'field' => 'country',
517
+  'override' => array(
518
+    'button' => 'Use default',
519
+  ),
520
+  'relationship' => 'none',
521
+),
522
+'create_time' => array(
523
+  'label' => 'Member Since',
524
+  'alter' => array(
525
+    'alter_text' => 0,
526
+    'text' => '',
527
+    'make_link' => 0,
528
+    'path' => '',
529
+    'absolute' => 0,
530
+    'link_class' => '',
531
+    'alt' => '',
532
+    'rel' => '',
533
+    'prefix' => '',
534
+    'suffix' => '',
535
+    'target' => '',
536
+    'help' => '',
537
+    'trim' => 0,
538
+    'max_length' => '',
539
+    'word_boundary' => 1,
540
+    'ellipsis' => 1,
541
+    'html' => 0,
542
+    'strip_tags' => 0,
543
+  ),
544
+  'empty' => '',
545
+  'hide_empty' => 0,
546
+  'empty_zero' => 0,
547
+  'hide_alter_empty' => 1,
548
+  'date_format' => 'custom',
549
+  'custom_date_format' => 'j M Y G:i:s T',
550
+  'exclude' => 0,
551
+  'id' => 'create_time',
552
+  'table' => 'user',
553
+  'field' => 'create_time',
554
+  'relationship' => 'none',
555
+  'override' => array(
556
+    'button' => 'Use default',
557
+  ),
558
+),
559
+));
560
+$handler->override_option('arguments', array(
561
+'teamid' => array(
562
+  'default_action' => 'empty',
563
+  'style_plugin' => 'default_summary',
564
+  'style_options' => array(),
565
+  'wildcard' => 'all',
566
+  'wildcard_substitution' => 'All',
567
+  'title' => '',
568
+  'breadcrumb' => '',
569
+  'default_argument_type' => 'fixed',
570
+  'default_argument' => '',
571
+  'validate_type' => 'numeric',
572
+  'validate_fail' => 'not found',
573
+  'break_phrase' => 0,
574
+  'not' => 0,
575
+  'id' => 'teamid',
576
+  'table' => 'user',
577
+  'field' => 'teamid',
578
+  'validate_user_argument_type' => 'uid',
579
+  'validate_user_roles' => array(
580
+    2 => 0,
581
+    3519698132 => 0,
582
+    1110965548 => 0,
583
+    2938987599 => 0,
584
+    1257454314 => 0,
585
+    268174006 => 0,
586
+    1271379760 => 0,
587
+    933038561 => 0,
588
+  ),
589
+  'me_redirect' => 0,
590
+  'me_validate_user_argument_type' => 'uid',
591
+  'me_validate_user_roles' => array(
592
+    2 => 0,
593
+    3519698132 => 0,
594
+    1110965548 => 0,
595
+    2938987599 => 0,
596
+    1257454314 => 0,
597
+    268174006 => 0,
598
+    1271379760 => 0,
599
+    933038561 => 0,
600
+  ),
601
+  'override' => array(
602
+    'button' => 'Use default',
603
+  ),
604
+  'relationship' => 'none',
605
+  'default_options_div_prefix' => '',
606
+  'default_taxonomy_tid_term_page' => 0,
607
+  'default_taxonomy_tid_node' => 0,
608
+  'default_taxonomy_tid_limit' => 0,
609
+  'default_taxonomy_tid_vids' => array(
610
+    1 => 0,
611
+    2 => 0,
612
+  ),
613
+  'default_argument_user' => 0,
614
+  'default_argument_fixed' => '',
615
+  'default_argument_php' => '',
616
+  'validate_argument_node_type' => array(
617
+    'page' => 0,
618
+    'news' => 0,
619
+    'profile' => 0,
620
+    'forum' => 0,
621
+    'panel' => 0,
622
+    'story' => 0,
623
+    'team' => 0,
624
+  ),
625
+  'validate_argument_node_access' => 0,
626
+  'validate_argument_nid_type' => 'nid',
627
+  'validate_argument_vocabulary' => array(
628
+    1 => 0,
629
+    2 => 0,
630
+  ),
631
+  'validate_argument_type' => 'tid',
632
+  'validate_argument_transform' => 0,
633
+  'validate_user_restrict_roles' => 0,
634
+  'validate_argument_node_flag_name' => '*relationship*',
635
+  'validate_argument_node_flag_test' => 'flaggable',
636
+  'validate_argument_node_flag_id_type' => 'id',
637
+  'validate_argument_user_flag_name' => '*relationship*',
638
+  'validate_argument_user_flag_test' => 'flaggable',
639
+  'validate_argument_user_flag_id_type' => 'id',
640
+  'validate_argument_php' => '',
641
+  'me_validate_user_restrict_roles' => 0,
642
+),
643
+));
644
+$handler->override_option('use_pager', '1');
645
+$handler->override_option('style_plugin', 'table');
646
+$handler->override_option('style_options', array(
647
+'grouping' => '',
648
+'override' => 1,
649
+'sticky' => 1,
650
+'order' => 'desc',
651
+'summary' => '',
652
+'columns' => array(
653
+  'id' => 'id',
654
+  'name' => 'name',
655
+  'email_addr' => 'email_addr',
656
+  'total_credit' => 'total_credit',
657
+  'expavg_credit' => 'expavg_credit',
658
+  'country' => 'country',
659
+  'create_time' => 'create_time',
660
+),
661
+'info' => array(
662
+  'id' => array(
663
+    'sortable' => 0,
664
+    'separator' => '',
665
+  ),
666
+  'name' => array(
667
+    'sortable' => 1,
668
+    'separator' => '',
669
+  ),
670
+  'email_addr' => array(
671
+    'sortable' => 0,
672
+    'separator' => '',
673
+  ),
674
+  'total_credit' => array(
675
+    'sortable' => 1,
676
+    'separator' => '',
677
+  ),
678
+  'expavg_credit' => array(
679
+    'sortable' => 1,
680
+    'separator' => '',
681
+  ),
682
+  'country' => array(
683
+    'sortable' => 1,
684
+    'separator' => '',
685
+  ),
686
+  'create_time' => array(
687
+    'sortable' => 0,
688
+    'separator' => '',
689
+  ),
690
+),
691
+'default' => 'expavg_credit',
692
+));
693
+$handler->override_option('pane_title', 'Team member list');
694
+$handler->override_option('pane_description', '');
695
+$handler->override_option('pane_category', array(
696
+'name' => 'View panes',
697
+'weight' => 0,
698
+));
699
+$handler->override_option('allow', array(
700
+'use_pager' => 0,
701
+'items_per_page' => 'items_per_page',
702
+'offset' => 0,
703
+'link_to_view' => 0,
704
+'more_link' => 0,
705
+'path_override' => 0,
706
+'title_override' => 'title_override',
707
+'exposed_form' => 0,
708
+'fields_override' => 0,
709
+));
710
+$handler->override_option('argument_input', array(
711
+'teamid' => array(
712
+  'type' => 'panel',
713
+  'context' => 'term.description',
714
+  'context_optional' => 0,
715
+  'panel' => '0',
716
+  'fixed' => '',
717
+  'label' => 'BOINC: Team ID',
718
+),
719
+));
720
+$handler->override_option('link_to_view', 0);
721
+$handler->override_option('inherit_panels_path', 0);
722
+$handler = $view->new_display('panel_pane', 'Team member list for admin', 'panel_pane_2');
723
+$handler->override_option('fields', array(
724
+'rownumber' => array(
725
+  'label' => 'Rank',
726
+  'alter' => array(
727
+    'alter_text' => 0,
728
+    'text' => '',
729
+    'make_link' => 0,
730
+    'path' => '',
731
+    'absolute' => 0,
732
+    'link_class' => '',
733
+    'alt' => '',
734
+    'rel' => '',
735
+    'prefix' => '',
736
+    'suffix' => '',
737
+    'target' => '',
738
+    'help' => '',
739
+    'trim' => 0,
740
+    'max_length' => '',
741
+    'word_boundary' => 1,
742
+    'ellipsis' => 1,
743
+    'html' => 0,
744
+    'strip_tags' => 0,
745
+  ),
746
+  'empty' => '',
747
+  'hide_empty' => 0,
748
+  'empty_zero' => 0,
749
+  'hide_alter_empty' => 1,
750
+  'exclude' => 0,
751
+  'id' => 'rownumber',
752
+  'table' => 'customfield',
753
+  'field' => 'rownumber',
754
+  'override' => array(
755
+    'button' => 'Use default',
756
+  ),
757
+  'relationship' => 'none',
758
+),
759
+'id' => array(
760
+  'label' => 'Id',
761
+  'alter' => array(
762
+    'alter_text' => 0,
763
+    'text' => '',
764
+    'make_link' => 0,
765
+    'path' => '',
766
+    'absolute' => 0,
767
+    'link_class' => '',
768
+    'alt' => '',
769
+    'rel' => '',
770
+    'prefix' => '',
771
+    'suffix' => '',
772
+    'target' => '',
773
+    'help' => '',
774
+    'trim' => 0,
775
+    'max_length' => '',
776
+    'word_boundary' => 1,
777
+    'ellipsis' => 1,
778
+    'html' => 0,
779
+    'strip_tags' => 0,
780
+  ),
781
+  'empty' => '',
782
+  'hide_empty' => 0,
783
+  'empty_zero' => 0,
784
+  'hide_alter_empty' => 1,
785
+  'set_precision' => FALSE,
786
+  'precision' => 0,
787
+  'decimal' => '.',
788
+  'separator' => '',
789
+  'format_plural' => 0,
790
+  'format_plural_singular' => '1',
791
+  'format_plural_plural' => '@count',
792
+  'prefix' => '',
793
+  'suffix' => '',
794
+  'exclude' => 1,
795
+  'id' => 'id',
796
+  'table' => 'user',
797
+  'field' => 'id',
798
+  'relationship' => 'none',
799
+  'override' => array(
800
+    'button' => 'Use default',
801
+  ),
802
+),
803
+'phpcode_2' => array(
804
+  'label' => 'Uid',
805
+  'alter' => array(
806
+    'alter_text' => 0,
807
+    'text' => '',
808
+    'make_link' => 0,
809
+    'path' => '',
810
+    'absolute' => 0,
811
+    'link_class' => '',
812
+    'alt' => '',
813
+    'rel' => '',
814
+    'prefix' => '',
815
+    'suffix' => '',
816
+    'target' => '',
817
+    'help' => '',
818
+    'trim' => 0,
819
+    'max_length' => '',
820
+    'word_boundary' => 1,
821
+    'ellipsis' => 1,
822
+    'html' => 0,
823
+    'strip_tags' => 0,
824
+  ),
825
+  'empty' => '',
826
+  'hide_empty' => 0,
827
+  'empty_zero' => 0,
828
+  'hide_alter_empty' => 1,
829
+  'value' => '<?php
830 830
   echo boincuser_lookup_uid($data->id);
831 831
 ?>',
832
-      'exclude' => 1,
833
-      'id' => 'phpcode_2',
834
-      'table' => 'customfield',
835
-      'field' => 'phpcode',
836
-      'override' => array(
837
-        'button' => 'Use default',
838
-      ),
839
-      'relationship' => 'none',
840
-    ),
841
-    'name' => array(
842
-      'label' => 'Name',
843
-      'alter' => array(
844
-        'alter_text' => 0,
845
-        'text' => '',
846
-        'make_link' => 1,
847
-        'path' => 'account/[phpcode_2]',
848
-        'absolute' => 0,
849
-        'link_class' => '',
850
-        'alt' => '',
851
-        'rel' => '',
852
-        'prefix' => '',
853
-        'suffix' => '',
854
-        'target' => '',
855
-        'help' => '',
856
-        'trim' => 0,
857
-        'max_length' => '',
858
-        'word_boundary' => 1,
859
-        'ellipsis' => 1,
860
-        'html' => 0,
861
-        'strip_tags' => 0,
862
-      ),
863
-      'empty' => '',
864
-      'hide_empty' => 0,
865
-      'empty_zero' => 0,
866
-      'hide_alter_empty' => 1,
867
-      'exclude' => 0,
868
-      'id' => 'name',
869
-      'table' => 'user',
870
-      'field' => 'name',
871
-      'relationship' => 'none',
872
-      'override' => array(
873
-        'button' => 'Use default',
874
-      ),
875
-    ),
876
-    'total_credit' => array(
877
-      'label' => 'Total Credit',
878
-      'alter' => array(
879
-        'alter_text' => 0,
880
-        'text' => '',
881
-        'make_link' => 0,
882
-        'path' => '',
883
-        'absolute' => 0,
884
-        'link_class' => '',
885
-        'alt' => '',
886
-        'rel' => '',
887
-        'prefix' => '',
888
-        'suffix' => '',
889
-        'target' => '',
890
-        'help' => '',
891
-        'trim' => 0,
892
-        'max_length' => '',
893
-        'word_boundary' => 1,
894
-        'ellipsis' => 1,
895
-        'html' => 0,
896
-        'strip_tags' => 0,
897
-      ),
898
-      'empty' => '',
899
-      'hide_empty' => 0,
900
-      'empty_zero' => 0,
901
-      'hide_alter_empty' => 1,
902
-      'set_precision' => 1,
903
-      'precision' => '0',
904
-      'decimal' => '.',
905
-      'separator' => ',',
906
-      'format_plural' => 0,
907
-      'format_plural_singular' => '1',
908
-      'format_plural_plural' => '@count',
909
-      'prefix' => '',
910
-      'suffix' => '',
911
-      'exclude' => 0,
912
-      'id' => 'total_credit',
913
-      'table' => 'user',
914
-      'field' => 'total_credit',
915
-      'relationship' => 'none',
916
-      'override' => array(
917
-        'button' => 'Use default',
918
-      ),
919
-    ),
920
-    'expavg_credit' => array(
921
-      'label' => 'Recent average credit',
922
-      'alter' => array(
923
-        'alter_text' => 0,
924
-        'text' => '',
925
-        'make_link' => 0,
926
-        'path' => '',
927
-        'absolute' => 0,
928
-        'link_class' => '',
929
-        'alt' => '',
930
-        'rel' => '',
931
-        'prefix' => '',
932
-        'suffix' => '',
933
-        'target' => '',
934
-        'help' => '',
935
-        'trim' => 0,
936
-        'max_length' => '',
937
-        'word_boundary' => 1,
938
-        'ellipsis' => 1,
939
-        'html' => 0,
940
-        'strip_tags' => 0,
941
-      ),
942
-      'empty' => '',
943
-      'hide_empty' => 0,
944
-      'empty_zero' => 0,
945
-      'hide_alter_empty' => 1,
946
-      'set_precision' => 1,
947
-      'precision' => '2',
948
-      'decimal' => '.',
949
-      'separator' => ',',
950
-      'format_plural' => 0,
951
-      'format_plural_singular' => '1',
952
-      'format_plural_plural' => '@count',
953
-      'prefix' => '',
954
-      'suffix' => '',
955
-      'exclude' => 0,
956
-      'id' => 'expavg_credit',
957
-      'table' => 'user',
958
-      'field' => 'expavg_credit',
959
-      'relationship' => 'none',
960
-    ),
961
-    'country' => array(
962
-      'label' => 'Country',
963
-      'alter' => array(
964
-        'alter_text' => 0,
965
-        'text' => '',
966
-        'make_link' => 0,
967
-        'path' => '',
968
-        'absolute' => 0,
969
-        'link_class' => '',
970
-        'alt' => '',
971
-        'rel' => '',
972
-        'prefix' => '',
973
-        'suffix' => '',
974
-        'target' => '',
975
-        'help' => '',
976
-        'trim' => 0,
977
-        'max_length' => '',
978
-        'word_boundary' => 1,
979
-        'ellipsis' => 1,
980
-        'html' => 0,
981
-        'strip_tags' => 0,
982
-      ),
983
-      'empty' => '',
984
-      'hide_empty' => 0,
985
-      'empty_zero' => 0,
986
-      'hide_alter_empty' => 1,
987
-      'exclude' => 0,
988
-      'id' => 'country',
989
-      'table' => 'user',
990
-      'field' => 'country',
991
-      'override' => array(
992
-        'button' => 'Use default',
993
-      ),
994
-      'relationship' => 'none',
995
-    ),
996
-    'create_time' => array(
997
-      'label' => 'Member Since',
998
-      'alter' => array(
999
-        'alter_text' => 0,
1000
-        'text' => '',
1001
-        'make_link' => 0,
1002
-        'path' => '',
1003
-        'absolute' => 0,
1004
-        'link_class' => '',
1005
-        'alt' => '',
1006
-        'rel' => '',
1007
-        'prefix' => '',
1008
-        'suffix' => '',
1009
-        'target' => '',
1010
-        'help' => '',
1011
-        'trim' => 0,
1012
-        'max_length' => '',
1013
-        'word_boundary' => 1,
1014
-        'ellipsis' => 1,
1015
-        'html' => 0,
1016
-        'strip_tags' => 0,
1017
-      ),
1018
-      'empty' => '',
1019
-      'hide_empty' => 0,
1020
-      'empty_zero' => 0,
1021
-      'hide_alter_empty' => 1,
1022
-      'date_format' => 'custom',
1023
-      'custom_date_format' => 'j M Y G:i:s T',
1024
-      'exclude' => 0,
1025
-      'id' => 'create_time',
1026
-      'table' => 'user',
1027
-      'field' => 'create_time',
1028
-      'relationship' => 'none',
1029
-      'override' => array(
1030
-        'button' => 'Use default',
1031
-      ),
1032
-    ),
1033
-    'phpcode_1' => array(
1034
-      'label' => '',
1035
-      'alter' => array(
1036
-        'alter_text' => 0,
1037
-        'text' => '',
1038
-        'make_link' => 0,
1039
-        'path' => '',
1040
-        'absolute' => 0,
1041
-        'link_class' => '',
1042
-        'alt' => '',
1043
-        'rel' => '',
1044
-        'prefix' => '',
1045
-        'suffix' => '',
1046
-        'target' => '',
1047
-        'help' => '',
1048
-        'trim' => 0,
1049
-        'max_length' => '',
1050
-        'word_boundary' => 1,
1051
-        'ellipsis' => 1,
1052
-        'html' => 0,
1053
-        'strip_tags' => 0,
1054
-      ),
1055
-      'empty' => '',
1056
-      'hide_empty' => 0,
1057
-      'empty_zero' => 0,
1058
-      'hide_alter_empty' => 1,
1059
-      'value' => '<?php
832
+  'exclude' => 1,
833
+  'id' => 'phpcode_2',
834
+  'table' => 'customfield',
835
+  'field' => 'phpcode',
836
+  'override' => array(
837
+    'button' => 'Use default',
838
+  ),
839
+  'relationship' => 'none',
840
+),
841
+'name' => array(
842
+  'label' => 'Name',
843
+  'alter' => array(
844
+    'alter_text' => 0,
845
+    'text' => '',
846
+    'make_link' => 1,
847
+    'path' => 'account/[phpcode_2]',
848
+    'absolute' => 0,
849
+    'link_class' => '',
850
+    'alt' => '',
851
+    'rel' => '',
852
+    'prefix' => '',
853
+    'suffix' => '',
854
+    'target' => '',
855
+    'help' => '',
856
+    'trim' => 0,
857
+    'max_length' => '',
858
+    'word_boundary' => 1,
859
+    'ellipsis' => 1,
860
+    'html' => 0,
861
+    'strip_tags' => 0,
862
+  ),
863
+  'empty' => '',
864
+  'hide_empty' => 0,
865
+  'empty_zero' => 0,
866
+  'hide_alter_empty' => 1,
867
+  'exclude' => 0,
868
+  'id' => 'name',
869
+  'table' => 'user',
870
+  'field' => 'name',
871
+  'relationship' => 'none',
872
+  'override' => array(
873
+    'button' => 'Use default',
874
+  ),
875
+),
876
+'total_credit' => array(
877
+  'label' => 'Total Credit',
878
+  'alter' => array(
879
+    'alter_text' => 0,
880
+    'text' => '',
881
+    'make_link' => 0,
882
+    'path' => '',
883
+    'absolute' => 0,
884
+    'link_class' => '',
885
+    'alt' => '',
886
+    'rel' => '',
887
+    'prefix' => '',
888
+    'suffix' => '',
889
+    'target' => '',
890
+    'help' => '',
891
+    'trim' => 0,
892
+    'max_length' => '',
893
+    'word_boundary' => 1,
894
+    'ellipsis' => 1,
895
+    'html' => 0,
896
+    'strip_tags' => 0,
897
+  ),
898
+  'empty' => '',
899
+  'hide_empty' => 0,
900
+  'empty_zero' => 0,
901
+  'hide_alter_empty' => 1,
902
+  'set_precision' => 1,
903
+  'precision' => '0',
904
+  'decimal' => '.',
905
+  'separator' => ',',
906
+  'format_plural' => 0,
907
+  'format_plural_singular' => '1',
908
+  'format_plural_plural' => '@count',
909
+  'prefix' => '',
910
+  'suffix' => '',
911
+  'exclude' => 0,
912
+  'id' => 'total_credit',
913
+  'table' => 'user',
914
+  'field' => 'total_credit',
915
+  'relationship' => 'none',
916
+  'override' => array(
917
+    'button' => 'Use default',
918
+  ),
919
+),
920
+'expavg_credit' => array(
921
+  'label' => 'Recent average credit',
922
+  'alter' => array(
923
+    'alter_text' => 0,
924
+    'text' => '',
925
+    'make_link' => 0,
926
+    'path' => '',
927
+    'absolute' => 0,
928
+    'link_class' => '',
929
+    'alt' => '',
930
+    'rel' => '',
931
+    'prefix' => '',
932
+    'suffix' => '',
933
+    'target' => '',
934
+    'help' => '',
935
+    'trim' => 0,
936
+    'max_length' => '',
937
+    'word_boundary' => 1,
938
+    'ellipsis' => 1,
939
+    'html' => 0,
940
+    'strip_tags' => 0,
941
+  ),
942
+  'empty' => '',
943
+  'hide_empty' => 0,
944
+  'empty_zero' => 0,
945
+  'hide_alter_empty' => 1,
946
+  'set_precision' => 1,
947
+  'precision' => '2',
948
+  'decimal' => '.',
949
+  'separator' => ',',
950
+  'format_plural' => 0,
951
+  'format_plural_singular' => '1',
952
+  'format_plural_plural' => '@count',
953
+  'prefix' => '',
954
+  'suffix' => '',
955
+  'exclude' => 0,
956
+  'id' => 'expavg_credit',
957
+  'table' => 'user',
958
+  'field' => 'expavg_credit',
959
+  'relationship' => 'none',
960
+),
961
+'country' => array(
962
+  'label' => 'Country',
963
+  'alter' => array(
964
+    'alter_text' => 0,
965
+    'text' => '',
966
+    'make_link' => 0,
967
+    'path' => '',
968
+    'absolute' => 0,
969
+    'link_class' => '',
970
+    'alt' => '',
971
+    'rel' => '',
972
+    'prefix' => '',
973
+    'suffix' => '',
974
+    'target' => '',
975
+    'help' => '',
976
+    'trim' => 0,
977
+    'max_length' => '',
978
+    'word_boundary' => 1,
979
+    'ellipsis' => 1,
980
+    'html' => 0,
981
+    'strip_tags' => 0,
982
+  ),
983
+  'empty' => '',
984
+  'hide_empty' => 0,
985
+  'empty_zero' => 0,
986
+  'hide_alter_empty' => 1,
987
+  'exclude' => 0,
988
+  'id' => 'country',
989
+  'table' => 'user',
990
+  'field' => 'country',
991
+  'override' => array(
992
+    'button' => 'Use default',
993
+  ),
994
+  'relationship' => 'none',
995
+),
996
+'create_time' => array(
997
+  'label' => 'Member Since',
998
+  'alter' => array(
999
+    'alter_text' => 0,
1000
+    'text' => '',
1001
+    'make_link' => 0,
1002
+    'path' => '',
1003
+    'absolute' => 0,
1004
+    'link_class' => '',
1005
+    'alt' => '',
1006
+    'rel' => '',
1007
+    'prefix' => '',
1008
+    'suffix' => '',
1009
+    'target' => '',
1010
+    'help' => '',
1011
+    'trim' => 0,
1012
+    'max_length' => '',
1013
+    'word_boundary' => 1,
1014
+    'ellipsis' => 1,
1015
+    'html' => 0,
1016
+    'strip_tags' => 0,
1017
+  ),
1018
+  'empty' => '',
1019
+  'hide_empty' => 0,
1020
+  'empty_zero' => 0,
1021
+  'hide_alter_empty' => 1,
1022
+  'date_format' => 'custom',
1023
+  'custom_date_format' => 'j M Y G:i:s T',
1024
+  'exclude' => 0,
1025
+  'id' => 'create_time',
1026
+  'table' => 'user',
1027
+  'field' => 'create_time',
1028
+  'relationship' => 'none',
1029
+  'override' => array(
1030
+    'button' => 'Use default',
1031
+  ),
1032
+),
1033
+'phpcode_1' => array(
1034
+  'label' => '',
1035
+  'alter' => array(
1036
+    'alter_text' => 0,
1037
+    'text' => '',
1038
+    'make_link' => 0,
1039
+    'path' => '',
1040
+    'absolute' => 0,
1041
+    'link_class' => '',
1042
+    'alt' => '',
1043
+    'rel' => '',
1044
+    'prefix' => '',
1045
+    'suffix' => '',
1046
+    'target' => '',
1047
+    'help' => '',
1048
+    'trim' => 0,
1049
+    'max_length' => '',
1050
+    'word_boundary' => 1,
1051
+    'ellipsis' => 1,
1052
+    'html' => 0,
1053
+    'strip_tags' => 0,
1054
+  ),
1055
+  'empty' => '',
1056
+  'hide_empty' => 0,
1057
+  'empty_zero' => 0,
1058
+  'hide_alter_empty' => 1,
1059
+  'value' => '<?php
1060 1060
   global $user;
1061 1061
   $team_id = arg(2);
1062 1062
   $user_id = boincuser_lookup_uid($data->id);
@@ -1064,737 +1064,737 @@  discard block
 block discarded – undo
1064 1064
     echo l(bts(\'Remove\', array(), NULL, \'boinc:remove-team-member\'), "community/teams/{$team_id}/edit/members/remove/{$user_id}");
1065 1065
   }
1066 1066
 ?>',
1067
-      'exclude' => 1,
1068
-      'id' => 'phpcode_1',
1069
-      'table' => 'customfield',
1070
-      'field' => 'phpcode',
1071
-      'override' => array(
1072
-        'button' => 'Use default',
1073
-      ),
1074
-      'relationship' => 'none',
1075
-    ),
1076
-  ));
1077
-  $handler->override_option('arguments', array(
1078
-    'teamid' => array(
1079
-      'default_action' => 'empty',
1080
-      'style_plugin' => 'default_summary',
1081
-      'style_options' => array(),
1082
-      'wildcard' => 'all',
1083
-      'wildcard_substitution' => 'All',
1084
-      'title' => '',
1085
-      'breadcrumb' => '',
1086
-      'default_argument_type' => 'fixed',
1087
-      'default_argument' => '',
1088
-      'validate_type' => 'numeric',
1089
-      'validate_fail' => 'not found',
1090
-      'break_phrase' => 0,
1091
-      'not' => 0,
1092
-      'id' => 'teamid',
1093
-      'table' => 'user',
1094
-      'field' => 'teamid',
1095
-      'validate_user_argument_type' => 'uid',
1096
-      'validate_user_roles' => array(
1097
-        2 => 0,
1098
-        3519698132 => 0,
1099
-        1110965548 => 0,
1100
-        2938987599 => 0,
1101
-        1257454314 => 0,
1102
-        268174006 => 0,
1103
-        1271379760 => 0,
1104
-        933038561 => 0,
1105
-      ),
1106
-      'me_redirect' => 0,
1107
-      'me_validate_user_argument_type' => 'uid',
1108
-      'me_validate_user_roles' => array(
1109
-        2 => 0,
1110
-        3519698132 => 0,
1111
-        1110965548 => 0,
1112
-        2938987599 => 0,
1113
-        1257454314 => 0,
1114
-        268174006 => 0,
1115
-        1271379760 => 0,
1116
-        933038561 => 0,
1117
-      ),
1118
-      'override' => array(
1119
-        'button' => 'Use default',
1120
-      ),
1121
-      'relationship' => 'none',
1122
-      'default_options_div_prefix' => '',
1123
-      'default_taxonomy_tid_term_page' => 0,
1124
-      'default_taxonomy_tid_node' => 0,
1125
-      'default_taxonomy_tid_limit' => 0,
1126
-      'default_taxonomy_tid_vids' => array(
1127
-        1 => 0,
1128
-        2 => 0,
1129
-      ),
1130
-      'default_argument_user' => 0,
1131
-      'default_argument_fixed' => '',
1132
-      'default_argument_php' => '',
1133
-      'validate_argument_node_type' => array(
1134
-        'page' => 0,
1135
-        'news' => 0,
1136
-        'profile' => 0,
1137
-        'forum' => 0,
1138
-        'panel' => 0,
1139
-        'story' => 0,
1140
-        'team' => 0,
1141
-      ),
1142
-      'validate_argument_node_access' => 0,
1143
-      'validate_argument_nid_type' => 'nid',
1144
-      'validate_argument_vocabulary' => array(
1145
-        1 => 0,
1146
-        2 => 0,
1147
-      ),
1148
-      'validate_argument_type' => 'tid',
1149
-      'validate_argument_transform' => 0,
1150
-      'validate_user_restrict_roles' => 0,
1151
-      'validate_argument_node_flag_name' => '*relationship*',
1152
-      'validate_argument_node_flag_test' => 'flaggable',
1153
-      'validate_argument_node_flag_id_type' => 'id',
1154
-      'validate_argument_user_flag_name' => '*relationship*',
1155
-      'validate_argument_user_flag_test' => 'flaggable',
1156
-      'validate_argument_user_flag_id_type' => 'id',
1157
-      'validate_argument_php' => '',
1158
-      'me_validate_user_restrict_roles' => 0,
1159
-    ),
1160
-  ));
1161
-  $handler->override_option('use_pager', '1');
1162
-  $handler->override_option('style_plugin', 'table');
1163
-  $handler->override_option('style_options', array(
1164
-    'grouping' => '',
1165
-    'override' => 1,
1166
-    'sticky' => 1,
1167
-    'order' => 'desc',
1168
-    'summary' => '',
1169
-    'columns' => array(
1170
-      'id' => 'id',
1171
-      'name' => 'name',
1172
-      'email_addr' => 'email_addr',
1173
-      'total_credit' => 'total_credit',
1174
-      'expavg_credit' => 'expavg_credit',
1175
-      'country' => 'country',
1176
-      'create_time' => 'create_time',
1177
-    ),
1178
-    'info' => array(
1179
-      'id' => array(
1180
-        'sortable' => 0,
1181
-        'separator' => '',
1182
-      ),
1183
-      'name' => array(
1184
-        'sortable' => 1,
1185
-        'separator' => '',
1186
-      ),
1187
-      'email_addr' => array(
1188
-        'sortable' => 1,
1189
-        'separator' => '',
1190
-      ),
1191
-      'total_credit' => array(
1192
-        'sortable' => 1,
1193
-        'separator' => '',
1194
-      ),
1195
-      'expavg_credit' => array(
1196
-        'sortable' => 1,
1197
-        'separator' => '',
1198
-      ),
1199
-      'country' => array(
1200
-        'sortable' => 1,
1201
-        'separator' => '',
1202
-      ),
1203
-      'create_time' => array(
1204
-        'sortable' => 0,
1205
-        'separator' => '',
1206
-      ),
1207
-    ),
1208
-    'default' => 'expavg_credit',
1209
-  ));
1210
-  $handler->override_option('pane_title', 'Team member list with email');
1211
-  $handler->override_option('pane_description', '');
1212
-  $handler->override_option('pane_category', array(
1213
-    'name' => 'View panes',
1214
-    'weight' => 0,
1215
-  ));
1216
-  $handler->override_option('allow', array(
1217
-    'use_pager' => 0,
1218
-    'items_per_page' => 'items_per_page',
1219
-    'offset' => 0,
1220
-    'link_to_view' => 0,
1221
-    'more_link' => 0,
1222
-    'path_override' => 0,
1223
-    'title_override' => 'title_override',
1224
-    'exposed_form' => 0,
1225
-    'fields_override' => 0,
1226
-  ));
1227
-  $handler->override_option('argument_input', array(
1228
-    'teamid' => array(
1229
-      'type' => 'panel',
1230
-      'context' => 'term.description',
1231
-      'context_optional' => 0,
1232
-      'panel' => '0',
1233
-      'fixed' => '',
1234
-      'label' => 'BOINC: Team ID',
1235
-    ),
1236
-  ));
1237
-  $handler->override_option('link_to_view', 0);
1238
-  $handler->override_option('inherit_panels_path', 0);
1239
-  $handler = $view->new_display('panel_pane', 'Team email list', 'panel_pane_3');
1240
-  $handler->override_option('fields', array(
1241
-    'id' => array(
1242
-      'label' => 'Id',
1243
-      'alter' => array(
1244
-        'alter_text' => 0,
1245
-        'text' => '',
1246
-        'make_link' => 0,
1247
-        'path' => '',
1248
-        'absolute' => 0,
1249
-        'link_class' => '',
1250
-        'alt' => '',
1251
-        'rel' => '',
1252
-        'prefix' => '',
1253
-        'suffix' => '',
1254
-        'target' => '',
1255
-        'help' => '',
1256
-        'trim' => 0,
1257
-        'max_length' => '',
1258
-        'word_boundary' => 1,
1259
-        'ellipsis' => 1,
1260
-        'html' => 0,
1261
-        'strip_tags' => 0,
1262
-      ),
1263
-      'empty' => '',
1264
-      'hide_empty' => 0,
1265
-      'empty_zero' => 0,
1266
-      'hide_alter_empty' => 1,
1267
-      'set_precision' => FALSE,
1268
-      'precision' => 0,
1269
-      'decimal' => '.',
1270
-      'separator' => '',
1271
-      'format_plural' => 0,
1272
-      'format_plural_singular' => '1',
1273
-      'format_plural_plural' => '@count',
1274
-      'prefix' => '',
1275
-      'suffix' => '',
1276
-      'exclude' => 1,
1277
-      'id' => 'id',
1278
-      'table' => 'user',
1279
-      'field' => 'id',
1280
-      'relationship' => 'none',
1281
-      'override' => array(
1282
-        'button' => 'Use default',
1283
-      ),
1284
-    ),
1285
-    'name' => array(
1286
-      'label' => 'Name',
1287
-      'alter' => array(
1288
-        'alter_text' => 0,
1289
-        'text' => '',
1290
-        'make_link' => 0,
1291
-        'path' => '',
1292
-        'absolute' => 0,
1293
-        'link_class' => '',
1294
-        'alt' => '',
1295
-        'rel' => '',
1296
-        'prefix' => '',
1297
-        'suffix' => '',
1298
-        'target' => '',
1299
-        'help' => '',
1300
-        'trim' => 0,
1301
-        'max_length' => '',
1302
-        'word_boundary' => 1,
1303
-        'ellipsis' => 1,
1304
-        'html' => 0,
1305
-        'strip_tags' => 0,
1306
-      ),
1307
-      'empty' => '',
1308
-      'hide_empty' => 0,
1309
-      'empty_zero' => 0,
1310
-      'hide_alter_empty' => 1,
1311
-      'exclude' => 1,
1312
-      'id' => 'name',
1313
-      'table' => 'user',
1314
-      'field' => 'name',
1315
-      'relationship' => 'none',
1316
-      'override' => array(
1317
-        'button' => 'Use default',
1318
-      ),
1319
-    ),
1320
-    'email_addr' => array(
1321
-      'label' => '',
1322
-      'alter' => array(
1323
-        'alter_text' => 1,
1324
-        'text' => '[name] <[email_addr]>',
1325
-        'make_link' => 0,
1326
-        'path' => '',
1327
-        'absolute' => 0,
1328
-        'link_class' => '',
1329
-        'alt' => '',
1330
-        'rel' => '',
1331
-        'prefix' => '',
1332
-        'suffix' => '',
1333
-        'target' => '',
1334
-        'help' => '',
1335
-        'trim' => 0,
1336
-        'max_length' => '',
1337
-        'word_boundary' => 1,
1338
-        'ellipsis' => 1,
1339
-        'html' => 0,
1340
-        'strip_tags' => 0,
1341
-      ),
1342
-      'empty' => '',
1343
-      'hide_empty' => 0,
1344
-      'empty_zero' => 0,
1345
-      'hide_alter_empty' => 1,
1346
-      'exclude' => 0,
1347
-      'id' => 'email_addr',
1348
-      'table' => 'user',
1349
-      'field' => 'email_addr',
1350
-      'relationship' => 'none',
1351
-      'override' => array(
1352
-        'button' => 'Use default',
1353
-      ),
1354
-    ),
1355
-    'create_time' => array(
1356
-      'label' => 'Member since',
1357
-      'alter' => array(
1358
-        'alter_text' => 0,
1359
-        'text' => '',
1360
-        'make_link' => 0,
1361
-        'path' => '',
1362
-        'absolute' => 0,
1363
-        'link_class' => '',
1364
-        'alt' => '',
1365
-        'rel' => '',
1366
-        'prefix' => '',
1367
-        'suffix' => '',
1368
-        'target' => '',
1369
-        'help' => '',
1370
-        'trim' => 0,
1371
-        'max_length' => '',
1372
-        'word_boundary' => 1,
1373
-        'ellipsis' => 1,
1374
-        'html' => 0,
1375
-        'strip_tags' => 0,
1376
-      ),
1377
-      'empty' => '',
1378
-      'hide_empty' => 0,
1379
-      'empty_zero' => 0,
1380
-      'hide_alter_empty' => 1,
1381
-      'date_format' => 'small',
1382
-      'custom_date_format' => '',
1383
-      'exclude' => 1,
1384
-      'id' => 'create_time',
1385
-      'table' => 'user',
1386
-      'field' => 'create_time',
1387
-      'relationship' => 'none',
1388
-      'override' => array(
1389
-        'button' => 'Use default',
1390
-      ),
1391
-    ),
1392
-  ));
1393
-  $handler->override_option('arguments', array(
1394
-    'teamid' => array(
1395
-      'default_action' => 'empty',
1396
-      'style_plugin' => 'default_summary',
1397
-      'style_options' => array(),
1398
-      'wildcard' => 'all',
1399
-      'wildcard_substitution' => 'All',
1400
-      'title' => '',
1401
-      'breadcrumb' => '',
1402
-      'default_argument_type' => 'fixed',
1403
-      'default_argument' => '',
1404
-      'validate_type' => 'numeric',
1405
-      'validate_fail' => 'not found',
1406
-      'break_phrase' => 0,
1407
-      'not' => 0,
1408
-      'id' => 'teamid',
1409
-      'table' => 'user',
1410
-      'field' => 'teamid',
1411
-      'validate_user_argument_type' => 'uid',
1412
-      'validate_user_roles' => array(
1413
-        2 => 0,
1414
-        3519698132 => 0,
1415
-        1110965548 => 0,
1416
-        2938987599 => 0,
1417
-        1257454314 => 0,
1418
-        268174006 => 0,
1419
-        1271379760 => 0,
1420
-        933038561 => 0,
1421
-      ),
1422
-      'me_redirect' => 0,
1423
-      'me_validate_user_argument_type' => 'uid',
1424
-      'me_validate_user_roles' => array(
1425
-        2 => 0,
1426
-        3519698132 => 0,
1427
-        1110965548 => 0,
1428
-        2938987599 => 0,
1429
-        1257454314 => 0,
1430
-        268174006 => 0,
1431
-        1271379760 => 0,
1432
-        933038561 => 0,
1433
-      ),
1434
-      'override' => array(
1435
-        'button' => 'Use default',
1436
-      ),
1437
-      'relationship' => 'none',
1438
-      'default_options_div_prefix' => '',
1439
-      'default_taxonomy_tid_term_page' => 0,
1440
-      'default_taxonomy_tid_node' => 0,
1441
-      'default_taxonomy_tid_limit' => 0,
1442
-      'default_taxonomy_tid_vids' => array(
1443
-        1 => 0,
1444
-        2 => 0,
1445
-      ),
1446
-      'default_argument_user' => 0,
1447
-      'default_argument_fixed' => '',
1448
-      'default_argument_php' => '',
1449
-      'validate_argument_node_type' => array(
1450
-        'page' => 0,
1451
-        'news' => 0,
1452
-        'profile' => 0,
1453
-        'forum' => 0,
1454
-        'panel' => 0,
1455
-        'story' => 0,
1456
-        'team' => 0,
1457
-      ),
1458
-      'validate_argument_node_access' => 0,
1459
-      'validate_argument_nid_type' => 'nid',
1460
-      'validate_argument_vocabulary' => array(
1461
-        1 => 0,
1462
-        2 => 0,
1463
-      ),
1464
-      'validate_argument_type' => 'tid',
1465
-      'validate_argument_transform' => 0,
1466
-      'validate_user_restrict_roles' => 0,
1467
-      'validate_argument_node_flag_name' => '*relationship*',
1468
-      'validate_argument_node_flag_test' => 'flaggable',
1469
-      'validate_argument_node_flag_id_type' => 'id',
1470
-      'validate_argument_user_flag_name' => '*relationship*',
1471
-      'validate_argument_user_flag_test' => 'flaggable',
1472
-      'validate_argument_user_flag_id_type' => 'id',
1473
-      'validate_argument_php' => '',
1474
-      'me_validate_user_restrict_roles' => 0,
1475
-    ),
1476
-  ));
1477
-  $handler->override_option('filters', array(
1478
-    'send_email' => array(
1479
-      'operator' => '=',
1480
-      'value' => array(
1481
-        'value' => '1',
1482
-        'min' => '',
1483
-        'max' => '',
1484
-      ),
1485
-      'group' => '0',
1486
-      'exposed' => FALSE,
1487
-      'expose' => array(
1488
-        'operator' => FALSE,
1489
-        'label' => '',
1490
-      ),
1491
-      'id' => 'send_email',
1492
-      'table' => 'user',
1493
-      'field' => 'send_email',
1494
-      'override' => array(
1495
-        'button' => 'Use default',
1496
-      ),
1497
-      'relationship' => 'none',
1498
-    ),
1499
-  ));
1500
-  $handler->override_option('use_pager', '1');
1501
-  $handler->override_option('pane_title', 'Team email list');
1502
-  $handler->override_option('pane_description', '');
1503
-  $handler->override_option('pane_category', array(
1504
-    'name' => 'View panes',
1505
-    'weight' => 0,
1506
-  ));
1507
-  $handler->override_option('allow', array(
1508
-    'use_pager' => 0,
1509
-    'items_per_page' => 'items_per_page',
1510
-    'offset' => 0,
1511
-    'link_to_view' => 0,
1512
-    'more_link' => 0,
1513
-    'path_override' => 0,
1514
-    'title_override' => 'title_override',
1515
-    'exposed_form' => 0,
1516
-    'fields_override' => 0,
1517
-  ));
1518
-  $handler->override_option('argument_input', array(
1519
-    'teamid' => array(
1520
-      'type' => 'panel',
1521
-      'context' => 'term.description',
1522
-      'context_optional' => 0,
1523
-      'panel' => '0',
1524
-      'fixed' => '',
1525
-      'label' => 'BOINC: Team ID',
1526
-    ),
1527
-  ));
1528
-  $handler->override_option('link_to_view', 0);
1529
-  $handler->override_option('inherit_panels_path', 0);
1530
-  $handler = $view->new_display('panel_pane', 'Team member edit', 'panel_pane_5');
1531
-  $handler->override_option('fields', array(
1532
-    'id' => array(
1533
-      'label' => 'Id',
1534
-      'alter' => array(
1535
-        'alter_text' => 0,
1536
-        'text' => '',
1537
-        'make_link' => 0,
1538
-        'path' => '',
1539
-        'absolute' => 0,
1540
-        'link_class' => '',
1541
-        'alt' => '',
1542
-        'rel' => '',
1543
-        'prefix' => '',
1544
-        'suffix' => '',
1545
-        'target' => '',
1546
-        'help' => '',
1547
-        'trim' => 0,
1548
-        'max_length' => '',
1549
-        'word_boundary' => 1,
1550
-        'ellipsis' => 1,
1551
-        'html' => 0,
1552
-        'strip_tags' => 0,
1553
-      ),
1554
-      'empty' => '',
1555
-      'hide_empty' => 0,
1556
-      'empty_zero' => 0,
1557
-      'hide_alter_empty' => 1,
1558
-      'set_precision' => FALSE,
1559
-      'precision' => 0,
1560
-      'decimal' => '.',
1561
-      'separator' => '',
1562
-      'format_plural' => 0,
1563
-      'format_plural_singular' => '1',
1564
-      'format_plural_plural' => '@count',
1565
-      'prefix' => '',
1566
-      'suffix' => '',
1567
-      'exclude' => 1,
1568
-      'id' => 'id',
1569
-      'table' => 'user',
1570
-      'field' => 'id',
1571
-      'relationship' => 'none',
1572
-      'override' => array(
1573
-        'button' => 'Use default',
1574
-      ),
1575
-    ),
1576
-    'phpcode' => array(
1577
-      'label' => 'Uid',
1578
-      'alter' => array(
1579
-        'alter_text' => 0,
1580
-        'text' => '',
1581
-        'make_link' => 0,
1582
-        'path' => '',
1583
-        'absolute' => 0,
1584
-        'link_class' => '',
1585
-        'alt' => '',
1586
-        'rel' => '',
1587
-        'prefix' => '',
1588
-        'suffix' => '',
1589
-        'target' => '',
1590
-        'help' => '',
1591
-        'trim' => 0,
1592
-        'max_length' => '',
1593
-        'word_boundary' => 1,
1594
-        'ellipsis' => 1,
1595
-        'html' => 0,
1596
-        'strip_tags' => 0,
1597
-      ),
1598
-      'empty' => '',
1599
-      'hide_empty' => 0,
1600
-      'empty_zero' => 0,
1601
-      'hide_alter_empty' => 1,
1602
-      'value' => '<?php
1067
+  'exclude' => 1,
1068
+  'id' => 'phpcode_1',
1069
+  'table' => 'customfield',
1070
+  'field' => 'phpcode',
1071
+  'override' => array(
1072
+    'button' => 'Use default',
1073
+  ),
1074
+  'relationship' => 'none',
1075
+),
1076
+));
1077
+$handler->override_option('arguments', array(
1078
+'teamid' => array(
1079
+  'default_action' => 'empty',
1080
+  'style_plugin' => 'default_summary',
1081
+  'style_options' => array(),
1082
+  'wildcard' => 'all',
1083
+  'wildcard_substitution' => 'All',
1084
+  'title' => '',
1085
+  'breadcrumb' => '',
1086
+  'default_argument_type' => 'fixed',
1087
+  'default_argument' => '',
1088
+  'validate_type' => 'numeric',
1089
+  'validate_fail' => 'not found',
1090
+  'break_phrase' => 0,
1091
+  'not' => 0,
1092
+  'id' => 'teamid',
1093
+  'table' => 'user',
1094
+  'field' => 'teamid',
1095
+  'validate_user_argument_type' => 'uid',
1096
+  'validate_user_roles' => array(
1097
+    2 => 0,
1098
+    3519698132 => 0,
1099
+    1110965548 => 0,
1100
+    2938987599 => 0,
1101
+    1257454314 => 0,
1102
+    268174006 => 0,
1103
+    1271379760 => 0,
1104
+    933038561 => 0,
1105
+  ),
1106
+  'me_redirect' => 0,
1107
+  'me_validate_user_argument_type' => 'uid',
1108
+  'me_validate_user_roles' => array(
1109
+    2 => 0,
1110
+    3519698132 => 0,
1111
+    1110965548 => 0,
1112
+    2938987599 => 0,
1113
+    1257454314 => 0,
1114
+    268174006 => 0,
1115
+    1271379760 => 0,
1116
+    933038561 => 0,
1117
+  ),
1118
+  'override' => array(
1119
+    'button' => 'Use default',
1120
+  ),
1121
+  'relationship' => 'none',
1122
+  'default_options_div_prefix' => '',
1123
+  'default_taxonomy_tid_term_page' => 0,
1124
+  'default_taxonomy_tid_node' => 0,
1125
+  'default_taxonomy_tid_limit' => 0,
1126
+  'default_taxonomy_tid_vids' => array(
1127
+    1 => 0,
1128
+    2 => 0,
1129
+  ),
1130
+  'default_argument_user' => 0,
1131
+  'default_argument_fixed' => '',
1132
+  'default_argument_php' => '',
1133
+  'validate_argument_node_type' => array(
1134
+    'page' => 0,
1135
+    'news' => 0,
1136
+    'profile' => 0,
1137
+    'forum' => 0,
1138
+    'panel' => 0,
1139
+    'story' => 0,
1140
+    'team' => 0,
1141
+  ),
1142
+  'validate_argument_node_access' => 0,
1143
+  'validate_argument_nid_type' => 'nid',
1144
+  'validate_argument_vocabulary' => array(
1145
+    1 => 0,
1146
+    2 => 0,
1147
+  ),
1148
+  'validate_argument_type' => 'tid',
1149
+  'validate_argument_transform' => 0,
1150
+  'validate_user_restrict_roles' => 0,
1151
+  'validate_argument_node_flag_name' => '*relationship*',
1152
+  'validate_argument_node_flag_test' => 'flaggable',
1153
+  'validate_argument_node_flag_id_type' => 'id',
1154
+  'validate_argument_user_flag_name' => '*relationship*',
1155
+  'validate_argument_user_flag_test' => 'flaggable',
1156
+  'validate_argument_user_flag_id_type' => 'id',
1157
+  'validate_argument_php' => '',
1158
+  'me_validate_user_restrict_roles' => 0,
1159
+),
1160
+));
1161
+$handler->override_option('use_pager', '1');
1162
+$handler->override_option('style_plugin', 'table');
1163
+$handler->override_option('style_options', array(
1164
+'grouping' => '',
1165
+'override' => 1,
1166
+'sticky' => 1,
1167
+'order' => 'desc',
1168
+'summary' => '',
1169
+'columns' => array(
1170
+  'id' => 'id',
1171
+  'name' => 'name',
1172
+  'email_addr' => 'email_addr',
1173
+  'total_credit' => 'total_credit',
1174
+  'expavg_credit' => 'expavg_credit',
1175
+  'country' => 'country',
1176
+  'create_time' => 'create_time',
1177
+),
1178
+'info' => array(
1179
+  'id' => array(
1180
+    'sortable' => 0,
1181
+    'separator' => '',
1182
+  ),
1183
+  'name' => array(
1184
+    'sortable' => 1,
1185
+    'separator' => '',
1186
+  ),
1187
+  'email_addr' => array(
1188
+    'sortable' => 1,
1189
+    'separator' => '',
1190
+  ),
1191
+  'total_credit' => array(
1192
+    'sortable' => 1,
1193
+    'separator' => '',
1194
+  ),
1195
+  'expavg_credit' => array(
1196
+    'sortable' => 1,
1197
+    'separator' => '',
1198
+  ),
1199
+  'country' => array(
1200
+    'sortable' => 1,
1201
+    'separator' => '',
1202
+  ),
1203
+  'create_time' => array(
1204
+    'sortable' => 0,
1205
+    'separator' => '',
1206
+  ),
1207
+),
1208
+'default' => 'expavg_credit',
1209
+));
1210
+$handler->override_option('pane_title', 'Team member list with email');
1211
+$handler->override_option('pane_description', '');
1212
+$handler->override_option('pane_category', array(
1213
+'name' => 'View panes',
1214
+'weight' => 0,
1215
+));
1216
+$handler->override_option('allow', array(
1217
+'use_pager' => 0,
1218
+'items_per_page' => 'items_per_page',
1219
+'offset' => 0,
1220
+'link_to_view' => 0,
1221
+'more_link' => 0,
1222
+'path_override' => 0,
1223
+'title_override' => 'title_override',
1224
+'exposed_form' => 0,
1225
+'fields_override' => 0,
1226
+));
1227
+$handler->override_option('argument_input', array(
1228
+'teamid' => array(
1229
+  'type' => 'panel',
1230
+  'context' => 'term.description',
1231
+  'context_optional' => 0,
1232
+  'panel' => '0',
1233
+  'fixed' => '',
1234
+  'label' => 'BOINC: Team ID',
1235
+),
1236
+));
1237
+$handler->override_option('link_to_view', 0);
1238
+$handler->override_option('inherit_panels_path', 0);
1239
+$handler = $view->new_display('panel_pane', 'Team email list', 'panel_pane_3');
1240
+$handler->override_option('fields', array(
1241
+'id' => array(
1242
+  'label' => 'Id',
1243
+  'alter' => array(
1244
+    'alter_text' => 0,
1245
+    'text' => '',
1246
+    'make_link' => 0,
1247
+    'path' => '',
1248
+    'absolute' => 0,
1249
+    'link_class' => '',
1250
+    'alt' => '',
1251
+    'rel' => '',
1252
+    'prefix' => '',
1253
+    'suffix' => '',
1254
+    'target' => '',
1255
+    'help' => '',
1256
+    'trim' => 0,
1257
+    'max_length' => '',
1258
+    'word_boundary' => 1,
1259
+    'ellipsis' => 1,
1260
+    'html' => 0,
1261
+    'strip_tags' => 0,
1262
+  ),
1263
+  'empty' => '',
1264
+  'hide_empty' => 0,
1265
+  'empty_zero' => 0,
1266
+  'hide_alter_empty' => 1,
1267
+  'set_precision' => FALSE,
1268
+  'precision' => 0,
1269
+  'decimal' => '.',
1270
+  'separator' => '',
1271
+  'format_plural' => 0,
1272
+  'format_plural_singular' => '1',
1273
+  'format_plural_plural' => '@count',
1274
+  'prefix' => '',
1275
+  'suffix' => '',
1276
+  'exclude' => 1,
1277
+  'id' => 'id',
1278
+  'table' => 'user',
1279
+  'field' => 'id',
1280
+  'relationship' => 'none',
1281
+  'override' => array(
1282
+    'button' => 'Use default',
1283
+  ),
1284
+),
1285
+'name' => array(
1286
+  'label' => 'Name',
1287
+  'alter' => array(
1288
+    'alter_text' => 0,
1289
+    'text' => '',
1290
+    'make_link' => 0,
1291
+    'path' => '',
1292
+    'absolute' => 0,
1293
+    'link_class' => '',
1294
+    'alt' => '',
1295
+    'rel' => '',
1296
+    'prefix' => '',
1297
+    'suffix' => '',
1298
+    'target' => '',
1299
+    'help' => '',
1300
+    'trim' => 0,
1301
+    'max_length' => '',
1302
+    'word_boundary' => 1,
1303
+    'ellipsis' => 1,
1304
+    'html' => 0,
1305
+    'strip_tags' => 0,
1306
+  ),
1307
+  'empty' => '',
1308
+  'hide_empty' => 0,
1309
+  'empty_zero' => 0,
1310
+  'hide_alter_empty' => 1,
1311
+  'exclude' => 1,
1312
+  'id' => 'name',
1313
+  'table' => 'user',
1314
+  'field' => 'name',
1315
+  'relationship' => 'none',
1316
+  'override' => array(
1317
+    'button' => 'Use default',
1318
+  ),
1319
+),
1320
+'email_addr' => array(
1321
+  'label' => '',
1322
+  'alter' => array(
1323
+    'alter_text' => 1,
1324
+    'text' => '[name] <[email_addr]>',
1325
+    'make_link' => 0,
1326
+    'path' => '',
1327
+    'absolute' => 0,
1328
+    'link_class' => '',
1329
+    'alt' => '',
1330
+    'rel' => '',
1331
+    'prefix' => '',
1332
+    'suffix' => '',
1333
+    'target' => '',
1334
+    'help' => '',
1335
+    'trim' => 0,
1336
+    'max_length' => '',
1337
+    'word_boundary' => 1,
1338
+    'ellipsis' => 1,
1339
+    'html' => 0,
1340
+    'strip_tags' => 0,
1341
+  ),
1342
+  'empty' => '',
1343
+  'hide_empty' => 0,
1344
+  'empty_zero' => 0,
1345
+  'hide_alter_empty' => 1,
1346
+  'exclude' => 0,
1347
+  'id' => 'email_addr',
1348
+  'table' => 'user',
1349
+  'field' => 'email_addr',
1350
+  'relationship' => 'none',
1351
+  'override' => array(
1352
+    'button' => 'Use default',
1353
+  ),
1354
+),
1355
+'create_time' => array(
1356
+  'label' => 'Member since',
1357
+  'alter' => array(
1358
+    'alter_text' => 0,
1359
+    'text' => '',
1360
+    'make_link' => 0,
1361
+    'path' => '',
1362
+    'absolute' => 0,
1363
+    'link_class' => '',
1364
+    'alt' => '',
1365
+    'rel' => '',
1366
+    'prefix' => '',
1367
+    'suffix' => '',
1368
+    'target' => '',
1369
+    'help' => '',
1370
+    'trim' => 0,
1371
+    'max_length' => '',
1372
+    'word_boundary' => 1,
1373
+    'ellipsis' => 1,
1374
+    'html' => 0,
1375
+    'strip_tags' => 0,
1376
+  ),
1377
+  'empty' => '',
1378
+  'hide_empty' => 0,
1379
+  'empty_zero' => 0,
1380
+  'hide_alter_empty' => 1,
1381
+  'date_format' => 'small',
1382
+  'custom_date_format' => '',
1383
+  'exclude' => 1,
1384
+  'id' => 'create_time',
1385
+  'table' => 'user',
1386
+  'field' => 'create_time',
1387
+  'relationship' => 'none',
1388
+  'override' => array(
1389
+    'button' => 'Use default',
1390
+  ),
1391
+),
1392
+));
1393
+$handler->override_option('arguments', array(
1394
+'teamid' => array(
1395
+  'default_action' => 'empty',
1396
+  'style_plugin' => 'default_summary',
1397
+  'style_options' => array(),
1398
+  'wildcard' => 'all',
1399
+  'wildcard_substitution' => 'All',
1400
+  'title' => '',
1401
+  'breadcrumb' => '',
1402
+  'default_argument_type' => 'fixed',
1403
+  'default_argument' => '',
1404
+  'validate_type' => 'numeric',
1405
+  'validate_fail' => 'not found',
1406
+  'break_phrase' => 0,
1407
+  'not' => 0,
1408
+  'id' => 'teamid',
1409
+  'table' => 'user',
1410
+  'field' => 'teamid',
1411
+  'validate_user_argument_type' => 'uid',
1412
+  'validate_user_roles' => array(
1413
+    2 => 0,
1414
+    3519698132 => 0,
1415
+    1110965548 => 0,
1416
+    2938987599 => 0,
1417
+    1257454314 => 0,
1418
+    268174006 => 0,
1419
+    1271379760 => 0,
1420
+    933038561 => 0,
1421
+  ),
1422
+  'me_redirect' => 0,
1423
+  'me_validate_user_argument_type' => 'uid',
1424
+  'me_validate_user_roles' => array(
1425
+    2 => 0,
1426
+    3519698132 => 0,
1427
+    1110965548 => 0,
1428
+    2938987599 => 0,
1429
+    1257454314 => 0,
1430
+    268174006 => 0,
1431
+    1271379760 => 0,
1432
+    933038561 => 0,
1433
+  ),
1434
+  'override' => array(
1435
+    'button' => 'Use default',
1436
+  ),
1437
+  'relationship' => 'none',
1438
+  'default_options_div_prefix' => '',
1439
+  'default_taxonomy_tid_term_page' => 0,
1440
+  'default_taxonomy_tid_node' => 0,
1441
+  'default_taxonomy_tid_limit' => 0,
1442
+  'default_taxonomy_tid_vids' => array(
1443
+    1 => 0,
1444
+    2 => 0,
1445
+  ),
1446
+  'default_argument_user' => 0,
1447
+  'default_argument_fixed' => '',
1448
+  'default_argument_php' => '',
1449
+  'validate_argument_node_type' => array(
1450
+    'page' => 0,
1451
+    'news' => 0,
1452
+    'profile' => 0,
1453
+    'forum' => 0,
1454
+    'panel' => 0,
1455
+    'story' => 0,
1456
+    'team' => 0,
1457
+  ),
1458
+  'validate_argument_node_access' => 0,
1459
+  'validate_argument_nid_type' => 'nid',
1460
+  'validate_argument_vocabulary' => array(
1461
+    1 => 0,
1462
+    2 => 0,
1463
+  ),
1464
+  'validate_argument_type' => 'tid',
1465
+  'validate_argument_transform' => 0,
1466
+  'validate_user_restrict_roles' => 0,
1467
+  'validate_argument_node_flag_name' => '*relationship*',
1468
+  'validate_argument_node_flag_test' => 'flaggable',
1469
+  'validate_argument_node_flag_id_type' => 'id',
1470
+  'validate_argument_user_flag_name' => '*relationship*',
1471
+  'validate_argument_user_flag_test' => 'flaggable',
1472
+  'validate_argument_user_flag_id_type' => 'id',
1473
+  'validate_argument_php' => '',
1474
+  'me_validate_user_restrict_roles' => 0,
1475
+),
1476
+));
1477
+$handler->override_option('filters', array(
1478
+'send_email' => array(
1479
+  'operator' => '=',
1480
+  'value' => array(
1481
+    'value' => '1',
1482
+    'min' => '',
1483
+    'max' => '',
1484
+  ),
1485
+  'group' => '0',
1486
+  'exposed' => FALSE,
1487
+  'expose' => array(
1488
+    'operator' => FALSE,
1489
+    'label' => '',
1490
+  ),
1491
+  'id' => 'send_email',
1492
+  'table' => 'user',
1493
+  'field' => 'send_email',
1494
+  'override' => array(
1495
+    'button' => 'Use default',
1496
+  ),
1497
+  'relationship' => 'none',
1498
+),
1499
+));
1500
+$handler->override_option('use_pager', '1');
1501
+$handler->override_option('pane_title', 'Team email list');
1502
+$handler->override_option('pane_description', '');
1503
+$handler->override_option('pane_category', array(
1504
+'name' => 'View panes',
1505
+'weight' => 0,
1506
+));
1507
+$handler->override_option('allow', array(
1508
+'use_pager' => 0,
1509
+'items_per_page' => 'items_per_page',
1510
+'offset' => 0,
1511
+'link_to_view' => 0,
1512
+'more_link' => 0,
1513
+'path_override' => 0,
1514
+'title_override' => 'title_override',
1515
+'exposed_form' => 0,
1516
+'fields_override' => 0,
1517
+));
1518
+$handler->override_option('argument_input', array(
1519
+'teamid' => array(
1520
+  'type' => 'panel',
1521
+  'context' => 'term.description',
1522
+  'context_optional' => 0,
1523
+  'panel' => '0',
1524
+  'fixed' => '',
1525
+  'label' => 'BOINC: Team ID',
1526
+),
1527
+));
1528
+$handler->override_option('link_to_view', 0);
1529
+$handler->override_option('inherit_panels_path', 0);
1530
+$handler = $view->new_display('panel_pane', 'Team member edit', 'panel_pane_5');
1531
+$handler->override_option('fields', array(
1532
+'id' => array(
1533
+  'label' => 'Id',
1534
+  'alter' => array(
1535
+    'alter_text' => 0,
1536
+    'text' => '',
1537
+    'make_link' => 0,
1538
+    'path' => '',
1539
+    'absolute' => 0,
1540
+    'link_class' => '',
1541
+    'alt' => '',
1542
+    'rel' => '',
1543
+    'prefix' => '',
1544
+    'suffix' => '',
1545
+    'target' => '',
1546
+    'help' => '',
1547
+    'trim' => 0,
1548
+    'max_length' => '',
1549
+    'word_boundary' => 1,
1550
+    'ellipsis' => 1,
1551
+    'html' => 0,
1552
+    'strip_tags' => 0,
1553
+  ),
1554
+  'empty' => '',
1555
+  'hide_empty' => 0,
1556
+  'empty_zero' => 0,
1557
+  'hide_alter_empty' => 1,
1558
+  'set_precision' => FALSE,
1559
+  'precision' => 0,
1560
+  'decimal' => '.',
1561
+  'separator' => '',
1562
+  'format_plural' => 0,
1563
+  'format_plural_singular' => '1',
1564
+  'format_plural_plural' => '@count',
1565
+  'prefix' => '',
1566
+  'suffix' => '',
1567
+  'exclude' => 1,
1568
+  'id' => 'id',
1569
+  'table' => 'user',
1570
+  'field' => 'id',
1571
+  'relationship' => 'none',
1572
+  'override' => array(
1573
+    'button' => 'Use default',
1574
+  ),
1575
+),
1576
+'phpcode' => array(
1577
+  'label' => 'Uid',
1578
+  'alter' => array(
1579
+    'alter_text' => 0,
1580
+    'text' => '',
1581
+    'make_link' => 0,
1582
+    'path' => '',
1583
+    'absolute' => 0,
1584
+    'link_class' => '',
1585
+    'alt' => '',
1586
+    'rel' => '',
1587
+    'prefix' => '',
1588
+    'suffix' => '',
1589
+    'target' => '',
1590
+    'help' => '',
1591
+    'trim' => 0,
1592
+    'max_length' => '',
1593
+    'word_boundary' => 1,
1594
+    'ellipsis' => 1,
1595
+    'html' => 0,
1596
+    'strip_tags' => 0,
1597
+  ),
1598
+  'empty' => '',
1599
+  'hide_empty' => 0,
1600
+  'empty_zero' => 0,
1601
+  'hide_alter_empty' => 1,
1602
+  'value' => '<?php
1603 1603
   echo boincuser_lookup_uid($data->id);
1604 1604
 ?>',
1605
-      'exclude' => 1,
1606
-      'id' => 'phpcode',
1607
-      'table' => 'customfield',
1608
-      'field' => 'phpcode',
1609
-      'override' => array(
1610
-        'button' => 'Use default',
1611
-      ),
1612
-      'relationship' => 'none',
1613
-    ),
1614
-    'name' => array(
1615
-      'label' => 'Name',
1616
-      'alter' => array(
1617
-        'alter_text' => 0,
1618
-        'text' => '',
1619
-        'make_link' => 0,
1620
-        'path' => '',
1621
-        'absolute' => 0,
1622
-        'link_class' => '',
1623
-        'alt' => '',
1624
-        'rel' => '',
1625
-        'prefix' => '',
1626
-        'suffix' => '',
1627
-        'target' => '',
1628
-        'help' => '',
1629
-        'trim' => 0,
1630
-        'max_length' => '',
1631
-        'word_boundary' => 1,
1632
-        'ellipsis' => 1,
1633
-        'html' => 0,
1634
-        'strip_tags' => 0,
1635
-      ),
1636
-      'empty' => '',
1637
-      'hide_empty' => 0,
1638
-      'empty_zero' => 0,
1639
-      'hide_alter_empty' => 1,
1640
-      'exclude' => 0,
1641
-      'id' => 'name',
1642
-      'table' => 'user',
1643
-      'field' => 'name',
1644
-      'relationship' => 'none',
1645
-    ),
1646
-    'total_credit' => array(
1647
-      'label' => 'Total Credit',
1648
-      'alter' => array(
1649
-        'alter_text' => 0,
1650
-        'text' => '',
1651
-        'make_link' => 0,
1652
-        'path' => '',
1653
-        'absolute' => 0,
1654
-        'link_class' => '',
1655
-        'alt' => '',
1656
-        'rel' => '',
1657
-        'prefix' => '',
1658
-        'suffix' => '',
1659
-        'target' => '',
1660
-        'help' => '',
1661
-        'trim' => 0,
1662
-        'max_length' => '',
1663
-        'word_boundary' => 1,
1664
-        'ellipsis' => 1,
1665
-        'html' => 0,
1666
-        'strip_tags' => 0,
1667
-      ),
1668
-      'empty' => '',
1669
-      'hide_empty' => 0,
1670
-      'empty_zero' => 0,
1671
-      'hide_alter_empty' => 1,
1672
-      'set_precision' => 1,
1673
-      'precision' => '0',
1674
-      'decimal' => '.',
1675
-      'separator' => ',',
1676
-      'format_plural' => 0,
1677
-      'format_plural_singular' => '1',
1678
-      'format_plural_plural' => '@count',
1679
-      'prefix' => '',
1680
-      'suffix' => '',
1681
-      'exclude' => 1,
1682
-      'id' => 'total_credit',
1683
-      'table' => 'user',
1684
-      'field' => 'total_credit',
1685
-      'relationship' => 'none',
1686
-      'override' => array(
1687
-        'button' => 'Use default',
1688
-      ),
1689
-    ),
1690
-    'expavg_credit' => array(
1691
-      'label' => 'Recent average credit',
1692
-      'alter' => array(
1693
-        'alter_text' => 0,
1694
-        'text' => '',
1695
-        'make_link' => 0,
1696
-        'path' => '',
1697
-        'absolute' => 0,
1698
-        'link_class' => '',
1699
-        'alt' => '',
1700
-        'rel' => '',
1701
-        'prefix' => '',
1702
-        'suffix' => '',
1703
-        'target' => '',
1704
-        'help' => '',
1705
-        'trim' => 0,
1706
-        'max_length' => '',
1707
-        'word_boundary' => 1,
1708
-        'ellipsis' => 1,
1709
-        'html' => 0,
1710
-        'strip_tags' => 0,
1711
-      ),
1712
-      'empty' => '',
1713
-      'hide_empty' => 0,
1714
-      'empty_zero' => 0,
1715
-      'hide_alter_empty' => 1,
1716
-      'set_precision' => 1,
1717
-      'precision' => '2',
1718
-      'decimal' => '.',
1719
-      'separator' => ',',
1720
-      'format_plural' => 0,
1721
-      'format_plural_singular' => '1',
1722
-      'format_plural_plural' => '@count',
1723
-      'prefix' => '',
1724
-      'suffix' => '',
1725
-      'exclude' => 1,
1726
-      'id' => 'expavg_credit',
1727
-      'table' => 'user',
1728
-      'field' => 'expavg_credit',
1729
-      'relationship' => 'none',
1730
-      'override' => array(
1731
-        'button' => 'Use default',
1732
-      ),
1733
-    ),
1734
-    'create_time' => array(
1735
-      'label' => 'Member Since',
1736
-      'alter' => array(
1737
-        'alter_text' => 0,
1738
-        'text' => '',
1739
-        'make_link' => 0,
1740
-        'path' => '',
1741
-        'absolute' => 0,
1742
-        'link_class' => '',
1743
-        'alt' => '',
1744
-        'rel' => '',
1745
-        'prefix' => '',
1746
-        'suffix' => '',
1747
-        'target' => '',
1748
-        'help' => '',
1749
-        'trim' => 0,
1750
-        'max_length' => '',
1751
-        'word_boundary' => 1,
1752
-        'ellipsis' => 1,
1753
-        'html' => 0,
1754
-        'strip_tags' => 0,
1755
-      ),
1756
-      'empty' => '',
1757
-      'hide_empty' => 0,
1758
-      'empty_zero' => 0,
1759
-      'hide_alter_empty' => 1,
1760
-      'date_format' => 'custom',
1761
-      'custom_date_format' => 'j M Y G:i:s T',
1762
-      'exclude' => 0,
1763
-      'id' => 'create_time',
1764
-      'table' => 'user',
1765
-      'field' => 'create_time',
1766
-      'override' => array(
1767
-        'button' => 'Use default',
1768
-      ),
1769
-      'relationship' => 'none',
1770
-    ),
1771
-    'phpcode_1' => array(
1772
-      'label' => '',
1773
-      'alter' => array(
1774
-        'alter_text' => 0,
1775
-        'text' => '',
1776
-        'make_link' => 0,
1777
-        'path' => '',
1778
-        'absolute' => 0,
1779
-        'link_class' => '',
1780
-        'alt' => '',
1781
-        'rel' => '',
1782
-        'prefix' => '',
1783
-        'suffix' => '',
1784
-        'target' => '',
1785
-        'help' => '',
1786
-        'trim' => 0,
1787
-        'max_length' => '',
1788
-        'word_boundary' => 1,
1789
-        'ellipsis' => 1,
1790
-        'html' => 0,
1791
-        'strip_tags' => 0,
1792
-      ),
1793
-      'empty' => '',
1794
-      'hide_empty' => 0,
1795
-      'empty_zero' => 0,
1796
-      'hide_alter_empty' => 1,
1797
-      'value' => '<?php
1605
+  'exclude' => 1,
1606
+  'id' => 'phpcode',
1607
+  'table' => 'customfield',
1608
+  'field' => 'phpcode',
1609
+  'override' => array(
1610
+    'button' => 'Use default',
1611
+  ),
1612
+  'relationship' => 'none',
1613
+),
1614
+'name' => array(
1615
+  'label' => 'Name',
1616
+  'alter' => array(
1617
+    'alter_text' => 0,
1618
+    'text' => '',
1619
+    'make_link' => 0,
1620
+    'path' => '',
1621
+    'absolute' => 0,
1622
+    'link_class' => '',
1623
+    'alt' => '',
1624
+    'rel' => '',
1625
+    'prefix' => '',
1626
+    'suffix' => '',
1627
+    'target' => '',
1628
+    'help' => '',
1629
+    'trim' => 0,
1630
+    'max_length' => '',
1631
+    'word_boundary' => 1,
1632
+    'ellipsis' => 1,
1633
+    'html' => 0,
1634
+    'strip_tags' => 0,
1635
+  ),
1636
+  'empty' => '',
1637
+  'hide_empty' => 0,
1638
+  'empty_zero' => 0,
1639
+  'hide_alter_empty' => 1,
1640
+  'exclude' => 0,
1641
+  'id' => 'name',
1642
+  'table' => 'user',
1643
+  'field' => 'name',
1644
+  'relationship' => 'none',
1645
+),
1646
+'total_credit' => array(
1647
+  'label' => 'Total Credit',
1648
+  'alter' => array(
1649
+    'alter_text' => 0,
1650
+    'text' => '',
1651
+    'make_link' => 0,
1652
+    'path' => '',
1653
+    'absolute' => 0,
1654
+    'link_class' => '',
1655
+    'alt' => '',
1656
+    'rel' => '',
1657
+    'prefix' => '',
1658
+    'suffix' => '',
1659
+    'target' => '',
1660
+    'help' => '',
1661
+    'trim' => 0,
1662
+    'max_length' => '',
1663
+    'word_boundary' => 1,
1664
+    'ellipsis' => 1,
1665
+    'html' => 0,
1666
+    'strip_tags' => 0,
1667
+  ),
1668
+  'empty' => '',
1669
+  'hide_empty' => 0,
1670
+  'empty_zero' => 0,
1671
+  'hide_alter_empty' => 1,
1672
+  'set_precision' => 1,
1673
+  'precision' => '0',
1674
+  'decimal' => '.',
1675
+  'separator' => ',',
1676
+  'format_plural' => 0,
1677
+  'format_plural_singular' => '1',
1678
+  'format_plural_plural' => '@count',
1679
+  'prefix' => '',
1680
+  'suffix' => '',
1681
+  'exclude' => 1,
1682
+  'id' => 'total_credit',
1683
+  'table' => 'user',
1684
+  'field' => 'total_credit',
1685
+  'relationship' => 'none',
1686
+  'override' => array(
1687
+    'button' => 'Use default',
1688
+  ),
1689
+),
1690
+'expavg_credit' => array(
1691
+  'label' => 'Recent average credit',
1692
+  'alter' => array(
1693
+    'alter_text' => 0,
1694
+    'text' => '',
1695
+    'make_link' => 0,
1696
+    'path' => '',
1697
+    'absolute' => 0,
1698
+    'link_class' => '',
1699
+    'alt' => '',
1700
+    'rel' => '',
1701
+    'prefix' => '',
1702
+    'suffix' => '',
1703
+    'target' => '',
1704
+    'help' => '',
1705
+    'trim' => 0,
1706
+    'max_length' => '',
1707
+    'word_boundary' => 1,
1708
+    'ellipsis' => 1,
1709
+    'html' => 0,
1710
+    'strip_tags' => 0,
1711
+  ),
1712
+  'empty' => '',
1713
+  'hide_empty' => 0,
1714
+  'empty_zero' => 0,
1715
+  'hide_alter_empty' => 1,
1716
+  'set_precision' => 1,
1717
+  'precision' => '2',
1718
+  'decimal' => '.',
1719
+  'separator' => ',',
1720
+  'format_plural' => 0,
1721
+  'format_plural_singular' => '1',
1722
+  'format_plural_plural' => '@count',
1723
+  'prefix' => '',
1724
+  'suffix' => '',
1725
+  'exclude' => 1,
1726
+  'id' => 'expavg_credit',
1727
+  'table' => 'user',
1728
+  'field' => 'expavg_credit',
1729
+  'relationship' => 'none',
1730
+  'override' => array(
1731
+    'button' => 'Use default',
1732
+  ),
1733
+),
1734
+'create_time' => array(
1735
+  'label' => 'Member Since',
1736
+  'alter' => array(
1737
+    'alter_text' => 0,
1738
+    'text' => '',
1739
+    'make_link' => 0,
1740
+    'path' => '',
1741
+    'absolute' => 0,
1742
+    'link_class' => '',
1743
+    'alt' => '',
1744
+    'rel' => '',
1745
+    'prefix' => '',
1746
+    'suffix' => '',
1747
+    'target' => '',
1748
+    'help' => '',
1749
+    'trim' => 0,
1750
+    'max_length' => '',
1751
+    'word_boundary' => 1,
1752
+    'ellipsis' => 1,
1753
+    'html' => 0,
1754
+    'strip_tags' => 0,
1755
+  ),
1756
+  'empty' => '',
1757
+  'hide_empty' => 0,
1758
+  'empty_zero' => 0,
1759
+  'hide_alter_empty' => 1,
1760
+  'date_format' => 'custom',
1761
+  'custom_date_format' => 'j M Y G:i:s T',
1762
+  'exclude' => 0,
1763
+  'id' => 'create_time',
1764
+  'table' => 'user',
1765
+  'field' => 'create_time',
1766
+  'override' => array(
1767
+    'button' => 'Use default',
1768
+  ),
1769
+  'relationship' => 'none',
1770
+),
1771
+'phpcode_1' => array(
1772
+  'label' => '',
1773
+  'alter' => array(
1774
+    'alter_text' => 0,
1775
+    'text' => '',
1776
+    'make_link' => 0,
1777
+    'path' => '',
1778
+    'absolute' => 0,
1779
+    'link_class' => '',
1780
+    'alt' => '',
1781
+    'rel' => '',
1782
+    'prefix' => '',
1783
+    'suffix' => '',
1784
+    'target' => '',
1785
+    'help' => '',
1786
+    'trim' => 0,
1787
+    'max_length' => '',
1788
+    'word_boundary' => 1,
1789
+    'ellipsis' => 1,
1790
+    'html' => 0,
1791
+    'strip_tags' => 0,
1792
+  ),
1793
+  'empty' => '',
1794
+  'hide_empty' => 0,
1795
+  'empty_zero' => 0,
1796
+  'hide_alter_empty' => 1,
1797
+  'value' => '<?php
1798 1798
   global $user;
1799 1799
   $team_id = arg(2);
1800 1800
   $user_id = boincuser_lookup_uid($data->id);
@@ -1802,454 +1802,454 @@  discard block
 block discarded – undo
1802 1802
     echo l(bts(\'Remove\', array(), NULL, \'boinc:remove-team-member\'), "community/teams/{$team_id}/edit/members/remove/{$user_id}");
1803 1803
   }
1804 1804
 ?>',
1805
-      'exclude' => 0,
1806
-      'id' => 'phpcode_1',
1807
-      'table' => 'customfield',
1808
-      'field' => 'phpcode',
1809
-      'override' => array(
1810
-        'button' => 'Use default',
1811
-      ),
1812
-      'relationship' => 'none',
1813
-    ),
1814
-  ));
1815
-  $handler->override_option('arguments', array(
1816
-    'teamid' => array(
1817
-      'default_action' => 'empty',
1818
-      'style_plugin' => 'default_summary',
1819
-      'style_options' => array(),
1820
-      'wildcard' => 'all',
1821
-      'wildcard_substitution' => 'All',
1822
-      'title' => '',
1823
-      'breadcrumb' => '',
1824
-      'default_argument_type' => 'fixed',
1825
-      'default_argument' => '',
1826
-      'validate_type' => 'numeric',
1827
-      'validate_fail' => 'not found',
1828
-      'break_phrase' => 0,
1829
-      'not' => 0,
1830
-      'id' => 'teamid',
1831
-      'table' => 'user',
1832
-      'field' => 'teamid',
1833
-      'validate_user_argument_type' => 'uid',
1834
-      'validate_user_roles' => array(
1835
-        2 => 0,
1836
-        3519698132 => 0,
1837
-        1110965548 => 0,
1838
-        2938987599 => 0,
1839
-        1257454314 => 0,
1840
-        268174006 => 0,
1841
-        1271379760 => 0,
1842
-        933038561 => 0,
1843
-      ),
1844
-      'me_redirect' => 0,
1845
-      'me_validate_user_argument_type' => 'uid',
1846
-      'me_validate_user_roles' => array(
1847
-        2 => 0,
1848
-        3519698132 => 0,
1849
-        1110965548 => 0,
1850
-        2938987599 => 0,
1851
-        1257454314 => 0,
1852
-        268174006 => 0,
1853
-        1271379760 => 0,
1854
-        933038561 => 0,
1855
-      ),
1856
-      'override' => array(
1857
-        'button' => 'Use default',
1858
-      ),
1859
-      'relationship' => 'none',
1860
-      'default_options_div_prefix' => '',
1861
-      'default_taxonomy_tid_term_page' => 0,
1862
-      'default_taxonomy_tid_node' => 0,
1863
-      'default_taxonomy_tid_limit' => 0,
1864
-      'default_taxonomy_tid_vids' => array(
1865
-        1 => 0,
1866
-        2 => 0,
1867
-      ),
1868
-      'default_argument_user' => 0,
1869
-      'default_argument_fixed' => '',
1870
-      'default_argument_php' => '',
1871
-      'validate_argument_node_type' => array(
1872
-        'page' => 0,
1873
-        'news' => 0,
1874
-        'profile' => 0,
1875
-        'forum' => 0,
1876
-        'panel' => 0,
1877
-        'story' => 0,
1878
-        'team' => 0,
1879
-      ),
1880
-      'validate_argument_node_access' => 0,
1881
-      'validate_argument_nid_type' => 'nid',
1882
-      'validate_argument_vocabulary' => array(
1883
-        1 => 0,
1884
-        2 => 0,
1885
-      ),
1886
-      'validate_argument_type' => 'tid',
1887
-      'validate_argument_transform' => 0,
1888
-      'validate_user_restrict_roles' => 0,
1889
-      'validate_argument_node_flag_name' => '*relationship*',
1890
-      'validate_argument_node_flag_test' => 'flaggable',
1891
-      'validate_argument_node_flag_id_type' => 'id',
1892
-      'validate_argument_user_flag_name' => '*relationship*',
1893
-      'validate_argument_user_flag_test' => 'flaggable',
1894
-      'validate_argument_user_flag_id_type' => 'id',
1895
-      'validate_argument_php' => '',
1896
-      'me_validate_user_restrict_roles' => 0,
1897
-    ),
1898
-  ));
1899
-  $handler->override_option('use_pager', '1');
1900
-  $handler->override_option('style_plugin', 'table');
1901
-  $handler->override_option('style_options', array(
1902
-    'grouping' => '',
1903
-    'override' => 1,
1904
-    'sticky' => 1,
1905
-    'order' => 'asc',
1906
-    'summary' => '',
1907
-    'columns' => array(
1908
-      'id' => 'id',
1909
-      'name' => 'name',
1910
-      'send_email' => 'send_email',
1911
-      'email_addr' => 'email_addr',
1912
-      'phpcode' => 'phpcode',
1913
-      'total_credit' => 'total_credit',
1914
-      'expavg_credit' => 'expavg_credit',
1915
-      'create_time' => 'create_time',
1916
-      'phpcode_1' => 'phpcode_1',
1917
-    ),
1918
-    'info' => array(
1919
-      'id' => array(
1920
-        'sortable' => 0,
1921
-        'separator' => '',
1922
-      ),
1923
-      'name' => array(
1924
-        'sortable' => 1,
1925
-        'separator' => '',
1926
-      ),
1927
-      'send_email' => array(
1928
-        'sortable' => 0,
1929
-        'separator' => '',
1930
-      ),
1931
-      'email_addr' => array(
1932
-        'sortable' => 1,
1933
-        'separator' => '',
1934
-      ),
1935
-      'phpcode' => array(
1936
-        'separator' => '',
1937
-      ),
1938
-      'total_credit' => array(
1939
-        'sortable' => 1,
1940
-        'separator' => '',
1941
-      ),
1942
-      'expavg_credit' => array(
1943
-        'sortable' => 1,
1944
-        'separator' => '',
1945
-      ),
1946
-      'create_time' => array(
1947
-        'sortable' => 1,
1948
-        'separator' => '',
1949
-      ),
1950
-      'phpcode_1' => array(
1951
-        'separator' => '',
1952
-      ),
1953
-    ),
1954
-    'default' => 'name',
1955
-  ));
1956
-  $handler->override_option('pane_title', 'Edit team members');
1957
-  $handler->override_option('pane_description', '');
1958
-  $handler->override_option('pane_category', array(
1959
-    'name' => 'View panes',
1960
-    'weight' => 0,
1961
-  ));
1962
-  $handler->override_option('allow', array(
1963
-    'use_pager' => 0,
1964
-    'items_per_page' => 'items_per_page',
1965
-    'offset' => 0,
1966
-    'link_to_view' => 0,
1967
-    'more_link' => 0,
1968
-    'path_override' => 0,
1969
-    'title_override' => 'title_override',
1970
-    'exposed_form' => 0,
1971
-    'fields_override' => 0,
1972
-  ));
1973
-  $handler->override_option('argument_input', array(
1974
-    'teamid' => array(
1975
-      'type' => 'panel',
1976
-      'context' => 'term.description',
1977
-      'context_optional' => 0,
1978
-      'panel' => '0',
1979
-      'fixed' => '',
1980
-      'label' => 'BOINC: Team ID',
1981
-    ),
1982
-  ));
1983
-  $handler->override_option('link_to_view', 0);
1984
-  $handler->override_option('inherit_panels_path', 0);
1985
-  $handler = $view->new_display('panel_pane', 'Team change founder', 'panel_pane_4');
1986
-  $handler->override_option('fields', array(
1987
-    'id' => array(
1988
-      'label' => 'Id',
1989
-      'alter' => array(
1990
-        'alter_text' => 0,
1991
-        'text' => '',
1992
-        'make_link' => 0,
1993
-        'path' => '',
1994
-        'absolute' => 0,
1995
-        'link_class' => '',
1996
-        'alt' => '',
1997
-        'rel' => '',
1998
-        'prefix' => '',
1999
-        'suffix' => '',
2000
-        'target' => '',
2001
-        'help' => '',
2002
-        'trim' => 0,
2003
-        'max_length' => '',
2004
-        'word_boundary' => 1,
2005
-        'ellipsis' => 1,
2006
-        'html' => 0,
2007
-        'strip_tags' => 0,
2008
-      ),
2009
-      'empty' => '',
2010
-      'hide_empty' => 0,
2011
-      'empty_zero' => 0,
2012
-      'hide_alter_empty' => 1,
2013
-      'set_precision' => FALSE,
2014
-      'precision' => 0,
2015
-      'decimal' => '.',
2016
-      'separator' => '',
2017
-      'format_plural' => 0,
2018
-      'format_plural_singular' => '1',
2019
-      'format_plural_plural' => '@count',
2020
-      'prefix' => '',
2021
-      'suffix' => '',
2022
-      'exclude' => 1,
2023
-      'id' => 'id',
2024
-      'table' => 'user',
2025
-      'field' => 'id',
2026
-      'relationship' => 'none',
2027
-      'override' => array(
2028
-        'button' => 'Use default',
2029
-      ),
2030
-    ),
2031
-    'phpcode' => array(
2032
-      'label' => 'Uid',
2033
-      'alter' => array(
2034
-        'alter_text' => 0,
2035
-        'text' => '',
2036
-        'make_link' => 0,
2037
-        'path' => '',
2038
-        'absolute' => 0,
2039
-        'link_class' => '',
2040
-        'alt' => '',
2041
-        'rel' => '',
2042
-        'prefix' => '',
2043
-        'suffix' => '',
2044
-        'target' => '',
2045
-        'help' => '',
2046
-        'trim' => 0,
2047
-        'max_length' => '',
2048
-        'word_boundary' => 1,
2049
-        'ellipsis' => 1,
2050
-        'html' => 0,
2051
-        'strip_tags' => 0,
2052
-      ),
2053
-      'empty' => '',
2054
-      'hide_empty' => 0,
2055
-      'empty_zero' => 0,
2056
-      'hide_alter_empty' => 1,
2057
-      'value' => '<?php
1805
+  'exclude' => 0,
1806
+  'id' => 'phpcode_1',
1807
+  'table' => 'customfield',
1808
+  'field' => 'phpcode',
1809
+  'override' => array(
1810
+    'button' => 'Use default',
1811
+  ),
1812
+  'relationship' => 'none',
1813
+),
1814
+));
1815
+$handler->override_option('arguments', array(
1816
+'teamid' => array(
1817
+  'default_action' => 'empty',
1818
+  'style_plugin' => 'default_summary',
1819
+  'style_options' => array(),
1820
+  'wildcard' => 'all',
1821
+  'wildcard_substitution' => 'All',
1822
+  'title' => '',
1823
+  'breadcrumb' => '',
1824
+  'default_argument_type' => 'fixed',
1825
+  'default_argument' => '',
1826
+  'validate_type' => 'numeric',
1827
+  'validate_fail' => 'not found',
1828
+  'break_phrase' => 0,
1829
+  'not' => 0,
1830
+  'id' => 'teamid',
1831
+  'table' => 'user',
1832
+  'field' => 'teamid',
1833
+  'validate_user_argument_type' => 'uid',
1834
+  'validate_user_roles' => array(
1835
+    2 => 0,
1836
+    3519698132 => 0,
1837
+    1110965548 => 0,
1838
+    2938987599 => 0,
1839
+    1257454314 => 0,
1840
+    268174006 => 0,
1841
+    1271379760 => 0,
1842
+    933038561 => 0,
1843
+  ),
1844
+  'me_redirect' => 0,
1845
+  'me_validate_user_argument_type' => 'uid',
1846
+  'me_validate_user_roles' => array(
1847
+    2 => 0,
1848
+    3519698132 => 0,
1849
+    1110965548 => 0,
1850
+    2938987599 => 0,
1851
+    1257454314 => 0,
1852
+    268174006 => 0,
1853
+    1271379760 => 0,
1854
+    933038561 => 0,
1855
+  ),
1856
+  'override' => array(
1857
+    'button' => 'Use default',
1858
+  ),
1859
+  'relationship' => 'none',
1860
+  'default_options_div_prefix' => '',
1861
+  'default_taxonomy_tid_term_page' => 0,
1862
+  'default_taxonomy_tid_node' => 0,
1863
+  'default_taxonomy_tid_limit' => 0,
1864
+  'default_taxonomy_tid_vids' => array(
1865
+    1 => 0,
1866
+    2 => 0,
1867
+  ),
1868
+  'default_argument_user' => 0,
1869
+  'default_argument_fixed' => '',
1870
+  'default_argument_php' => '',
1871
+  'validate_argument_node_type' => array(
1872
+    'page' => 0,
1873
+    'news' => 0,
1874
+    'profile' => 0,
1875
+    'forum' => 0,
1876
+    'panel' => 0,
1877
+    'story' => 0,
1878
+    'team' => 0,
1879
+  ),
1880
+  'validate_argument_node_access' => 0,
1881
+  'validate_argument_nid_type' => 'nid',
1882
+  'validate_argument_vocabulary' => array(
1883
+    1 => 0,
1884
+    2 => 0,
1885
+  ),
1886
+  'validate_argument_type' => 'tid',
1887
+  'validate_argument_transform' => 0,
1888
+  'validate_user_restrict_roles' => 0,
1889
+  'validate_argument_node_flag_name' => '*relationship*',
1890
+  'validate_argument_node_flag_test' => 'flaggable',
1891
+  'validate_argument_node_flag_id_type' => 'id',
1892
+  'validate_argument_user_flag_name' => '*relationship*',
1893
+  'validate_argument_user_flag_test' => 'flaggable',
1894
+  'validate_argument_user_flag_id_type' => 'id',
1895
+  'validate_argument_php' => '',
1896
+  'me_validate_user_restrict_roles' => 0,
1897
+),
1898
+));
1899
+$handler->override_option('use_pager', '1');
1900
+$handler->override_option('style_plugin', 'table');
1901
+$handler->override_option('style_options', array(
1902
+'grouping' => '',
1903
+'override' => 1,
1904
+'sticky' => 1,
1905
+'order' => 'asc',
1906
+'summary' => '',
1907
+'columns' => array(
1908
+  'id' => 'id',
1909
+  'name' => 'name',
1910
+  'send_email' => 'send_email',
1911
+  'email_addr' => 'email_addr',
1912
+  'phpcode' => 'phpcode',
1913
+  'total_credit' => 'total_credit',
1914
+  'expavg_credit' => 'expavg_credit',
1915
+  'create_time' => 'create_time',
1916
+  'phpcode_1' => 'phpcode_1',
1917
+),
1918
+'info' => array(
1919
+  'id' => array(
1920
+    'sortable' => 0,
1921
+    'separator' => '',
1922
+  ),
1923
+  'name' => array(
1924
+    'sortable' => 1,
1925
+    'separator' => '',
1926
+  ),
1927
+  'send_email' => array(
1928
+    'sortable' => 0,
1929
+    'separator' => '',
1930
+  ),
1931
+  'email_addr' => array(
1932
+    'sortable' => 1,
1933
+    'separator' => '',
1934
+  ),
1935
+  'phpcode' => array(
1936
+    'separator' => '',
1937
+  ),
1938
+  'total_credit' => array(
1939
+    'sortable' => 1,
1940
+    'separator' => '',
1941
+  ),
1942
+  'expavg_credit' => array(
1943
+    'sortable' => 1,
1944
+    'separator' => '',
1945
+  ),
1946
+  'create_time' => array(
1947
+    'sortable' => 1,
1948
+    'separator' => '',
1949
+  ),
1950
+  'phpcode_1' => array(
1951
+    'separator' => '',
1952
+  ),
1953
+),
1954
+'default' => 'name',
1955
+));
1956
+$handler->override_option('pane_title', 'Edit team members');
1957
+$handler->override_option('pane_description', '');
1958
+$handler->override_option('pane_category', array(
1959
+'name' => 'View panes',
1960
+'weight' => 0,
1961
+));
1962
+$handler->override_option('allow', array(
1963
+'use_pager' => 0,
1964
+'items_per_page' => 'items_per_page',
1965
+'offset' => 0,
1966
+'link_to_view' => 0,
1967
+'more_link' => 0,
1968
+'path_override' => 0,
1969
+'title_override' => 'title_override',
1970
+'exposed_form' => 0,
1971
+'fields_override' => 0,
1972
+));
1973
+$handler->override_option('argument_input', array(
1974
+'teamid' => array(
1975
+  'type' => 'panel',
1976
+  'context' => 'term.description',
1977
+  'context_optional' => 0,
1978
+  'panel' => '0',
1979
+  'fixed' => '',
1980
+  'label' => 'BOINC: Team ID',
1981
+),
1982
+));
1983
+$handler->override_option('link_to_view', 0);
1984
+$handler->override_option('inherit_panels_path', 0);
1985
+$handler = $view->new_display('panel_pane', 'Team change founder', 'panel_pane_4');
1986
+$handler->override_option('fields', array(
1987
+'id' => array(
1988
+  'label' => 'Id',
1989
+  'alter' => array(
1990
+    'alter_text' => 0,
1991
+    'text' => '',
1992
+    'make_link' => 0,
1993
+    'path' => '',
1994
+    'absolute' => 0,
1995
+    'link_class' => '',
1996
+    'alt' => '',
1997
+    'rel' => '',
1998
+    'prefix' => '',
1999
+    'suffix' => '',
2000
+    'target' => '',
2001
+    'help' => '',
2002
+    'trim' => 0,
2003
+    'max_length' => '',
2004
+    'word_boundary' => 1,
2005
+    'ellipsis' => 1,
2006
+    'html' => 0,
2007
+    'strip_tags' => 0,
2008
+  ),
2009
+  'empty' => '',
2010
+  'hide_empty' => 0,
2011
+  'empty_zero' => 0,
2012
+  'hide_alter_empty' => 1,
2013
+  'set_precision' => FALSE,
2014
+  'precision' => 0,
2015
+  'decimal' => '.',
2016
+  'separator' => '',
2017
+  'format_plural' => 0,
2018
+  'format_plural_singular' => '1',
2019
+  'format_plural_plural' => '@count',
2020
+  'prefix' => '',
2021
+  'suffix' => '',
2022
+  'exclude' => 1,
2023
+  'id' => 'id',
2024
+  'table' => 'user',
2025
+  'field' => 'id',
2026
+  'relationship' => 'none',
2027
+  'override' => array(
2028
+    'button' => 'Use default',
2029
+  ),
2030
+),
2031
+'phpcode' => array(
2032
+  'label' => 'Uid',
2033
+  'alter' => array(
2034
+    'alter_text' => 0,
2035
+    'text' => '',
2036
+    'make_link' => 0,
2037
+    'path' => '',
2038
+    'absolute' => 0,
2039
+    'link_class' => '',
2040
+    'alt' => '',
2041
+    'rel' => '',
2042
+    'prefix' => '',
2043
+    'suffix' => '',
2044
+    'target' => '',
2045
+    'help' => '',
2046
+    'trim' => 0,
2047
+    'max_length' => '',
2048
+    'word_boundary' => 1,
2049
+    'ellipsis' => 1,
2050
+    'html' => 0,
2051
+    'strip_tags' => 0,
2052
+  ),
2053
+  'empty' => '',
2054
+  'hide_empty' => 0,
2055
+  'empty_zero' => 0,
2056
+  'hide_alter_empty' => 1,
2057
+  'value' => '<?php
2058 2058
   echo boincuser_lookup_uid($data->id);
2059 2059
 ?>',
2060
-      'exclude' => 1,
2061
-      'id' => 'phpcode',
2062
-      'table' => 'customfield',
2063
-      'field' => 'phpcode',
2064
-      'override' => array(
2065
-        'button' => 'Use default',
2066
-      ),
2067
-      'relationship' => 'none',
2068
-    ),
2069
-    'name' => array(
2070
-      'label' => 'Name',
2071
-      'alter' => array(
2072
-        'alter_text' => 0,
2073
-        'text' => '',
2074
-        'make_link' => 0,
2075
-        'path' => '',
2076
-        'absolute' => 0,
2077
-        'link_class' => '',
2078
-        'alt' => '',
2079
-        'rel' => '',
2080
-        'prefix' => '',
2081
-        'suffix' => '',
2082
-        'target' => '',
2083
-        'help' => '',
2084
-        'trim' => 0,
2085
-        'max_length' => '',
2086
-        'word_boundary' => 1,
2087
-        'ellipsis' => 1,
2088
-        'html' => 0,
2089
-        'strip_tags' => 0,
2090
-      ),
2091
-      'empty' => '',
2092
-      'hide_empty' => 0,
2093
-      'empty_zero' => 0,
2094
-      'hide_alter_empty' => 1,
2095
-      'exclude' => 0,
2096
-      'id' => 'name',
2097
-      'table' => 'user',
2098
-      'field' => 'name',
2099
-      'relationship' => 'none',
2100
-    ),
2101
-    'total_credit' => array(
2102
-      'label' => 'Total Credit',
2103
-      'alter' => array(
2104
-        'alter_text' => 0,
2105
-        'text' => '',
2106
-        'make_link' => 0,
2107
-        'path' => '',
2108
-        'absolute' => 0,
2109
-        'link_class' => '',
2110
-        'alt' => '',
2111
-        'rel' => '',
2112
-        'prefix' => '',
2113
-        'suffix' => '',
2114
-        'target' => '',
2115
-        'help' => '',
2116
-        'trim' => 0,
2117
-        'max_length' => '',
2118
-        'word_boundary' => 1,
2119
-        'ellipsis' => 1,
2120
-        'html' => 0,
2121
-        'strip_tags' => 0,
2122
-      ),
2123
-      'empty' => '',
2124
-      'hide_empty' => 0,
2125
-      'empty_zero' => 0,
2126
-      'hide_alter_empty' => 1,
2127
-      'set_precision' => 1,
2128
-      'precision' => '0',
2129
-      'decimal' => '.',
2130
-      'separator' => ',',
2131
-      'format_plural' => 0,
2132
-      'format_plural_singular' => '1',
2133
-      'format_plural_plural' => '@count',
2134
-      'prefix' => '',
2135
-      'suffix' => '',
2136
-      'exclude' => 0,
2137
-      'id' => 'total_credit',
2138
-      'table' => 'user',
2139
-      'field' => 'total_credit',
2140
-      'relationship' => 'none',
2141
-      'override' => array(
2142
-        'button' => 'Use default',
2143
-      ),
2144
-    ),
2145
-    'expavg_credit' => array(
2146
-      'label' => 'Recent average credit',
2147
-      'alter' => array(
2148
-        'alter_text' => 0,
2149
-        'text' => '',
2150
-        'make_link' => 0,
2151
-        'path' => '',
2152
-        'absolute' => 0,
2153
-        'link_class' => '',
2154
-        'alt' => '',
2155
-        'rel' => '',
2156
-        'prefix' => '',
2157
-        'suffix' => '',
2158
-        'target' => '',
2159
-        'help' => '',
2160
-        'trim' => 0,
2161
-        'max_length' => '',
2162
-        'word_boundary' => 1,
2163
-        'ellipsis' => 1,
2164
-        'html' => 0,
2165
-        'strip_tags' => 0,
2166
-      ),
2167
-      'empty' => '',
2168
-      'hide_empty' => 0,
2169
-      'empty_zero' => 0,
2170
-      'hide_alter_empty' => 1,
2171
-      'set_precision' => 1,
2172
-      'precision' => '2',
2173
-      'decimal' => '.',
2174
-      'separator' => ',',
2175
-      'format_plural' => 0,
2176
-      'format_plural_singular' => '1',
2177
-      'format_plural_plural' => '@count',
2178
-      'prefix' => '',
2179
-      'suffix' => '',
2180
-      'exclude' => 0,
2181
-      'id' => 'expavg_credit',
2182
-      'table' => 'user',
2183
-      'field' => 'expavg_credit',
2184
-      'relationship' => 'none',
2185
-      'override' => array(
2186
-        'button' => 'Use default',
2187
-      ),
2188
-    ),
2189
-    'create_time' => array(
2190
-      'label' => 'Member Since',
2191
-      'alter' => array(
2192
-        'alter_text' => 0,
2193
-        'text' => '',
2194
-        'make_link' => 0,
2195
-        'path' => '',
2196
-        'absolute' => 0,
2197
-        'link_class' => '',
2198
-        'alt' => '',
2199
-        'rel' => '',
2200
-        'prefix' => '',
2201
-        'suffix' => '',
2202
-        'target' => '',
2203
-        'help' => '',
2204
-        'trim' => 0,
2205
-        'max_length' => '',
2206
-        'word_boundary' => 1,
2207
-        'ellipsis' => 1,
2208
-        'html' => 0,
2209
-        'strip_tags' => 0,
2210
-      ),
2211
-      'empty' => '',
2212
-      'hide_empty' => 0,
2213
-      'empty_zero' => 0,
2214
-      'hide_alter_empty' => 1,
2215
-      'date_format' => 'custom',
2216
-      'custom_date_format' => 'j M Y G:i:s T',
2217
-      'exclude' => 0,
2218
-      'id' => 'create_time',
2219
-      'table' => 'user',
2220
-      'field' => 'create_time',
2221
-      'override' => array(
2222
-        'button' => 'Use default',
2223
-      ),
2224
-      'relationship' => 'none',
2225
-    ),
2226
-    'phpcode_1' => array(
2227
-      'label' => '',
2228
-      'alter' => array(
2229
-        'alter_text' => 0,
2230
-        'text' => '',
2231
-        'make_link' => 0,
2232
-        'path' => '',
2233
-        'absolute' => 0,
2234
-        'link_class' => '',
2235
-        'alt' => '',
2236
-        'rel' => '',
2237
-        'prefix' => '',
2238
-        'suffix' => '',
2239
-        'target' => '',
2240
-        'help' => '',
2241
-        'trim' => 0,
2242
-        'max_length' => '',
2243
-        'word_boundary' => 1,
2244
-        'ellipsis' => 1,
2245
-        'html' => 0,
2246
-        'strip_tags' => 0,
2247
-      ),
2248
-      'empty' => '',
2249
-      'hide_empty' => 0,
2250
-      'empty_zero' => 0,
2251
-      'hide_alter_empty' => 1,
2252
-      'value' => '<?php
2060
+  'exclude' => 1,
2061
+  'id' => 'phpcode',
2062
+  'table' => 'customfield',
2063
+  'field' => 'phpcode',
2064
+  'override' => array(
2065
+    'button' => 'Use default',
2066
+  ),
2067
+  'relationship' => 'none',
2068
+),
2069
+'name' => array(
2070
+  'label' => 'Name',
2071
+  'alter' => array(
2072
+    'alter_text' => 0,
2073
+    'text' => '',
2074
+    'make_link' => 0,
2075
+    'path' => '',
2076
+    'absolute' => 0,
2077
+    'link_class' => '',
2078
+    'alt' => '',
2079
+    'rel' => '',
2080
+    'prefix' => '',
2081
+    'suffix' => '',
2082
+    'target' => '',
2083
+    'help' => '',
2084
+    'trim' => 0,
2085
+    'max_length' => '',
2086
+    'word_boundary' => 1,
2087
+    'ellipsis' => 1,
2088
+    'html' => 0,
2089
+    'strip_tags' => 0,
2090
+  ),
2091
+  'empty' => '',
2092
+  'hide_empty' => 0,
2093
+  'empty_zero' => 0,
2094
+  'hide_alter_empty' => 1,
2095
+  'exclude' => 0,
2096
+  'id' => 'name',
2097
+  'table' => 'user',
2098
+  'field' => 'name',
2099
+  'relationship' => 'none',
2100
+),
2101
+'total_credit' => array(
2102
+  'label' => 'Total Credit',
2103
+  'alter' => array(
2104
+    'alter_text' => 0,
2105
+    'text' => '',
2106
+    'make_link' => 0,
2107
+    'path' => '',
2108
+    'absolute' => 0,
2109
+    'link_class' => '',
2110
+    'alt' => '',
2111
+    'rel' => '',
2112
+    'prefix' => '',
2113
+    'suffix' => '',
2114
+    'target' => '',
2115
+    'help' => '',
2116
+    'trim' => 0,
2117
+    'max_length' => '',
2118
+    'word_boundary' => 1,
2119
+    'ellipsis' => 1,
2120
+    'html' => 0,
2121
+    'strip_tags' => 0,
2122
+  ),
2123
+  'empty' => '',
2124
+  'hide_empty' => 0,
2125
+  'empty_zero' => 0,
2126
+  'hide_alter_empty' => 1,
2127
+  'set_precision' => 1,
2128
+  'precision' => '0',
2129
+  'decimal' => '.',
2130
+  'separator' => ',',
2131
+  'format_plural' => 0,
2132
+  'format_plural_singular' => '1',
2133
+  'format_plural_plural' => '@count',
2134
+  'prefix' => '',
2135
+  'suffix' => '',
2136
+  'exclude' => 0,
2137
+  'id' => 'total_credit',
2138
+  'table' => 'user',
2139
+  'field' => 'total_credit',
2140
+  'relationship' => 'none',
2141
+  'override' => array(
2142
+    'button' => 'Use default',
2143
+  ),
2144
+),
2145
+'expavg_credit' => array(
2146
+  'label' => 'Recent average credit',
2147
+  'alter' => array(
2148
+    'alter_text' => 0,
2149
+    'text' => '',
2150
+    'make_link' => 0,
2151
+    'path' => '',
2152
+    'absolute' => 0,
2153
+    'link_class' => '',
2154
+    'alt' => '',
2155
+    'rel' => '',
2156
+    'prefix' => '',
2157
+    'suffix' => '',
2158
+    'target' => '',
2159
+    'help' => '',
2160
+    'trim' => 0,
2161
+    'max_length' => '',
2162
+    'word_boundary' => 1,
2163
+    'ellipsis' => 1,
2164
+    'html' => 0,
2165
+    'strip_tags' => 0,
2166
+  ),
2167
+  'empty' => '',
2168
+  'hide_empty' => 0,
2169
+  'empty_zero' => 0,
2170
+  'hide_alter_empty' => 1,
2171
+  'set_precision' => 1,
2172
+  'precision' => '2',
2173
+  'decimal' => '.',
2174
+  'separator' => ',',
2175
+  'format_plural' => 0,
2176
+  'format_plural_singular' => '1',
2177
+  'format_plural_plural' => '@count',
2178
+  'prefix' => '',
2179
+  'suffix' => '',
2180
+  'exclude' => 0,
2181
+  'id' => 'expavg_credit',
2182
+  'table' => 'user',
2183
+  'field' => 'expavg_credit',
2184
+  'relationship' => 'none',
2185
+  'override' => array(
2186
+    'button' => 'Use default',
2187
+  ),
2188
+),
2189
+'create_time' => array(
2190
+  'label' => 'Member Since',
2191
+  'alter' => array(
2192
+    'alter_text' => 0,
2193
+    'text' => '',
2194
+    'make_link' => 0,
2195
+    'path' => '',
2196
+    'absolute' => 0,
2197
+    'link_class' => '',
2198
+    'alt' => '',
2199
+    'rel' => '',
2200
+    'prefix' => '',
2201
+    'suffix' => '',
2202
+    'target' => '',
2203
+    'help' => '',
2204
+    'trim' => 0,
2205
+    'max_length' => '',
2206
+    'word_boundary' => 1,
2207
+    'ellipsis' => 1,
2208
+    'html' => 0,
2209
+    'strip_tags' => 0,
2210
+  ),
2211
+  'empty' => '',
2212
+  'hide_empty' => 0,
2213
+  'empty_zero' => 0,
2214
+  'hide_alter_empty' => 1,
2215
+  'date_format' => 'custom',
2216
+  'custom_date_format' => 'j M Y G:i:s T',
2217
+  'exclude' => 0,
2218
+  'id' => 'create_time',
2219
+  'table' => 'user',
2220
+  'field' => 'create_time',
2221
+  'override' => array(
2222
+    'button' => 'Use default',
2223
+  ),
2224
+  'relationship' => 'none',
2225
+),
2226
+'phpcode_1' => array(
2227
+  'label' => '',
2228
+  'alter' => array(
2229
+    'alter_text' => 0,
2230
+    'text' => '',
2231
+    'make_link' => 0,
2232
+    'path' => '',
2233
+    'absolute' => 0,
2234
+    'link_class' => '',
2235
+    'alt' => '',
2236
+    'rel' => '',
2237
+    'prefix' => '',
2238
+    'suffix' => '',
2239
+    'target' => '',
2240
+    'help' => '',
2241
+    'trim' => 0,
2242
+    'max_length' => '',
2243
+    'word_boundary' => 1,
2244
+    'ellipsis' => 1,
2245
+    'html' => 0,
2246
+    'strip_tags' => 0,
2247
+  ),
2248
+  'empty' => '',
2249
+  'hide_empty' => 0,
2250
+  'empty_zero' => 0,
2251
+  'hide_alter_empty' => 1,
2252
+  'value' => '<?php
2253 2253
   global $user;
2254 2254
   $team_id = arg(2);
2255 2255
   $user_id = boincuser_lookup_uid($data->id);
@@ -2257,1820 +2257,1820 @@  discard block
 block discarded – undo
2257 2257
     echo l(bts(\'Make founder\', array(), NULL, \'boinc:team-make-founder\'), "community/teams/{$team_id}/edit/founder/set/{$user_id}");
2258 2258
   }
2259 2259
 ?>',
2260
-      'exclude' => 0,
2261
-      'id' => 'phpcode_1',
2262
-      'table' => 'customfield',
2263
-      'field' => 'phpcode',
2264
-      'override' => array(
2265
-        'button' => 'Use default',
2266
-      ),
2267
-      'relationship' => 'none',
2268
-    ),
2269
-  ));
2270
-  $handler->override_option('arguments', array(
2271
-    'teamid' => array(
2272
-      'default_action' => 'empty',
2273
-      'style_plugin' => 'default_summary',
2274
-      'style_options' => array(),
2275
-      'wildcard' => 'all',
2276
-      'wildcard_substitution' => 'All',
2277
-      'title' => '',
2278
-      'breadcrumb' => '',
2279
-      'default_argument_type' => 'fixed',
2280
-      'default_argument' => '',
2281
-      'validate_type' => 'numeric',
2282
-      'validate_fail' => 'not found',
2283
-      'break_phrase' => 0,
2284
-      'not' => 0,
2285
-      'id' => 'teamid',
2286
-      'table' => 'user',
2287
-      'field' => 'teamid',
2288
-      'validate_user_argument_type' => 'uid',
2289
-      'validate_user_roles' => array(
2290
-        2 => 0,
2291
-        3519698132 => 0,
2292
-        1110965548 => 0,
2293
-        2938987599 => 0,
2294
-        1257454314 => 0,
2295
-        268174006 => 0,
2296
-        1271379760 => 0,
2297
-        933038561 => 0,
2298
-      ),
2299
-      'me_redirect' => 0,
2300
-      'me_validate_user_argument_type' => 'uid',
2301
-      'me_validate_user_roles' => array(
2302
-        2 => 0,
2303
-        3519698132 => 0,
2304
-        1110965548 => 0,
2305
-        2938987599 => 0,
2306
-        1257454314 => 0,
2307
-        268174006 => 0,
2308
-        1271379760 => 0,
2309
-        933038561 => 0,
2310
-      ),
2311
-      'override' => array(
2312
-        'button' => 'Use default',
2313
-      ),
2314
-      'relationship' => 'none',
2315
-      'default_options_div_prefix' => '',
2316
-      'default_taxonomy_tid_term_page' => 0,
2317
-      'default_taxonomy_tid_node' => 0,
2318
-      'default_taxonomy_tid_limit' => 0,
2319
-      'default_taxonomy_tid_vids' => array(
2320
-        1 => 0,
2321
-        2 => 0,
2322
-      ),
2323
-      'default_argument_user' => 0,
2324
-      'default_argument_fixed' => '',
2325
-      'default_argument_php' => '',
2326
-      'validate_argument_node_type' => array(
2327
-        'page' => 0,
2328
-        'news' => 0,
2329
-        'profile' => 0,
2330
-        'forum' => 0,
2331
-        'panel' => 0,
2332
-        'story' => 0,
2333
-        'team' => 0,
2334
-      ),
2335
-      'validate_argument_node_access' => 0,
2336
-      'validate_argument_nid_type' => 'nid',
2337
-      'validate_argument_vocabulary' => array(
2338
-        1 => 0,
2339
-        2 => 0,
2340
-      ),
2341
-      'validate_argument_type' => 'tid',
2342
-      'validate_argument_transform' => 0,
2343
-      'validate_user_restrict_roles' => 0,
2344
-      'validate_argument_node_flag_name' => '*relationship*',
2345
-      'validate_argument_node_flag_test' => 'flaggable',
2346
-      'validate_argument_node_flag_id_type' => 'id',
2347
-      'validate_argument_user_flag_name' => '*relationship*',
2348
-      'validate_argument_user_flag_test' => 'flaggable',
2349
-      'validate_argument_user_flag_id_type' => 'id',
2350
-      'validate_argument_php' => '',
2351
-      'me_validate_user_restrict_roles' => 0,
2352
-    ),
2353
-  ));
2354
-  $handler->override_option('use_pager', '1');
2355
-  $handler->override_option('style_plugin', 'table');
2356
-  $handler->override_option('style_options', array(
2357
-    'grouping' => '',
2358
-    'override' => 1,
2359
-    'sticky' => 1,
2360
-    'order' => 'asc',
2361
-    'summary' => '',
2362
-    'columns' => array(
2363
-      'id' => 'id',
2364
-      'name' => 'name',
2365
-      'send_email' => 'send_email',
2366
-      'email_addr' => 'email_addr',
2367
-      'phpcode' => 'phpcode',
2368
-      'total_credit' => 'total_credit',
2369
-      'expavg_credit' => 'expavg_credit',
2370
-      'create_time' => 'create_time',
2371
-      'phpcode_1' => 'phpcode_1',
2372
-    ),
2373
-    'info' => array(
2374
-      'id' => array(
2375
-        'sortable' => 0,
2376
-        'separator' => '',
2377
-      ),
2378
-      'name' => array(
2379
-        'sortable' => 1,
2380
-        'separator' => '',
2381
-      ),
2382
-      'send_email' => array(
2383
-        'sortable' => 0,
2384
-        'separator' => '',
2385
-      ),
2386
-      'email_addr' => array(
2387
-        'sortable' => 1,
2388
-        'separator' => '',
2389
-      ),
2390
-      'phpcode' => array(
2391
-        'separator' => '',
2392
-      ),
2393
-      'total_credit' => array(
2394
-        'sortable' => 1,
2395
-        'separator' => '',
2396
-      ),
2397
-      'expavg_credit' => array(
2398
-        'sortable' => 1,
2399
-        'separator' => '',
2400
-      ),
2401
-      'create_time' => array(
2402
-        'sortable' => 1,
2403
-        'separator' => '',
2404
-      ),
2405
-      'phpcode_1' => array(
2406
-        'separator' => '',
2407
-      ),
2408
-    ),
2409
-    'default' => 'name',
2410
-  ));
2411
-  $handler->override_option('pane_title', 'Change team founder');
2412
-  $handler->override_option('pane_description', '');
2413
-  $handler->override_option('pane_category', array(
2414
-    'name' => 'View panes',
2415
-    'weight' => 0,
2416
-  ));
2417
-  $handler->override_option('allow', array(
2418
-    'use_pager' => 0,
2419
-    'items_per_page' => 'items_per_page',
2420
-    'offset' => 0,
2421
-    'link_to_view' => 0,
2422
-    'more_link' => 0,
2423
-    'path_override' => 0,
2424
-    'title_override' => 'title_override',
2425
-    'exposed_form' => 0,
2426
-    'fields_override' => 0,
2427
-  ));
2428
-  $handler->override_option('argument_input', array(
2429
-    'teamid' => array(
2430
-      'type' => 'panel',
2431
-      'context' => 'term.description',
2432
-      'context_optional' => 0,
2433
-      'panel' => '0',
2434
-      'fixed' => '',
2435
-      'label' => 'BOINC: Team ID',
2436
-    ),
2437
-  ));
2438
-  $handler->override_option('link_to_view', 0);
2439
-  $handler->override_option('inherit_panels_path', 0);
2260
+  'exclude' => 0,
2261
+  'id' => 'phpcode_1',
2262
+  'table' => 'customfield',
2263
+  'field' => 'phpcode',
2264
+  'override' => array(
2265
+    'button' => 'Use default',
2266
+  ),
2267
+  'relationship' => 'none',
2268
+),
2269
+));
2270
+$handler->override_option('arguments', array(
2271
+'teamid' => array(
2272
+  'default_action' => 'empty',
2273
+  'style_plugin' => 'default_summary',
2274
+  'style_options' => array(),
2275
+  'wildcard' => 'all',
2276
+  'wildcard_substitution' => 'All',
2277
+  'title' => '',
2278
+  'breadcrumb' => '',
2279
+  'default_argument_type' => 'fixed',
2280
+  'default_argument' => '',
2281
+  'validate_type' => 'numeric',
2282
+  'validate_fail' => 'not found',
2283
+  'break_phrase' => 0,
2284
+  'not' => 0,
2285
+  'id' => 'teamid',
2286
+  'table' => 'user',
2287
+  'field' => 'teamid',
2288
+  'validate_user_argument_type' => 'uid',
2289
+  'validate_user_roles' => array(
2290
+    2 => 0,
2291
+    3519698132 => 0,
2292
+    1110965548 => 0,
2293
+    2938987599 => 0,
2294
+    1257454314 => 0,
2295
+    268174006 => 0,
2296
+    1271379760 => 0,
2297
+    933038561 => 0,
2298
+  ),
2299
+  'me_redirect' => 0,
2300
+  'me_validate_user_argument_type' => 'uid',
2301
+  'me_validate_user_roles' => array(
2302
+    2 => 0,
2303
+    3519698132 => 0,
2304
+    1110965548 => 0,
2305
+    2938987599 => 0,
2306
+    1257454314 => 0,
2307
+    268174006 => 0,
2308
+    1271379760 => 0,
2309
+    933038561 => 0,
2310
+  ),
2311
+  'override' => array(
2312
+    'button' => 'Use default',
2313
+  ),
2314
+  'relationship' => 'none',
2315
+  'default_options_div_prefix' => '',
2316
+  'default_taxonomy_tid_term_page' => 0,
2317
+  'default_taxonomy_tid_node' => 0,
2318
+  'default_taxonomy_tid_limit' => 0,
2319
+  'default_taxonomy_tid_vids' => array(
2320
+    1 => 0,
2321
+    2 => 0,
2322
+  ),
2323
+  'default_argument_user' => 0,
2324
+  'default_argument_fixed' => '',
2325
+  'default_argument_php' => '',
2326
+  'validate_argument_node_type' => array(
2327
+    'page' => 0,
2328
+    'news' => 0,
2329
+    'profile' => 0,
2330
+    'forum' => 0,
2331
+    'panel' => 0,
2332
+    'story' => 0,
2333
+    'team' => 0,
2334
+  ),
2335
+  'validate_argument_node_access' => 0,
2336
+  'validate_argument_nid_type' => 'nid',
2337
+  'validate_argument_vocabulary' => array(
2338
+    1 => 0,
2339
+    2 => 0,
2340
+  ),
2341
+  'validate_argument_type' => 'tid',
2342
+  'validate_argument_transform' => 0,
2343
+  'validate_user_restrict_roles' => 0,
2344
+  'validate_argument_node_flag_name' => '*relationship*',
2345
+  'validate_argument_node_flag_test' => 'flaggable',
2346
+  'validate_argument_node_flag_id_type' => 'id',
2347
+  'validate_argument_user_flag_name' => '*relationship*',
2348
+  'validate_argument_user_flag_test' => 'flaggable',
2349
+  'validate_argument_user_flag_id_type' => 'id',
2350
+  'validate_argument_php' => '',
2351
+  'me_validate_user_restrict_roles' => 0,
2352
+),
2353
+));
2354
+$handler->override_option('use_pager', '1');
2355
+$handler->override_option('style_plugin', 'table');
2356
+$handler->override_option('style_options', array(
2357
+'grouping' => '',
2358
+'override' => 1,
2359
+'sticky' => 1,
2360
+'order' => 'asc',
2361
+'summary' => '',
2362
+'columns' => array(
2363
+  'id' => 'id',
2364
+  'name' => 'name',
2365
+  'send_email' => 'send_email',
2366
+  'email_addr' => 'email_addr',
2367
+  'phpcode' => 'phpcode',
2368
+  'total_credit' => 'total_credit',
2369
+  'expavg_credit' => 'expavg_credit',
2370
+  'create_time' => 'create_time',
2371
+  'phpcode_1' => 'phpcode_1',
2372
+),
2373
+'info' => array(
2374
+  'id' => array(
2375
+    'sortable' => 0,
2376
+    'separator' => '',
2377
+  ),
2378
+  'name' => array(
2379
+    'sortable' => 1,
2380
+    'separator' => '',
2381
+  ),
2382
+  'send_email' => array(
2383
+    'sortable' => 0,
2384
+    'separator' => '',
2385
+  ),
2386
+  'email_addr' => array(
2387
+    'sortable' => 1,
2388
+    'separator' => '',
2389
+  ),
2390
+  'phpcode' => array(
2391
+    'separator' => '',
2392
+  ),
2393
+  'total_credit' => array(
2394
+    'sortable' => 1,
2395
+    'separator' => '',
2396
+  ),
2397
+  'expavg_credit' => array(
2398
+    'sortable' => 1,
2399
+    'separator' => '',
2400
+  ),
2401
+  'create_time' => array(
2402
+    'sortable' => 1,
2403
+    'separator' => '',
2404
+  ),
2405
+  'phpcode_1' => array(
2406
+    'separator' => '',
2407
+  ),
2408
+),
2409
+'default' => 'name',
2410
+));
2411
+$handler->override_option('pane_title', 'Change team founder');
2412
+$handler->override_option('pane_description', '');
2413
+$handler->override_option('pane_category', array(
2414
+'name' => 'View panes',
2415
+'weight' => 0,
2416
+));
2417
+$handler->override_option('allow', array(
2418
+'use_pager' => 0,
2419
+'items_per_page' => 'items_per_page',
2420
+'offset' => 0,
2421
+'link_to_view' => 0,
2422
+'more_link' => 0,
2423
+'path_override' => 0,
2424
+'title_override' => 'title_override',
2425
+'exposed_form' => 0,
2426
+'fields_override' => 0,
2427
+));
2428
+$handler->override_option('argument_input', array(
2429
+'teamid' => array(
2430
+  'type' => 'panel',
2431
+  'context' => 'term.description',
2432
+  'context_optional' => 0,
2433
+  'panel' => '0',
2434
+  'fixed' => '',
2435
+  'label' => 'BOINC: Team ID',
2436
+),
2437
+));
2438
+$handler->override_option('link_to_view', 0);
2439
+$handler->override_option('inherit_panels_path', 0);
2440 2440
 
2441
-  $views[$view->name] = $view;
2441
+$views[$view->name] = $view;
2442 2442
 
2443
-  // Exported view: boinc_teams
2444
-  $view = new view;
2445
-  $view->name = 'boinc_teams';
2446
-  $view->description = '';
2447
-  $view->tag = '';
2448
-  $view->base_table = 'team';
2449
-  $view->core = 6;
2450
-  $view->api_version = '2';
2451
-  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
2452
-  $handler = $view->new_display('default', 'Defaults', 'default');
2453
-  $handler->override_option('fields', array(
2454
-    'rownumber' => array(
2455
-      'label' => 'Rank',
2456
-      'alter' => array(
2457
-        'alter_text' => 0,
2458
-        'text' => '',
2459
-        'make_link' => 0,
2460
-        'path' => '',
2461
-        'absolute' => 0,
2462
-        'link_class' => '',
2463
-        'alt' => '',
2464
-        'rel' => '',
2465
-        'prefix' => '',
2466
-        'suffix' => '',
2467
-        'target' => '',
2468
-        'help' => '',
2469
-        'trim' => 0,
2470
-        'max_length' => '',
2471
-        'word_boundary' => 1,
2472
-        'ellipsis' => 1,
2473
-        'html' => 0,
2474
-        'strip_tags' => 0,
2475
-      ),
2476
-      'empty' => '',
2477
-      'hide_empty' => 0,
2478
-      'empty_zero' => 0,
2479
-      'hide_alter_empty' => 1,
2480
-      'exclude' => 0,
2481
-      'id' => 'rownumber',
2482
-      'table' => 'customfield',
2483
-      'field' => 'rownumber',
2484
-      'relationship' => 'none',
2485
-    ),
2486
-    'id' => array(
2487
-      'label' => 'Id',
2488
-      'alter' => array(
2489
-        'alter_text' => 0,
2490
-        'text' => '',
2491
-        'make_link' => 0,
2492
-        'path' => '',
2493
-        'absolute' => 0,
2494
-        'link_class' => '',
2495
-        'alt' => '',
2496
-        'rel' => '',
2497
-        'prefix' => '',
2498
-        'suffix' => '',
2499
-        'target' => '',
2500
-        'help' => '',
2501
-        'trim' => 0,
2502
-        'max_length' => '',
2503
-        'word_boundary' => 1,
2504
-        'ellipsis' => 1,
2505
-        'html' => 0,
2506
-        'strip_tags' => 0,
2507
-      ),
2508
-      'empty' => '',
2509
-      'hide_empty' => 0,
2510
-      'empty_zero' => 0,
2511
-      'hide_alter_empty' => 1,
2512
-      'set_precision' => FALSE,
2513
-      'precision' => 0,
2514
-      'decimal' => '.',
2515
-      'separator' => '',
2516
-      'format_plural' => 0,
2517
-      'format_plural_singular' => '1',
2518
-      'format_plural_plural' => '@count',
2519
-      'prefix' => '',
2520
-      'suffix' => '',
2521
-      'exclude' => 1,
2522
-      'id' => 'id',
2523
-      'table' => 'team',
2524
-      'field' => 'id',
2525
-      'relationship' => 'none',
2526
-    ),
2527
-    'name' => array(
2528
-      'label' => 'Name',
2529
-      'alter' => array(
2530
-        'alter_text' => 0,
2531
-        'text' => '',
2532
-        'make_link' => 0,
2533
-        'path' => 'community/teams/[id]',
2534
-        'absolute' => 0,
2535
-        'link_class' => '',
2536
-        'alt' => '',
2537
-        'rel' => '',
2538
-        'prefix' => '',
2539
-        'suffix' => '',
2540
-        'target' => '',
2541
-        'help' => '',
2542
-        'trim' => 0,
2543
-        'max_length' => '',
2544
-        'word_boundary' => 1,
2545
-        'ellipsis' => 1,
2546
-        'html' => 0,
2547
-        'strip_tags' => 0,
2548
-      ),
2549
-      'empty' => '',
2550
-      'hide_empty' => 0,
2551
-      'empty_zero' => 0,
2552
-      'hide_alter_empty' => 1,
2553
-      'exclude' => 1,
2554
-      'id' => 'name',
2555
-      'table' => 'team',
2556
-      'field' => 'name',
2557
-      'relationship' => 'none',
2558
-    ),
2559
-    'phpcode' => array(
2560
-      'label' => 'Name',
2561
-      'alter' => array(
2562
-        'alter_text' => 0,
2563
-        'text' => '',
2564
-        'make_link' => 0,
2565
-        'path' => '',
2566
-        'absolute' => 0,
2567
-        'link_class' => '',
2568
-        'alt' => '',
2569
-        'rel' => '',
2570
-        'prefix' => '',
2571
-        'suffix' => '',
2572
-        'target' => '',
2573
-        'help' => '',
2574
-        'trim' => 0,
2575
-        'max_length' => '',
2576
-        'word_boundary' => 1,
2577
-        'ellipsis' => 1,
2578
-        'html' => 0,
2579
-        'strip_tags' => 0,
2580
-      ),
2581
-      'empty' => '',
2582
-      'hide_empty' => 0,
2583
-      'empty_zero' => 0,
2584
-      'hide_alter_empty' => 1,
2585
-      'value' => '<?php
2443
+// Exported view: boinc_teams
2444
+$view = new view;
2445
+$view->name = 'boinc_teams';
2446
+$view->description = '';
2447
+$view->tag = '';
2448
+$view->base_table = 'team';
2449
+$view->core = 6;
2450
+$view->api_version = '2';
2451
+$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
2452
+$handler = $view->new_display('default', 'Defaults', 'default');
2453
+$handler->override_option('fields', array(
2454
+'rownumber' => array(
2455
+  'label' => 'Rank',
2456
+  'alter' => array(
2457
+    'alter_text' => 0,
2458
+    'text' => '',
2459
+    'make_link' => 0,
2460
+    'path' => '',
2461
+    'absolute' => 0,
2462
+    'link_class' => '',
2463
+    'alt' => '',
2464
+    'rel' => '',
2465
+    'prefix' => '',
2466
+    'suffix' => '',
2467
+    'target' => '',
2468
+    'help' => '',
2469
+    'trim' => 0,
2470
+    'max_length' => '',
2471
+    'word_boundary' => 1,
2472
+    'ellipsis' => 1,
2473
+    'html' => 0,
2474
+    'strip_tags' => 0,
2475
+  ),
2476
+  'empty' => '',
2477
+  'hide_empty' => 0,
2478
+  'empty_zero' => 0,
2479
+  'hide_alter_empty' => 1,
2480
+  'exclude' => 0,
2481
+  'id' => 'rownumber',
2482
+  'table' => 'customfield',
2483
+  'field' => 'rownumber',
2484
+  'relationship' => 'none',
2485
+),
2486
+'id' => array(
2487
+  'label' => 'Id',
2488
+  'alter' => array(
2489
+    'alter_text' => 0,
2490
+    'text' => '',
2491
+    'make_link' => 0,
2492
+    'path' => '',
2493
+    'absolute' => 0,
2494
+    'link_class' => '',
2495
+    'alt' => '',
2496
+    'rel' => '',
2497
+    'prefix' => '',
2498
+    'suffix' => '',
2499
+    'target' => '',
2500
+    'help' => '',
2501
+    'trim' => 0,
2502
+    'max_length' => '',
2503
+    'word_boundary' => 1,
2504
+    'ellipsis' => 1,
2505
+    'html' => 0,
2506
+    'strip_tags' => 0,
2507
+  ),
2508
+  'empty' => '',
2509
+  'hide_empty' => 0,
2510
+  'empty_zero' => 0,
2511
+  'hide_alter_empty' => 1,
2512
+  'set_precision' => FALSE,
2513
+  'precision' => 0,
2514
+  'decimal' => '.',
2515
+  'separator' => '',
2516
+  'format_plural' => 0,
2517
+  'format_plural_singular' => '1',
2518
+  'format_plural_plural' => '@count',
2519
+  'prefix' => '',
2520
+  'suffix' => '',
2521
+  'exclude' => 1,
2522
+  'id' => 'id',
2523
+  'table' => 'team',
2524
+  'field' => 'id',
2525
+  'relationship' => 'none',
2526
+),
2527
+'name' => array(
2528
+  'label' => 'Name',
2529
+  'alter' => array(
2530
+    'alter_text' => 0,
2531
+    'text' => '',
2532
+    'make_link' => 0,
2533
+    'path' => 'community/teams/[id]',
2534
+    'absolute' => 0,
2535
+    'link_class' => '',
2536
+    'alt' => '',
2537
+    'rel' => '',
2538
+    'prefix' => '',
2539
+    'suffix' => '',
2540
+    'target' => '',
2541
+    'help' => '',
2542
+    'trim' => 0,
2543
+    'max_length' => '',
2544
+    'word_boundary' => 1,
2545
+    'ellipsis' => 1,
2546
+    'html' => 0,
2547
+    'strip_tags' => 0,
2548
+  ),
2549
+  'empty' => '',
2550
+  'hide_empty' => 0,
2551
+  'empty_zero' => 0,
2552
+  'hide_alter_empty' => 1,
2553
+  'exclude' => 1,
2554
+  'id' => 'name',
2555
+  'table' => 'team',
2556
+  'field' => 'name',
2557
+  'relationship' => 'none',
2558
+),
2559
+'phpcode' => array(
2560
+  'label' => 'Name',
2561
+  'alter' => array(
2562
+    'alter_text' => 0,
2563
+    'text' => '',
2564
+    'make_link' => 0,
2565
+    'path' => '',
2566
+    'absolute' => 0,
2567
+    'link_class' => '',
2568
+    'alt' => '',
2569
+    'rel' => '',
2570
+    'prefix' => '',
2571
+    'suffix' => '',
2572
+    'target' => '',
2573
+    'help' => '',
2574
+    'trim' => 0,
2575
+    'max_length' => '',
2576
+    'word_boundary' => 1,
2577
+    'ellipsis' => 1,
2578
+    'html' => 0,
2579
+    'strip_tags' => 0,
2580
+  ),
2581
+  'empty' => '',
2582
+  'hide_empty' => 0,
2583
+  'empty_zero' => 0,
2584
+  'hide_alter_empty' => 1,
2585
+  'value' => '<?php
2586 2586
   $team_id = boincteam_lookup_nid($data->id);
2587 2587
   echo l($data->team_name, "community/teams/{$team_id}");
2588 2588
 ?>',
2589
-      'exclude' => 0,
2590
-      'id' => 'phpcode',
2591
-      'table' => 'customfield',
2592
-      'field' => 'phpcode',
2593
-      'relationship' => 'none',
2594
-    ),
2595
-    'expavg_credit' => array(
2596
-      'label' => 'Recent average credit',
2597
-      'alter' => array(
2598
-        'alter_text' => 0,
2599
-        'text' => '',
2600
-        'make_link' => 0,
2601
-        'path' => '',
2602
-        'absolute' => 0,
2603
-        'link_class' => '',
2604
-        'alt' => '',
2605
-        'rel' => '',
2606
-        'prefix' => '',
2607
-        'suffix' => '',
2608
-        'target' => '',
2609
-        'help' => '',
2610
-        'trim' => 0,
2611
-        'max_length' => '',
2612
-        'word_boundary' => 1,
2613
-        'ellipsis' => 1,
2614
-        'html' => 0,
2615
-        'strip_tags' => 0,
2616
-      ),
2617
-      'empty' => '',
2618
-      'hide_empty' => 0,
2619
-      'empty_zero' => 0,
2620
-      'hide_alter_empty' => 1,
2621
-      'set_precision' => 1,
2622
-      'precision' => '2',
2623
-      'decimal' => '.',
2624
-      'separator' => ',',
2625
-      'format_plural' => 0,
2626
-      'format_plural_singular' => '1',
2627
-      'format_plural_plural' => '@count',
2628
-      'prefix' => '',
2629
-      'suffix' => '',
2630
-      'exclude' => 0,
2631
-      'id' => 'expavg_credit',
2632
-      'table' => 'team',
2633
-      'field' => 'expavg_credit',
2634
-      'relationship' => 'none',
2635
-    ),
2636
-    'total_credit' => array(
2637
-      'label' => 'Total Credit',
2638
-      'alter' => array(
2639
-        'alter_text' => 0,
2640
-        'text' => '',
2641
-        'make_link' => 0,
2642
-        'path' => '',
2643
-        'absolute' => 0,
2644
-        'link_class' => '',
2645
-        'alt' => '',
2646
-        'rel' => '',
2647
-        'prefix' => '',
2648
-        'suffix' => '',
2649
-        'target' => '',
2650
-        'help' => '',
2651
-        'trim' => 0,
2652
-        'max_length' => '',
2653
-        'word_boundary' => 1,
2654
-        'ellipsis' => 1,
2655
-        'html' => 0,
2656
-        'strip_tags' => 0,
2657
-      ),
2658
-      'empty' => '',
2659
-      'hide_empty' => 0,
2660
-      'empty_zero' => 0,
2661
-      'hide_alter_empty' => 1,
2662
-      'set_precision' => 1,
2663
-      'precision' => '0',
2664
-      'decimal' => '.',
2665
-      'separator' => ',',
2666
-      'format_plural' => 0,
2667
-      'format_plural_singular' => '1',
2668
-      'format_plural_plural' => '@count',
2669
-      'prefix' => '',
2670
-      'suffix' => '',
2671
-      'exclude' => 0,
2672
-      'id' => 'total_credit',
2673
-      'table' => 'team',
2674
-      'field' => 'total_credit',
2675
-      'relationship' => 'none',
2676
-    ),
2677
-    'country' => array(
2678
-      'id' => 'country',
2679
-      'table' => 'team',
2680
-      'field' => 'country',
2681
-    ),
2682
-    'nusers' => array(
2683
-      'id' => 'nusers',
2684
-      'table' => 'team',
2685
-      'field' => 'nusers',
2686
-    ),
2687
-  ));
2688
-  $handler->override_option('arguments', array(
2689
-    'id' => array(
2690
-      'default_action' => 'ignore',
2691
-      'style_plugin' => 'default_summary',
2692
-      'style_options' => array(),
2693
-      'wildcard' => 'all',
2694
-      'wildcard_substitution' => 'All',
2695
-      'title' => '',
2696
-      'breadcrumb' => '',
2697
-      'default_argument_type' => 'fixed',
2698
-      'default_argument' => '',
2699
-      'validate_type' => 'numeric',
2700
-      'validate_fail' => 'not found',
2701
-      'break_phrase' => 0,
2702
-      'not' => 0,
2703
-      'id' => 'id',
2704
-      'table' => 'team',
2705
-      'field' => 'id',
2706
-      'validate_user_argument_type' => 'uid',
2707
-      'validate_user_roles' => array(
2708
-        2 => 0,
2709
-        3519698132 => 0,
2710
-        1110965548 => 0,
2711
-        2938987599 => 0,
2712
-        1257454314 => 0,
2713
-        268174006 => 0,
2714
-        1271379760 => 0,
2715
-        933038561 => 0,
2716
-      ),
2717
-      'me_redirect' => 0,
2718
-      'me_validate_user_argument_type' => 'uid',
2719
-      'me_validate_user_roles' => array(
2720
-        2 => 0,
2721
-        3519698132 => 0,
2722
-        1110965548 => 0,
2723
-        2938987599 => 0,
2724
-        1257454314 => 0,
2725
-        268174006 => 0,
2726
-        1271379760 => 0,
2727
-        933038561 => 0,
2728
-      ),
2729
-      'relationship' => 'none',
2730
-      'default_options_div_prefix' => '',
2731
-      'default_taxonomy_tid_term_page' => 0,
2732
-      'default_taxonomy_tid_node' => 0,
2733
-      'default_taxonomy_tid_limit' => 0,
2734
-      'default_taxonomy_tid_vids' => array(
2735
-        1 => 0,
2736
-        2 => 0,
2737
-      ),
2738
-      'default_argument_user' => 0,
2739
-      'default_argument_fixed' => '',
2740
-      'default_argument_php' => '',
2741
-      'validate_argument_node_type' => array(
2742
-        'page' => 0,
2743
-        'news' => 0,
2744
-        'profile' => 0,
2745
-        'forum' => 0,
2746
-        'panel' => 0,
2747
-        'story' => 0,
2748
-        'team' => 0,
2749
-      ),
2750
-      'validate_argument_node_access' => 0,
2751
-      'validate_argument_nid_type' => 'nid',
2752
-      'validate_argument_vocabulary' => array(
2753
-        1 => 0,
2754
-        2 => 0,
2755
-      ),
2756
-      'validate_argument_type' => 'tid',
2757
-      'validate_argument_transform' => 0,
2758
-      'validate_user_restrict_roles' => 0,
2759
-      'validate_argument_node_flag_name' => '*relationship*',
2760
-      'validate_argument_node_flag_test' => 'flaggable',
2761
-      'validate_argument_node_flag_id_type' => 'id',
2762
-      'validate_argument_user_flag_name' => '*relationship*',
2763
-      'validate_argument_user_flag_test' => 'flaggable',
2764
-      'validate_argument_user_flag_id_type' => 'id',
2765
-      'validate_argument_php' => '',
2766
-      'me_validate_user_restrict_roles' => 0,
2767
-    ),
2768
-  ));
2769
-  $handler->override_option('access', array(
2770
-    'type' => 'none',
2771
-  ));
2772
-  $handler->override_option('cache', array(
2773
-    'type' => 'none',
2774
-  ));
2775
-  $handler->override_option('header_format', '1');
2776
-  $handler->override_option('header_empty', 1);
2777
-  $handler = $view->new_display('panel_pane', 'Top teams overview pane', 'panel_pane_1');
2778
-  $handler->override_option('filters', array(
2779
-    'total_credit' => array(
2780
-      'operator' => '>=',
2781
-      'value' => array(
2782
-        'value' => '1',
2783
-        'min' => '',
2784
-        'max' => '',
2785
-      ),
2786
-      'group' => '0',
2787
-      'exposed' => FALSE,
2788
-      'expose' => array(
2789
-        'operator' => FALSE,
2790
-        'label' => '',
2791
-      ),
2792
-      'id' => 'total_credit',
2793
-      'table' => 'team',
2794
-      'field' => 'total_credit',
2795
-      'override' => array(
2796
-        'button' => 'Use default',
2797
-      ),
2798
-      'relationship' => 'none',
2799
-    ),
2800
-  ));
2801
-  $handler->override_option('use_more', 1);
2802
-  $handler->override_option('use_more_always', 1);
2803
-  $handler->override_option('use_more_text', 'view more');
2804
-  $handler->override_option('style_plugin', 'table');
2805
-  $handler->override_option('style_options', array(
2806
-    'grouping' => '',
2807
-    'override' => 1,
2808
-    'sticky' => 1,
2809
-    'order' => 'desc',
2810
-    'summary' => '',
2811
-    'columns' => array(
2812
-      'rownumber' => 'rownumber',
2813
-      'id' => 'id',
2814
-      'name' => 'name',
2815
-      'phpcode' => 'phpcode',
2816
-      'expavg_credit' => 'expavg_credit',
2817
-      'total_credit' => 'total_credit',
2818
-      'country' => 'country',
2819
-      'nusers' => 'nusers',
2820
-    ),
2821
-    'info' => array(
2822
-      'rownumber' => array(
2823
-        'separator' => '',
2824
-      ),
2825
-      'id' => array(
2826
-        'sortable' => 1,
2827
-        'separator' => '',
2828
-      ),
2829
-      'name' => array(
2830
-        'sortable' => 1,
2831
-        'separator' => '',
2832
-      ),
2833
-      'phpcode' => array(
2834
-        'separator' => '',
2835
-      ),
2836
-      'expavg_credit' => array(
2837
-        'sortable' => 1,
2838
-        'separator' => '',
2839
-      ),
2840
-      'total_credit' => array(
2841
-        'sortable' => 1,
2842
-        'separator' => '',
2843
-      ),
2844
-      'country' => array(
2845
-        'sortable' => 0,
2846
-        'separator' => '',
2847
-      ),
2848
-      'nusers' => array(
2849
-        'sortable' => 1,
2850
-        'separator' => '',
2851
-      ),
2852
-    ),
2853
-    'default' => 'expavg_credit',
2854
-  ));
2855
-  $handler->override_option('pane_title', '');
2856
-  $handler->override_option('pane_description', '');
2857
-  $handler->override_option('pane_category', array(
2858
-    'name' => 'View panes',
2859
-    'weight' => 0,
2860
-  ));
2861
-  $handler->override_option('allow', array(
2862
-    'use_pager' => 'use_pager',
2863
-    'items_per_page' => 'items_per_page',
2864
-    'offset' => 0,
2865
-    'link_to_view' => 'link_to_view',
2866
-    'more_link' => 'more_link',
2867
-    'path_override' => 0,
2868
-    'title_override' => 'title_override',
2869
-    'exposed_form' => 0,
2870
-    'fields_override' => 0,
2871
-  ));
2872
-  $handler->override_option('argument_input', array());
2873
-  $handler->override_option('link_to_view', 0);
2874
-  $handler->override_option('inherit_panels_path', 0);
2875
-  $handler = $view->new_display('page', 'Page', 'page_1');
2876
-  $handler->override_option('filters', array(
2877
-    'total_credit' => array(
2878
-      'operator' => '>=',
2879
-      'value' => array(
2880
-        'value' => '1',
2881
-        'min' => '',
2882
-        'max' => '',
2883
-      ),
2884
-      'group' => '0',
2885
-      'exposed' => FALSE,
2886
-      'expose' => array(
2887
-        'operator' => FALSE,
2888
-        'label' => '',
2889
-      ),
2890
-      'id' => 'total_credit',
2891
-      'table' => 'team',
2892
-      'field' => 'total_credit',
2893
-      'override' => array(
2894
-        'button' => 'Use default',
2895
-      ),
2896
-      'relationship' => 'none',
2897
-    ),
2898
-  ));
2899
-  $handler->override_option('items_per_page', 100);
2900
-  $handler->override_option('use_pager', '0');
2901
-  $handler->override_option('style_plugin', 'table');
2902
-  $handler->override_option('style_options', array(
2903
-    'grouping' => '',
2904
-    'override' => 1,
2905
-    'sticky' => 1,
2906
-    'order' => 'desc',
2907
-    'summary' => '',
2908
-    'columns' => array(
2909
-      'rownumber' => 'rownumber',
2910
-      'id' => 'id',
2911
-      'name' => 'name',
2912
-      'phpcode' => 'phpcode',
2913
-      'expavg_credit' => 'expavg_credit',
2914
-      'total_credit' => 'total_credit',
2915
-      'country' => 'country',
2916
-      'nusers' => 'nusers',
2917
-    ),
2918
-    'info' => array(
2919
-      'rownumber' => array(
2920
-        'separator' => '',
2921
-      ),
2922
-      'id' => array(
2923
-        'sortable' => 1,
2924
-        'separator' => '',
2925
-      ),
2926
-      'name' => array(
2927
-        'sortable' => 1,
2928
-        'separator' => '',
2929
-      ),
2930
-      'phpcode' => array(
2931
-        'separator' => '',
2932
-      ),
2933
-      'expavg_credit' => array(
2934
-        'sortable' => 1,
2935
-        'separator' => '',
2936
-      ),
2937
-      'total_credit' => array(
2938
-        'sortable' => 1,
2939
-        'separator' => '',
2940
-      ),
2941
-      'country' => array(
2942
-        'sortable' => 0,
2943
-        'separator' => '',
2944
-      ),
2945
-      'nusers' => array(
2946
-        'sortable' => 1,
2947
-        'separator' => '',
2948
-      ),
2949
-    ),
2950
-    'default' => 'expavg_credit',
2951
-  ));
2952
-  $handler->override_option('path', 'community/stats/teams');
2953
-  $handler->override_option('menu', array(
2954
-    'type' => 'tab',
2955
-    'title' => 'Top Teams',
2956
-    'description' => '',
2957
-    'weight' => '10',
2958
-    'name' => 'primary-links',
2959
-  ));
2960
-  $handler->override_option('tab_options', array(
2961
-    'type' => 'none',
2962
-    'title' => '',
2963
-    'description' => '',
2964
-    'weight' => 0,
2965
-    'name' => 'navigation',
2966
-  ));
2967
-  $handler = $view->new_display('panel_pane', 'Team history', 'panel_pane_2');
2968
-  $handler->override_option('relationships', array(
2969
-    'id' => array(
2970
-      'label' => 'Team History',
2971
-      'required' => 0,
2972
-      'id' => 'id',
2973
-      'table' => 'team',
2974
-      'field' => 'id',
2975
-      'override' => array(
2976
-        'button' => 'Use default',
2977
-      ),
2978
-      'relationship' => 'none',
2979
-    ),
2980
-    'userid' => array(
2981
-      'label' => 'User (Team History)',
2982
-      'required' => 0,
2983
-      'id' => 'userid',
2984
-      'table' => 'team_delta',
2985
-      'field' => 'userid',
2986
-      'relationship' => 'id',
2987
-      'override' => array(
2988
-        'button' => 'Use default',
2989
-      ),
2990
-    ),
2991
-  ));
2992
-  $handler->override_option('fields', array(
2993
-    'userid' => array(
2994
-      'label' => 'User ID',
2995
-      'alter' => array(
2996
-        'alter_text' => 0,
2997
-        'text' => '',
2998
-        'make_link' => 0,
2999
-        'path' => '',
3000
-        'absolute' => 0,
3001
-        'link_class' => '',
3002
-        'alt' => '',
3003
-        'rel' => '',
3004
-        'prefix' => '',
3005
-        'suffix' => '',
3006
-        'target' => '',
3007
-        'help' => '',
3008
-        'trim' => 0,
3009
-        'max_length' => '',
3010
-        'word_boundary' => 1,
3011
-        'ellipsis' => 1,
3012
-        'html' => 0,
3013
-        'strip_tags' => 0,
3014
-      ),
3015
-      'empty' => '',
3016
-      'hide_empty' => 0,
3017
-      'empty_zero' => 0,
3018
-      'hide_alter_empty' => 1,
3019
-      'set_precision' => FALSE,
3020
-      'precision' => 0,
3021
-      'decimal' => '.',
3022
-      'separator' => '',
3023
-      'format_plural' => 0,
3024
-      'format_plural_singular' => '1',
3025
-      'format_plural_plural' => '@count',
3026
-      'prefix' => '',
3027
-      'suffix' => '',
3028
-      'exclude' => 0,
3029
-      'id' => 'userid',
3030
-      'table' => 'team_delta',
3031
-      'field' => 'userid',
3032
-      'override' => array(
3033
-        'button' => 'Use default',
3034
-      ),
3035
-      'relationship' => 'id',
3036
-    ),
3037
-    'timestamp' => array(
3038
-      'label' => 'Timestamp',
3039
-      'alter' => array(
3040
-        'alter_text' => 0,
3041
-        'text' => '',
3042
-        'make_link' => 0,
3043
-        'path' => '',
3044
-        'absolute' => 0,
3045
-        'link_class' => '',
3046
-        'alt' => '',
3047
-        'rel' => '',
3048
-        'prefix' => '',
3049
-        'suffix' => '',
3050
-        'target' => '',
3051
-        'help' => '',
3052
-        'trim' => 0,
3053
-        'max_length' => '',
3054
-        'word_boundary' => 1,
3055
-        'ellipsis' => 1,
3056
-        'html' => 0,
3057
-        'strip_tags' => 0,
3058
-      ),
3059
-      'empty' => '',
3060
-      'hide_empty' => 0,
3061
-      'empty_zero' => 0,
3062
-      'hide_alter_empty' => 1,
3063
-      'date_format' => 'custom',
3064
-      'custom_date_format' => 'j M Y G:i:s T',
3065
-      'exclude' => 0,
3066
-      'id' => 'timestamp',
3067
-      'table' => 'team_delta',
3068
-      'field' => 'timestamp',
3069
-      'override' => array(
3070
-        'button' => 'Use default',
3071
-      ),
3072
-      'relationship' => 'id',
3073
-    ),
3074
-    'name' => array(
3075
-      'label' => 'Name',
3076
-      'alter' => array(
3077
-        'alter_text' => 0,
3078
-        'text' => '',
3079
-        'make_link' => 0,
3080
-        'path' => '',
3081
-        'absolute' => 0,
3082
-        'link_class' => '',
3083
-        'alt' => '',
3084
-        'rel' => '',
3085
-        'prefix' => '',
3086
-        'suffix' => '',
3087
-        'target' => '',
3088
-        'help' => '',
3089
-        'trim' => 0,
3090
-        'max_length' => '',
3091
-        'word_boundary' => 1,
3092
-        'ellipsis' => 1,
3093
-        'html' => 0,
3094
-        'strip_tags' => 0,
3095
-      ),
3096
-      'empty' => '',
3097
-      'hide_empty' => 0,
3098
-      'empty_zero' => 0,
3099
-      'hide_alter_empty' => 1,
3100
-      'exclude' => 0,
3101
-      'id' => 'name',
3102
-      'table' => 'user',
3103
-      'field' => 'name',
3104
-      'relationship' => 'userid',
3105
-      'override' => array(
3106
-        'button' => 'Use default',
3107
-      ),
3108
-    ),
3109
-    'joining' => array(
3110
-      'label' => 'User joined',
3111
-      'alter' => array(
3112
-        'alter_text' => 0,
3113
-        'text' => '',
3114
-        'make_link' => 0,
3115
-        'path' => '',
3116
-        'absolute' => 0,
3117
-        'link_class' => '',
3118
-        'alt' => '',
3119
-        'rel' => '',
3120
-        'prefix' => '',
3121
-        'suffix' => '',
3122
-        'target' => '',
3123
-        'help' => '',
3124
-        'trim' => 0,
3125
-        'max_length' => '',
3126
-        'word_boundary' => 1,
3127
-        'ellipsis' => 1,
3128
-        'html' => 0,
3129
-        'strip_tags' => 0,
3130
-      ),
3131
-      'empty' => '0',
3132
-      'hide_empty' => 0,
3133
-      'empty_zero' => 0,
3134
-      'hide_alter_empty' => 0,
3135
-      'set_precision' => FALSE,
3136
-      'precision' => 0,
3137
-      'decimal' => '.',
3138
-      'separator' => '',
3139
-      'format_plural' => 0,
3140
-      'format_plural_singular' => '1',
3141
-      'format_plural_plural' => '@count',
3142
-      'prefix' => '',
3143
-      'suffix' => '',
3144
-      'exclude' => 0,
3145
-      'id' => 'joining',
3146
-      'table' => 'team_delta',
3147
-      'field' => 'joining',
3148
-      'override' => array(
3149
-        'button' => 'Use default',
3150
-      ),
3151
-      'relationship' => 'id',
3152
-    ),
3153
-    'total_credit' => array(
3154
-      'label' => 'Total Credit',
3155
-      'alter' => array(
3156
-        'alter_text' => 0,
3157
-        'text' => '',
3158
-        'make_link' => 0,
3159
-        'path' => '',
3160
-        'absolute' => 0,
3161
-        'link_class' => '',
3162
-        'alt' => '',
3163
-        'rel' => '',
3164
-        'prefix' => '',
3165
-        'suffix' => '',
3166
-        'target' => '',
3167
-        'help' => '',
3168
-        'trim' => 0,
3169
-        'max_length' => '',
3170
-        'word_boundary' => 1,
3171
-        'ellipsis' => 1,
3172
-        'html' => 0,
3173
-        'strip_tags' => 0,
3174
-      ),
3175
-      'empty' => '',
3176
-      'hide_empty' => 0,
3177
-      'empty_zero' => 0,
3178
-      'hide_alter_empty' => 1,
3179
-      'set_precision' => 1,
3180
-      'precision' => '0',
3181
-      'decimal' => '.',
3182
-      'separator' => ',',
3183
-      'format_plural' => 0,
3184
-      'format_plural_singular' => '1',
3185
-      'format_plural_plural' => '@count',
3186
-      'prefix' => '',
3187
-      'suffix' => '',
3188
-      'exclude' => 0,
3189
-      'id' => 'total_credit',
3190
-      'table' => 'team_delta',
3191
-      'field' => 'total_credit',
3192
-      'override' => array(
3193
-        'button' => 'Use default',
3194
-      ),
3195
-      'relationship' => 'id',
3196
-    ),
3197
-  ));
3198
-  $handler->override_option('arguments', array(
3199
-    'id' => array(
3200
-      'default_action' => 'not found',
3201
-      'style_plugin' => 'default_summary',
3202
-      'style_options' => array(),
3203
-      'wildcard' => 'all',
3204
-      'wildcard_substitution' => 'All',
3205
-      'title' => '',
3206
-      'breadcrumb' => '',
3207
-      'default_argument_type' => 'fixed',
3208
-      'default_argument' => '',
3209
-      'validate_type' => 'numeric',
3210
-      'validate_fail' => 'not found',
3211
-      'break_phrase' => 0,
3212
-      'not' => 0,
3213
-      'id' => 'id',
3214
-      'table' => 'team',
3215
-      'field' => 'id',
3216
-      'validate_user_argument_type' => 'uid',
3217
-      'validate_user_roles' => array(
3218
-        2 => 0,
3219
-        3519698132 => 0,
3220
-        1110965548 => 0,
3221
-        2938987599 => 0,
3222
-        1257454314 => 0,
3223
-        268174006 => 0,
3224
-        1271379760 => 0,
3225
-        933038561 => 0,
3226
-      ),
3227
-      'me_redirect' => 0,
3228
-      'me_validate_user_argument_type' => 'uid',
3229
-      'me_validate_user_roles' => array(
3230
-        2 => 0,
3231
-        3519698132 => 0,
3232
-        1110965548 => 0,
3233
-        2938987599 => 0,
3234
-        1257454314 => 0,
3235
-        268174006 => 0,
3236
-        1271379760 => 0,
3237
-        933038561 => 0,
3238
-      ),
3239
-      'override' => array(
3240
-        'button' => 'Use default',
3241
-      ),
3242
-      'relationship' => 'none',
3243
-      'default_options_div_prefix' => '',
3244
-      'default_taxonomy_tid_term_page' => 0,
3245
-      'default_taxonomy_tid_node' => 0,
3246
-      'default_taxonomy_tid_limit' => 0,
3247
-      'default_taxonomy_tid_vids' => array(
3248
-        1 => 0,
3249
-        2 => 0,
3250
-      ),
3251
-      'default_argument_user' => 0,
3252
-      'default_argument_fixed' => '',
3253
-      'default_argument_php' => '',
3254
-      'validate_argument_node_type' => array(
3255
-        'page' => 0,
3256
-        'news' => 0,
3257
-        'profile' => 0,
3258
-        'forum' => 0,
3259
-        'panel' => 0,
3260
-        'story' => 0,
3261
-        'team' => 0,
3262
-      ),
3263
-      'validate_argument_node_access' => 0,
3264
-      'validate_argument_nid_type' => 'nid',
3265
-      'validate_argument_vocabulary' => array(
3266
-        1 => 0,
3267
-        2 => 0,
3268
-      ),
3269
-      'validate_argument_type' => 'tid',
3270
-      'validate_argument_transform' => 0,
3271
-      'validate_user_restrict_roles' => 0,
3272
-      'validate_argument_node_flag_name' => '*relationship*',
3273
-      'validate_argument_node_flag_test' => 'flaggable',
3274
-      'validate_argument_node_flag_id_type' => 'id',
3275
-      'validate_argument_user_flag_name' => '*relationship*',
3276
-      'validate_argument_user_flag_test' => 'flaggable',
3277
-      'validate_argument_user_flag_id_type' => 'id',
3278
-      'validate_argument_php' => '',
3279
-      'me_validate_user_restrict_roles' => 0,
3280
-    ),
3281
-  ));
3282
-  $handler->override_option('style_plugin', 'table');
3283
-  $handler->override_option('style_options', array(
3284
-    'grouping' => '',
3285
-    'override' => 1,
3286
-    'sticky' => 1,
3287
-    'order' => 'asc',
3288
-    'summary' => '',
3289
-    'columns' => array(
3290
-      'timestamp' => 'timestamp',
3291
-      'total_credit' => 'total_credit',
3292
-      'userid' => 'userid',
3293
-      'joining' => 'joining',
3294
-    ),
3295
-    'info' => array(
3296
-      'timestamp' => array(
3297
-        'sortable' => 0,
3298
-        'separator' => '',
3299
-      ),
3300
-      'total_credit' => array(
3301
-        'sortable' => 0,
3302
-        'separator' => '',
3303
-      ),
3304
-      'userid' => array(
3305
-        'sortable' => 0,
3306
-        'separator' => '',
3307
-      ),
3308
-      'joining' => array(
3309
-        'sortable' => 0,
3310
-        'separator' => '',
3311
-      ),
3312
-    ),
3313
-    'default' => 'timestamp',
3314
-  ));
3315
-  $handler->override_option('pane_title', 'Team history');
3316
-  $handler->override_option('pane_description', '');
3317
-  $handler->override_option('pane_category', array(
3318
-    'name' => 'View panes',
3319
-    'weight' => 0,
3320
-  ));
3321
-  $handler->override_option('allow', array(
3322
-    'use_pager' => 0,
3323
-    'items_per_page' => 'items_per_page',
3324
-    'offset' => 0,
3325
-    'link_to_view' => 0,
3326
-    'more_link' => 0,
3327
-    'path_override' => 0,
3328
-    'title_override' => 'title_override',
3329
-    'exposed_form' => 0,
3330
-    'fields_override' => 0,
3331
-  ));
3332
-  $handler->override_option('argument_input', array(
3333
-    'id' => array(
3334
-      'type' => 'panel',
3335
-      'context' => 'term.description',
3336
-      'context_optional' => 0,
3337
-      'panel' => '0',
3338
-      'fixed' => '',
3339
-      'label' => 'BOINC: Id',
3340
-    ),
3341
-  ));
3342
-  $handler->override_option('link_to_view', 0);
3343
-  $handler->override_option('inherit_panels_path', 0);
3344
-  $handler = $view->new_display('panel_pane', 'Team admins', 'panel_pane_3');
3345
-  $handler->override_option('relationships', array(
3346
-    'userid' => array(
3347
-      'label' => 'User',
3348
-      'required' => 0,
3349
-      'id' => 'userid',
3350
-      'table' => 'team_admin',
3351
-      'field' => 'userid',
3352
-      'override' => array(
3353
-        'button' => 'Use default',
3354
-      ),
3355
-      'relationship' => 'none',
3356
-    ),
3357
-  ));
3358
-  $handler->override_option('fields', array(
3359
-    'teamid' => array(
3360
-      'label' => 'Id',
3361
-      'alter' => array(
3362
-        'alter_text' => 0,
3363
-        'text' => '',
3364
-        'make_link' => 0,
3365
-        'path' => '',
3366
-        'absolute' => 0,
3367
-        'link_class' => '',
3368
-        'alt' => '',
3369
-        'rel' => '',
3370
-        'prefix' => '',
3371
-        'suffix' => '',
3372
-        'target' => '',
3373
-        'help' => '',
3374
-        'trim' => 0,
3375
-        'max_length' => '',
3376
-        'word_boundary' => 1,
3377
-        'ellipsis' => 1,
3378
-        'html' => 0,
3379
-        'strip_tags' => 0,
3380
-      ),
3381
-      'empty' => '',
3382
-      'hide_empty' => 0,
3383
-      'empty_zero' => 0,
3384
-      'hide_alter_empty' => 1,
3385
-      'set_precision' => FALSE,
3386
-      'precision' => 0,
3387
-      'decimal' => '.',
3388
-      'separator' => '',
3389
-      'format_plural' => 0,
3390
-      'format_plural_singular' => '1',
3391
-      'format_plural_plural' => '@count',
3392
-      'prefix' => '',
3393
-      'suffix' => '',
3394
-      'exclude' => 1,
3395
-      'id' => 'teamid',
3396
-      'table' => 'team_admin',
3397
-      'field' => 'teamid',
3398
-      'override' => array(
3399
-        'button' => 'Use default',
3400
-      ),
3401
-      'relationship' => 'none',
3402
-    ),
3403
-    'userid' => array(
3404
-      'label' => 'User ID',
3405
-      'alter' => array(
3406
-        'alter_text' => 0,
3407
-        'text' => '',
3408
-        'make_link' => 0,
3409
-        'path' => '',
3410
-        'absolute' => 0,
3411
-        'link_class' => '',
3412
-        'alt' => '',
3413
-        'rel' => '',
3414
-        'prefix' => '',
3415
-        'suffix' => '',
3416
-        'target' => '',
3417
-        'help' => '',
3418
-        'trim' => 0,
3419
-        'max_length' => '',
3420
-        'word_boundary' => 1,
3421
-        'ellipsis' => 1,
3422
-        'html' => 0,
3423
-        'strip_tags' => 0,
3424
-      ),
3425
-      'empty' => '',
3426
-      'hide_empty' => 0,
3427
-      'empty_zero' => 0,
3428
-      'hide_alter_empty' => 1,
3429
-      'set_precision' => FALSE,
3430
-      'precision' => 0,
3431
-      'decimal' => '.',
3432
-      'separator' => '',
3433
-      'format_plural' => 0,
3434
-      'format_plural_singular' => '1',
3435
-      'format_plural_plural' => '@count',
3436
-      'prefix' => '',
3437
-      'suffix' => '',
3438
-      'exclude' => 1,
3439
-      'id' => 'userid',
3440
-      'table' => 'team_admin',
3441
-      'field' => 'userid',
3442
-      'override' => array(
3443
-        'button' => 'Use default',
3444
-      ),
3445
-      'relationship' => 'none',
3446
-    ),
3447
-    'name' => array(
3448
-      'label' => 'Name',
3449
-      'alter' => array(
3450
-        'alter_text' => 0,
3451
-        'text' => '',
3452
-        'make_link' => 0,
3453
-        'path' => '',
3454
-        'absolute' => 0,
3455
-        'link_class' => '',
3456
-        'alt' => '',
3457
-        'rel' => '',
3458
-        'prefix' => '',
3459
-        'suffix' => '',
3460
-        'target' => '',
3461
-        'help' => '',
3462
-        'trim' => 0,
3463
-        'max_length' => '',
3464
-        'word_boundary' => 1,
3465
-        'ellipsis' => 1,
3466
-        'html' => 0,
3467
-        'strip_tags' => 0,
3468
-      ),
3469
-      'empty' => '',
3470
-      'hide_empty' => 0,
3471
-      'empty_zero' => 0,
3472
-      'hide_alter_empty' => 1,
3473
-      'exclude' => 0,
3474
-      'id' => 'name',
3475
-      'table' => 'user',
3476
-      'field' => 'name',
3477
-      'relationship' => 'userid',
3478
-      'override' => array(
3479
-        'button' => 'Use default',
3480
-      ),
3481
-    ),
3482
-    'create_time' => array(
3483
-      'label' => 'Admin since',
3484
-      'alter' => array(
3485
-        'alter_text' => 0,
3486
-        'text' => '',
3487
-        'make_link' => 0,
3488
-        'path' => '',
3489
-        'absolute' => 0,
3490
-        'link_class' => '',
3491
-        'alt' => '',
3492
-        'rel' => '',
3493
-        'prefix' => '',
3494
-        'suffix' => '',
3495
-        'target' => '',
3496
-        'help' => '',
3497
-        'trim' => 0,
3498
-        'max_length' => '',
3499
-        'word_boundary' => 1,
3500
-        'ellipsis' => 1,
3501
-        'html' => 0,
3502
-        'strip_tags' => 0,
3503
-      ),
3504
-      'empty' => '',
3505
-      'hide_empty' => 0,
3506
-      'empty_zero' => 0,
3507
-      'hide_alter_empty' => 1,
3508
-      'date_format' => 'custom',
3509
-      'custom_date_format' => 'j M Y G:i:s T',
3510
-      'exclude' => 0,
3511
-      'id' => 'create_time',
3512
-      'table' => 'team_admin',
3513
-      'field' => 'create_time',
3514
-      'override' => array(
3515
-        'button' => 'Use default',
3516
-      ),
3517
-      'relationship' => 'none',
3518
-    ),
3519
-    'phpcode' => array(
3520
-      'label' => '',
3521
-      'alter' => array(
3522
-        'alter_text' => 0,
3523
-        'text' => '',
3524
-        'make_link' => 0,
3525
-        'path' => '',
3526
-        'absolute' => 0,
3527
-        'link_class' => '',
3528
-        'alt' => '',
3529
-        'rel' => '',
3530
-        'prefix' => '',
3531
-        'suffix' => '',
3532
-        'target' => '',
3533
-        'help' => '',
3534
-        'trim' => 0,
3535
-        'max_length' => '',
3536
-        'word_boundary' => 1,
3537
-        'ellipsis' => 1,
3538
-        'html' => 0,
3539
-        'strip_tags' => 0,
3540
-      ),
3541
-      'empty' => '',
3542
-      'hide_empty' => 0,
3543
-      'empty_zero' => 0,
3544
-      'hide_alter_empty' => 1,
3545
-      'value' => '<?php
2589
+  'exclude' => 0,
2590
+  'id' => 'phpcode',
2591
+  'table' => 'customfield',
2592
+  'field' => 'phpcode',
2593
+  'relationship' => 'none',
2594
+),
2595
+'expavg_credit' => array(
2596
+  'label' => 'Recent average credit',
2597
+  'alter' => array(
2598
+    'alter_text' => 0,
2599
+    'text' => '',
2600
+    'make_link' => 0,
2601
+    'path' => '',
2602
+    'absolute' => 0,
2603
+    'link_class' => '',
2604
+    'alt' => '',
2605
+    'rel' => '',
2606
+    'prefix' => '',
2607
+    'suffix' => '',
2608
+    'target' => '',
2609
+    'help' => '',
2610
+    'trim' => 0,
2611
+    'max_length' => '',
2612
+    'word_boundary' => 1,
2613
+    'ellipsis' => 1,
2614
+    'html' => 0,
2615
+    'strip_tags' => 0,
2616
+  ),
2617
+  'empty' => '',
2618
+  'hide_empty' => 0,
2619
+  'empty_zero' => 0,
2620
+  'hide_alter_empty' => 1,
2621
+  'set_precision' => 1,
2622
+  'precision' => '2',
2623
+  'decimal' => '.',
2624
+  'separator' => ',',
2625
+  'format_plural' => 0,
2626
+  'format_plural_singular' => '1',
2627
+  'format_plural_plural' => '@count',
2628
+  'prefix' => '',
2629
+  'suffix' => '',
2630
+  'exclude' => 0,
2631
+  'id' => 'expavg_credit',
2632
+  'table' => 'team',
2633
+  'field' => 'expavg_credit',
2634
+  'relationship' => 'none',
2635
+),
2636
+'total_credit' => array(
2637
+  'label' => 'Total Credit',
2638
+  'alter' => array(
2639
+    'alter_text' => 0,
2640
+    'text' => '',
2641
+    'make_link' => 0,
2642
+    'path' => '',
2643
+    'absolute' => 0,
2644
+    'link_class' => '',
2645
+    'alt' => '',
2646
+    'rel' => '',
2647
+    'prefix' => '',
2648
+    'suffix' => '',
2649
+    'target' => '',
2650
+    'help' => '',
2651
+    'trim' => 0,
2652
+    'max_length' => '',
2653
+    'word_boundary' => 1,
2654
+    'ellipsis' => 1,
2655
+    'html' => 0,
2656
+    'strip_tags' => 0,
2657
+  ),
2658
+  'empty' => '',
2659
+  'hide_empty' => 0,
2660
+  'empty_zero' => 0,
2661
+  'hide_alter_empty' => 1,
2662
+  'set_precision' => 1,
2663
+  'precision' => '0',
2664
+  'decimal' => '.',
2665
+  'separator' => ',',
2666
+  'format_plural' => 0,
2667
+  'format_plural_singular' => '1',
2668
+  'format_plural_plural' => '@count',
2669
+  'prefix' => '',
2670
+  'suffix' => '',
2671
+  'exclude' => 0,
2672
+  'id' => 'total_credit',
2673
+  'table' => 'team',
2674
+  'field' => 'total_credit',
2675
+  'relationship' => 'none',
2676
+),
2677
+'country' => array(
2678
+  'id' => 'country',
2679
+  'table' => 'team',
2680
+  'field' => 'country',
2681
+),
2682
+'nusers' => array(
2683
+  'id' => 'nusers',
2684
+  'table' => 'team',
2685
+  'field' => 'nusers',
2686
+),
2687
+));
2688
+$handler->override_option('arguments', array(
2689
+'id' => array(
2690
+  'default_action' => 'ignore',
2691
+  'style_plugin' => 'default_summary',
2692
+  'style_options' => array(),
2693
+  'wildcard' => 'all',
2694
+  'wildcard_substitution' => 'All',
2695
+  'title' => '',
2696
+  'breadcrumb' => '',
2697
+  'default_argument_type' => 'fixed',
2698
+  'default_argument' => '',
2699
+  'validate_type' => 'numeric',
2700
+  'validate_fail' => 'not found',
2701
+  'break_phrase' => 0,
2702
+  'not' => 0,
2703
+  'id' => 'id',
2704
+  'table' => 'team',
2705
+  'field' => 'id',
2706
+  'validate_user_argument_type' => 'uid',
2707
+  'validate_user_roles' => array(
2708
+    2 => 0,
2709
+    3519698132 => 0,
2710
+    1110965548 => 0,
2711
+    2938987599 => 0,
2712
+    1257454314 => 0,
2713
+    268174006 => 0,
2714
+    1271379760 => 0,
2715
+    933038561 => 0,
2716
+  ),
2717
+  'me_redirect' => 0,
2718
+  'me_validate_user_argument_type' => 'uid',
2719
+  'me_validate_user_roles' => array(
2720
+    2 => 0,
2721
+    3519698132 => 0,
2722
+    1110965548 => 0,
2723
+    2938987599 => 0,
2724
+    1257454314 => 0,
2725
+    268174006 => 0,
2726
+    1271379760 => 0,
2727
+    933038561 => 0,
2728
+  ),
2729
+  'relationship' => 'none',
2730
+  'default_options_div_prefix' => '',
2731
+  'default_taxonomy_tid_term_page' => 0,
2732
+  'default_taxonomy_tid_node' => 0,
2733
+  'default_taxonomy_tid_limit' => 0,
2734
+  'default_taxonomy_tid_vids' => array(
2735
+    1 => 0,
2736
+    2 => 0,
2737
+  ),
2738
+  'default_argument_user' => 0,
2739
+  'default_argument_fixed' => '',
2740
+  'default_argument_php' => '',
2741
+  'validate_argument_node_type' => array(
2742
+    'page' => 0,
2743
+    'news' => 0,
2744
+    'profile' => 0,
2745
+    'forum' => 0,
2746
+    'panel' => 0,
2747
+    'story' => 0,
2748
+    'team' => 0,
2749
+  ),
2750
+  'validate_argument_node_access' => 0,
2751
+  'validate_argument_nid_type' => 'nid',
2752
+  'validate_argument_vocabulary' => array(
2753
+    1 => 0,
2754
+    2 => 0,
2755
+  ),
2756
+  'validate_argument_type' => 'tid',
2757
+  'validate_argument_transform' => 0,
2758
+  'validate_user_restrict_roles' => 0,
2759
+  'validate_argument_node_flag_name' => '*relationship*',
2760
+  'validate_argument_node_flag_test' => 'flaggable',
2761
+  'validate_argument_node_flag_id_type' => 'id',
2762
+  'validate_argument_user_flag_name' => '*relationship*',
2763
+  'validate_argument_user_flag_test' => 'flaggable',
2764
+  'validate_argument_user_flag_id_type' => 'id',
2765
+  'validate_argument_php' => '',
2766
+  'me_validate_user_restrict_roles' => 0,
2767
+),
2768
+));
2769
+$handler->override_option('access', array(
2770
+'type' => 'none',
2771
+));
2772
+$handler->override_option('cache', array(
2773
+'type' => 'none',
2774
+));
2775
+$handler->override_option('header_format', '1');
2776
+$handler->override_option('header_empty', 1);
2777
+$handler = $view->new_display('panel_pane', 'Top teams overview pane', 'panel_pane_1');
2778
+$handler->override_option('filters', array(
2779
+'total_credit' => array(
2780
+  'operator' => '>=',
2781
+  'value' => array(
2782
+    'value' => '1',
2783
+    'min' => '',
2784
+    'max' => '',
2785
+  ),
2786
+  'group' => '0',
2787
+  'exposed' => FALSE,
2788
+  'expose' => array(
2789
+    'operator' => FALSE,
2790
+    'label' => '',
2791
+  ),
2792
+  'id' => 'total_credit',
2793
+  'table' => 'team',
2794
+  'field' => 'total_credit',
2795
+  'override' => array(
2796
+    'button' => 'Use default',
2797
+  ),
2798
+  'relationship' => 'none',
2799
+),
2800
+));
2801
+$handler->override_option('use_more', 1);
2802
+$handler->override_option('use_more_always', 1);
2803
+$handler->override_option('use_more_text', 'view more');
2804
+$handler->override_option('style_plugin', 'table');
2805
+$handler->override_option('style_options', array(
2806
+'grouping' => '',
2807
+'override' => 1,
2808
+'sticky' => 1,
2809
+'order' => 'desc',
2810
+'summary' => '',
2811
+'columns' => array(
2812
+  'rownumber' => 'rownumber',
2813
+  'id' => 'id',
2814
+  'name' => 'name',
2815
+  'phpcode' => 'phpcode',
2816
+  'expavg_credit' => 'expavg_credit',
2817
+  'total_credit' => 'total_credit',
2818
+  'country' => 'country',
2819
+  'nusers' => 'nusers',
2820
+),
2821
+'info' => array(
2822
+  'rownumber' => array(
2823
+    'separator' => '',
2824
+  ),
2825
+  'id' => array(
2826
+    'sortable' => 1,
2827
+    'separator' => '',
2828
+  ),
2829
+  'name' => array(
2830
+    'sortable' => 1,
2831
+    'separator' => '',
2832
+  ),
2833
+  'phpcode' => array(
2834
+    'separator' => '',
2835
+  ),
2836
+  'expavg_credit' => array(
2837
+    'sortable' => 1,
2838
+    'separator' => '',
2839
+  ),
2840
+  'total_credit' => array(
2841
+    'sortable' => 1,
2842
+    'separator' => '',
2843
+  ),
2844
+  'country' => array(
2845
+    'sortable' => 0,
2846
+    'separator' => '',
2847
+  ),
2848
+  'nusers' => array(
2849
+    'sortable' => 1,
2850
+    'separator' => '',
2851
+  ),
2852
+),
2853
+'default' => 'expavg_credit',
2854
+));
2855
+$handler->override_option('pane_title', '');
2856
+$handler->override_option('pane_description', '');
2857
+$handler->override_option('pane_category', array(
2858
+'name' => 'View panes',
2859
+'weight' => 0,
2860
+));
2861
+$handler->override_option('allow', array(
2862
+'use_pager' => 'use_pager',
2863
+'items_per_page' => 'items_per_page',
2864
+'offset' => 0,
2865
+'link_to_view' => 'link_to_view',
2866
+'more_link' => 'more_link',
2867
+'path_override' => 0,
2868
+'title_override' => 'title_override',
2869
+'exposed_form' => 0,
2870
+'fields_override' => 0,
2871
+));
2872
+$handler->override_option('argument_input', array());
2873
+$handler->override_option('link_to_view', 0);
2874
+$handler->override_option('inherit_panels_path', 0);
2875
+$handler = $view->new_display('page', 'Page', 'page_1');
2876
+$handler->override_option('filters', array(
2877
+'total_credit' => array(
2878
+  'operator' => '>=',
2879
+  'value' => array(
2880
+    'value' => '1',
2881
+    'min' => '',
2882
+    'max' => '',
2883
+  ),
2884
+  'group' => '0',
2885
+  'exposed' => FALSE,
2886
+  'expose' => array(
2887
+    'operator' => FALSE,
2888
+    'label' => '',
2889
+  ),
2890
+  'id' => 'total_credit',
2891
+  'table' => 'team',
2892
+  'field' => 'total_credit',
2893
+  'override' => array(
2894
+    'button' => 'Use default',
2895
+  ),
2896
+  'relationship' => 'none',
2897
+),
2898
+));
2899
+$handler->override_option('items_per_page', 100);
2900
+$handler->override_option('use_pager', '0');
2901
+$handler->override_option('style_plugin', 'table');
2902
+$handler->override_option('style_options', array(
2903
+'grouping' => '',
2904
+'override' => 1,
2905
+'sticky' => 1,
2906
+'order' => 'desc',
2907
+'summary' => '',
2908
+'columns' => array(
2909
+  'rownumber' => 'rownumber',
2910
+  'id' => 'id',
2911
+  'name' => 'name',
2912
+  'phpcode' => 'phpcode',
2913
+  'expavg_credit' => 'expavg_credit',
2914
+  'total_credit' => 'total_credit',
2915
+  'country' => 'country',
2916
+  'nusers' => 'nusers',
2917
+),
2918
+'info' => array(
2919
+  'rownumber' => array(
2920
+    'separator' => '',
2921
+  ),
2922
+  'id' => array(
2923
+    'sortable' => 1,
2924
+    'separator' => '',
2925
+  ),
2926
+  'name' => array(
2927
+    'sortable' => 1,
2928
+    'separator' => '',
2929
+  ),
2930
+  'phpcode' => array(
2931
+    'separator' => '',
2932
+  ),
2933
+  'expavg_credit' => array(
2934
+    'sortable' => 1,
2935
+    'separator' => '',
2936
+  ),
2937
+  'total_credit' => array(
2938
+    'sortable' => 1,
2939
+    'separator' => '',
2940
+  ),
2941
+  'country' => array(
2942
+    'sortable' => 0,
2943
+    'separator' => '',
2944
+  ),
2945
+  'nusers' => array(
2946
+    'sortable' => 1,
2947
+    'separator' => '',
2948
+  ),
2949
+),
2950
+'default' => 'expavg_credit',
2951
+));
2952
+$handler->override_option('path', 'community/stats/teams');
2953
+$handler->override_option('menu', array(
2954
+'type' => 'tab',
2955
+'title' => 'Top Teams',
2956
+'description' => '',
2957
+'weight' => '10',
2958
+'name' => 'primary-links',
2959
+));
2960
+$handler->override_option('tab_options', array(
2961
+'type' => 'none',
2962
+'title' => '',
2963
+'description' => '',
2964
+'weight' => 0,
2965
+'name' => 'navigation',
2966
+));
2967
+$handler = $view->new_display('panel_pane', 'Team history', 'panel_pane_2');
2968
+$handler->override_option('relationships', array(
2969
+'id' => array(
2970
+  'label' => 'Team History',
2971
+  'required' => 0,
2972
+  'id' => 'id',
2973
+  'table' => 'team',
2974
+  'field' => 'id',
2975
+  'override' => array(
2976
+    'button' => 'Use default',
2977
+  ),
2978
+  'relationship' => 'none',
2979
+),
2980
+'userid' => array(
2981
+  'label' => 'User (Team History)',
2982
+  'required' => 0,
2983
+  'id' => 'userid',
2984
+  'table' => 'team_delta',
2985
+  'field' => 'userid',
2986
+  'relationship' => 'id',
2987
+  'override' => array(
2988
+    'button' => 'Use default',
2989
+  ),
2990
+),
2991
+));
2992
+$handler->override_option('fields', array(
2993
+'userid' => array(
2994
+  'label' => 'User ID',
2995
+  'alter' => array(
2996
+    'alter_text' => 0,
2997
+    'text' => '',
2998
+    'make_link' => 0,
2999
+    'path' => '',
3000
+    'absolute' => 0,
3001
+    'link_class' => '',
3002
+    'alt' => '',
3003
+    'rel' => '',
3004
+    'prefix' => '',
3005
+    'suffix' => '',
3006
+    'target' => '',
3007
+    'help' => '',
3008
+    'trim' => 0,
3009
+    'max_length' => '',
3010
+    'word_boundary' => 1,
3011
+    'ellipsis' => 1,
3012
+    'html' => 0,
3013
+    'strip_tags' => 0,
3014
+  ),
3015
+  'empty' => '',
3016
+  'hide_empty' => 0,
3017
+  'empty_zero' => 0,
3018
+  'hide_alter_empty' => 1,
3019
+  'set_precision' => FALSE,
3020
+  'precision' => 0,
3021
+  'decimal' => '.',
3022
+  'separator' => '',
3023
+  'format_plural' => 0,
3024
+  'format_plural_singular' => '1',
3025
+  'format_plural_plural' => '@count',
3026
+  'prefix' => '',
3027
+  'suffix' => '',
3028
+  'exclude' => 0,
3029
+  'id' => 'userid',
3030
+  'table' => 'team_delta',
3031
+  'field' => 'userid',
3032
+  'override' => array(
3033
+    'button' => 'Use default',
3034
+  ),
3035
+  'relationship' => 'id',
3036
+),
3037
+'timestamp' => array(
3038
+  'label' => 'Timestamp',
3039
+  'alter' => array(
3040
+    'alter_text' => 0,
3041
+    'text' => '',
3042
+    'make_link' => 0,
3043
+    'path' => '',
3044
+    'absolute' => 0,
3045
+    'link_class' => '',
3046
+    'alt' => '',
3047
+    'rel' => '',
3048
+    'prefix' => '',
3049
+    'suffix' => '',
3050
+    'target' => '',
3051
+    'help' => '',
3052
+    'trim' => 0,
3053
+    'max_length' => '',
3054
+    'word_boundary' => 1,
3055
+    'ellipsis' => 1,
3056
+    'html' => 0,
3057
+    'strip_tags' => 0,
3058
+  ),
3059
+  'empty' => '',
3060
+  'hide_empty' => 0,
3061
+  'empty_zero' => 0,
3062
+  'hide_alter_empty' => 1,
3063
+  'date_format' => 'custom',
3064
+  'custom_date_format' => 'j M Y G:i:s T',
3065
+  'exclude' => 0,
3066
+  'id' => 'timestamp',
3067
+  'table' => 'team_delta',
3068
+  'field' => 'timestamp',
3069
+  'override' => array(
3070
+    'button' => 'Use default',
3071
+  ),
3072
+  'relationship' => 'id',
3073
+),
3074
+'name' => array(
3075
+  'label' => 'Name',
3076
+  'alter' => array(
3077
+    'alter_text' => 0,
3078
+    'text' => '',
3079
+    'make_link' => 0,
3080
+    'path' => '',
3081
+    'absolute' => 0,
3082
+    'link_class' => '',
3083
+    'alt' => '',
3084
+    'rel' => '',
3085
+    'prefix' => '',
3086
+    'suffix' => '',
3087
+    'target' => '',
3088
+    'help' => '',
3089
+    'trim' => 0,
3090
+    'max_length' => '',
3091
+    'word_boundary' => 1,
3092
+    'ellipsis' => 1,
3093
+    'html' => 0,
3094
+    'strip_tags' => 0,
3095
+  ),
3096
+  'empty' => '',
3097
+  'hide_empty' => 0,
3098
+  'empty_zero' => 0,
3099
+  'hide_alter_empty' => 1,
3100
+  'exclude' => 0,
3101
+  'id' => 'name',
3102
+  'table' => 'user',
3103
+  'field' => 'name',
3104
+  'relationship' => 'userid',
3105
+  'override' => array(
3106
+    'button' => 'Use default',
3107
+  ),
3108
+),
3109
+'joining' => array(
3110
+  'label' => 'User joined',
3111
+  'alter' => array(
3112
+    'alter_text' => 0,
3113
+    'text' => '',
3114
+    'make_link' => 0,
3115
+    'path' => '',
3116
+    'absolute' => 0,
3117
+    'link_class' => '',
3118
+    'alt' => '',
3119
+    'rel' => '',
3120
+    'prefix' => '',
3121
+    'suffix' => '',
3122
+    'target' => '',
3123
+    'help' => '',
3124
+    'trim' => 0,
3125
+    'max_length' => '',
3126
+    'word_boundary' => 1,
3127
+    'ellipsis' => 1,
3128
+    'html' => 0,
3129
+    'strip_tags' => 0,
3130
+  ),
3131
+  'empty' => '0',
3132
+  'hide_empty' => 0,
3133
+  'empty_zero' => 0,
3134
+  'hide_alter_empty' => 0,
3135
+  'set_precision' => FALSE,
3136
+  'precision' => 0,
3137
+  'decimal' => '.',
3138
+  'separator' => '',
3139
+  'format_plural' => 0,
3140
+  'format_plural_singular' => '1',
3141
+  'format_plural_plural' => '@count',
3142
+  'prefix' => '',
3143
+  'suffix' => '',
3144
+  'exclude' => 0,
3145
+  'id' => 'joining',
3146
+  'table' => 'team_delta',
3147
+  'field' => 'joining',
3148
+  'override' => array(
3149
+    'button' => 'Use default',
3150
+  ),
3151
+  'relationship' => 'id',
3152
+),
3153
+'total_credit' => array(
3154
+  'label' => 'Total Credit',
3155
+  'alter' => array(
3156
+    'alter_text' => 0,
3157
+    'text' => '',
3158
+    'make_link' => 0,
3159
+    'path' => '',
3160
+    'absolute' => 0,
3161
+    'link_class' => '',
3162
+    'alt' => '',
3163
+    'rel' => '',
3164
+    'prefix' => '',
3165
+    'suffix' => '',
3166
+    'target' => '',
3167
+    'help' => '',
3168
+    'trim' => 0,
3169
+    'max_length' => '',
3170
+    'word_boundary' => 1,
3171
+    'ellipsis' => 1,
3172
+    'html' => 0,
3173
+    'strip_tags' => 0,
3174
+  ),
3175
+  'empty' => '',
3176
+  'hide_empty' => 0,
3177
+  'empty_zero' => 0,
3178
+  'hide_alter_empty' => 1,
3179
+  'set_precision' => 1,
3180
+  'precision' => '0',
3181
+  'decimal' => '.',
3182
+  'separator' => ',',
3183
+  'format_plural' => 0,
3184
+  'format_plural_singular' => '1',
3185
+  'format_plural_plural' => '@count',
3186
+  'prefix' => '',
3187
+  'suffix' => '',
3188
+  'exclude' => 0,
3189
+  'id' => 'total_credit',
3190
+  'table' => 'team_delta',
3191
+  'field' => 'total_credit',
3192
+  'override' => array(
3193
+    'button' => 'Use default',
3194
+  ),
3195
+  'relationship' => 'id',
3196
+),
3197
+));
3198
+$handler->override_option('arguments', array(
3199
+'id' => array(
3200
+  'default_action' => 'not found',
3201
+  'style_plugin' => 'default_summary',
3202
+  'style_options' => array(),
3203
+  'wildcard' => 'all',
3204
+  'wildcard_substitution' => 'All',
3205
+  'title' => '',
3206
+  'breadcrumb' => '',
3207
+  'default_argument_type' => 'fixed',
3208
+  'default_argument' => '',
3209
+  'validate_type' => 'numeric',
3210
+  'validate_fail' => 'not found',
3211
+  'break_phrase' => 0,
3212
+  'not' => 0,
3213
+  'id' => 'id',
3214
+  'table' => 'team',
3215
+  'field' => 'id',
3216
+  'validate_user_argument_type' => 'uid',
3217
+  'validate_user_roles' => array(
3218
+    2 => 0,
3219
+    3519698132 => 0,
3220
+    1110965548 => 0,
3221
+    2938987599 => 0,
3222
+    1257454314 => 0,
3223
+    268174006 => 0,
3224
+    1271379760 => 0,
3225
+    933038561 => 0,
3226
+  ),
3227
+  'me_redirect' => 0,
3228
+  'me_validate_user_argument_type' => 'uid',
3229
+  'me_validate_user_roles' => array(
3230
+    2 => 0,
3231
+    3519698132 => 0,
3232
+    1110965548 => 0,
3233
+    2938987599 => 0,
3234
+    1257454314 => 0,
3235
+    268174006 => 0,
3236
+    1271379760 => 0,
3237
+    933038561 => 0,
3238
+  ),
3239
+  'override' => array(
3240
+    'button' => 'Use default',
3241
+  ),
3242
+  'relationship' => 'none',
3243
+  'default_options_div_prefix' => '',
3244
+  'default_taxonomy_tid_term_page' => 0,
3245
+  'default_taxonomy_tid_node' => 0,
3246
+  'default_taxonomy_tid_limit' => 0,
3247
+  'default_taxonomy_tid_vids' => array(
3248
+    1 => 0,
3249
+    2 => 0,
3250
+  ),
3251
+  'default_argument_user' => 0,
3252
+  'default_argument_fixed' => '',
3253
+  'default_argument_php' => '',
3254
+  'validate_argument_node_type' => array(
3255
+    'page' => 0,
3256
+    'news' => 0,
3257
+    'profile' => 0,
3258
+    'forum' => 0,
3259
+    'panel' => 0,
3260
+    'story' => 0,
3261
+    'team' => 0,
3262
+  ),
3263
+  'validate_argument_node_access' => 0,
3264
+  'validate_argument_nid_type' => 'nid',
3265
+  'validate_argument_vocabulary' => array(
3266
+    1 => 0,
3267
+    2 => 0,
3268
+  ),
3269
+  'validate_argument_type' => 'tid',
3270
+  'validate_argument_transform' => 0,
3271
+  'validate_user_restrict_roles' => 0,
3272
+  'validate_argument_node_flag_name' => '*relationship*',
3273
+  'validate_argument_node_flag_test' => 'flaggable',
3274
+  'validate_argument_node_flag_id_type' => 'id',
3275
+  'validate_argument_user_flag_name' => '*relationship*',
3276
+  'validate_argument_user_flag_test' => 'flaggable',
3277
+  'validate_argument_user_flag_id_type' => 'id',
3278
+  'validate_argument_php' => '',
3279
+  'me_validate_user_restrict_roles' => 0,
3280
+),
3281
+));
3282
+$handler->override_option('style_plugin', 'table');
3283
+$handler->override_option('style_options', array(
3284
+'grouping' => '',
3285
+'override' => 1,
3286
+'sticky' => 1,
3287
+'order' => 'asc',
3288
+'summary' => '',
3289
+'columns' => array(
3290
+  'timestamp' => 'timestamp',
3291
+  'total_credit' => 'total_credit',
3292
+  'userid' => 'userid',
3293
+  'joining' => 'joining',
3294
+),
3295
+'info' => array(
3296
+  'timestamp' => array(
3297
+    'sortable' => 0,
3298
+    'separator' => '',
3299
+  ),
3300
+  'total_credit' => array(
3301
+    'sortable' => 0,
3302
+    'separator' => '',
3303
+  ),
3304
+  'userid' => array(
3305
+    'sortable' => 0,
3306
+    'separator' => '',
3307
+  ),
3308
+  'joining' => array(
3309
+    'sortable' => 0,
3310
+    'separator' => '',
3311
+  ),
3312
+),
3313
+'default' => 'timestamp',
3314
+));
3315
+$handler->override_option('pane_title', 'Team history');
3316
+$handler->override_option('pane_description', '');
3317
+$handler->override_option('pane_category', array(
3318
+'name' => 'View panes',
3319
+'weight' => 0,
3320
+));
3321
+$handler->override_option('allow', array(
3322
+'use_pager' => 0,
3323
+'items_per_page' => 'items_per_page',
3324
+'offset' => 0,
3325
+'link_to_view' => 0,
3326
+'more_link' => 0,
3327
+'path_override' => 0,
3328
+'title_override' => 'title_override',
3329
+'exposed_form' => 0,
3330
+'fields_override' => 0,
3331
+));
3332
+$handler->override_option('argument_input', array(
3333
+'id' => array(
3334
+  'type' => 'panel',
3335
+  'context' => 'term.description',
3336
+  'context_optional' => 0,
3337
+  'panel' => '0',
3338
+  'fixed' => '',
3339
+  'label' => 'BOINC: Id',
3340
+),
3341
+));
3342
+$handler->override_option('link_to_view', 0);
3343
+$handler->override_option('inherit_panels_path', 0);
3344
+$handler = $view->new_display('panel_pane', 'Team admins', 'panel_pane_3');
3345
+$handler->override_option('relationships', array(
3346
+'userid' => array(
3347
+  'label' => 'User',
3348
+  'required' => 0,
3349
+  'id' => 'userid',
3350
+  'table' => 'team_admin',
3351
+  'field' => 'userid',
3352
+  'override' => array(
3353
+    'button' => 'Use default',
3354
+  ),
3355
+  'relationship' => 'none',
3356
+),
3357
+));
3358
+$handler->override_option('fields', array(
3359
+'teamid' => array(
3360
+  'label' => 'Id',
3361
+  'alter' => array(
3362
+    'alter_text' => 0,
3363
+    'text' => '',
3364
+    'make_link' => 0,
3365
+    'path' => '',
3366
+    'absolute' => 0,
3367
+    'link_class' => '',
3368
+    'alt' => '',
3369
+    'rel' => '',
3370
+    'prefix' => '',
3371
+    'suffix' => '',
3372
+    'target' => '',
3373
+    'help' => '',
3374
+    'trim' => 0,
3375
+    'max_length' => '',
3376
+    'word_boundary' => 1,
3377
+    'ellipsis' => 1,
3378
+    'html' => 0,
3379
+    'strip_tags' => 0,
3380
+  ),
3381
+  'empty' => '',
3382
+  'hide_empty' => 0,
3383
+  'empty_zero' => 0,
3384
+  'hide_alter_empty' => 1,
3385
+  'set_precision' => FALSE,
3386
+  'precision' => 0,
3387
+  'decimal' => '.',
3388
+  'separator' => '',
3389
+  'format_plural' => 0,
3390
+  'format_plural_singular' => '1',
3391
+  'format_plural_plural' => '@count',
3392
+  'prefix' => '',
3393
+  'suffix' => '',
3394
+  'exclude' => 1,
3395
+  'id' => 'teamid',
3396
+  'table' => 'team_admin',
3397
+  'field' => 'teamid',
3398
+  'override' => array(
3399
+    'button' => 'Use default',
3400
+  ),
3401
+  'relationship' => 'none',
3402
+),
3403
+'userid' => array(
3404
+  'label' => 'User ID',
3405
+  'alter' => array(
3406
+    'alter_text' => 0,
3407
+    'text' => '',
3408
+    'make_link' => 0,
3409
+    'path' => '',
3410
+    'absolute' => 0,
3411
+    'link_class' => '',
3412
+    'alt' => '',
3413
+    'rel' => '',
3414
+    'prefix' => '',
3415
+    'suffix' => '',
3416
+    'target' => '',
3417
+    'help' => '',
3418
+    'trim' => 0,
3419
+    'max_length' => '',
3420
+    'word_boundary' => 1,
3421
+    'ellipsis' => 1,
3422
+    'html' => 0,
3423
+    'strip_tags' => 0,
3424
+  ),
3425
+  'empty' => '',
3426
+  'hide_empty' => 0,
3427
+  'empty_zero' => 0,
3428
+  'hide_alter_empty' => 1,
3429
+  'set_precision' => FALSE,
3430
+  'precision' => 0,
3431
+  'decimal' => '.',
3432
+  'separator' => '',
3433
+  'format_plural' => 0,
3434
+  'format_plural_singular' => '1',
3435
+  'format_plural_plural' => '@count',
3436
+  'prefix' => '',
3437
+  'suffix' => '',
3438
+  'exclude' => 1,
3439
+  'id' => 'userid',
3440
+  'table' => 'team_admin',
3441
+  'field' => 'userid',
3442
+  'override' => array(
3443
+    'button' => 'Use default',
3444
+  ),
3445
+  'relationship' => 'none',
3446
+),
3447
+'name' => array(
3448
+  'label' => 'Name',
3449
+  'alter' => array(
3450
+    'alter_text' => 0,
3451
+    'text' => '',
3452
+    'make_link' => 0,
3453
+    'path' => '',
3454
+    'absolute' => 0,
3455
+    'link_class' => '',
3456
+    'alt' => '',
3457
+    'rel' => '',
3458
+    'prefix' => '',
3459
+    'suffix' => '',
3460
+    'target' => '',
3461
+    'help' => '',
3462
+    'trim' => 0,
3463
+    'max_length' => '',
3464
+    'word_boundary' => 1,
3465
+    'ellipsis' => 1,
3466
+    'html' => 0,
3467
+    'strip_tags' => 0,
3468
+  ),
3469
+  'empty' => '',
3470
+  'hide_empty' => 0,
3471
+  'empty_zero' => 0,
3472
+  'hide_alter_empty' => 1,
3473
+  'exclude' => 0,
3474
+  'id' => 'name',
3475
+  'table' => 'user',
3476
+  'field' => 'name',
3477
+  'relationship' => 'userid',
3478
+  'override' => array(
3479
+    'button' => 'Use default',
3480
+  ),
3481
+),
3482
+'create_time' => array(
3483
+  'label' => 'Admin since',
3484
+  'alter' => array(
3485
+    'alter_text' => 0,
3486
+    'text' => '',
3487
+    'make_link' => 0,
3488
+    'path' => '',
3489
+    'absolute' => 0,
3490
+    'link_class' => '',
3491
+    'alt' => '',
3492
+    'rel' => '',
3493
+    'prefix' => '',
3494
+    'suffix' => '',
3495
+    'target' => '',
3496
+    'help' => '',
3497
+    'trim' => 0,
3498
+    'max_length' => '',
3499
+    'word_boundary' => 1,
3500
+    'ellipsis' => 1,
3501
+    'html' => 0,
3502
+    'strip_tags' => 0,
3503
+  ),
3504
+  'empty' => '',
3505
+  'hide_empty' => 0,
3506
+  'empty_zero' => 0,
3507
+  'hide_alter_empty' => 1,
3508
+  'date_format' => 'custom',
3509
+  'custom_date_format' => 'j M Y G:i:s T',
3510
+  'exclude' => 0,
3511
+  'id' => 'create_time',
3512
+  'table' => 'team_admin',
3513
+  'field' => 'create_time',
3514
+  'override' => array(
3515
+    'button' => 'Use default',
3516
+  ),
3517
+  'relationship' => 'none',
3518
+),
3519
+'phpcode' => array(
3520
+  'label' => '',
3521
+  'alter' => array(
3522
+    'alter_text' => 0,
3523
+    'text' => '',
3524
+    'make_link' => 0,
3525
+    'path' => '',
3526
+    'absolute' => 0,
3527
+    'link_class' => '',
3528
+    'alt' => '',
3529
+    'rel' => '',
3530
+    'prefix' => '',
3531
+    'suffix' => '',
3532
+    'target' => '',
3533
+    'help' => '',
3534
+    'trim' => 0,
3535
+    'max_length' => '',
3536
+    'word_boundary' => 1,
3537
+    'ellipsis' => 1,
3538
+    'html' => 0,
3539
+    'strip_tags' => 0,
3540
+  ),
3541
+  'empty' => '',
3542
+  'hide_empty' => 0,
3543
+  'empty_zero' => 0,
3544
+  'hide_alter_empty' => 1,
3545
+  'value' => '<?php
3546 3546
 $team_id = boincteam_lookup_nid($data->id);
3547 3547
 $user_id = get_drupal_id($data->team_admin_userid);
3548 3548
 echo l(bts(\'Remove\', array(), NULL, \'boinc:remove-team-member\'), "community/teams/{$team_id}/edit/admins/remove/{$user_id}");
3549 3549
 ?>',
3550
-      'exclude' => 0,
3551
-      'id' => 'phpcode',
3552
-      'table' => 'customfield',
3553
-      'field' => 'phpcode',
3554
-      'override' => array(
3555
-        'button' => 'Use default',
3556
-      ),
3557
-      'relationship' => 'none',
3558
-    ),
3559
-  ));
3560
-  $handler->override_option('arguments', array(
3561
-    'id' => array(
3562
-      'default_action' => 'not found',
3563
-      'style_plugin' => 'default_summary',
3564
-      'style_options' => array(),
3565
-      'wildcard' => 'all',
3566
-      'wildcard_substitution' => 'All',
3567
-      'title' => '',
3568
-      'breadcrumb' => '',
3569
-      'default_argument_type' => 'fixed',
3570
-      'default_argument' => '',
3571
-      'validate_type' => 'numeric',
3572
-      'validate_fail' => 'not found',
3573
-      'break_phrase' => 0,
3574
-      'not' => 0,
3575
-      'id' => 'id',
3576
-      'table' => 'team',
3577
-      'field' => 'id',
3578
-      'validate_user_argument_type' => 'uid',
3579
-      'validate_user_roles' => array(
3580
-        2 => 0,
3581
-        3519698132 => 0,
3582
-        1110965548 => 0,
3583
-        2938987599 => 0,
3584
-        1257454314 => 0,
3585
-        268174006 => 0,
3586
-        1271379760 => 0,
3587
-        933038561 => 0,
3588
-      ),
3589
-      'me_redirect' => 0,
3590
-      'me_validate_user_argument_type' => 'uid',
3591
-      'me_validate_user_roles' => array(
3592
-        2 => 0,
3593
-        3519698132 => 0,
3594
-        1110965548 => 0,
3595
-        2938987599 => 0,
3596
-        1257454314 => 0,
3597
-        268174006 => 0,
3598
-        1271379760 => 0,
3599
-        933038561 => 0,
3600
-      ),
3601
-      'override' => array(
3602
-        'button' => 'Use default',
3603
-      ),
3604
-      'relationship' => 'none',
3605
-      'default_options_div_prefix' => '',
3606
-      'default_taxonomy_tid_term_page' => 0,
3607
-      'default_taxonomy_tid_node' => 0,
3608
-      'default_taxonomy_tid_limit' => 0,
3609
-      'default_taxonomy_tid_vids' => array(
3610
-        1 => 0,
3611
-        2 => 0,
3612
-      ),
3613
-      'default_argument_user' => 0,
3614
-      'default_argument_fixed' => '',
3615
-      'default_argument_php' => '',
3616
-      'validate_argument_node_type' => array(
3617
-        'page' => 0,
3618
-        'news' => 0,
3619
-        'profile' => 0,
3620
-        'forum' => 0,
3621
-        'panel' => 0,
3622
-        'story' => 0,
3623
-        'team' => 0,
3624
-      ),
3625
-      'validate_argument_node_access' => 0,
3626
-      'validate_argument_nid_type' => 'nid',
3627
-      'validate_argument_vocabulary' => array(
3628
-        1 => 0,
3629
-        2 => 0,
3630
-      ),
3631
-      'validate_argument_type' => 'tid',
3632
-      'validate_argument_transform' => 0,
3633
-      'validate_user_restrict_roles' => 0,
3634
-      'validate_argument_node_flag_name' => '*relationship*',
3635
-      'validate_argument_node_flag_test' => 'flaggable',
3636
-      'validate_argument_node_flag_id_type' => 'id',
3637
-      'validate_argument_user_flag_name' => '*relationship*',
3638
-      'validate_argument_user_flag_test' => 'flaggable',
3639
-      'validate_argument_user_flag_id_type' => 'id',
3640
-      'validate_argument_php' => '',
3641
-      'me_validate_user_restrict_roles' => 0,
3642
-    ),
3643
-  ));
3644
-  $handler->override_option('filters', array(
3645
-    'userid' => array(
3646
-      'operator' => 'not empty',
3647
-      'value' => array(
3648
-        'value' => '',
3649
-        'min' => '',
3650
-        'max' => '',
3651
-      ),
3652
-      'group' => '0',
3653
-      'exposed' => FALSE,
3654
-      'expose' => array(
3655
-        'operator' => FALSE,
3656
-        'label' => '',
3657
-      ),
3658
-      'id' => 'userid',
3659
-      'table' => 'team_admin',
3660
-      'field' => 'userid',
3661
-      'override' => array(
3662
-        'button' => 'Use default',
3663
-      ),
3664
-      'relationship' => 'none',
3665
-    ),
3666
-  ));
3667
-  $handler->override_option('empty', 'There are currently no team admins.');
3668
-  $handler->override_option('empty_format', '5');
3669
-  $handler->override_option('style_plugin', 'table');
3670
-  $handler->override_option('style_options', array(
3671
-    'grouping' => '',
3672
-    'override' => 1,
3673
-    'sticky' => 1,
3674
-    'order' => 'asc',
3675
-    'summary' => '',
3676
-    'columns' => array(
3677
-      'teamid' => 'teamid',
3678
-      'userid' => 'userid',
3679
-      'name' => 'name',
3680
-      'create_time' => 'create_time',
3681
-      'phpcode' => 'phpcode',
3682
-    ),
3683
-    'info' => array(
3684
-      'teamid' => array(
3685
-        'sortable' => 0,
3686
-        'separator' => '',
3687
-      ),
3688
-      'userid' => array(
3689
-        'sortable' => 0,
3690
-        'separator' => '',
3691
-      ),
3692
-      'name' => array(
3693
-        'sortable' => 0,
3694
-        'separator' => '',
3695
-      ),
3696
-      'create_time' => array(
3697
-        'sortable' => 0,
3698
-        'separator' => '',
3699
-      ),
3700
-      'phpcode' => array(
3701
-        'separator' => '',
3702
-      ),
3703
-    ),
3704
-    'default' => 'create_time',
3705
-  ));
3706
-  $handler->override_option('pane_title', 'Team admins');
3707
-  $handler->override_option('pane_description', '');
3708
-  $handler->override_option('pane_category', array(
3709
-    'name' => 'View panes',
3710
-    'weight' => 0,
3711
-  ));
3712
-  $handler->override_option('allow', array(
3713
-    'use_pager' => 0,
3714
-    'items_per_page' => 'items_per_page',
3715
-    'offset' => 0,
3716
-    'link_to_view' => 0,
3717
-    'more_link' => 0,
3718
-    'path_override' => 0,
3719
-    'title_override' => 'title_override',
3720
-    'exposed_form' => 0,
3721
-    'fields_override' => 0,
3722
-  ));
3723
-  $handler->override_option('argument_input', array(
3724
-    'id' => array(
3725
-      'type' => 'panel',
3726
-      'context' => 'term.description',
3727
-      'context_optional' => 0,
3728
-      'panel' => '0',
3729
-      'fixed' => '',
3730
-      'label' => 'BOINC: Id',
3731
-    ),
3732
-  ));
3733
-  $handler->override_option('link_to_view', 0);
3734
-  $handler->override_option('inherit_panels_path', 0);
3735
-  $handler = $view->new_display('panel_pane', 'Top teams pane', 'panel_pane_4');
3736
-  $handler->override_option('fields', array(
3737
-    'rownumber' => array(
3738
-      'label' => 'Rank',
3739
-      'alter' => array(
3740
-        'alter_text' => 0,
3741
-        'text' => '',
3742
-        'make_link' => 0,
3743
-        'path' => '',
3744
-        'absolute' => 0,
3745
-        'link_class' => '',
3746
-        'alt' => '',
3747
-        'rel' => '',
3748
-        'prefix' => '',
3749
-        'suffix' => '',
3750
-        'target' => '',
3751
-        'help' => '',
3752
-        'trim' => 0,
3753
-        'max_length' => '',
3754
-        'word_boundary' => 1,
3755
-        'ellipsis' => 1,
3756
-        'html' => 0,
3757
-        'strip_tags' => 0,
3758
-      ),
3759
-      'empty' => '',
3760
-      'hide_empty' => 0,
3761
-      'empty_zero' => 0,
3762
-      'hide_alter_empty' => 1,
3763
-      'exclude' => 0,
3764
-      'id' => 'rownumber',
3765
-      'table' => 'customfield',
3766
-      'field' => 'rownumber',
3767
-      'relationship' => 'none',
3768
-    ),
3769
-    'id' => array(
3770
-      'label' => 'Id',
3771
-      'alter' => array(
3772
-        'alter_text' => 0,
3773
-        'text' => '',
3774
-        'make_link' => 0,
3775
-        'path' => '',
3776
-        'absolute' => 0,
3777
-        'link_class' => '',
3778
-        'alt' => '',
3779
-        'rel' => '',
3780
-        'prefix' => '',
3781
-        'suffix' => '',
3782
-        'target' => '',
3783
-        'help' => '',
3784
-        'trim' => 0,
3785
-        'max_length' => '',
3786
-        'word_boundary' => 1,
3787
-        'ellipsis' => 1,
3788
-        'html' => 0,
3789
-        'strip_tags' => 0,
3790
-      ),
3791
-      'empty' => '',
3792
-      'hide_empty' => 0,
3793
-      'empty_zero' => 0,
3794
-      'hide_alter_empty' => 1,
3795
-      'set_precision' => FALSE,
3796
-      'precision' => 0,
3797
-      'decimal' => '.',
3798
-      'separator' => '',
3799
-      'format_plural' => 0,
3800
-      'format_plural_singular' => '1',
3801
-      'format_plural_plural' => '@count',
3802
-      'prefix' => '',
3803
-      'suffix' => '',
3804
-      'exclude' => 1,
3805
-      'id' => 'id',
3806
-      'table' => 'team',
3807
-      'field' => 'id',
3808
-      'relationship' => 'none',
3809
-    ),
3810
-    'name' => array(
3811
-      'label' => 'Name',
3812
-      'alter' => array(
3813
-        'alter_text' => 0,
3814
-        'text' => '',
3815
-        'make_link' => 0,
3816
-        'path' => 'community/teams/[id]',
3817
-        'absolute' => 0,
3818
-        'link_class' => '',
3819
-        'alt' => '',
3820
-        'rel' => '',
3821
-        'prefix' => '',
3822
-        'suffix' => '',
3823
-        'target' => '',
3824
-        'help' => '',
3825
-        'trim' => 0,
3826
-        'max_length' => '',
3827
-        'word_boundary' => 1,
3828
-        'ellipsis' => 1,
3829
-        'html' => 0,
3830
-        'strip_tags' => 0,
3831
-      ),
3832
-      'empty' => '',
3833
-      'hide_empty' => 0,
3834
-      'empty_zero' => 0,
3835
-      'hide_alter_empty' => 1,
3836
-      'exclude' => 1,
3837
-      'id' => 'name',
3838
-      'table' => 'team',
3839
-      'field' => 'name',
3840
-      'relationship' => 'none',
3841
-    ),
3842
-    'phpcode' => array(
3843
-      'label' => 'Name',
3844
-      'alter' => array(
3845
-        'alter_text' => 0,
3846
-        'text' => '',
3847
-        'make_link' => 0,
3848
-        'path' => '',
3849
-        'absolute' => 0,
3850
-        'link_class' => '',
3851
-        'alt' => '',
3852
-        'rel' => '',
3853
-        'prefix' => '',
3854
-        'suffix' => '',
3855
-        'target' => '',
3856
-        'help' => '',
3857
-        'trim' => 0,
3858
-        'max_length' => '',
3859
-        'word_boundary' => 1,
3860
-        'ellipsis' => 1,
3861
-        'html' => 0,
3862
-        'strip_tags' => 0,
3863
-      ),
3864
-      'empty' => '',
3865
-      'hide_empty' => 0,
3866
-      'empty_zero' => 0,
3867
-      'hide_alter_empty' => 1,
3868
-      'value' => '<?php
3550
+  'exclude' => 0,
3551
+  'id' => 'phpcode',
3552
+  'table' => 'customfield',
3553
+  'field' => 'phpcode',
3554
+  'override' => array(
3555
+    'button' => 'Use default',
3556
+  ),
3557
+  'relationship' => 'none',
3558
+),
3559
+));
3560
+$handler->override_option('arguments', array(
3561
+'id' => array(
3562
+  'default_action' => 'not found',
3563
+  'style_plugin' => 'default_summary',
3564
+  'style_options' => array(),
3565
+  'wildcard' => 'all',
3566
+  'wildcard_substitution' => 'All',
3567
+  'title' => '',
3568
+  'breadcrumb' => '',
3569
+  'default_argument_type' => 'fixed',
3570
+  'default_argument' => '',
3571
+  'validate_type' => 'numeric',
3572
+  'validate_fail' => 'not found',
3573
+  'break_phrase' => 0,
3574
+  'not' => 0,
3575
+  'id' => 'id',
3576
+  'table' => 'team',
3577
+  'field' => 'id',
3578
+  'validate_user_argument_type' => 'uid',
3579
+  'validate_user_roles' => array(
3580
+    2 => 0,
3581
+    3519698132 => 0,
3582
+    1110965548 => 0,
3583
+    2938987599 => 0,
3584
+    1257454314 => 0,
3585
+    268174006 => 0,
3586
+    1271379760 => 0,
3587
+    933038561 => 0,
3588
+  ),
3589
+  'me_redirect' => 0,
3590
+  'me_validate_user_argument_type' => 'uid',
3591
+  'me_validate_user_roles' => array(
3592
+    2 => 0,
3593
+    3519698132 => 0,
3594
+    1110965548 => 0,
3595
+    2938987599 => 0,
3596
+    1257454314 => 0,
3597
+    268174006 => 0,
3598
+    1271379760 => 0,
3599
+    933038561 => 0,
3600
+  ),
3601
+  'override' => array(
3602
+    'button' => 'Use default',
3603
+  ),
3604
+  'relationship' => 'none',
3605
+  'default_options_div_prefix' => '',
3606
+  'default_taxonomy_tid_term_page' => 0,
3607
+  'default_taxonomy_tid_node' => 0,
3608
+  'default_taxonomy_tid_limit' => 0,
3609
+  'default_taxonomy_tid_vids' => array(
3610
+    1 => 0,
3611
+    2 => 0,
3612
+  ),
3613
+  'default_argument_user' => 0,
3614
+  'default_argument_fixed' => '',
3615
+  'default_argument_php' => '',
3616
+  'validate_argument_node_type' => array(
3617
+    'page' => 0,
3618
+    'news' => 0,
3619
+    'profile' => 0,
3620
+    'forum' => 0,
3621
+    'panel' => 0,
3622
+    'story' => 0,
3623
+    'team' => 0,
3624
+  ),
3625
+  'validate_argument_node_access' => 0,
3626
+  'validate_argument_nid_type' => 'nid',
3627
+  'validate_argument_vocabulary' => array(
3628
+    1 => 0,
3629
+    2 => 0,
3630
+  ),
3631
+  'validate_argument_type' => 'tid',
3632
+  'validate_argument_transform' => 0,
3633
+  'validate_user_restrict_roles' => 0,
3634
+  'validate_argument_node_flag_name' => '*relationship*',
3635
+  'validate_argument_node_flag_test' => 'flaggable',
3636
+  'validate_argument_node_flag_id_type' => 'id',
3637
+  'validate_argument_user_flag_name' => '*relationship*',
3638
+  'validate_argument_user_flag_test' => 'flaggable',
3639
+  'validate_argument_user_flag_id_type' => 'id',
3640
+  'validate_argument_php' => '',
3641
+  'me_validate_user_restrict_roles' => 0,
3642
+),
3643
+));
3644
+$handler->override_option('filters', array(
3645
+'userid' => array(
3646
+  'operator' => 'not empty',
3647
+  'value' => array(
3648
+    'value' => '',
3649
+    'min' => '',
3650
+    'max' => '',
3651
+  ),
3652
+  'group' => '0',
3653
+  'exposed' => FALSE,
3654
+  'expose' => array(
3655
+    'operator' => FALSE,
3656
+    'label' => '',
3657
+  ),
3658
+  'id' => 'userid',
3659
+  'table' => 'team_admin',
3660
+  'field' => 'userid',
3661
+  'override' => array(
3662
+    'button' => 'Use default',
3663
+  ),
3664
+  'relationship' => 'none',
3665
+),
3666
+));
3667
+$handler->override_option('empty', 'There are currently no team admins.');
3668
+$handler->override_option('empty_format', '5');
3669
+$handler->override_option('style_plugin', 'table');
3670
+$handler->override_option('style_options', array(
3671
+'grouping' => '',
3672
+'override' => 1,
3673
+'sticky' => 1,
3674
+'order' => 'asc',
3675
+'summary' => '',
3676
+'columns' => array(
3677
+  'teamid' => 'teamid',
3678
+  'userid' => 'userid',
3679
+  'name' => 'name',
3680
+  'create_time' => 'create_time',
3681
+  'phpcode' => 'phpcode',
3682
+),
3683
+'info' => array(
3684
+  'teamid' => array(
3685
+    'sortable' => 0,
3686
+    'separator' => '',
3687
+  ),
3688
+  'userid' => array(
3689
+    'sortable' => 0,
3690
+    'separator' => '',
3691
+  ),
3692
+  'name' => array(
3693
+    'sortable' => 0,
3694
+    'separator' => '',
3695
+  ),
3696
+  'create_time' => array(
3697
+    'sortable' => 0,
3698
+    'separator' => '',
3699
+  ),
3700
+  'phpcode' => array(
3701
+    'separator' => '',
3702
+  ),
3703
+),
3704
+'default' => 'create_time',
3705
+));
3706
+$handler->override_option('pane_title', 'Team admins');
3707
+$handler->override_option('pane_description', '');
3708
+$handler->override_option('pane_category', array(
3709
+'name' => 'View panes',
3710
+'weight' => 0,
3711
+));
3712
+$handler->override_option('allow', array(
3713
+'use_pager' => 0,
3714
+'items_per_page' => 'items_per_page',
3715
+'offset' => 0,
3716
+'link_to_view' => 0,
3717
+'more_link' => 0,
3718
+'path_override' => 0,
3719
+'title_override' => 'title_override',
3720
+'exposed_form' => 0,
3721
+'fields_override' => 0,
3722
+));
3723
+$handler->override_option('argument_input', array(
3724
+'id' => array(
3725
+  'type' => 'panel',
3726
+  'context' => 'term.description',
3727
+  'context_optional' => 0,
3728
+  'panel' => '0',
3729
+  'fixed' => '',
3730
+  'label' => 'BOINC: Id',
3731
+),
3732
+));
3733
+$handler->override_option('link_to_view', 0);
3734
+$handler->override_option('inherit_panels_path', 0);
3735
+$handler = $view->new_display('panel_pane', 'Top teams pane', 'panel_pane_4');
3736
+$handler->override_option('fields', array(
3737
+'rownumber' => array(
3738
+  'label' => 'Rank',
3739
+  'alter' => array(
3740
+    'alter_text' => 0,
3741
+    'text' => '',
3742
+    'make_link' => 0,
3743
+    'path' => '',
3744
+    'absolute' => 0,
3745
+    'link_class' => '',
3746
+    'alt' => '',
3747
+    'rel' => '',
3748
+    'prefix' => '',
3749
+    'suffix' => '',
3750
+    'target' => '',
3751
+    'help' => '',
3752
+    'trim' => 0,
3753
+    'max_length' => '',
3754
+    'word_boundary' => 1,
3755
+    'ellipsis' => 1,
3756
+    'html' => 0,
3757
+    'strip_tags' => 0,
3758
+  ),
3759
+  'empty' => '',
3760
+  'hide_empty' => 0,
3761
+  'empty_zero' => 0,
3762
+  'hide_alter_empty' => 1,
3763
+  'exclude' => 0,
3764
+  'id' => 'rownumber',
3765
+  'table' => 'customfield',
3766
+  'field' => 'rownumber',
3767
+  'relationship' => 'none',
3768
+),
3769
+'id' => array(
3770
+  'label' => 'Id',
3771
+  'alter' => array(
3772
+    'alter_text' => 0,
3773
+    'text' => '',
3774
+    'make_link' => 0,
3775
+    'path' => '',
3776
+    'absolute' => 0,
3777
+    'link_class' => '',
3778
+    'alt' => '',
3779
+    'rel' => '',
3780
+    'prefix' => '',
3781
+    'suffix' => '',
3782
+    'target' => '',
3783
+    'help' => '',
3784
+    'trim' => 0,
3785
+    'max_length' => '',
3786
+    'word_boundary' => 1,
3787
+    'ellipsis' => 1,
3788
+    'html' => 0,
3789
+    'strip_tags' => 0,
3790
+  ),
3791
+  'empty' => '',
3792
+  'hide_empty' => 0,
3793
+  'empty_zero' => 0,
3794
+  'hide_alter_empty' => 1,
3795
+  'set_precision' => FALSE,
3796
+  'precision' => 0,
3797
+  'decimal' => '.',
3798
+  'separator' => '',
3799
+  'format_plural' => 0,
3800
+  'format_plural_singular' => '1',
3801
+  'format_plural_plural' => '@count',
3802
+  'prefix' => '',
3803
+  'suffix' => '',
3804
+  'exclude' => 1,
3805
+  'id' => 'id',
3806
+  'table' => 'team',
3807
+  'field' => 'id',
3808
+  'relationship' => 'none',
3809
+),
3810
+'name' => array(
3811
+  'label' => 'Name',
3812
+  'alter' => array(
3813
+    'alter_text' => 0,
3814
+    'text' => '',
3815
+    'make_link' => 0,
3816
+    'path' => 'community/teams/[id]',
3817
+    'absolute' => 0,
3818
+    'link_class' => '',
3819
+    'alt' => '',
3820
+    'rel' => '',
3821
+    'prefix' => '',
3822
+    'suffix' => '',
3823
+    'target' => '',
3824
+    'help' => '',
3825
+    'trim' => 0,
3826
+    'max_length' => '',
3827
+    'word_boundary' => 1,
3828
+    'ellipsis' => 1,
3829
+    'html' => 0,
3830
+    'strip_tags' => 0,
3831
+  ),
3832
+  'empty' => '',
3833
+  'hide_empty' => 0,
3834
+  'empty_zero' => 0,
3835
+  'hide_alter_empty' => 1,
3836
+  'exclude' => 1,
3837
+  'id' => 'name',
3838
+  'table' => 'team',
3839
+  'field' => 'name',
3840
+  'relationship' => 'none',
3841
+),
3842
+'phpcode' => array(
3843
+  'label' => 'Name',
3844
+  'alter' => array(
3845
+    'alter_text' => 0,
3846
+    'text' => '',
3847
+    'make_link' => 0,
3848
+    'path' => '',
3849
+    'absolute' => 0,
3850
+    'link_class' => '',
3851
+    'alt' => '',
3852
+    'rel' => '',
3853
+    'prefix' => '',
3854
+    'suffix' => '',
3855
+    'target' => '',
3856
+    'help' => '',
3857
+    'trim' => 0,
3858
+    'max_length' => '',
3859
+    'word_boundary' => 1,
3860
+    'ellipsis' => 1,
3861
+    'html' => 0,
3862
+    'strip_tags' => 0,
3863
+  ),
3864
+  'empty' => '',
3865
+  'hide_empty' => 0,
3866
+  'empty_zero' => 0,
3867
+  'hide_alter_empty' => 1,
3868
+  'value' => '<?php
3869 3869
   $team_id = boincteam_lookup_nid($data->id);
3870 3870
   echo l($data->team_name, "community/teams/{$team_id}");
3871 3871
 ?>',
3872
-      'exclude' => 0,
3873
-      'id' => 'phpcode',
3874
-      'table' => 'customfield',
3875
-      'field' => 'phpcode',
3876
-      'relationship' => 'none',
3877
-    ),
3878
-    'nusers' => array(
3879
-      'id' => 'nusers',
3880
-      'table' => 'team',
3881
-      'field' => 'nusers',
3882
-    ),
3883
-    'country' => array(
3884
-      'id' => 'country',
3885
-      'table' => 'team',
3886
-      'field' => 'country',
3887
-    ),
3888
-    'expavg_credit' => array(
3889
-      'label' => 'Recent average credit',
3890
-      'alter' => array(
3891
-        'alter_text' => 0,
3892
-        'text' => '',
3893
-        'make_link' => 0,
3894
-        'path' => '',
3895
-        'absolute' => 0,
3896
-        'link_class' => '',
3897
-        'alt' => '',
3898
-        'rel' => '',
3899
-        'prefix' => '',
3900
-        'suffix' => '',
3901
-        'target' => '',
3902
-        'help' => '',
3903
-        'trim' => 0,
3904
-        'max_length' => '',
3905
-        'word_boundary' => 1,
3906
-        'ellipsis' => 1,
3907
-        'html' => 0,
3908
-        'strip_tags' => 0,
3909
-      ),
3910
-      'empty' => '',
3911
-      'hide_empty' => 0,
3912
-      'empty_zero' => 0,
3913
-      'hide_alter_empty' => 1,
3914
-      'set_precision' => 1,
3915
-      'precision' => '2',
3916
-      'decimal' => '.',
3917
-      'separator' => ',',
3918
-      'format_plural' => 0,
3919
-      'format_plural_singular' => '1',
3920
-      'format_plural_plural' => '@count',
3921
-      'prefix' => '',
3922
-      'suffix' => '',
3923
-      'exclude' => 0,
3924
-      'id' => 'expavg_credit',
3925
-      'table' => 'team',
3926
-      'field' => 'expavg_credit',
3927
-      'relationship' => 'none',
3928
-    ),
3929
-    'total_credit' => array(
3930
-      'label' => 'Total Credit',
3931
-      'alter' => array(
3932
-        'alter_text' => 0,
3933
-        'text' => '',
3934
-        'make_link' => 0,
3935
-        'path' => '',
3936
-        'absolute' => 0,
3937
-        'link_class' => '',
3938
-        'alt' => '',
3939
-        'rel' => '',
3940
-        'prefix' => '',
3941
-        'suffix' => '',
3942
-        'target' => '',
3943
-        'help' => '',
3944
-        'trim' => 0,
3945
-        'max_length' => '',
3946
-        'word_boundary' => 1,
3947
-        'ellipsis' => 1,
3948
-        'html' => 0,
3949
-        'strip_tags' => 0,
3950
-      ),
3951
-      'empty' => '',
3952
-      'hide_empty' => 0,
3953
-      'empty_zero' => 0,
3954
-      'hide_alter_empty' => 1,
3955
-      'set_precision' => 1,
3956
-      'precision' => '0',
3957
-      'decimal' => '.',
3958
-      'separator' => ',',
3959
-      'format_plural' => 0,
3960
-      'format_plural_singular' => '1',
3961
-      'format_plural_plural' => '@count',
3962
-      'prefix' => '',
3963
-      'suffix' => '',
3964
-      'exclude' => 0,
3965
-      'id' => 'total_credit',
3966
-      'table' => 'team',
3967
-      'field' => 'total_credit',
3968
-      'relationship' => 'none',
3969
-      'override' => array(
3970
-        'button' => 'Use default',
3971
-      ),
3972
-    ),
3973
-  ));
3974
-  $handler->override_option('filters', array(
3975
-    'total_credit' => array(
3976
-      'operator' => '>=',
3977
-      'value' => array(
3978
-        'value' => '1',
3979
-        'min' => '',
3980
-        'max' => '',
3981
-      ),
3982
-      'group' => '0',
3983
-      'exposed' => FALSE,
3984
-      'expose' => array(
3985
-        'operator' => FALSE,
3986
-        'label' => '',
3987
-      ),
3988
-      'id' => 'total_credit',
3989
-      'table' => 'team',
3990
-      'field' => 'total_credit',
3991
-      'override' => array(
3992
-        'button' => 'Use default',
3993
-      ),
3994
-      'relationship' => 'none',
3995
-    ),
3996
-  ));
3997
-  $handler->override_option('title', 'Top teams');
3998
-  $handler->override_option('use_more', 1);
3999
-  $handler->override_option('use_more_always', 1);
4000
-  $handler->override_option('use_more_text', 'view more');
4001
-  $handler->override_option('style_plugin', 'table');
4002
-  $handler->override_option('style_options', array(
4003
-    'grouping' => '',
4004
-    'override' => 1,
4005
-    'sticky' => 0,
4006
-    'order' => 'desc',
4007
-    'summary' => '',
4008
-    'columns' => array(
4009
-      'rownumber' => 'rownumber',
4010
-      'id' => 'id',
4011
-      'name' => 'name',
4012
-      'phpcode' => 'phpcode',
4013
-      'nusers' => 'nusers',
4014
-      'country' => 'country',
4015
-      'expavg_credit' => 'expavg_credit',
4016
-      'total_credit' => 'total_credit',
4017
-    ),
4018
-    'info' => array(
4019
-      'rownumber' => array(
4020
-        'separator' => '',
4021
-      ),
4022
-      'id' => array(
4023
-        'sortable' => 1,
4024
-        'separator' => '',
4025
-      ),
4026
-      'name' => array(
4027
-        'sortable' => 1,
4028
-        'separator' => '',
4029
-      ),
4030
-      'phpcode' => array(
4031
-        'separator' => '',
4032
-      ),
4033
-      'nusers' => array(
4034
-        'sortable' => 1,
4035
-        'separator' => '',
4036
-      ),
4037
-      'country' => array(
4038
-        'sortable' => 0,
4039
-        'separator' => '',
4040
-      ),
4041
-      'expavg_credit' => array(
4042
-        'sortable' => 1,
4043
-        'separator' => '',
4044
-      ),
4045
-      'total_credit' => array(
4046
-        'sortable' => 1,
4047
-        'separator' => '',
4048
-      ),
4049
-    ),
4050
-    'default' => 'expavg_credit',
4051
-  ));
4052
-  $handler->override_option('pane_title', '');
4053
-  $handler->override_option('pane_description', '');
4054
-  $handler->override_option('pane_category', array(
4055
-    'name' => 'View panes',
4056
-    'weight' => 0,
4057
-  ));
4058
-  $handler->override_option('allow', array(
4059
-    'use_pager' => 'use_pager',
4060
-    'items_per_page' => 'items_per_page',
4061
-    'offset' => 0,
4062
-    'link_to_view' => 'link_to_view',
4063
-    'more_link' => 'more_link',
4064
-    'path_override' => 0,
4065
-    'title_override' => 'title_override',
4066
-    'exposed_form' => 0,
4067
-    'fields_override' => 0,
4068
-  ));
4069
-  $handler->override_option('argument_input', array());
4070
-  $handler->override_option('link_to_view', 0);
4071
-  $handler->override_option('inherit_panels_path', 0);
3872
+  'exclude' => 0,
3873
+  'id' => 'phpcode',
3874
+  'table' => 'customfield',
3875
+  'field' => 'phpcode',
3876
+  'relationship' => 'none',
3877
+),
3878
+'nusers' => array(
3879
+  'id' => 'nusers',
3880
+  'table' => 'team',
3881
+  'field' => 'nusers',
3882
+),
3883
+'country' => array(
3884
+  'id' => 'country',
3885
+  'table' => 'team',
3886
+  'field' => 'country',
3887
+),
3888
+'expavg_credit' => array(
3889
+  'label' => 'Recent average credit',
3890
+  'alter' => array(
3891
+    'alter_text' => 0,
3892
+    'text' => '',
3893
+    'make_link' => 0,
3894
+    'path' => '',
3895
+    'absolute' => 0,
3896
+    'link_class' => '',
3897
+    'alt' => '',
3898
+    'rel' => '',
3899
+    'prefix' => '',
3900
+    'suffix' => '',
3901
+    'target' => '',
3902
+    'help' => '',
3903
+    'trim' => 0,
3904
+    'max_length' => '',
3905
+    'word_boundary' => 1,
3906
+    'ellipsis' => 1,
3907
+    'html' => 0,
3908
+    'strip_tags' => 0,
3909
+  ),
3910
+  'empty' => '',
3911
+  'hide_empty' => 0,
3912
+  'empty_zero' => 0,
3913
+  'hide_alter_empty' => 1,
3914
+  'set_precision' => 1,
3915
+  'precision' => '2',
3916
+  'decimal' => '.',
3917
+  'separator' => ',',
3918
+  'format_plural' => 0,
3919
+  'format_plural_singular' => '1',
3920
+  'format_plural_plural' => '@count',
3921
+  'prefix' => '',
3922
+  'suffix' => '',
3923
+  'exclude' => 0,
3924
+  'id' => 'expavg_credit',
3925
+  'table' => 'team',
3926
+  'field' => 'expavg_credit',
3927
+  'relationship' => 'none',
3928
+),
3929
+'total_credit' => array(
3930
+  'label' => 'Total Credit',
3931
+  'alter' => array(
3932
+    'alter_text' => 0,
3933
+    'text' => '',
3934
+    'make_link' => 0,
3935
+    'path' => '',
3936
+    'absolute' => 0,
3937
+    'link_class' => '',
3938
+    'alt' => '',
3939
+    'rel' => '',
3940
+    'prefix' => '',
3941
+    'suffix' => '',
3942
+    'target' => '',
3943
+    'help' => '',
3944
+    'trim' => 0,
3945
+    'max_length' => '',
3946
+    'word_boundary' => 1,
3947
+    'ellipsis' => 1,
3948
+    'html' => 0,
3949
+    'strip_tags' => 0,
3950
+  ),
3951
+  'empty' => '',
3952
+  'hide_empty' => 0,
3953
+  'empty_zero' => 0,
3954
+  'hide_alter_empty' => 1,
3955
+  'set_precision' => 1,
3956
+  'precision' => '0',
3957
+  'decimal' => '.',
3958
+  'separator' => ',',
3959
+  'format_plural' => 0,
3960
+  'format_plural_singular' => '1',
3961
+  'format_plural_plural' => '@count',
3962
+  'prefix' => '',
3963
+  'suffix' => '',
3964
+  'exclude' => 0,
3965
+  'id' => 'total_credit',
3966
+  'table' => 'team',
3967
+  'field' => 'total_credit',
3968
+  'relationship' => 'none',
3969
+  'override' => array(
3970
+    'button' => 'Use default',
3971
+  ),
3972
+),
3973
+));
3974
+$handler->override_option('filters', array(
3975
+'total_credit' => array(
3976
+  'operator' => '>=',
3977
+  'value' => array(
3978
+    'value' => '1',
3979
+    'min' => '',
3980
+    'max' => '',
3981
+  ),
3982
+  'group' => '0',
3983
+  'exposed' => FALSE,
3984
+  'expose' => array(
3985
+    'operator' => FALSE,
3986
+    'label' => '',
3987
+  ),
3988
+  'id' => 'total_credit',
3989
+  'table' => 'team',
3990
+  'field' => 'total_credit',
3991
+  'override' => array(
3992
+    'button' => 'Use default',
3993
+  ),
3994
+  'relationship' => 'none',
3995
+),
3996
+));
3997
+$handler->override_option('title', 'Top teams');
3998
+$handler->override_option('use_more', 1);
3999
+$handler->override_option('use_more_always', 1);
4000
+$handler->override_option('use_more_text', 'view more');
4001
+$handler->override_option('style_plugin', 'table');
4002
+$handler->override_option('style_options', array(
4003
+'grouping' => '',
4004
+'override' => 1,
4005
+'sticky' => 0,
4006
+'order' => 'desc',
4007
+'summary' => '',
4008
+'columns' => array(
4009
+  'rownumber' => 'rownumber',
4010
+  'id' => 'id',
4011
+  'name' => 'name',
4012
+  'phpcode' => 'phpcode',
4013
+  'nusers' => 'nusers',
4014
+  'country' => 'country',
4015
+  'expavg_credit' => 'expavg_credit',
4016
+  'total_credit' => 'total_credit',
4017
+),
4018
+'info' => array(
4019
+  'rownumber' => array(
4020
+    'separator' => '',
4021
+  ),
4022
+  'id' => array(
4023
+    'sortable' => 1,
4024
+    'separator' => '',
4025
+  ),
4026
+  'name' => array(
4027
+    'sortable' => 1,
4028
+    'separator' => '',
4029
+  ),
4030
+  'phpcode' => array(
4031
+    'separator' => '',
4032
+  ),
4033
+  'nusers' => array(
4034
+    'sortable' => 1,
4035
+    'separator' => '',
4036
+  ),
4037
+  'country' => array(
4038
+    'sortable' => 0,
4039
+    'separator' => '',
4040
+  ),
4041
+  'expavg_credit' => array(
4042
+    'sortable' => 1,
4043
+    'separator' => '',
4044
+  ),
4045
+  'total_credit' => array(
4046
+    'sortable' => 1,
4047
+    'separator' => '',
4048
+  ),
4049
+),
4050
+'default' => 'expavg_credit',
4051
+));
4052
+$handler->override_option('pane_title', '');
4053
+$handler->override_option('pane_description', '');
4054
+$handler->override_option('pane_category', array(
4055
+'name' => 'View panes',
4056
+'weight' => 0,
4057
+));
4058
+$handler->override_option('allow', array(
4059
+'use_pager' => 'use_pager',
4060
+'items_per_page' => 'items_per_page',
4061
+'offset' => 0,
4062
+'link_to_view' => 'link_to_view',
4063
+'more_link' => 'more_link',
4064
+'path_override' => 0,
4065
+'title_override' => 'title_override',
4066
+'exposed_form' => 0,
4067
+'fields_override' => 0,
4068
+));
4069
+$handler->override_option('argument_input', array());
4070
+$handler->override_option('link_to_view', 0);
4071
+$handler->override_option('inherit_panels_path', 0);
4072 4072
 
4073
-  $views[$view->name] = $view;
4073
+$views[$view->name] = $view;
4074 4074
 
4075
-  return $views;
4075
+return $views;
4076 4076
 }
Please login to merge, or discard this patch.
drupal/sites/all/features/mobilemenu/mobilemenu.strongarm.inc 1 patch
Switch Indentation   +69 added lines, -69 removed lines patch added patch discarded remove patch
@@ -4,79 +4,79 @@
 block discarded – undo
4 4
  * Implementation of hook_strongarm().
5 5
  */
6 6
 function mobilemenu_strongarm() {
7
-  $export = array();
7
+$export = array();
8 8
 
9
-  $strongarm = new stdClass;
10
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
11
-  $strongarm->api_version = 1;
12
-  $strongarm->name = 'dhtml_menu_settings';
13
-  $strongarm->value = array(
14
-    'nav' => 'none',
15
-    'animation' => array(
16
-      'effects' => array(
17
-        'height' => 'height',
18
-        'opacity' => 'opacity',
19
-        'width' => 0,
20
-      ),
21
-      'speed' => '500',
22
-    ),
23
-    'effects' => array(
24
-      'siblings' => 'close-same-tree',
25
-      'children' => 'none',
26
-      'remember' => '0',
27
-    ),
28
-    'filter' => array(
29
-      'type' => 'whitelist',
30
-      'list' => array(
31
-        'primary-links' => 'primary-links',
32
-        'devel' => 0,
33
-        'menu-footer-links' => 0,
34
-        'navigation' => 0,
35
-      ),
36
-    ),
37
-  );
38
-  $export['dhtml_menu_settings'] = $strongarm;
9
+$strongarm = new stdClass;
10
+$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
11
+$strongarm->api_version = 1;
12
+$strongarm->name = 'dhtml_menu_settings';
13
+$strongarm->value = array(
14
+'nav' => 'none',
15
+'animation' => array(
16
+  'effects' => array(
17
+    'height' => 'height',
18
+    'opacity' => 'opacity',
19
+    'width' => 0,
20
+  ),
21
+  'speed' => '500',
22
+),
23
+'effects' => array(
24
+  'siblings' => 'close-same-tree',
25
+  'children' => 'none',
26
+  'remember' => '0',
27
+),
28
+'filter' => array(
29
+  'type' => 'whitelist',
30
+  'list' => array(
31
+    'primary-links' => 'primary-links',
32
+    'devel' => 0,
33
+    'menu-footer-links' => 0,
34
+    'navigation' => 0,
35
+  ),
36
+),
37
+);
38
+$export['dhtml_menu_settings'] = $strongarm;
39 39
 
40
-  $strongarm = new stdClass;
41
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
42
-  $strongarm->api_version = 1;
43
-  $strongarm->name = 'dhtml_menu_theme';
44
-  $strongarm->value = array(
45
-    'garland' => array(
46
-      'menu_item' => 'theme_menu_item',
47
-      'menu_item_link' => 'theme_menu_item_link',
48
-    ),
49
-    'einstein' => array(
50
-      'menu_item' => 'theme_menu_item',
51
-      'menu_item_link' => 'zen_menu_item_link',
52
-    ),
53
-    'boinc' => array(
54
-      'menu_item' => 'theme_menu_item',
55
-      'menu_item_link' => 'zen_menu_item_link',
56
-    ),
57
-  );
58
-  $export['dhtml_menu_theme'] = $strongarm;
40
+$strongarm = new stdClass;
41
+$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
42
+$strongarm->api_version = 1;
43
+$strongarm->name = 'dhtml_menu_theme';
44
+$strongarm->value = array(
45
+'garland' => array(
46
+  'menu_item' => 'theme_menu_item',
47
+  'menu_item_link' => 'theme_menu_item_link',
48
+),
49
+'einstein' => array(
50
+  'menu_item' => 'theme_menu_item',
51
+  'menu_item_link' => 'zen_menu_item_link',
52
+),
53
+'boinc' => array(
54
+  'menu_item' => 'theme_menu_item',
55
+  'menu_item_link' => 'zen_menu_item_link',
56
+),
57
+);
58
+$export['dhtml_menu_theme'] = $strongarm;
59 59
 
60
-  $strongarm = new stdClass;
61
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
62
-  $strongarm->api_version = 1;
63
-  $strongarm->name = 'mobile_menu_block';
64
-  $strongarm->value = 0;
65
-  $export['mobile_menu_block'] = $strongarm;
60
+$strongarm = new stdClass;
61
+$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
62
+$strongarm->api_version = 1;
63
+$strongarm->name = 'mobile_menu_block';
64
+$strongarm->value = 0;
65
+$export['mobile_menu_block'] = $strongarm;
66 66
 
67
-  $strongarm = new stdClass;
68
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
69
-  $strongarm->api_version = 1;
70
-  $strongarm->name = 'mobile_menu_css';
71
-  $strongarm->value = '#navigation-mmt';
72
-  $export['mobile_menu_css'] = $strongarm;
67
+$strongarm = new stdClass;
68
+$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
69
+$strongarm->api_version = 1;
70
+$strongarm->name = 'mobile_menu_css';
71
+$strongarm->value = '#navigation-mmt';
72
+$export['mobile_menu_css'] = $strongarm;
73 73
 
74
-  $strongarm = new stdClass;
75
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
76
-  $strongarm->api_version = 1;
77
-  $strongarm->name = 'mobile_menu_menu';
78
-  $strongarm->value = 'primary-links';
79
-  $export['mobile_menu_menu'] = $strongarm;
74
+$strongarm = new stdClass;
75
+$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
76
+$strongarm->api_version = 1;
77
+$strongarm->name = 'mobile_menu_menu';
78
+$strongarm->value = 'primary-links';
79
+$export['mobile_menu_menu'] = $strongarm;
80 80
 
81
-  return $export;
81
+return $export;
82 82
 }
Please login to merge, or discard this patch.
drupal/sites/all/features/mobilemenu/mobilemenu.features.inc 1 patch
Switch Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
  * Implementation of hook_ctools_plugin_api().
5 5
  */
6 6
 function mobilemenu_ctools_plugin_api() {
7
-  list($module, $api) = func_get_args();
8
-  if ($module == "strongarm" && $api == "strongarm") {
9
-    return array("version" => 1);
10
-  }
7
+list($module, $api) = func_get_args();
8
+if ($module == "strongarm" && $api == "strongarm") {
9
+return array("version" => 1);
10
+}
11 11
 }
Please login to merge, or discard this patch.
sites/all/features/mobilemenu/mobilemenu.features.fe_block_settings.inc 1 patch
Switch Indentation   +60 added lines, -60 removed lines patch added patch discarded remove patch
@@ -4,74 +4,74 @@
 block discarded – undo
4 4
  * Implementation of hook_default_fe_block_settings().
5 5
  */
6 6
 function mobilemenu_default_fe_block_settings() {
7
-  $export = array();
7
+$export = array();
8 8
 
9
-  // boinc
10
-  $theme = array();
9
+// boinc
10
+$theme = array();
11 11
 
12
-  $theme['mobile_menu_toggle-0'] = array(
13
-    'module' => 'mobile_menu_toggle',
14
-    'delta' => '0',
15
-    'theme' => 'boinc',
16
-    'status' => '1',
17
-    'weight' => '0',
18
-    'region' => 'header',
19
-    'custom' => '0',
20
-    'throttle' => '0',
21
-    'visibility' => '0',
22
-    'pages' => '',
23
-    'title' => '<none>',
24
-    'cache' => '1',
25
-  );
12
+$theme['mobile_menu_toggle-0'] = array(
13
+'module' => 'mobile_menu_toggle',
14
+'delta' => '0',
15
+'theme' => 'boinc',
16
+'status' => '1',
17
+'weight' => '0',
18
+'region' => 'header',
19
+'custom' => '0',
20
+'throttle' => '0',
21
+'visibility' => '0',
22
+'pages' => '',
23
+'title' => '<none>',
24
+'cache' => '1',
25
+);
26 26
 
27
-  $export['boinc'] = $theme;
27
+$export['boinc'] = $theme;
28 28
 
29
-  // einstein
30
-  $theme = array();
29
+// einstein
30
+$theme = array();
31 31
 
32
-  $theme['mobile_menu_toggle-0'] = array(
33
-    'module' => 'mobile_menu_toggle',
34
-    'delta' => '0',
35
-    'theme' => 'einstein',
36
-    'status' => '1',
37
-    'weight' => '-25',
38
-    'region' => 'header',
39
-    'custom' => '0',
40
-    'throttle' => '0',
41
-    'visibility' => '0',
42
-    'pages' => '',
43
-    'title' => '<none>',
44
-    'cache' => '1',
45
-  );
32
+$theme['mobile_menu_toggle-0'] = array(
33
+'module' => 'mobile_menu_toggle',
34
+'delta' => '0',
35
+'theme' => 'einstein',
36
+'status' => '1',
37
+'weight' => '-25',
38
+'region' => 'header',
39
+'custom' => '0',
40
+'throttle' => '0',
41
+'visibility' => '0',
42
+'pages' => '',
43
+'title' => '<none>',
44
+'cache' => '1',
45
+);
46 46
 
47
-  $export['einstein'] = $theme;
47
+$export['einstein'] = $theme;
48 48
 
49
-  // garland
50
-  $theme = array();
49
+// garland
50
+$theme = array();
51 51
 
52
-  $theme['mobile_menu_toggle-0'] = array(
53
-    'module' => 'mobile_menu_toggle',
54
-    'delta' => '0',
55
-    'theme' => 'garland',
56
-    'status' => 0,
57
-    'weight' => '0',
58
-    'region' => '',
59
-    'custom' => '0',
60
-    'throttle' => '0',
61
-    'visibility' => '0',
62
-    'pages' => '',
63
-    'title' => '<none>',
64
-    'cache' => '1',
65
-  );
52
+$theme['mobile_menu_toggle-0'] = array(
53
+'module' => 'mobile_menu_toggle',
54
+'delta' => '0',
55
+'theme' => 'garland',
56
+'status' => 0,
57
+'weight' => '0',
58
+'region' => '',
59
+'custom' => '0',
60
+'throttle' => '0',
61
+'visibility' => '0',
62
+'pages' => '',
63
+'title' => '<none>',
64
+'cache' => '1',
65
+);
66 66
 
67
-  $export['garland'] = $theme;
67
+$export['garland'] = $theme;
68 68
 
69
-  $theme_default = variable_get('theme_default', 'garland');
70
-  $themes = list_themes();
71
-  foreach ($export as $theme_key => $settings) {
72
-    if ($theme_key != $theme_default && empty($themes[$theme_key]->status)) {
73
-      unset($export[$theme_key]);
74
-    }
75
-  }
76
-  return $export;
69
+$theme_default = variable_get('theme_default', 'garland');
70
+$themes = list_themes();
71
+foreach ($export as $theme_key => $settings) {
72
+if ($theme_key != $theme_default && empty($themes[$theme_key]->status)) {
73
+  unset($export[$theme_key]);
74
+}
75
+}
76
+return $export;
77 77
 }
Please login to merge, or discard this patch.
drupal/sites/all/features/boinc_solr_search/boinc_solr_search.strongarm.inc 1 patch
Switch Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -4,20 +4,20 @@
 block discarded – undo
4 4
  * Implementation of hook_strongarm().
5 5
  */
6 6
 function boinc_solr_search_strongarm() {
7
-  $export = array();
7
+$export = array();
8 8
 
9
-  $strongarm = new stdClass;
10
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
11
-  $strongarm->api_version = 1;
12
-  $strongarm->name = 'boinc_solr_comments_nodetypes';
13
-  $strongarm->value = array(
14
-    'forum' => 'forum',
15
-    'news' => 'news',
16
-    'page' => 'page',
17
-    'story' => 'story',
18
-    'team_forum' => 'team_forum',
19
-  );
20
-  $export['boinc_solr_comments_nodetypes'] = $strongarm;
9
+$strongarm = new stdClass;
10
+$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
11
+$strongarm->api_version = 1;
12
+$strongarm->name = 'boinc_solr_comments_nodetypes';
13
+$strongarm->value = array(
14
+'forum' => 'forum',
15
+'news' => 'news',
16
+'page' => 'page',
17
+'story' => 'story',
18
+'team_forum' => 'team_forum',
19
+);
20
+$export['boinc_solr_comments_nodetypes'] = $strongarm;
21 21
 
22
-  return $export;
22
+return $export;
23 23
 }
Please login to merge, or discard this patch.
drupal/sites/all/features/boinc_solr_search/boinc_solr_search.features.inc 1 patch
Switch Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
  * Implementation of hook_ctools_plugin_api().
5 5
  */
6 6
 function boinc_solr_search_ctools_plugin_api() {
7
-  list($module, $api) = func_get_args();
8
-  if ($module == "strongarm" && $api == "strongarm") {
9
-    return array("version" => 1);
10
-  }
7
+list($module, $api) = func_get_args();
8
+if ($module == "strongarm" && $api == "strongarm") {
9
+return array("version" => 1);
10
+}
11 11
 }
Please login to merge, or discard this patch.
drupal/sites/all/features/friends/friends.views_default.inc 1 patch
Switch Indentation   +900 added lines, -900 removed lines patch added patch discarded remove patch
@@ -4,915 +4,915 @@
 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(
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(
29
-        'button' => 'Override',
30
-      ),
31
-      'relationship' => 'none',
32
-    ),
33
-  ));
34
-  $handler->override_option('fields', array(
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(
43
-        'button' => 'Override',
44
-      ),
45
-      'relationship' => 'none',
46
-    ),
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(
56
-        'button' => 'Override',
57
-      ),
58
-    ),
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(
69
-    'friend_uid' => array(
70
-      'id' => 'friend_uid',
71
-      'table' => 'flag_friend',
72
-      'field' => 'friend_uid',
73
-    ),
74
-  ));
75
-  $handler->override_option('filters', array(
76
-    'status' => array(
77
-      'operator' => '=',
78
-      'value' => '1',
79
-      'group' => '0',
80
-      'exposed' => FALSE,
81
-      'expose' => array(
82
-        'operator' => FALSE,
83
-        'label' => '',
84
-      ),
85
-      'id' => 'status',
86
-      'table' => 'users',
87
-      'field' => 'status',
88
-      'relationship' => 'none',
89
-    ),
90
-  ));
91
-  $handler->override_option('access', array(
92
-    'type' => 'perm',
93
-    'perm' => 'access content',
94
-  ));
95
-  $handler->override_option('cache', array(
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(
104
-    'grouping' => '',
105
-    'override' => 1,
106
-    'sticky' => 0,
107
-    'order' => 'asc',
108
-    'summary' => '',
109
-    'columns' => array(
110
-      'name' => 'name',
111
-      'ops' => 'ops',
112
-      'uid' => 'uid',
113
-    ),
114
-    'info' => array(
115
-      'name' => array(
116
-        'sortable' => 0,
117
-        'separator' => '',
118
-      ),
119
-      'ops' => array(
120
-        'separator' => '',
121
-      ),
122
-      'uid' => array(
123
-        'separator' => '',
124
-      ),
125
-    ),
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(
131
-    'picture' => array(
132
-      'label' => 'Friend',
133
-      'alter' => array(
134
-        'alter_text' => 0,
135
-        'text' => '',
136
-        'make_link' => 0,
137
-        'path' => '',
138
-        'absolute' => 0,
139
-        'link_class' => '',
140
-        'alt' => '',
141
-        'rel' => '',
142
-        'prefix' => '',
143
-        'suffix' => '',
144
-        'target' => '',
145
-        'help' => '',
146
-        'trim' => 0,
147
-        'max_length' => '',
148
-        'word_boundary' => 1,
149
-        'ellipsis' => 1,
150
-        'html' => 0,
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(
162
-        'button' => 'Use default',
163
-      ),
164
-      'relationship' => 'none',
165
-    ),
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(
174
-        'button' => 'Use default',
175
-      ),
176
-      'relationship' => 'none',
177
-    ),
178
-    'uid' => array(
179
-      'label' => '',
180
-      'alter' => array(
181
-        'alter_text' => 0,
182
-        'text' => '',
183
-        'make_link' => 0,
184
-        'path' => '',
185
-        'absolute' => 0,
186
-        'link_class' => '',
187
-        'alt' => '',
188
-        'rel' => '',
189
-        'prefix' => '',
190
-        'suffix' => '',
191
-        'target' => '',
192
-        'help' => '',
193
-        'trim' => 0,
194
-        'max_length' => '',
195
-        'word_boundary' => 1,
196
-        'ellipsis' => 1,
197
-        'html' => 0,
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(
209
-        'button' => 'Use default',
210
-      ),
211
-      'relationship' => 'none',
212
-    ),
213
-  ));
214
-  $handler->override_option('arguments', array(
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(
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(
244
-        2 => 0,
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(
257
-        2 => 0,
258
-        3 => 0,
259
-        5 => 0,
260
-        4 => 0,
261
-        6 => 0,
262
-      ),
263
-      'me_redirect' => 0,
264
-      'me_validate_user_argument_type' => 'uid',
265
-      'me_validate_user_roles' => array(
266
-        2 => 0,
267
-        3 => 0,
268
-        5 => 0,
269
-        4 => 0,
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(
276
-        2 => 0,
277
-        3 => 0,
278
-      ),
279
-      'validate_argument_node_type' => array(
280
-        'page' => 0,
281
-        'profile' => 0,
282
-        'forum' => 0,
283
-        'panel' => 0,
284
-        'news' => 0,
285
-        'story' => 0,
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(
296
-    'type' => 'default tab',
297
-    'title' => bts('View All Friends', array(), NULL, 'boinc:friends-page'),
298
-    'description' => '',
299
-    'weight' => '-10',
300
-    'name' => 'navigation',
301
-  ));
302
-  $handler->override_option('tab_options', array(
303
-    'type' => 'normal',
304
-    'title' => 'Friends',
305
-    'description' => '',
306
-    'weight' => '0',
307
-    'name' => 'navigation',
308
-  ));
309
-  $handler = $view->new_display('page', 'Page (pending)', 'page_2');
310
-  $handler->override_option('fields', array(
311
-    'picture' => array(
312
-      'label' => 'User',
313
-      'alter' => array(
314
-        'alter_text' => 0,
315
-        'text' => '',
316
-        'make_link' => 0,
317
-        'path' => '',
318
-        'absolute' => 0,
319
-        'link_class' => '',
320
-        'alt' => '',
321
-        'rel' => '',
322
-        'prefix' => '',
323
-        'suffix' => '',
324
-        'target' => '',
325
-        'help' => '',
326
-        'trim' => 0,
327
-        'max_length' => '',
328
-        'word_boundary' => 1,
329
-        'ellipsis' => 1,
330
-        'html' => 0,
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(
342
-        'button' => 'Use default',
343
-      ),
344
-      'relationship' => 'none',
345
-    ),
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(
354
-        'button' => 'Use default',
355
-      ),
356
-      'relationship' => 'none',
357
-    ),
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(
366
-        'button' => 'Use default',
367
-      ),
368
-    ),
369
-    'uid' => array(
370
-      'label' => 'Flag friend links',
371
-      'alter' => array(
372
-        'alter_text' => 1,
373
-        'text' => '<ul class="tab-list">
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
+'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(
29
+    'button' => 'Override',
30
+  ),
31
+  'relationship' => 'none',
32
+),
33
+));
34
+$handler->override_option('fields', array(
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(
43
+    'button' => 'Override',
44
+  ),
45
+  'relationship' => 'none',
46
+),
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(
56
+    'button' => 'Override',
57
+  ),
58
+),
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(
69
+'friend_uid' => array(
70
+  'id' => 'friend_uid',
71
+  'table' => 'flag_friend',
72
+  'field' => 'friend_uid',
73
+),
74
+));
75
+$handler->override_option('filters', array(
76
+'status' => array(
77
+  'operator' => '=',
78
+  'value' => '1',
79
+  'group' => '0',
80
+  'exposed' => FALSE,
81
+  'expose' => array(
82
+    'operator' => FALSE,
83
+    'label' => '',
84
+  ),
85
+  'id' => 'status',
86
+  'table' => 'users',
87
+  'field' => 'status',
88
+  'relationship' => 'none',
89
+),
90
+));
91
+$handler->override_option('access', array(
92
+'type' => 'perm',
93
+'perm' => 'access content',
94
+));
95
+$handler->override_option('cache', array(
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(
104
+'grouping' => '',
105
+'override' => 1,
106
+'sticky' => 0,
107
+'order' => 'asc',
108
+'summary' => '',
109
+'columns' => array(
110
+  'name' => 'name',
111
+  'ops' => 'ops',
112
+  'uid' => 'uid',
113
+),
114
+'info' => array(
115
+  'name' => array(
116
+    'sortable' => 0,
117
+    'separator' => '',
118
+  ),
119
+  'ops' => array(
120
+    'separator' => '',
121
+  ),
122
+  'uid' => array(
123
+    'separator' => '',
124
+  ),
125
+),
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(
131
+'picture' => array(
132
+  'label' => 'Friend',
133
+  'alter' => array(
134
+    'alter_text' => 0,
135
+    'text' => '',
136
+    'make_link' => 0,
137
+    'path' => '',
138
+    'absolute' => 0,
139
+    'link_class' => '',
140
+    'alt' => '',
141
+    'rel' => '',
142
+    'prefix' => '',
143
+    'suffix' => '',
144
+    'target' => '',
145
+    'help' => '',
146
+    'trim' => 0,
147
+    'max_length' => '',
148
+    'word_boundary' => 1,
149
+    'ellipsis' => 1,
150
+    'html' => 0,
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(
162
+    'button' => 'Use default',
163
+  ),
164
+  'relationship' => 'none',
165
+),
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(
174
+    'button' => 'Use default',
175
+  ),
176
+  'relationship' => 'none',
177
+),
178
+'uid' => array(
179
+  'label' => '',
180
+  'alter' => array(
181
+    'alter_text' => 0,
182
+    'text' => '',
183
+    'make_link' => 0,
184
+    'path' => '',
185
+    'absolute' => 0,
186
+    'link_class' => '',
187
+    'alt' => '',
188
+    'rel' => '',
189
+    'prefix' => '',
190
+    'suffix' => '',
191
+    'target' => '',
192
+    'help' => '',
193
+    'trim' => 0,
194
+    'max_length' => '',
195
+    'word_boundary' => 1,
196
+    'ellipsis' => 1,
197
+    'html' => 0,
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(
209
+    'button' => 'Use default',
210
+  ),
211
+  'relationship' => 'none',
212
+),
213
+));
214
+$handler->override_option('arguments', array(
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(
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(
244
+    2 => 0,
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(
257
+    2 => 0,
258
+    3 => 0,
259
+    5 => 0,
260
+    4 => 0,
261
+    6 => 0,
262
+  ),
263
+  'me_redirect' => 0,
264
+  'me_validate_user_argument_type' => 'uid',
265
+  'me_validate_user_roles' => array(
266
+    2 => 0,
267
+    3 => 0,
268
+    5 => 0,
269
+    4 => 0,
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(
276
+    2 => 0,
277
+    3 => 0,
278
+  ),
279
+  'validate_argument_node_type' => array(
280
+    'page' => 0,
281
+    'profile' => 0,
282
+    'forum' => 0,
283
+    'panel' => 0,
284
+    'news' => 0,
285
+    'story' => 0,
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(
296
+'type' => 'default tab',
297
+'title' => bts('View All Friends', array(), NULL, 'boinc:friends-page'),
298
+'description' => '',
299
+'weight' => '-10',
300
+'name' => 'navigation',
301
+));
302
+$handler->override_option('tab_options', array(
303
+'type' => 'normal',
304
+'title' => 'Friends',
305
+'description' => '',
306
+'weight' => '0',
307
+'name' => 'navigation',
308
+));
309
+$handler = $view->new_display('page', 'Page (pending)', 'page_2');
310
+$handler->override_option('fields', array(
311
+'picture' => array(
312
+  'label' => 'User',
313
+  'alter' => array(
314
+    'alter_text' => 0,
315
+    'text' => '',
316
+    'make_link' => 0,
317
+    'path' => '',
318
+    'absolute' => 0,
319
+    'link_class' => '',
320
+    'alt' => '',
321
+    'rel' => '',
322
+    'prefix' => '',
323
+    'suffix' => '',
324
+    'target' => '',
325
+    'help' => '',
326
+    'trim' => 0,
327
+    'max_length' => '',
328
+    'word_boundary' => 1,
329
+    'ellipsis' => 1,
330
+    'html' => 0,
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(
342
+    'button' => 'Use default',
343
+  ),
344
+  'relationship' => 'none',
345
+),
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(
354
+    'button' => 'Use default',
355
+  ),
356
+  'relationship' => 'none',
357
+),
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(
366
+    'button' => 'Use default',
367
+  ),
368
+),
369
+'uid' => array(
370
+  'label' => 'Flag friend links',
371
+  'alter' => array(
372
+    'alter_text' => 1,
373
+    'text' => '<ul class="tab-list">
374 374
   <li class="alt tab">[uid]</li>',
375
-        'make_link' => 0,
376
-        'path' => '',
377
-        'absolute' => 0,
378
-        'link_class' => '',
379
-        'alt' => '',
380
-        'rel' => '',
381
-        'prefix' => '',
382
-        'suffix' => '',
383
-        'target' => '',
384
-        'help' => '',
385
-        'trim' => 0,
386
-        'max_length' => '',
387
-        'word_boundary' => 1,
388
-        'ellipsis' => 1,
389
-        'html' => 0,
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(
401
-        'button' => 'Use default',
402
-      ),
403
-      'relationship' => 'none',
404
-    ),
405
-    'ops' => array(
406
-      'label' => '',
407
-      'alter' => array(
408
-        'alter_text' => 1,
409
-        'text' => '  <li class="first alt tab">[ops]</li>
375
+    'make_link' => 0,
376
+    'path' => '',
377
+    'absolute' => 0,
378
+    'link_class' => '',
379
+    'alt' => '',
380
+    'rel' => '',
381
+    'prefix' => '',
382
+    'suffix' => '',
383
+    'target' => '',
384
+    'help' => '',
385
+    'trim' => 0,
386
+    'max_length' => '',
387
+    'word_boundary' => 1,
388
+    'ellipsis' => 1,
389
+    'html' => 0,
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(
401
+    'button' => 'Use default',
402
+  ),
403
+  'relationship' => 'none',
404
+),
405
+'ops' => array(
406
+  'label' => '',
407
+  'alter' => array(
408
+    'alter_text' => 1,
409
+    'text' => '  <li class="first alt tab">[ops]</li>
410 410
 </ul>',
411
-        'make_link' => 0,
412
-        'path' => '',
413
-        'absolute' => 0,
414
-        'link_class' => '',
415
-        'alt' => '',
416
-        'rel' => '',
417
-        'prefix' => '',
418
-        'suffix' => '',
419
-        'target' => '',
420
-        'help' => '',
421
-        'trim' => 0,
422
-        'max_length' => '',
423
-        'word_boundary' => 1,
424
-        'ellipsis' => 1,
425
-        'html' => 0,
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(
439
-        'button' => 'Use default',
440
-      ),
441
-    ),
442
-  ));
443
-  $handler->override_option('arguments', array(
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(
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\')) {
411
+    'make_link' => 0,
412
+    'path' => '',
413
+    'absolute' => 0,
414
+    'link_class' => '',
415
+    'alt' => '',
416
+    'rel' => '',
417
+    'prefix' => '',
418
+    'suffix' => '',
419
+    'target' => '',
420
+    'help' => '',
421
+    'trim' => 0,
422
+    'max_length' => '',
423
+    'word_boundary' => 1,
424
+    'ellipsis' => 1,
425
+    'html' => 0,
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(
439
+    'button' => 'Use default',
440
+  ),
441
+),
442
+));
443
+$handler->override_option('arguments', array(
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(
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\')) {
479 479
                                       return FALSE;
480 480
                                     }
481 481
                                     return TRUE;',
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(
490
-    'grouping' => '',
491
-    'override' => 1,
492
-    'sticky' => 0,
493
-    'order' => 'asc',
494
-    'summary' => '',
495
-    'columns' => array(
496
-      'picture' => 'picture',
497
-      'name' => 'name',
498
-      'message' => 'message',
499
-      'ops' => 'ops',
500
-      'uid' => 'ops',
501
-    ),
502
-    'info' => array(
503
-      'picture' => array(
504
-        'sortable' => 0,
505
-        'separator' => '',
506
-      ),
507
-      'name' => array(
508
-        'sortable' => 0,
509
-        'separator' => '',
510
-      ),
511
-      'message' => array(
512
-        'separator' => '',
513
-      ),
514
-      'ops' => array(
515
-        'separator' => '',
516
-      ),
517
-      'uid' => array(
518
-        'separator' => '',
519
-      ),
520
-    ),
521
-    'default' => '-1',
522
-  ));
523
-  $handler->override_option('path', 'account/%/friends/pending');
524
-  $handler->override_option('menu', array(
525
-    'type' => 'tab',
526
-    'title' => bts('Friend Requests', array(), NULL, 'boinc:friends-page'),
527
-    'description' => '',
528
-    'weight' => '0',
529
-    'name' => 'navigation',
530
-  ));
531
-  $handler->override_option('tab_options', array(
532
-    'type' => 'none',
533
-    'title' => '',
534
-    'description' => '',
535
-    'weight' => 0,
536
-    'name' => 'navigation',
537
-  ));
538
-  $handler = $view->new_display('page', 'Page (flagged)', 'page_3');
539
-  $handler->override_option('relationships', array(
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(
549
-        'button' => 'Use default',
550
-      ),
551
-      'relationship' => 'none',
552
-    ),
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(
561
-        'button' => 'Use default',
562
-      ),
563
-    ),
564
-  ));
565
-  $handler->override_option('fields', array(
566
-    'picture' => array(
567
-      'label' => 'User',
568
-      'alter' => array(
569
-        'alter_text' => 0,
570
-        'text' => '',
571
-        'make_link' => 0,
572
-        'path' => '',
573
-        'absolute' => 0,
574
-        'link_class' => '',
575
-        'alt' => '',
576
-        'rel' => '',
577
-        'prefix' => '',
578
-        'suffix' => '',
579
-        'target' => '',
580
-        'help' => '',
581
-        'trim' => 0,
582
-        'max_length' => '',
583
-        'word_boundary' => 1,
584
-        'ellipsis' => 1,
585
-        'html' => 0,
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(
597
-        'button' => 'Use default',
598
-      ),
599
-      'relationship' => 'none',
600
-    ),
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(
609
-        'button' => 'Use default',
610
-      ),
611
-      'relationship' => 'none',
612
-    ),
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(
621
-        'button' => 'Use default',
622
-      ),
623
-    ),
624
-    'ops' => array(
625
-      'label' => '',
626
-      'alter' => array(
627
-        'alter_text' => 0,
628
-        'text' => '',
629
-        'make_link' => 0,
630
-        'path' => '',
631
-        'absolute' => 0,
632
-        'link_class' => '',
633
-        'alt' => '',
634
-        'rel' => '',
635
-        'prefix' => '',
636
-        'suffix' => '',
637
-        'target' => '',
638
-        'help' => '',
639
-        'trim' => 0,
640
-        'max_length' => '',
641
-        'word_boundary' => 1,
642
-        'ellipsis' => 1,
643
-        'html' => 0,
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(
657
-        'button' => 'Use default',
658
-      ),
659
-    ),
660
-  ));
661
-  $handler->override_option('arguments', array(
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(
681
-        2 => 0,
682
-      ),
683
-      'override' => array(
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(
692
-        'page' => 0,
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\')) {
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(
490
+'grouping' => '',
491
+'override' => 1,
492
+'sticky' => 0,
493
+'order' => 'asc',
494
+'summary' => '',
495
+'columns' => array(
496
+  'picture' => 'picture',
497
+  'name' => 'name',
498
+  'message' => 'message',
499
+  'ops' => 'ops',
500
+  'uid' => 'ops',
501
+),
502
+'info' => array(
503
+  'picture' => array(
504
+    'sortable' => 0,
505
+    'separator' => '',
506
+  ),
507
+  'name' => array(
508
+    'sortable' => 0,
509
+    'separator' => '',
510
+  ),
511
+  'message' => array(
512
+    'separator' => '',
513
+  ),
514
+  'ops' => array(
515
+    'separator' => '',
516
+  ),
517
+  'uid' => array(
518
+    'separator' => '',
519
+  ),
520
+),
521
+'default' => '-1',
522
+));
523
+$handler->override_option('path', 'account/%/friends/pending');
524
+$handler->override_option('menu', array(
525
+'type' => 'tab',
526
+'title' => bts('Friend Requests', array(), NULL, 'boinc:friends-page'),
527
+'description' => '',
528
+'weight' => '0',
529
+'name' => 'navigation',
530
+));
531
+$handler->override_option('tab_options', array(
532
+'type' => 'none',
533
+'title' => '',
534
+'description' => '',
535
+'weight' => 0,
536
+'name' => 'navigation',
537
+));
538
+$handler = $view->new_display('page', 'Page (flagged)', 'page_3');
539
+$handler->override_option('relationships', array(
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(
549
+    'button' => 'Use default',
550
+  ),
551
+  'relationship' => 'none',
552
+),
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(
561
+    'button' => 'Use default',
562
+  ),
563
+),
564
+));
565
+$handler->override_option('fields', array(
566
+'picture' => array(
567
+  'label' => 'User',
568
+  'alter' => array(
569
+    'alter_text' => 0,
570
+    'text' => '',
571
+    'make_link' => 0,
572
+    'path' => '',
573
+    'absolute' => 0,
574
+    'link_class' => '',
575
+    'alt' => '',
576
+    'rel' => '',
577
+    'prefix' => '',
578
+    'suffix' => '',
579
+    'target' => '',
580
+    'help' => '',
581
+    'trim' => 0,
582
+    'max_length' => '',
583
+    'word_boundary' => 1,
584
+    'ellipsis' => 1,
585
+    'html' => 0,
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(
597
+    'button' => 'Use default',
598
+  ),
599
+  'relationship' => 'none',
600
+),
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(
609
+    'button' => 'Use default',
610
+  ),
611
+  'relationship' => 'none',
612
+),
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(
621
+    'button' => 'Use default',
622
+  ),
623
+),
624
+'ops' => array(
625
+  'label' => '',
626
+  'alter' => array(
627
+    'alter_text' => 0,
628
+    'text' => '',
629
+    'make_link' => 0,
630
+    'path' => '',
631
+    'absolute' => 0,
632
+    'link_class' => '',
633
+    'alt' => '',
634
+    'rel' => '',
635
+    'prefix' => '',
636
+    'suffix' => '',
637
+    'target' => '',
638
+    'help' => '',
639
+    'trim' => 0,
640
+    'max_length' => '',
641
+    'word_boundary' => 1,
642
+    'ellipsis' => 1,
643
+    'html' => 0,
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(
657
+    'button' => 'Use default',
658
+  ),
659
+),
660
+));
661
+$handler->override_option('arguments', array(
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(
681
+    2 => 0,
682
+  ),
683
+  'override' => array(
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(
692
+    'page' => 0,
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\')) {
708 708
     return FALSE;
709 709
   }
710 710
   return TRUE;',
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(
720
-    'type' => 'tab',
721
-    'title' => bts('Awaiting Friend Approvals', array(), NULL, 'boinc:friends-page'),
722
-    'description' => '',
723
-    'weight' => '0',
724
-    'name' => 'navigation',
725
-  ));
726
-  $handler->override_option('tab_options', array(
727
-    'type' => 'none',
728
-    'title' => '',
729
-    'description' => '',
730
-    'weight' => 0,
731
-    'name' => 'navigation',
732
-  ));
733
-  $handler = $view->new_display('block', 'Current user\'s Friends block', 'block_1');
734
-  $handler->override_option('relationships', array(
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(
743
-        'button' => 'Use default',
744
-      ),
745
-      'relationship' => 'none',
746
-    ),
747
-  ));
748
-  $handler->override_option('fields', array(
749
-    'name' => array(
750
-      'label' => 'Name',
751
-      'alter' => array(
752
-        'alter_text' => 0,
753
-        'text' => '',
754
-        'make_link' => 0,
755
-        'path' => '',
756
-        'absolute' => 0,
757
-        'link_class' => '',
758
-        'alt' => '',
759
-        'rel' => '',
760
-        'prefix' => '',
761
-        'suffix' => '',
762
-        'target' => '',
763
-        'help' => '',
764
-        'trim' => 0,
765
-        'max_length' => '',
766
-        'word_boundary' => 1,
767
-        'ellipsis' => 1,
768
-        'html' => 0,
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(
783
-        'button' => 'Use default',
784
-      ),
785
-      'relationship' => 'none',
786
-    ),
787
-    'field_image_fid' => array(
788
-      'label' => '',
789
-      'alter' => array(
790
-        'alter_text' => 0,
791
-        'text' => '',
792
-        'make_link' => 0,
793
-        'path' => '',
794
-        'absolute' => 0,
795
-        'link_class' => '',
796
-        'alt' => '',
797
-        'rel' => '',
798
-        'prefix' => '',
799
-        'suffix' => '',
800
-        'target' => '',
801
-        'help' => '',
802
-        'trim' => 0,
803
-        'max_length' => '',
804
-        'word_boundary' => 1,
805
-        'ellipsis' => 1,
806
-        'html' => 0,
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(
817
-        'group' => TRUE,
818
-        'multiple_number' => '',
819
-        'multiple_from' => '',
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(
828
-        'button' => 'Use default',
829
-      ),
830
-    ),
831
-    'uid' => array(
832
-      'label' => 'Uid',
833
-      'alter' => array(
834
-        'alter_text' => 0,
835
-        'text' => '',
836
-        'make_link' => 0,
837
-        'path' => '',
838
-        'absolute' => 0,
839
-        'link_class' => '',
840
-        'alt' => '',
841
-        'rel' => '',
842
-        'prefix' => '',
843
-        'suffix' => '',
844
-        'target' => '',
845
-        'help' => '',
846
-        'trim' => 0,
847
-        'max_length' => '',
848
-        'word_boundary' => 1,
849
-        'ellipsis' => 1,
850
-        'html' => 0,
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(
863
-        'button' => 'Use default',
864
-      ),
865
-      'relationship' => 'none',
866
-    ),
867
-  ));
868
-  $handler->override_option('arguments', array(
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(
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);
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(
720
+'type' => 'tab',
721
+'title' => bts('Awaiting Friend Approvals', array(), NULL, 'boinc:friends-page'),
722
+'description' => '',
723
+'weight' => '0',
724
+'name' => 'navigation',
725
+));
726
+$handler->override_option('tab_options', array(
727
+'type' => 'none',
728
+'title' => '',
729
+'description' => '',
730
+'weight' => 0,
731
+'name' => 'navigation',
732
+));
733
+$handler = $view->new_display('block', 'Current user\'s Friends block', 'block_1');
734
+$handler->override_option('relationships', array(
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(
743
+    'button' => 'Use default',
744
+  ),
745
+  'relationship' => 'none',
746
+),
747
+));
748
+$handler->override_option('fields', array(
749
+'name' => array(
750
+  'label' => 'Name',
751
+  'alter' => array(
752
+    'alter_text' => 0,
753
+    'text' => '',
754
+    'make_link' => 0,
755
+    'path' => '',
756
+    'absolute' => 0,
757
+    'link_class' => '',
758
+    'alt' => '',
759
+    'rel' => '',
760
+    'prefix' => '',
761
+    'suffix' => '',
762
+    'target' => '',
763
+    'help' => '',
764
+    'trim' => 0,
765
+    'max_length' => '',
766
+    'word_boundary' => 1,
767
+    'ellipsis' => 1,
768
+    'html' => 0,
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(
783
+    'button' => 'Use default',
784
+  ),
785
+  'relationship' => 'none',
786
+),
787
+'field_image_fid' => array(
788
+  'label' => '',
789
+  'alter' => array(
790
+    'alter_text' => 0,
791
+    'text' => '',
792
+    'make_link' => 0,
793
+    'path' => '',
794
+    'absolute' => 0,
795
+    'link_class' => '',
796
+    'alt' => '',
797
+    'rel' => '',
798
+    'prefix' => '',
799
+    'suffix' => '',
800
+    'target' => '',
801
+    'help' => '',
802
+    'trim' => 0,
803
+    'max_length' => '',
804
+    'word_boundary' => 1,
805
+    'ellipsis' => 1,
806
+    'html' => 0,
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(
817
+    'group' => TRUE,
818
+    'multiple_number' => '',
819
+    'multiple_from' => '',
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(
828
+    'button' => 'Use default',
829
+  ),
830
+),
831
+'uid' => array(
832
+  'label' => 'Uid',
833
+  'alter' => array(
834
+    'alter_text' => 0,
835
+    'text' => '',
836
+    'make_link' => 0,
837
+    'path' => '',
838
+    'absolute' => 0,
839
+    'link_class' => '',
840
+    'alt' => '',
841
+    'rel' => '',
842
+    'prefix' => '',
843
+    'suffix' => '',
844
+    'target' => '',
845
+    'help' => '',
846
+    'trim' => 0,
847
+    'max_length' => '',
848
+    'word_boundary' => 1,
849
+    'ellipsis' => 1,
850
+    'html' => 0,
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(
863
+    'button' => 'Use default',
864
+  ),
865
+  'relationship' => 'none',
866
+),
867
+));
868
+$handler->override_option('arguments', array(
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(
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);
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.
drupal/sites/all/features/friends/friends.features.user_permission.inc 1 patch
Switch Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -4,16 +4,16 @@
 block discarded – undo
4 4
  * Implementation of hook_user_default_permissions().
5 5
  */
6 6
 function friends_user_default_permissions() {
7
-  $permissions = array();
7
+$permissions = array();
8 8
 
9
-  // Exported permission: receive friend email notification
10
-  $permissions['receive friend email notification'] = array(
11
-    'name' => 'receive friend email notification',
12
-    'roles' => array(
13
-      '0' => 'administrator',
14
-      '1' => 'authenticated user',
15
-    ),
16
-  );
9
+// Exported permission: receive friend email notification
10
+$permissions['receive friend email notification'] = array(
11
+'name' => 'receive friend email notification',
12
+'roles' => array(
13
+  '0' => 'administrator',
14
+  '1' => 'authenticated user',
15
+),
16
+);
17 17
 
18
-  return $permissions;
18
+return $permissions;
19 19
 }
Please login to merge, or discard this patch.