Passed
Pull Request — master (#6441)
by
unknown
09:23
created
drupal/sites/all/features/teams/teams.strongarm.inc 1 patch
Indentation   +69 added lines, -69 removed lines patch added patch discarded remove patch
@@ -4,86 +4,86 @@
 block discarded – undo
4 4
  * Implementation of hook_strongarm().
5 5
  */
6 6
 function teams_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 = 'comment_anonymous_team';
13
-  $strongarm->value = 0;
14
-  $export['comment_anonymous_team'] = $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 = 'comment_anonymous_team';
13
+    $strongarm->value = 0;
14
+    $export['comment_anonymous_team'] = $strongarm;
15 15
 
16
-  $strongarm = new stdClass;
17
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
18
-  $strongarm->api_version = 1;
19
-  $strongarm->name = 'comment_controls_team';
20
-  $strongarm->value = '3';
21
-  $export['comment_controls_team'] = $strongarm;
16
+    $strongarm = new stdClass;
17
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
18
+    $strongarm->api_version = 1;
19
+    $strongarm->name = 'comment_controls_team';
20
+    $strongarm->value = '3';
21
+    $export['comment_controls_team'] = $strongarm;
22 22
 
23
-  $strongarm = new stdClass;
24
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
25
-  $strongarm->api_version = 1;
26
-  $strongarm->name = 'comment_default_mode_team';
27
-  $strongarm->value = '4';
28
-  $export['comment_default_mode_team'] = $strongarm;
23
+    $strongarm = new stdClass;
24
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
25
+    $strongarm->api_version = 1;
26
+    $strongarm->name = 'comment_default_mode_team';
27
+    $strongarm->value = '4';
28
+    $export['comment_default_mode_team'] = $strongarm;
29 29
 
30
-  $strongarm = new stdClass;
31
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
32
-  $strongarm->api_version = 1;
33
-  $strongarm->name = 'comment_default_order_team';
34
-  $strongarm->value = '1';
35
-  $export['comment_default_order_team'] = $strongarm;
30
+    $strongarm = new stdClass;
31
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
32
+    $strongarm->api_version = 1;
33
+    $strongarm->name = 'comment_default_order_team';
34
+    $strongarm->value = '1';
35
+    $export['comment_default_order_team'] = $strongarm;
36 36
 
37
-  $strongarm = new stdClass;
38
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
39
-  $strongarm->api_version = 1;
40
-  $strongarm->name = 'comment_default_per_page_team';
41
-  $strongarm->value = '50';
42
-  $export['comment_default_per_page_team'] = $strongarm;
37
+    $strongarm = new stdClass;
38
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
39
+    $strongarm->api_version = 1;
40
+    $strongarm->name = 'comment_default_per_page_team';
41
+    $strongarm->value = '50';
42
+    $export['comment_default_per_page_team'] = $strongarm;
43 43
 
44
-  $strongarm = new stdClass;
45
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
46
-  $strongarm->api_version = 1;
47
-  $strongarm->name = 'comment_form_location_team';
48
-  $strongarm->value = '0';
49
-  $export['comment_form_location_team'] = $strongarm;
44
+    $strongarm = new stdClass;
45
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
46
+    $strongarm->api_version = 1;
47
+    $strongarm->name = 'comment_form_location_team';
48
+    $strongarm->value = '0';
49
+    $export['comment_form_location_team'] = $strongarm;
50 50
 
51
-  $strongarm = new stdClass;
52
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
53
-  $strongarm->api_version = 1;
54
-  $strongarm->name = 'comment_preview_team';
55
-  $strongarm->value = '1';
56
-  $export['comment_preview_team'] = $strongarm;
51
+    $strongarm = new stdClass;
52
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
53
+    $strongarm->api_version = 1;
54
+    $strongarm->name = 'comment_preview_team';
55
+    $strongarm->value = '1';
56
+    $export['comment_preview_team'] = $strongarm;
57 57
 
58
-  $strongarm = new stdClass;
59
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
60
-  $strongarm->api_version = 1;
61
-  $strongarm->name = 'comment_subject_field_team';
62
-  $strongarm->value = '1';
63
-  $export['comment_subject_field_team'] = $strongarm;
58
+    $strongarm = new stdClass;
59
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
60
+    $strongarm->api_version = 1;
61
+    $strongarm->name = 'comment_subject_field_team';
62
+    $strongarm->value = '1';
63
+    $export['comment_subject_field_team'] = $strongarm;
64 64
 
65
-  $strongarm = new stdClass;
66
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
67
-  $strongarm->api_version = 1;
68
-  $strongarm->name = 'comment_team';
69
-  $strongarm->value = '0';
70
-  $export['comment_team'] = $strongarm;
65
+    $strongarm = new stdClass;
66
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
67
+    $strongarm->api_version = 1;
68
+    $strongarm->name = 'comment_team';
69
+    $strongarm->value = '0';
70
+    $export['comment_team'] = $strongarm;
71 71
 
72
-  $strongarm = new stdClass;
73
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
74
-  $strongarm->api_version = 1;
75
-  $strongarm->name = 'node_options_team';
76
-  $strongarm->value = array(
72
+    $strongarm = new stdClass;
73
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
74
+    $strongarm->api_version = 1;
75
+    $strongarm->name = 'node_options_team';
76
+    $strongarm->value = array(
77 77
     0 => 'status',
78
-  );
79
-  $export['node_options_team'] = $strongarm;
78
+    );
79
+    $export['node_options_team'] = $strongarm;
80 80
 
81
-  $strongarm = new stdClass;
82
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
83
-  $strongarm->api_version = 1;
84
-  $strongarm->name = 'upload_team';
85
-  $strongarm->value = '0';
86
-  $export['upload_team'] = $strongarm;
81
+    $strongarm = new stdClass;
82
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
83
+    $strongarm->api_version = 1;
84
+    $strongarm->name = 'upload_team';
85
+    $strongarm->value = '0';
86
+    $export['upload_team'] = $strongarm;
87 87
 
88
-  return $export;
88
+    return $export;
89 89
 }
Please login to merge, or discard this patch.
drupal/sites/all/features/team_forums/team_forums.strongarm.inc 1 patch
Indentation   +75 added lines, -75 removed lines patch added patch discarded remove patch
@@ -4,93 +4,93 @@
 block discarded – undo
4 4
  * Implementation of hook_strongarm().
5 5
  */
6 6
 function team_forums_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 = 'comment_anonymous_team_forum';
13
-  $strongarm->value = 0;
14
-  $export['comment_anonymous_team_forum'] = $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 = 'comment_anonymous_team_forum';
13
+    $strongarm->value = 0;
14
+    $export['comment_anonymous_team_forum'] = $strongarm;
15 15
 
16
-  $strongarm = new stdClass;
17
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
18
-  $strongarm->api_version = 1;
19
-  $strongarm->name = 'comment_controls_team_forum';
20
-  $strongarm->value = '1';
21
-  $export['comment_controls_team_forum'] = $strongarm;
16
+    $strongarm = new stdClass;
17
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
18
+    $strongarm->api_version = 1;
19
+    $strongarm->name = 'comment_controls_team_forum';
20
+    $strongarm->value = '1';
21
+    $export['comment_controls_team_forum'] = $strongarm;
22 22
 
23
-  $strongarm = new stdClass;
24
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
25
-  $strongarm->api_version = 1;
26
-  $strongarm->name = 'comment_default_mode_team_forum';
27
-  $strongarm->value = '2';
28
-  $export['comment_default_mode_team_forum'] = $strongarm;
23
+    $strongarm = new stdClass;
24
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
25
+    $strongarm->api_version = 1;
26
+    $strongarm->name = 'comment_default_mode_team_forum';
27
+    $strongarm->value = '2';
28
+    $export['comment_default_mode_team_forum'] = $strongarm;
29 29
 
30
-  $strongarm = new stdClass;
31
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
32
-  $strongarm->api_version = 1;
33
-  $strongarm->name = 'comment_default_order_team_forum';
34
-  $strongarm->value = '2';
35
-  $export['comment_default_order_team_forum'] = $strongarm;
30
+    $strongarm = new stdClass;
31
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
32
+    $strongarm->api_version = 1;
33
+    $strongarm->name = 'comment_default_order_team_forum';
34
+    $strongarm->value = '2';
35
+    $export['comment_default_order_team_forum'] = $strongarm;
36 36
 
37
-  $strongarm = new stdClass;
38
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
39
-  $strongarm->api_version = 1;
40
-  $strongarm->name = 'comment_default_per_page_team_forum';
41
-  $strongarm->value = '50';
42
-  $export['comment_default_per_page_team_forum'] = $strongarm;
37
+    $strongarm = new stdClass;
38
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
39
+    $strongarm->api_version = 1;
40
+    $strongarm->name = 'comment_default_per_page_team_forum';
41
+    $strongarm->value = '50';
42
+    $export['comment_default_per_page_team_forum'] = $strongarm;
43 43
 
44
-  $strongarm = new stdClass;
45
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
46
-  $strongarm->api_version = 1;
47
-  $strongarm->name = 'comment_form_location_team_forum';
48
-  $strongarm->value = '0';
49
-  $export['comment_form_location_team_forum'] = $strongarm;
44
+    $strongarm = new stdClass;
45
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
46
+    $strongarm->api_version = 1;
47
+    $strongarm->name = 'comment_form_location_team_forum';
48
+    $strongarm->value = '0';
49
+    $export['comment_form_location_team_forum'] = $strongarm;
50 50
 
51
-  $strongarm = new stdClass;
52
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
53
-  $strongarm->api_version = 1;
54
-  $strongarm->name = 'comment_preview_team_forum';
55
-  $strongarm->value = '0';
56
-  $export['comment_preview_team_forum'] = $strongarm;
51
+    $strongarm = new stdClass;
52
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
53
+    $strongarm->api_version = 1;
54
+    $strongarm->name = 'comment_preview_team_forum';
55
+    $strongarm->value = '0';
56
+    $export['comment_preview_team_forum'] = $strongarm;
57 57
 
58
-  $strongarm = new stdClass;
59
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
60
-  $strongarm->api_version = 1;
61
-  $strongarm->name = 'comment_subject_field_team_forum';
62
-  $strongarm->value = '1';
63
-  $export['comment_subject_field_team_forum'] = $strongarm;
58
+    $strongarm = new stdClass;
59
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
60
+    $strongarm->api_version = 1;
61
+    $strongarm->name = 'comment_subject_field_team_forum';
62
+    $strongarm->value = '1';
63
+    $export['comment_subject_field_team_forum'] = $strongarm;
64 64
 
65
-  $strongarm = new stdClass;
66
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
67
-  $strongarm->api_version = 1;
68
-  $strongarm->name = 'comment_team_forum';
69
-  $strongarm->value = '2';
70
-  $export['comment_team_forum'] = $strongarm;
65
+    $strongarm = new stdClass;
66
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
67
+    $strongarm->api_version = 1;
68
+    $strongarm->name = 'comment_team_forum';
69
+    $strongarm->value = '2';
70
+    $export['comment_team_forum'] = $strongarm;
71 71
 
72
-  $strongarm = new stdClass;
73
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
74
-  $strongarm->api_version = 1;
75
-  $strongarm->name = 'language_content_type_team_forum';
76
-  $strongarm->value = '0';
77
-  $export['language_content_type_team_forum'] = $strongarm;
72
+    $strongarm = new stdClass;
73
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
74
+    $strongarm->api_version = 1;
75
+    $strongarm->name = 'language_content_type_team_forum';
76
+    $strongarm->value = '0';
77
+    $export['language_content_type_team_forum'] = $strongarm;
78 78
 
79
-  $strongarm = new stdClass;
80
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
81
-  $strongarm->api_version = 1;
82
-  $strongarm->name = 'node_options_team_forum';
83
-  $strongarm->value = array(
79
+    $strongarm = new stdClass;
80
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
81
+    $strongarm->api_version = 1;
82
+    $strongarm->name = 'node_options_team_forum';
83
+    $strongarm->value = array(
84 84
     0 => 'status',
85
-  );
86
-  $export['node_options_team_forum'] = $strongarm;
85
+    );
86
+    $export['node_options_team_forum'] = $strongarm;
87 87
 
88
-  $strongarm = new stdClass;
89
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
90
-  $strongarm->api_version = 1;
91
-  $strongarm->name = 'upload_team_forum';
92
-  $strongarm->value = '0';
93
-  $export['upload_team_forum'] = $strongarm;
88
+    $strongarm = new stdClass;
89
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
90
+    $strongarm->api_version = 1;
91
+    $strongarm->name = 'upload_team_forum';
92
+    $strongarm->value = '0';
93
+    $export['upload_team_forum'] = $strongarm;
94 94
 
95
-  return $export;
95
+    return $export;
96 96
 }
Please login to merge, or discard this patch.
drupal/sites/all/features/user_profiles/user_profiles.strongarm.inc 1 patch
Indentation   +110 added lines, -110 removed lines patch added patch discarded remove patch
@@ -4,76 +4,76 @@  discard block
 block discarded – undo
4 4
  * Implementation of hook_strongarm().
5 5
  */
6 6
 function user_profiles_strongarm() {
7
-  $export = array();
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 = 'comment_anonymous_profile';
13
-  $strongarm->value = 0;
14
-  $export['comment_anonymous_profile'] = $strongarm;
15
-
16
-  $strongarm = new stdClass;
17
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
18
-  $strongarm->api_version = 1;
19
-  $strongarm->name = 'comment_controls_profile';
20
-  $strongarm->value = '3';
21
-  $export['comment_controls_profile'] = $strongarm;
22
-
23
-  $strongarm = new stdClass;
24
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
25
-  $strongarm->api_version = 1;
26
-  $strongarm->name = 'comment_default_mode_profile';
27
-  $strongarm->value = '4';
28
-  $export['comment_default_mode_profile'] = $strongarm;
29
-
30
-  $strongarm = new stdClass;
31
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
32
-  $strongarm->api_version = 1;
33
-  $strongarm->name = 'comment_default_order_profile';
34
-  $strongarm->value = '1';
35
-  $export['comment_default_order_profile'] = $strongarm;
36
-
37
-  $strongarm = new stdClass;
38
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
39
-  $strongarm->api_version = 1;
40
-  $strongarm->name = 'comment_default_per_page_profile';
41
-  $strongarm->value = '50';
42
-  $export['comment_default_per_page_profile'] = $strongarm;
43
-
44
-  $strongarm = new stdClass;
45
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
46
-  $strongarm->api_version = 1;
47
-  $strongarm->name = 'comment_form_location_profile';
48
-  $strongarm->value = '0';
49
-  $export['comment_form_location_profile'] = $strongarm;
50
-
51
-  $strongarm = new stdClass;
52
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
53
-  $strongarm->api_version = 1;
54
-  $strongarm->name = 'comment_preview_profile';
55
-  $strongarm->value = '1';
56
-  $export['comment_preview_profile'] = $strongarm;
57
-
58
-  $strongarm = new stdClass;
59
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
60
-  $strongarm->api_version = 1;
61
-  $strongarm->name = 'comment_profile';
62
-  $strongarm->value = '2';
63
-  $export['comment_profile'] = $strongarm;
64
-
65
-  $strongarm = new stdClass;
66
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
67
-  $strongarm->api_version = 1;
68
-  $strongarm->name = 'comment_subject_field_profile';
69
-  $strongarm->value = '1';
70
-  $export['comment_subject_field_profile'] = $strongarm;
71
-
72
-  $strongarm = new stdClass;
73
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
74
-  $strongarm->api_version = 1;
75
-  $strongarm->name = 'content_extra_weights_profile';
76
-  $strongarm->value = array(
7
+    $export = array();
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 = 'comment_anonymous_profile';
13
+    $strongarm->value = 0;
14
+    $export['comment_anonymous_profile'] = $strongarm;
15
+
16
+    $strongarm = new stdClass;
17
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
18
+    $strongarm->api_version = 1;
19
+    $strongarm->name = 'comment_controls_profile';
20
+    $strongarm->value = '3';
21
+    $export['comment_controls_profile'] = $strongarm;
22
+
23
+    $strongarm = new stdClass;
24
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
25
+    $strongarm->api_version = 1;
26
+    $strongarm->name = 'comment_default_mode_profile';
27
+    $strongarm->value = '4';
28
+    $export['comment_default_mode_profile'] = $strongarm;
29
+
30
+    $strongarm = new stdClass;
31
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
32
+    $strongarm->api_version = 1;
33
+    $strongarm->name = 'comment_default_order_profile';
34
+    $strongarm->value = '1';
35
+    $export['comment_default_order_profile'] = $strongarm;
36
+
37
+    $strongarm = new stdClass;
38
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
39
+    $strongarm->api_version = 1;
40
+    $strongarm->name = 'comment_default_per_page_profile';
41
+    $strongarm->value = '50';
42
+    $export['comment_default_per_page_profile'] = $strongarm;
43
+
44
+    $strongarm = new stdClass;
45
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
46
+    $strongarm->api_version = 1;
47
+    $strongarm->name = 'comment_form_location_profile';
48
+    $strongarm->value = '0';
49
+    $export['comment_form_location_profile'] = $strongarm;
50
+
51
+    $strongarm = new stdClass;
52
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
53
+    $strongarm->api_version = 1;
54
+    $strongarm->name = 'comment_preview_profile';
55
+    $strongarm->value = '1';
56
+    $export['comment_preview_profile'] = $strongarm;
57
+
58
+    $strongarm = new stdClass;
59
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
60
+    $strongarm->api_version = 1;
61
+    $strongarm->name = 'comment_profile';
62
+    $strongarm->value = '2';
63
+    $export['comment_profile'] = $strongarm;
64
+
65
+    $strongarm = new stdClass;
66
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
67
+    $strongarm->api_version = 1;
68
+    $strongarm->name = 'comment_subject_field_profile';
69
+    $strongarm->value = '1';
70
+    $export['comment_subject_field_profile'] = $strongarm;
71
+
72
+    $strongarm = new stdClass;
73
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
74
+    $strongarm->api_version = 1;
75
+    $strongarm->name = 'content_extra_weights_profile';
76
+    $strongarm->value = array(
77 77
     'title' => '-5',
78 78
     'body_field' => '-3',
79 79
     'revision_information' => '-1',
@@ -82,46 +82,46 @@  discard block
 block discarded – undo
82 82
     'comment_settings' => '1',
83 83
     'menu' => '-4',
84 84
     'path' => '2',
85
-  );
86
-  $export['content_extra_weights_profile'] = $strongarm;
87
-
88
-  $strongarm = new stdClass;
89
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
90
-  $strongarm->api_version = 1;
91
-  $strongarm->name = 'content_profile_use_profile';
92
-  $strongarm->value = 1;
93
-  $export['content_profile_use_profile'] = $strongarm;
94
-
95
-  $strongarm = new stdClass;
96
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
97
-  $strongarm->api_version = 1;
98
-  $strongarm->name = 'language_content_type_profile';
99
-  $strongarm->value = '0';
100
-  $export['language_content_type_profile'] = $strongarm;
101
-
102
-  $strongarm = new stdClass;
103
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
104
-  $strongarm->api_version = 1;
105
-  $strongarm->name = 'node_options_profile';
106
-  $strongarm->value = array(
85
+    );
86
+    $export['content_extra_weights_profile'] = $strongarm;
87
+
88
+    $strongarm = new stdClass;
89
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
90
+    $strongarm->api_version = 1;
91
+    $strongarm->name = 'content_profile_use_profile';
92
+    $strongarm->value = 1;
93
+    $export['content_profile_use_profile'] = $strongarm;
94
+
95
+    $strongarm = new stdClass;
96
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
97
+    $strongarm->api_version = 1;
98
+    $strongarm->name = 'language_content_type_profile';
99
+    $strongarm->value = '0';
100
+    $export['language_content_type_profile'] = $strongarm;
101
+
102
+    $strongarm = new stdClass;
103
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
104
+    $strongarm->api_version = 1;
105
+    $strongarm->name = 'node_options_profile';
106
+    $strongarm->value = array(
107 107
     0 => 'status',
108 108
     1 => 'promote',
109
-  );
110
-  $export['node_options_profile'] = $strongarm;
111
-
112
-  $strongarm = new stdClass;
113
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
114
-  $strongarm->api_version = 1;
115
-  $strongarm->name = 'show_preview_changes_profile';
116
-  $strongarm->value = 0;
117
-  $export['show_preview_changes_profile'] = $strongarm;
118
-
119
-  $strongarm = new stdClass;
120
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
121
-  $strongarm->api_version = 1;
122
-  $strongarm->name = 'upload_profile';
123
-  $strongarm->value = '0';
124
-  $export['upload_profile'] = $strongarm;
125
-
126
-  return $export;
109
+    );
110
+    $export['node_options_profile'] = $strongarm;
111
+
112
+    $strongarm = new stdClass;
113
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
114
+    $strongarm->api_version = 1;
115
+    $strongarm->name = 'show_preview_changes_profile';
116
+    $strongarm->value = 0;
117
+    $export['show_preview_changes_profile'] = $strongarm;
118
+
119
+    $strongarm = new stdClass;
120
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
121
+    $strongarm->api_version = 1;
122
+    $strongarm->name = 'upload_profile';
123
+    $strongarm->value = '0';
124
+    $export['upload_profile'] = $strongarm;
125
+
126
+    return $export;
127 127
 }
Please login to merge, or discard this patch.
default/boinc/modules/boinctranslate/includes/boinctranslate.forms.inc 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -15,15 +15,15 @@  discard block
 block discarded – undo
15 15
  * the admin interface.
16 16
  */
17 17
 function boinctranslate_filter_settings_form($format = -1) {
18
-  // Form
19
-  $form = array();
20
-  $form['boinctranslate_filter'] = array(
18
+    // Form
19
+    $form = array();
20
+    $form['boinctranslate_filter'] = array(
21 21
     '#type' => 'fieldset',
22 22
     '#title' => bts('BOINC translate filter', array(), NULL, 'boinc:adminpage-boinctranslate-inputfilter'),
23 23
     '#collapsible' => TRUE,
24 24
     '#collapsed' => FALSE,
25
-  );
26
-  $form['boinctranslate_filter']['boinctranslate_filter_help'] = array(
25
+    );
26
+    $form['boinctranslate_filter']['boinctranslate_filter_help'] = array(
27 27
     '#type' => 'item',
28 28
     '#title' => t('BOINC translate filter'),
29 29
     '#value' => t('When a node is created or edited, the content is split into chunks
@@ -48,12 +48,12 @@  discard block
 block discarded – undo
48 48
 only one chunk changes, then only that one translation needs to be
49 49
 updated.'),
50 50
     );
51
-  $form['boinctranslate_filter']["boinctranslate_filter_debug_$format"] = array(
51
+    $form['boinctranslate_filter']["boinctranslate_filter_debug_$format"] = array(
52 52
     '#type' => 'select',
53 53
     '#title' => bts('Print debugging info', array(), NULL, 'boinc:adminpage-boinctranslate-inputfilter'),
54 54
     '#default_value' => variable_get("boinctranslate_filter_debug_$format", 0),
55 55
     '#options' => array(t('Disabled'), t('Enabled')),
56 56
     '#description' => bts('Prints additional debugging information. This option should be disabled on production sites.', array(), NULL, 'boinc:adminpage-boinctranslate-inputfilter'),
57
-  );
58
-  return $form;
57
+    );
58
+    return $form;
59 59
 }
60 60
\ No newline at end of file
Please login to merge, or discard this patch.
drupal/sites/default/boinc/modules/boinctranslate/boinctranslate.module 1 patch
Indentation   +101 added lines, -101 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
  * with defined URL paths
29 29
  */
30 30
 function boinctranslate_menu() {
31
-  $items['admin/boinc/translation'] = array(
31
+    $items['admin/boinc/translation'] = array(
32 32
     'title' => 'Environment: Translation',
33 33
     'description' => 'Configure URLs for translation files (i.e. integration
34 34
       with BOINC Translation Services).',
@@ -37,38 +37,38 @@  discard block
 block discarded – undo
37 37
     'access arguments' => array('administer site configuration'),
38 38
     'type' => MENU_NORMAL_ITEM,
39 39
     'file' => 'boinctranslate.admin.inc'
40
-  );
41
-  $items['admin/boinc/translation/export'] = array(
40
+    );
41
+    $items['admin/boinc/translation/export'] = array(
42 42
     'title' => 'Export translations',
43 43
     'page callback' => 'boinctranslate_export_translations',
44 44
     'access arguments' => array('administer site configuration'),
45 45
     'type' => MENU_CALLBACK,
46
-  );
47
-  $items['admin/boinc/translation/import'] = array(
46
+    );
47
+    $items['admin/boinc/translation/import'] = array(
48 48
     'title' => 'Import translations',
49 49
     'page callback' => 'boinctranslate_refresh_translations',
50 50
     'access arguments' => array('administer site configuration'),
51 51
     'type' => MENU_CALLBACK,
52
-  );
53
-  $items['admin/boinc/translation/initialize-languages'] = array(
52
+    );
53
+    $items['admin/boinc/translation/initialize-languages'] = array(
54 54
     'title' => 'Install official BOINC languages',
55 55
     'page callback' => 'boinctranslate_initialize_languages',
56 56
     'access arguments' => array('administer site configuration'),
57 57
     'type' => MENU_CALLBACK,
58
-  );
59
-  $items['admin/boinc/translation/update-official-boinc'] = array(
58
+    );
59
+    $items['admin/boinc/translation/update-official-boinc'] = array(
60 60
     'title' => 'Update official BOINC translations',
61 61
     'page callback' => 'boinctranslate_update_official_boinc_translations',
62 62
     'access arguments' => array('update official BOINC translations'),
63 63
     'type' => MENU_CALLBACK,
64
-  );
65
-  $items['admin/boinc/translation/download-pot'] = array(
64
+    );
65
+    $items['admin/boinc/translation/download-pot'] = array(
66 66
     'title' => 'Download translation template',
67 67
     'page callback' => 'boinctranslate_download_pot',
68 68
     'access arguments' => array('administer site configuration'),
69 69
     'type' => MENU_CALLBACK,
70
-  );
71
-  return $items;
70
+    );
71
+    return $items;
72 72
 }
73 73
 
74 74
 /**
@@ -76,18 +76,18 @@  discard block
 block discarded – undo
76 76
  * Obsolete in Drupal 7...
77 77
  */
78 78
 function boinctranslate_nodeapi(&$node, $op, $a3 = null, $a4 = null) {
79
-  // In Drupal 7, these operation cases will all exist as their own hooks,
80
-  // so let's approximate that here so that this function can simply be removed
81
-  // upon migration to 7
82
-  switch($op) {
83
-  case 'update':
79
+    // In Drupal 7, these operation cases will all exist as their own hooks,
80
+    // so let's approximate that here so that this function can simply be removed
81
+    // upon migration to 7
82
+    switch($op) {
83
+    case 'update':
84 84
     boinctranslate_node_update($node);
85 85
     break;
86
-  case 'view':
86
+    case 'view':
87 87
     global $language;
88 88
     boinctranslate_node_view($node, 'full', $language->language);
89 89
     break;
90
-  default:
90
+    default:
91 91
   }
92 92
 }
93 93
 
@@ -96,9 +96,9 @@  discard block
 block discarded – undo
96 96
  * is updated (forward compatible to Drupal 7)
97 97
  */
98 98
 function boinctranslate_node_update($node) {
99
-  // Only process nodes of certain types as defined by the individual
100
-  // node's setting for field_boinctranslate_transifex.
101
-  if ( ($node->field_boinctranslate_transifex) and ($node->field_boinctranslate_transifex[0]['value']=='1') ) {
99
+    // Only process nodes of certain types as defined by the individual
100
+    // node's setting for field_boinctranslate_transifex.
101
+    if ( ($node->field_boinctranslate_transifex) and ($node->field_boinctranslate_transifex[0]['value']=='1') ) {
102 102
     // Add page content to translation table.
103 103
     $textgroup = 'project';
104 104
     $location = "node:{$node->nid}:body";
@@ -112,19 +112,19 @@  discard block
 block discarded – undo
112 112
     // Table of lid and hashes
113 113
     $nodehashtable = array();
114 114
     while ($row = db_fetch_array($dbresult)) {
115
-      $locsplit = explode(":", $row['location']);
116
-      // Look for hash in the fourth position.
117
-      if (isset($locsplit[3])) {
115
+        $locsplit = explode(":", $row['location']);
116
+        // Look for hash in the fourth position.
117
+        if (isset($locsplit[3])) {
118 118
         $nodehashtable[$row['lid']] = $locsplit[3];
119
-      }
119
+        }
120 120
     }// while
121 121
 
122 122
     // Break node body into chunks.
123 123
     $chunks = boinctranslate_splitfortranslation($node->body);
124 124
     foreach ($chunks as $idx => $chunk) {
125 125
 
126
-      // Only process this chunk if there is a hash associated with it.
127
-      if ($chunk['hash']) {
126
+        // Only process this chunk if there is a hash associated with it.
127
+        if ($chunk['hash']) {
128 128
         $chunkloc = $location . ":{$chunk['hash']}";
129 129
 
130 130
         // If the hash for this chunk is in the hash table, logically
@@ -133,45 +133,45 @@  discard block
 block discarded – undo
133 133
         // Otherwise, add the chunk to the database.
134 134
         $lidkey = array_search($chunk['hash'], $nodehashtable);
135 135
         if ($lidkey) {
136
-          unset($nodehashtable[$lidkey]);
136
+            unset($nodehashtable[$lidkey]);
137 137
         }
138 138
         else {
139 139
 
140
-          $result = db_query("
140
+            $result = db_query("
141 141
             INSERT INTO {locales_source}
142 142
             SET location = '%s', textgroup = '%s', source = '%s'",
143 143
             $chunkloc, $textgroup, $chunk['content']
144
-          );
145
-          if ($result) {
144
+            );
145
+            if ($result) {
146 146
             watchdog(
147
-              'boinctranslate',
148
-              'Added translation source strings for node @nid chunk @chunk.',
149
-              array('@nid' => $node->nid, '@chunk' => $idx)
150
-           );
151
-          }
152
-          else {
147
+                'boinctranslate',
148
+                'Added translation source strings for node @nid chunk @chunk.',
149
+                array('@nid' => $node->nid, '@chunk' => $idx)
150
+            );
151
+            }
152
+            else {
153 153
             drupal_set_message(
154
-              t('ERROR: Unable to add translation source strings.'), 'error'
154
+                t('ERROR: Unable to add translation source strings.'), 'error'
155 155
             );
156 156
             watchdog(
157
-              'boinctranslate',
158
-              'Unable to add translation source strings for node @nid chunk @chunk.',
159
-              array('@nid' => $node->nid, '@chunk' => $idx),
160
-              WATCHDOG_ERROR
157
+                'boinctranslate',
158
+                'Unable to add translation source strings for node @nid chunk @chunk.',
159
+                array('@nid' => $node->nid, '@chunk' => $idx),
160
+                WATCHDOG_ERROR
161 161
             );
162
-          }// if $result
162
+            }// if $result
163 163
         }// if lidkey
164 164
 
165
-      }// if chunk['hash']
165
+        }// if chunk['hash']
166 166
     }// foreach chunks
167 167
 
168 168
     // Any remaining hashes in the node hash table are deleted.
169 169
     foreach ($nodehashtable as $lid => $hash) {
170
-      db_query('DELETE FROM {locales_source} WHERE lid = %d', $lid);
171
-      db_query('DELETE FROM {locales_target} WHERE lid = %d', $lid);
172
-      cache_clear_all('locale:', 'cache', TRUE);
170
+        db_query('DELETE FROM {locales_source} WHERE lid = %d', $lid);
171
+        db_query('DELETE FROM {locales_target} WHERE lid = %d', $lid);
172
+        cache_clear_all('locale:', 'cache', TRUE);
173 173
     }
174
-  }// if type
174
+    }// if type
175 175
 }
176 176
 
177 177
 /**
@@ -179,10 +179,10 @@  discard block
 block discarded – undo
179 179
  * is viewed (forward compatible to Drupal 7)
180 180
  */
181 181
 function boinctranslate_node_view($node, $view_mode, $langcode) {
182
-  switch($node->type) {
183
-  case 'page':
182
+    switch($node->type) {
183
+    case 'page':
184 184
     break;
185
-  default:
185
+    default:
186 186
   }
187 187
 }
188 188
 
@@ -195,51 +195,51 @@  discard block
 block discarded – undo
195 195
  * boinctranslate_filter_tips
196 196
  */
197 197
 function boinctranslate_filter_tips($delta, $format, $long = FALSE) {
198
-  if ($long) {
198
+    if ($long) {
199 199
     return _boinctranslate_filter_tips_long();
200
-  } else {
200
+    } else {
201 201
     $output = t('You may use !token (opens in new window) as a delimiter to split the translation into different chunks. See the link for a more detailed guide.',
202
-      array(
202
+        array(
203 203
         '!token' =>  l('#SPLIT_TOKEN#', "filter/tips/$format",
204 204
         array(
205
-          'fragment' => 'filter-boinctranslate-' . $delta,
206
-          'attributes' =>
205
+            'fragment' => 'filter-boinctranslate-' . $delta,
206
+            'attributes' =>
207 207
             array(
208
-              'target'=>'_blank',
209
-              'rel'=>'noopener noreferrer',
208
+                'target'=>'_blank',
209
+                'rel'=>'noopener noreferrer',
210 210
             ),
211 211
         ))
212
-      ));
212
+        ));
213 213
     //$output = 'Help with BOINC Translate input filter.';
214 214
     return $output;
215
-  }
215
+    }
216 216
 }
217 217
 
218 218
 /**
219 219
  * boinctranslate_filter
220 220
  */
221 221
 function boinctranslate_filter($op, $delta = 0, $format = -1, $text = '', $cache_id = 0) {
222
-  switch ($op) {
223
-  case 'list':
222
+    switch ($op) {
223
+    case 'list':
224 224
     return array(0 => bts('BOINC translation filter to help split content into chunks for translations.', array(), NULL, 'boinc:adminpage-boinctranslate-inputfilter'));
225 225
 
226
-  case 'description':
226
+    case 'description':
227 227
     return bts('Splits node content into chunks for translation.', array(), NULL, 'boinc:input-filter-help');
228 228
 
229
-  case 'process':
229
+    case 'process':
230 230
     /* Only process nodes of certain types. On an individual
231 231
      * node-by-node level, content editors may choose to select
232 232
      * "Export for translation", which will allow this specific node
233 233
      * to be translated. By default this is enabled.
234 234
      */
235 235
     if ($node = menu_get_object()) {
236
-      $mynid = $node->nid;
236
+        $mynid = $node->nid;
237 237
     } else {
238
-      return $text;
238
+        return $text;
239 239
     }
240 240
 
241 241
     if ( ($node->field_boinctranslate_transifex) and ($node->field_boinctranslate_transifex[0]['value']=='1') ) {
242
-      if (variable_get("boinctranslate_filter_debug_$format", 0)) {
242
+        if (variable_get("boinctranslate_filter_debug_$format", 0)) {
243 243
         $timing_start = explode(' ', microtime());
244 244
         $ret = _boinctranslate_filter_process($text, $format, $mynid);
245 245
         $timing_stop = explode(' ', microtime());
@@ -248,22 +248,22 @@  discard block
 block discarded – undo
248 248
         $mess = 'DEBUG ' . l('BOINC translate', "filter/tips/$format") .' parsed on '.date('r').'<br />Execution time: '.$elapsed.' seconds.';
249 249
         drupal_set_message($mess, 'warning');
250 250
         return $ret;
251
-      }
252
-      else {
251
+        }
252
+        else {
253 253
         return _boinctranslate_filter_process($text, $format, $mynid);
254
-      }// if debug
254
+        }// if debug
255 255
     }
256 256
     else {
257
-      return $text;
257
+        return $text;
258 258
     }// if type
259 259
     break;
260 260
 
261
-  case 'settings':
261
+    case 'settings':
262 262
     return boinctranslate_filter_settings_form($format);
263 263
 
264
-  default:
264
+    default:
265 265
     return $text;
266
-  }
266
+    }
267 267
 }
268 268
 
269 269
 /**
@@ -271,17 +271,17 @@  discard block
 block discarded – undo
271 271
  * This workaround makes panel page titles and pane titles translatable
272 272
  */
273 273
 function boinctranslate_panels_pane_content_alter($content, $pane, $args, $context) {
274
-  if ($content->title) {
274
+    if ($content->title) {
275 275
     $content->title = t($content->title);
276
-  }
277
-  return $content;
276
+    }
277
+    return $content;
278 278
 }
279 279
 
280 280
 /**
281 281
  * Implementation of hook_perm()
282 282
  */
283 283
 function boinctranslate_perm() {
284
-  return array('update official BOINC translations');
284
+    return array('update official BOINC translations');
285 285
 }
286 286
 
287 287
 /*  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
@@ -304,23 +304,23 @@  discard block
 block discarded – undo
304 304
  *   The input string to find.
305 305
  */
306 306
 function boinctranslate_splitfortranslation($instring) {
307
-  $parts = preg_split('/(#SPLIT_TOKEN#)|<p>(#SPLIT_TOKEN#)<\/p>/', $instring);
308
-  $chunks = array();
309
-  foreach ($parts as $key => $value) {
307
+    $parts = preg_split('/(#SPLIT_TOKEN#)|<p>(#SPLIT_TOKEN#)<\/p>/', $instring);
308
+    $chunks = array();
309
+    foreach ($parts as $key => $value) {
310 310
     if (preg_match('/(#SPLIT_TOKEN#)/', $value)) {
311
-      $chunks[] = array ('delimiter' => $value,);
311
+        $chunks[] = array ('delimiter' => $value,);
312 312
     }
313 313
     else {
314
-      $cleaned = preg_replace('/\s|\n/', '', $value);
315
-      if (!empty($cleaned)) {
314
+        $cleaned = preg_replace('/\s|\n/', '', $value);
315
+        if (!empty($cleaned)) {
316 316
         $chunks[] = array(
317
-          'content' => $value,
318
-          'hash' => hash('sha1', $cleaned),
317
+            'content' => $value,
318
+            'hash' => hash('sha1', $cleaned),
319 319
         );
320
-      }// !empty cleaned
320
+        }// !empty cleaned
321 321
     }// preg_match
322
-  }// foreach part
323
-  return $chunks;
322
+    }// foreach part
323
+    return $chunks;
324 324
 }
325 325
 
326 326
 
@@ -338,19 +338,19 @@  discard block
 block discarded – undo
338 338
  *   location/context string.
339 339
  */
340 340
 function _boinctranslate_filter_process(&$text, $format = -1, $nid) {
341
-  $newbody = '';
342
-  // Break node body into chunks.
343
-  $chunks = boinctranslate_splitfortranslation($text);
344
-  foreach ($chunks as $chunk) {
341
+    $newbody = '';
342
+    // Break node body into chunks.
343
+    $chunks = boinctranslate_splitfortranslation($text);
344
+    foreach ($chunks as $chunk) {
345 345
     $location = "project:node:${nid}:body";
346 346
     // Only add this chunk to the content if it has a hash, i.e., it
347 347
     // is not a delimiter.
348 348
     if ($chunk['hash']) {
349
-      $location .= ":{$chunk['hash']}";
350
-      $newbody .= bts($chunk['content'], array(), $langcode, $location, FALSE);
349
+        $location .= ":{$chunk['hash']}";
350
+        $newbody .= bts($chunk['content'], array(), $langcode, $location, FALSE);
351 351
     }
352
-  }
353
-  return $newbody;
352
+    }
353
+    return $newbody;
354 354
 }
355 355
 
356 356
 
@@ -358,7 +358,7 @@  discard block
 block discarded – undo
358 358
  * Implementation of hooks for l10n_update
359 359
  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  */
360 360
 function boinctranslate_l10n_update_projects_alter(&$projects) {
361
-  foreach ($projects as &$proj) {
361
+    foreach ($projects as &$proj) {
362 362
     $proj['info']['l10n path'] = 'https://ftp-origin.drupal.org/files/translations/%core/%project/%project-%release.%language.po';
363
-  }
363
+    }
364 364
 }
Please login to merge, or discard this patch.
sites/all/features/boinc_standard/boinc_standard.features.fieldgroup.inc 1 patch
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -4,57 +4,57 @@
 block discarded – undo
4 4
  * Implementation of hook_fieldgroup_default_groups().
5 5
  */
6 6
 function boinc_standard_fieldgroup_default_groups() {
7
-  $groups = array();
7
+    $groups = array();
8 8
 
9
-  // Exported group: group_boinctranslate_opts
10
-  $groups['page-group_boinctranslate_opts'] = array(
9
+    // Exported group: group_boinctranslate_opts
10
+    $groups['page-group_boinctranslate_opts'] = array(
11 11
     'group_type' => 'standard',
12 12
     'type_name' => 'page',
13 13
     'group_name' => 'group_boinctranslate_opts',
14 14
     'label' => 'boinctranslate node options',
15 15
     'settings' => array(
16
-      'form' => array(
16
+        'form' => array(
17 17
         'style' => 'fieldset_collapsed',
18 18
         'description' => '',
19
-      ),
20
-      'display' => array(
19
+        ),
20
+        'display' => array(
21 21
         'description' => '',
22 22
         'teaser' => array(
23
-          'format' => 'fieldset',
24
-          'exclude' => 0,
23
+            'format' => 'fieldset',
24
+            'exclude' => 0,
25 25
         ),
26 26
         'full' => array(
27
-          'format' => 'fieldset',
28
-          'exclude' => 0,
27
+            'format' => 'fieldset',
28
+            'exclude' => 0,
29 29
         ),
30 30
         '4' => array(
31
-          'format' => 'fieldset',
32
-          'exclude' => 0,
31
+            'format' => 'fieldset',
32
+            'exclude' => 0,
33 33
         ),
34 34
         '2' => array(
35
-          'format' => 'fieldset',
36
-          'exclude' => 0,
35
+            'format' => 'fieldset',
36
+            'exclude' => 0,
37 37
         ),
38 38
         '3' => array(
39
-          'format' => 'fieldset',
40
-          'exclude' => 0,
39
+            'format' => 'fieldset',
40
+            'exclude' => 0,
41 41
         ),
42 42
         'token' => array(
43
-          'format' => 'fieldset',
44
-          'exclude' => 0,
43
+            'format' => 'fieldset',
44
+            'exclude' => 0,
45 45
         ),
46 46
         'label' => 'above',
47
-      ),
47
+        ),
48 48
     ),
49 49
     'weight' => '104',
50 50
     'fields' => array(
51
-      '0' => 'field_boinctranslate_transifex',
51
+        '0' => 'field_boinctranslate_transifex',
52 52
     ),
53
-  );
53
+    );
54 54
 
55
-  // Translatables
56
-  // Included for use with string extractors like potx.
57
-  t('boinctranslate node options');
55
+    // Translatables
56
+    // Included for use with string extractors like potx.
57
+    t('boinctranslate node options');
58 58
 
59
-  return $groups;
59
+    return $groups;
60 60
 }
Please login to merge, or discard this patch.
sites/all/features/boinc_standard/boinc_standard.features.content.inc 1 patch
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -4,42 +4,42 @@  discard block
 block discarded – undo
4 4
  * Implementation of hook_content_default_fields().
5 5
  */
6 6
 function boinc_standard_content_default_fields() {
7
-  $fields = array();
7
+    $fields = array();
8 8
 
9
-  // Exported field: field_boinctranslate_transifex
10
-  $fields['page-field_boinctranslate_transifex'] = array(
9
+    // Exported field: field_boinctranslate_transifex
10
+    $fields['page-field_boinctranslate_transifex'] = array(
11 11
     'field_name' => 'field_boinctranslate_transifex',
12 12
     'type_name' => 'page',
13 13
     'display_settings' => array(
14
-      'weight' => '101',
15
-      'parent' => '',
16
-      'label' => array(
14
+        'weight' => '101',
15
+        'parent' => '',
16
+        'label' => array(
17 17
         'format' => 'hidden',
18
-      ),
19
-      'teaser' => array(
18
+        ),
19
+        'teaser' => array(
20 20
         'format' => 'default',
21 21
         'exclude' => 0,
22
-      ),
23
-      'full' => array(
22
+        ),
23
+        'full' => array(
24 24
         'format' => 'hidden',
25 25
         'exclude' => 0,
26
-      ),
27
-      'token' => array(
26
+        ),
27
+        'token' => array(
28 28
         'format' => 'hidden',
29 29
         'exclude' => 0,
30
-      ),
31
-      '2' => array(
30
+        ),
31
+        '2' => array(
32 32
         'format' => 'hidden',
33 33
         'exclude' => 0,
34
-      ),
35
-      '3' => array(
34
+        ),
35
+        '3' => array(
36 36
         'format' => 'hidden',
37 37
         'exclude' => 0,
38
-      ),
39
-      '4' => array(
38
+        ),
39
+        '4' => array(
40 40
         'format' => 'hidden',
41 41
         'exclude' => 0,
42
-      ),
42
+        ),
43 43
     ),
44 44
     'widget_active' => '1',
45 45
     'type' => 'text',
@@ -53,23 +53,23 @@  discard block
 block discarded – undo
53 53
 1|Export for translation',
54 54
     'allowed_values_php' => '',
55 55
     'widget' => array(
56
-      'default_value' => array(
56
+        'default_value' => array(
57 57
         '0' => array(
58
-          'value' => 1,
58
+            'value' => 1,
59
+        ),
59 60
         ),
60
-      ),
61
-      'default_value_php' => NULL,
62
-      'label' => 'Export to Transifex',
63
-      'weight' => '101',
64
-      'description' => 'If selected, this node will be exported to Transifex for translation. Otherwise the node will only be available in the default language.',
65
-      'type' => 'optionwidgets_onoff',
66
-      'module' => 'optionwidgets',
61
+        'default_value_php' => NULL,
62
+        'label' => 'Export to Transifex',
63
+        'weight' => '101',
64
+        'description' => 'If selected, this node will be exported to Transifex for translation. Otherwise the node will only be available in the default language.',
65
+        'type' => 'optionwidgets_onoff',
66
+        'module' => 'optionwidgets',
67 67
     ),
68
-  );
68
+    );
69 69
 
70
-  // Translatables
71
-  // Included for use with string extractors like potx.
72
-  t('boinctranslate export to transifex');
70
+    // Translatables
71
+    // Included for use with string extractors like potx.
72
+    t('boinctranslate export to transifex');
73 73
 
74
-  return $fields;
74
+    return $fields;
75 75
 }
Please login to merge, or discard this patch.
drupal/sites/all/features/boinc_standard/boinc_standard.views_default.inc 1 patch
Indentation   +210 added lines, -210 removed lines patch added patch discarded remove patch
@@ -4,22 +4,22 @@  discard block
 block discarded – undo
4 4
  * Implementation of hook_views_default_views().
5 5
  */
6 6
 function boinc_standard_views_default_views() {
7
-  $views = array();
7
+    $views = array();
8 8
 
9
-  // Exported view: admin_user_search
10
-  $view = new view;
11
-  $view->name = 'admin_user_search';
12
-  $view->description = 'Administrator User Search';
13
-  $view->tag = '';
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('fields', array(
9
+    // Exported view: admin_user_search
10
+    $view = new view;
11
+    $view->name = 'admin_user_search';
12
+    $view->description = 'Administrator User Search';
13
+    $view->tag = '';
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('fields', array(
20 20
     'uid' => array(
21
-      'label' => 'Uid',
22
-      'alter' => array(
21
+        'label' => 'Uid',
22
+        'alter' => array(
23 23
         'alter_text' => 0,
24 24
         'text' => '',
25 25
         'make_link' => 0,
@@ -38,21 +38,21 @@  discard block
 block discarded – undo
38 38
         'ellipsis' => 1,
39 39
         'html' => 0,
40 40
         'strip_tags' => 0,
41
-      ),
42
-      'empty' => '',
43
-      'hide_empty' => 0,
44
-      'empty_zero' => 0,
45
-      'hide_alter_empty' => 1,
46
-      'link_to_user' => 0,
47
-      'exclude' => 0,
48
-      'id' => 'uid',
49
-      'table' => 'users',
50
-      'field' => 'uid',
51
-      'relationship' => 'none',
41
+        ),
42
+        'empty' => '',
43
+        'hide_empty' => 0,
44
+        'empty_zero' => 0,
45
+        'hide_alter_empty' => 1,
46
+        'link_to_user' => 0,
47
+        'exclude' => 0,
48
+        'id' => 'uid',
49
+        'table' => 'users',
50
+        'field' => 'uid',
51
+        'relationship' => 'none',
52 52
     ),
53 53
     'name' => array(
54
-      'label' => 'Name',
55
-      'alter' => array(
54
+        'label' => 'Name',
55
+        'alter' => array(
56 56
         'alter_text' => 0,
57 57
         'text' => '',
58 58
         'make_link' => 1,
@@ -71,23 +71,23 @@  discard block
 block discarded – undo
71 71
         'ellipsis' => 1,
72 72
         'html' => 0,
73 73
         'strip_tags' => 0,
74
-      ),
75
-      'empty' => '',
76
-      'hide_empty' => 0,
77
-      'empty_zero' => 0,
78
-      'hide_alter_empty' => 1,
79
-      'link_to_user' => 0,
80
-      'overwrite_anonymous' => 0,
81
-      'anonymous_text' => '',
82
-      'exclude' => 0,
83
-      'id' => 'name',
84
-      'table' => 'users',
85
-      'field' => 'name',
86
-      'relationship' => 'none',
74
+        ),
75
+        'empty' => '',
76
+        'hide_empty' => 0,
77
+        'empty_zero' => 0,
78
+        'hide_alter_empty' => 1,
79
+        'link_to_user' => 0,
80
+        'overwrite_anonymous' => 0,
81
+        'anonymous_text' => '',
82
+        'exclude' => 0,
83
+        'id' => 'name',
84
+        'table' => 'users',
85
+        'field' => 'name',
86
+        'relationship' => 'none',
87 87
     ),
88 88
     'phpcode' => array(
89
-      'label' => 'BOINC user name',
90
-      'alter' => array(
89
+        'label' => 'BOINC user name',
90
+        'alter' => array(
91 91
         'alter_text' => 0,
92 92
         'text' => '',
93 93
         'make_link' => 1,
@@ -106,29 +106,29 @@  discard block
 block discarded – undo
106 106
         'ellipsis' => 1,
107 107
         'html' => 0,
108 108
         'strip_tags' => 0,
109
-      ),
110
-      'empty' => '',
111
-      'hide_empty' => 0,
112
-      'empty_zero' => 0,
113
-      'hide_alter_empty' => 1,
114
-      'value' => '<?php
109
+        ),
110
+        'empty' => '',
111
+        'hide_empty' => 0,
112
+        'empty_zero' => 0,
113
+        'hide_alter_empty' => 1,
114
+        'value' => '<?php
115 115
   $myuser = user_load($data->uid);
116 116
   echo $myuser->boincuser_name;
117 117
 ?>',
118
-      'exclude' => 0,
119
-      'id' => 'phpcode',
120
-      'table' => 'customfield',
121
-      'field' => 'phpcode',
122
-      'relationship' => 'none',
118
+        'exclude' => 0,
119
+        'id' => 'phpcode',
120
+        'table' => 'customfield',
121
+        'field' => 'phpcode',
122
+        'relationship' => 'none',
123 123
     ),
124 124
     'mail' => array(
125
-      'id' => 'mail',
126
-      'table' => 'users',
127
-      'field' => 'mail',
125
+        'id' => 'mail',
126
+        'table' => 'users',
127
+        'field' => 'mail',
128 128
     ),
129 129
     'rid' => array(
130
-      'label' => 'Roles',
131
-      'alter' => array(
130
+        'label' => 'Roles',
131
+        'alter' => array(
132 132
         'alter_text' => 0,
133 133
         'text' => '',
134 134
         'make_link' => 0,
@@ -147,22 +147,22 @@  discard block
 block discarded – undo
147 147
         'ellipsis' => 1,
148 148
         'html' => 0,
149 149
         'strip_tags' => 0,
150
-      ),
151
-      'empty' => '',
152
-      'hide_empty' => 0,
153
-      'empty_zero' => 0,
154
-      'hide_alter_empty' => 1,
155
-      'type' => 'separator',
156
-      'separator' => ', ',
157
-      'exclude' => 0,
158
-      'id' => 'rid',
159
-      'table' => 'users_roles',
160
-      'field' => 'rid',
161
-      'relationship' => 'none',
150
+        ),
151
+        'empty' => '',
152
+        'hide_empty' => 0,
153
+        'empty_zero' => 0,
154
+        'hide_alter_empty' => 1,
155
+        'type' => 'separator',
156
+        'separator' => ', ',
157
+        'exclude' => 0,
158
+        'id' => 'rid',
159
+        'table' => 'users_roles',
160
+        'field' => 'rid',
161
+        'relationship' => 'none',
162 162
     ),
163 163
     'status' => array(
164
-      'label' => 'Banned',
165
-      'alter' => array(
164
+        'label' => 'Banned',
165
+        'alter' => array(
166 166
         'alter_text' => 0,
167 167
         'text' => '',
168 168
         'make_link' => 0,
@@ -181,22 +181,22 @@  discard block
 block discarded – undo
181 181
         'ellipsis' => 1,
182 182
         'html' => 0,
183 183
         'strip_tags' => 0,
184
-      ),
185
-      'empty' => '',
186
-      'hide_empty' => 0,
187
-      'empty_zero' => 0,
188
-      'hide_alter_empty' => 1,
189
-      'type' => 'yes-no',
190
-      'not' => 1,
191
-      'exclude' => 0,
192
-      'id' => 'status',
193
-      'table' => 'users',
194
-      'field' => 'status',
195
-      'relationship' => 'none',
184
+        ),
185
+        'empty' => '',
186
+        'hide_empty' => 0,
187
+        'empty_zero' => 0,
188
+        'hide_alter_empty' => 1,
189
+        'type' => 'yes-no',
190
+        'not' => 1,
191
+        'exclude' => 0,
192
+        'id' => 'status',
193
+        'table' => 'users',
194
+        'field' => 'status',
195
+        'relationship' => 'none',
196 196
     ),
197 197
     'access' => array(
198
-      'label' => 'Last access',
199
-      'alter' => array(
198
+        'label' => 'Last access',
199
+        'alter' => array(
200 200
         'alter_text' => 0,
201 201
         'text' => '',
202 202
         'make_link' => 0,
@@ -215,22 +215,22 @@  discard block
 block discarded – undo
215 215
         'ellipsis' => 1,
216 216
         'html' => 0,
217 217
         'strip_tags' => 0,
218
-      ),
219
-      'empty' => '',
220
-      'hide_empty' => 0,
221
-      'empty_zero' => 0,
222
-      'hide_alter_empty' => 1,
223
-      'date_format' => 'time ago',
224
-      'custom_date_format' => '',
225
-      'exclude' => 0,
226
-      'id' => 'access',
227
-      'table' => 'users',
228
-      'field' => 'access',
229
-      'relationship' => 'none',
218
+        ),
219
+        'empty' => '',
220
+        'hide_empty' => 0,
221
+        'empty_zero' => 0,
222
+        'hide_alter_empty' => 1,
223
+        'date_format' => 'time ago',
224
+        'custom_date_format' => '',
225
+        'exclude' => 0,
226
+        'id' => 'access',
227
+        'table' => 'users',
228
+        'field' => 'access',
229
+        'relationship' => 'none',
230 230
     ),
231 231
     'login' => array(
232
-      'label' => 'Last login',
233
-      'alter' => array(
232
+        'label' => 'Last login',
233
+        'alter' => array(
234 234
         'alter_text' => 0,
235 235
         'text' => '',
236 236
         'make_link' => 0,
@@ -249,22 +249,22 @@  discard block
 block discarded – undo
249 249
         'ellipsis' => 1,
250 250
         'html' => 0,
251 251
         'strip_tags' => 0,
252
-      ),
253
-      'empty' => '',
254
-      'hide_empty' => 0,
255
-      'empty_zero' => 0,
256
-      'hide_alter_empty' => 1,
257
-      'date_format' => 'time ago',
258
-      'custom_date_format' => '',
259
-      'exclude' => 0,
260
-      'id' => 'login',
261
-      'table' => 'users',
262
-      'field' => 'login',
263
-      'relationship' => 'none',
252
+        ),
253
+        'empty' => '',
254
+        'hide_empty' => 0,
255
+        'empty_zero' => 0,
256
+        'hide_alter_empty' => 1,
257
+        'date_format' => 'time ago',
258
+        'custom_date_format' => '',
259
+        'exclude' => 0,
260
+        'id' => 'login',
261
+        'table' => 'users',
262
+        'field' => 'login',
263
+        'relationship' => 'none',
264 264
     ),
265 265
     'created' => array(
266
-      'label' => 'Created date',
267
-      'alter' => array(
266
+        'label' => 'Created date',
267
+        'alter' => array(
268 268
         'alter_text' => 0,
269 269
         'text' => '',
270 270
         'make_link' => 0,
@@ -283,22 +283,22 @@  discard block
 block discarded – undo
283 283
         'ellipsis' => 1,
284 284
         'html' => 0,
285 285
         'strip_tags' => 0,
286
-      ),
287
-      'empty' => '',
288
-      'hide_empty' => 0,
289
-      'empty_zero' => 0,
290
-      'hide_alter_empty' => 1,
291
-      'date_format' => 'time ago',
292
-      'custom_date_format' => '',
293
-      'exclude' => 0,
294
-      'id' => 'created',
295
-      'table' => 'users',
296
-      'field' => 'created',
297
-      'relationship' => 'none',
286
+        ),
287
+        'empty' => '',
288
+        'hide_empty' => 0,
289
+        'empty_zero' => 0,
290
+        'hide_alter_empty' => 1,
291
+        'date_format' => 'time ago',
292
+        'custom_date_format' => '',
293
+        'exclude' => 0,
294
+        'id' => 'created',
295
+        'table' => 'users',
296
+        'field' => 'created',
297
+        'relationship' => 'none',
298 298
     ),
299 299
     'edit_node' => array(
300
-      'label' => '',
301
-      'alter' => array(
300
+        'label' => '',
301
+        'alter' => array(
302 302
         'alter_text' => 0,
303 303
         'text' => '',
304 304
         'make_link' => 0,
@@ -317,143 +317,143 @@  discard block
 block discarded – undo
317 317
         'ellipsis' => 1,
318 318
         'html' => 0,
319 319
         'strip_tags' => 0,
320
-      ),
321
-      'empty' => '',
322
-      'hide_empty' => 0,
323
-      'empty_zero' => 0,
324
-      'hide_alter_empty' => 1,
325
-      'text' => '',
326
-      'exclude' => 0,
327
-      'id' => 'edit_node',
328
-      'table' => 'users',
329
-      'field' => 'edit_node',
330
-      'relationship' => 'none',
320
+        ),
321
+        'empty' => '',
322
+        'hide_empty' => 0,
323
+        'empty_zero' => 0,
324
+        'hide_alter_empty' => 1,
325
+        'text' => '',
326
+        'exclude' => 0,
327
+        'id' => 'edit_node',
328
+        'table' => 'users',
329
+        'field' => 'edit_node',
330
+        'relationship' => 'none',
331 331
     ),
332
-  ));
333
-  $handler->override_option('filters', array(
332
+    ));
333
+    $handler->override_option('filters', array(
334 334
     'name' => array(
335
-      'operator' => 'contains',
336
-      'value' => '',
337
-      'group' => '0',
338
-      'exposed' => TRUE,
339
-      'expose' => array(
335
+        'operator' => 'contains',
336
+        'value' => '',
337
+        'group' => '0',
338
+        'exposed' => TRUE,
339
+        'expose' => array(
340 340
         'use_operator' => 0,
341 341
         'operator' => 'name_op',
342 342
         'identifier' => 'name',
343 343
         'label' => 'Part of a User\'s name',
344 344
         'remember' => 0,
345
-      ),
346
-      'case' => 0,
347
-      'id' => 'name',
348
-      'table' => 'users',
349
-      'field' => 'name',
350
-      'relationship' => 'none',
345
+        ),
346
+        'case' => 0,
347
+        'id' => 'name',
348
+        'table' => 'users',
349
+        'field' => 'name',
350
+        'relationship' => 'none',
351 351
     ),
352 352
     'mail' => array(
353
-      'operator' => 'contains',
354
-      'value' => '',
355
-      'group' => '0',
356
-      'exposed' => TRUE,
357
-      'expose' => array(
353
+        'operator' => 'contains',
354
+        'value' => '',
355
+        'group' => '0',
356
+        'exposed' => TRUE,
357
+        'expose' => array(
358 358
         'use_operator' => 0,
359 359
         'operator' => 'mail_op',
360 360
         'identifier' => 'mail',
361 361
         'label' => 'Part of a User\'s E-mail',
362 362
         'remember' => 0,
363
-      ),
364
-      'case' => 0,
365
-      'id' => 'mail',
366
-      'table' => 'users',
367
-      'field' => 'mail',
368
-      'relationship' => 'none',
363
+        ),
364
+        'case' => 0,
365
+        'id' => 'mail',
366
+        'table' => 'users',
367
+        'field' => 'mail',
368
+        'relationship' => 'none',
369 369
     ),
370
-  ));
371
-  $handler->override_option('access', array(
370
+    ));
371
+    $handler->override_option('access', array(
372 372
     'type' => 'perm',
373 373
     'perm' => 'administer users',
374
-  ));
375
-  $handler->override_option('cache', array(
374
+    ));
375
+    $handler->override_option('cache', array(
376 376
     'type' => 'none',
377
-  ));
378
-  $handler->override_option('use_pager', '1');
379
-  $handler->override_option('style_plugin', 'table');
380
-  $handler->override_option('style_options', array(
377
+    ));
378
+    $handler->override_option('use_pager', '1');
379
+    $handler->override_option('style_plugin', 'table');
380
+    $handler->override_option('style_options', array(
381 381
     'grouping' => '',
382 382
     'override' => 1,
383 383
     'sticky' => 0,
384 384
     'order' => 'desc',
385 385
     'summary' => '',
386 386
     'columns' => array(
387
-      'uid' => 'uid',
388
-      'name' => 'name',
389
-      'phpcode' => 'phpcode',
390
-      'mail' => 'mail',
391
-      'rid' => 'rid',
392
-      'status' => 'status',
393
-      'access' => 'access',
394
-      'login' => 'login',
395
-      'created' => 'created',
396
-      'edit_node' => 'edit_node',
387
+        'uid' => 'uid',
388
+        'name' => 'name',
389
+        'phpcode' => 'phpcode',
390
+        'mail' => 'mail',
391
+        'rid' => 'rid',
392
+        'status' => 'status',
393
+        'access' => 'access',
394
+        'login' => 'login',
395
+        'created' => 'created',
396
+        'edit_node' => 'edit_node',
397 397
     ),
398 398
     'info' => array(
399
-      'uid' => array(
399
+        'uid' => array(
400 400
         'sortable' => 1,
401 401
         'separator' => '',
402
-      ),
403
-      'name' => array(
402
+        ),
403
+        'name' => array(
404 404
         'sortable' => 1,
405 405
         'separator' => '',
406
-      ),
407
-      'phpcode' => array(
406
+        ),
407
+        'phpcode' => array(
408 408
         'separator' => '',
409
-      ),
410
-      'mail' => array(
409
+        ),
410
+        'mail' => array(
411 411
         'sortable' => 1,
412 412
         'separator' => '',
413
-      ),
414
-      'rid' => array(
413
+        ),
414
+        'rid' => array(
415 415
         'separator' => '',
416
-      ),
417
-      'status' => array(
416
+        ),
417
+        'status' => array(
418 418
         'sortable' => 1,
419 419
         'separator' => '',
420
-      ),
421
-      'access' => array(
420
+        ),
421
+        'access' => array(
422 422
         'sortable' => 1,
423 423
         'separator' => '',
424
-      ),
425
-      'login' => array(
424
+        ),
425
+        'login' => array(
426 426
         'sortable' => 1,
427 427
         'separator' => '',
428
-      ),
429
-      'created' => array(
428
+        ),
429
+        'created' => array(
430 430
         'sortable' => 1,
431 431
         'separator' => '',
432
-      ),
433
-      'edit_node' => array(
432
+        ),
433
+        'edit_node' => array(
434 434
         'separator' => '',
435
-      ),
435
+        ),
436 436
     ),
437 437
     'default' => 'access',
438
-  ));
439
-  $handler = $view->new_display('page', 'Page', 'page_1');
440
-  $handler->override_option('path', 'admin/user/search');
441
-  $handler->override_option('menu', array(
438
+    ));
439
+    $handler = $view->new_display('page', 'Page', 'page_1');
440
+    $handler->override_option('path', 'admin/user/search');
441
+    $handler->override_option('menu', array(
442 442
     'type' => 'normal',
443 443
     'title' => 'User search',
444 444
     'description' => 'Find users by partial name or email address',
445 445
     'weight' => '0',
446 446
     'name' => 'navigation',
447
-  ));
448
-  $handler->override_option('tab_options', array(
447
+    ));
448
+    $handler->override_option('tab_options', array(
449 449
     'type' => 'none',
450 450
     'title' => '',
451 451
     'description' => '',
452 452
     'weight' => 0,
453 453
     'name' => 'navigation',
454
-  ));
454
+    ));
455 455
 
456
-  $views[$view->name] = $view;
456
+    $views[$view->name] = $view;
457 457
 
458
-  return $views;
458
+    return $views;
459 459
 }
Please login to merge, or discard this patch.
drupal/sites/all/features/private_messages/private_messages.strongarm.inc 1 patch
Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -4,13 +4,13 @@  discard block
 block discarded – undo
4 4
  * Implementation of hook_strongarm().
5 5
  */
6 6
 function private_messages_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 = 'pm_email_notify_body';
13
-  $strongarm->value = 'Hi !boincuser_name,
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 = 'pm_email_notify_body';
13
+    $strongarm->value = 'Hi !boincuser_name,
14 14
 
15 15
 This is an automatic reminder from the site !site. You have received a new private message from !author_boincuser_name.
16 16
 
@@ -19,21 +19,21 @@  discard block
 block discarded – undo
19 19
 
20 20
 If you don\'t want to receive these emails again, change your preferences here:
21 21
 !settings';
22
-  $export['pm_email_notify_body'] = $strongarm;
23
-
24
-  $strongarm = new stdClass;
25
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
26
-  $strongarm->api_version = 1;
27
-  $strongarm->name = 'pm_email_notify_default';
28
-  $strongarm->value = 1;
29
-  $export['pm_email_notify_default'] = $strongarm;
30
-
31
-  $strongarm = new stdClass;
32
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
33
-  $strongarm->api_version = 1;
34
-  $strongarm->name = 'pm_email_notify_subject';
35
-  $strongarm->value = 'New private message at !site.';
36
-  $export['pm_email_notify_subject'] = $strongarm;
37
-
38
-  return $export;
22
+    $export['pm_email_notify_body'] = $strongarm;
23
+
24
+    $strongarm = new stdClass;
25
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
26
+    $strongarm->api_version = 1;
27
+    $strongarm->name = 'pm_email_notify_default';
28
+    $strongarm->value = 1;
29
+    $export['pm_email_notify_default'] = $strongarm;
30
+
31
+    $strongarm = new stdClass;
32
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
33
+    $strongarm->api_version = 1;
34
+    $strongarm->name = 'pm_email_notify_subject';
35
+    $strongarm->value = 'New private message at !site.';
36
+    $export['pm_email_notify_subject'] = $strongarm;
37
+
38
+    return $export;
39 39
 }
Please login to merge, or discard this patch.