Passed
Pull Request — master (#3097)
by Christian
07:15
created
drupal/sites/all/features/boinc_solr_search/boinc_solr_search.features.inc 1 patch
Indentation   +3 added lines, -3 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") {
7
+    list($module, $api) = func_get_args();
8
+    if ($module == "strongarm" && $api == "strongarm") {
9 9
     return array("version" => 1);
10
-  }
10
+    }
11 11
 }
Please login to merge, or discard this patch.
sites/all/features/boinc_standard/boinc_standard.features.role_export.inc 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -4,31 +4,31 @@
 block discarded – undo
4 4
  * Implementation of hook_role_export_defaults().
5 5
  */
6 6
 function boinc_standard_role_export_defaults() {
7
-  $roles = array();
7
+    $roles = array();
8 8
 
9
-  $roles['administrator'] = array(
9
+    $roles['administrator'] = array(
10 10
     'rid' => '3519698132',
11 11
     'name' => 'administrator',
12 12
     'machine_name' => 'administrator',
13
-  );
13
+    );
14 14
 
15
-  $roles['community_member'] = array(
15
+    $roles['community_member'] = array(
16 16
     'rid' => '1110965548',
17 17
     'name' => 'community member',
18 18
     'machine_name' => 'community_member',
19
-  );
19
+    );
20 20
 
21
-  $roles['content_editor'] = array(
21
+    $roles['content_editor'] = array(
22 22
     'rid' => '2938987599',
23 23
     'name' => 'content editor',
24 24
     'machine_name' => 'content_editor',
25
-  );
25
+    );
26 26
 
27
-  $roles['verified_contributor'] = array(
27
+    $roles['verified_contributor'] = array(
28 28
     'rid' => '933038561',
29 29
     'name' => 'verified contributor',
30 30
     'machine_name' => 'verified_contributor',
31
-  );
31
+    );
32 32
 
33
-  return $roles;
33
+    return $roles;
34 34
 }
Please login to merge, or discard this patch.
drupal/sites/all/features/boinc_standard/boinc_standard.features.inc 3 patches
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -7,17 +7,13 @@
 block discarded – undo
7 7
   list($module, $api) = func_get_args();
8 8
   if ($module == "input_formats" && $api == "input_formats") {
9 9
     return array("version" => 1);
10
-  }
11
-  elseif ($module == "page_manager" && $api == "pages_default") {
10
+  } elseif ($module == "page_manager" && $api == "pages_default") {
12 11
     return array("version" => 1);
13
-  }
14
-  elseif ($module == "panels_mini" && $api == "panels_default") {
12
+  } elseif ($module == "panels_mini" && $api == "panels_default") {
15 13
     return array("version" => 1);
16
-  }
17
-  elseif ($module == "strongarm" && $api == "strongarm") {
14
+  } elseif ($module == "strongarm" && $api == "strongarm") {
18 15
     return array("version" => 1);
19
-  }
20
-  elseif ($module == "wysiwyg" && $api == "wysiwyg") {
16
+  } elseif ($module == "wysiwyg" && $api == "wysiwyg") {
21 17
     return array("version" => 2);
22 18
   }
23 19
 }
Please login to merge, or discard this patch.
Upper-Lower-Casing   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
   $flags['abuse_comment'] = array(
32 32
     'content_type' => 'comment',
33 33
     'title' => 'Comment Abuse',
34
-    'global' => FALSE,
34
+    'global' => false,
35 35
     'types' => array(
36 36
       '0' => 'forum',
37 37
       '1' => 'news',
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
   $flags['abuse_node'] = array(
67 67
     'content_type' => 'node',
68 68
     'title' => 'Node Abuse',
69
-    'global' => FALSE,
69
+    'global' => false,
70 70
     'types' => array(
71 71
       '0' => 'forum',
72 72
       '1' => 'profile',
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
       ),
124 124
     ),
125 125
     'weight' => 0,
126
-    'show_on_profile' => TRUE,
126
+    'show_on_profile' => true,
127 127
     'access_uid' => '',
128 128
     'flag_confirmation' => 'Are you sure you want to report this user as offensive?',
129 129
     'unflag_confirmation' => 'Are you sure you want to remove your report of this user?',
@@ -327,7 +327,7 @@  discard block
 block discarded – undo
327 327
             '#weight' => 0.0,
328 328
             '#info' => array(
329 329
               'label' => 'Compare two users: acting user (who edited the comment) is NOT the comment author',
330
-              'label callback' => FALSE,
330
+              'label callback' => false,
331 331
               'arguments' => array(
332 332
                 'user1' => array(
333 333
                   'type' => 'user',
@@ -414,7 +414,7 @@  discard block
 block discarded – undo
414 414
             '#name' => 'rules_condition_user_comparison',
415 415
             '#info' => array(
416 416
               'label' => 'Compare two users: acting user (who unhid the comment) is NOT the comment author',
417
-              'label callback' => FALSE,
417
+              'label callback' => false,
418 418
               'arguments' => array(
419 419
                 'user1' => array(
420 420
                   'type' => 'user',
@@ -489,7 +489,7 @@  discard block
 block discarded – undo
489 489
             '#negate' => 1,
490 490
             '#info' => array(
491 491
               'label' => 'Compare two users: acting user (who hid the comment) is NOT the comment author',
492
-              'label callback' => FALSE,
492
+              'label callback' => false,
493 493
               'arguments' => array(
494 494
                 'user1' => array(
495 495
                   'type' => 'user',
@@ -581,7 +581,7 @@  discard block
 block discarded – undo
581 581
             '#name' => 'rules_condition_user_hasrole',
582 582
             '#info' => array(
583 583
               'label' => 'User has role(s): administrator or moderator',
584
-              'label callback' => FALSE,
584
+              'label callback' => false,
585 585
               'arguments' => array(
586 586
                 'user' => array(
587 587
                   'type' => 'user',
@@ -645,7 +645,7 @@  discard block
 block discarded – undo
645 645
             '#weight' => 0.0,
646 646
             '#info' => array(
647 647
               'label' => 'PHP code: content changed',
648
-              'label callback' => FALSE,
648
+              'label callback' => false,
649 649
               'module' => 'PHP',
650 650
               'eval input' => array(
651 651
                 '0' => 'code',
@@ -739,7 +739,7 @@  discard block
 block discarded – undo
739 739
             '#name' => 'rules_condition_user_hasrole',
740 740
             '#info' => array(
741 741
               'label' => 'User has role(s): administrator or moderator',
742
-              'label callback' => FALSE,
742
+              'label callback' => false,
743 743
               'arguments' => array(
744 744
                 'user' => array(
745 745
                   'type' => 'user',
@@ -804,7 +804,7 @@  discard block
 block discarded – undo
804 804
             '#weight' => 0.0,
805 805
             '#info' => array(
806 806
               'label' => 'PHP code: node content unchanged',
807
-              'label callback' => FALSE,
807
+              'label callback' => false,
808 808
               'module' => 'PHP',
809 809
               'eval input' => array(
810 810
                 '0' => 'code',
@@ -831,7 +831,7 @@  discard block
 block discarded – undo
831 831
             '#weight' => 0.0,
832 832
             '#info' => array(
833 833
               'label' => 'PHP code: node status changed to hidden',
834
-              'label callback' => FALSE,
834
+              'label callback' => false,
835 835
               'module' => 'PHP',
836 836
               'eval input' => array(
837 837
                 '0' => 'code',
@@ -926,7 +926,7 @@  discard block
 block discarded – undo
926 926
             '#name' => 'rules_condition_user_hasrole',
927 927
             '#info' => array(
928 928
               'label' => 'User has role(s): administrator or moderator',
929
-              'label callback' => FALSE,
929
+              'label callback' => false,
930 930
               'arguments' => array(
931 931
                 'user' => array(
932 932
                   'type' => 'user',
@@ -990,7 +990,7 @@  discard block
 block discarded – undo
990 990
             '#weight' => 0.0,
991 991
             '#info' => array(
992 992
               'label' => 'PHP code: node moved to new forum parent',
993
-              'label callback' => FALSE,
993
+              'label callback' => false,
994 994
               'module' => 'PHP',
995 995
               'eval input' => array(
996 996
                 '0' => 'code',
@@ -1084,7 +1084,7 @@  discard block
 block discarded – undo
1084 1084
             '#name' => 'rules_condition_user_hasrole',
1085 1085
             '#info' => array(
1086 1086
               'label' => 'User has role(s): administrator or moderator',
1087
-              'label callback' => FALSE,
1087
+              'label callback' => false,
1088 1088
               'arguments' => array(
1089 1089
                 'user' => array(
1090 1090
                   'type' => 'user',
@@ -1164,7 +1164,7 @@  discard block
 block discarded – undo
1164 1164
             '#name' => 'rules_condition_custom_php',
1165 1165
             '#info' => array(
1166 1166
               'label' => 'PHP code: node content is unchanged',
1167
-              'label callback' => FALSE,
1167
+              'label callback' => false,
1168 1168
               'module' => 'PHP',
1169 1169
               'eval input' => array(
1170 1170
                 '0' => 'code',
@@ -1191,7 +1191,7 @@  discard block
 block discarded – undo
1191 1191
             '#name' => 'rules_condition_custom_php',
1192 1192
             '#info' => array(
1193 1193
               'label' => 'PHP code: node status changed to unhidden',
1194
-              'label callback' => FALSE,
1194
+              'label callback' => false,
1195 1195
               'module' => 'PHP',
1196 1196
               'eval input' => array(
1197 1197
                 '0' => 'code',
@@ -1270,7 +1270,7 @@  discard block
 block discarded – undo
1270 1270
             '#name' => 'rules_condition_user_hasrole',
1271 1271
             '#info' => array(
1272 1272
               'label' => 'User has role(s): administrator or moderator',
1273
-              'label callback' => FALSE,
1273
+              'label callback' => false,
1274 1274
               'arguments' => array(
1275 1275
                 'user' => array(
1276 1276
                   'type' => 'user',
@@ -1335,7 +1335,7 @@  discard block
 block discarded – undo
1335 1335
             '#weight' => 0.0,
1336 1336
             '#info' => array(
1337 1337
               'label' => 'PHP code: node content unchanged',
1338
-              'label callback' => FALSE,
1338
+              'label callback' => false,
1339 1339
               'module' => 'PHP',
1340 1340
               'eval input' => array(
1341 1341
                 '0' => 'code',
@@ -1362,7 +1362,7 @@  discard block
 block discarded – undo
1362 1362
             '#weight' => 0.0,
1363 1363
             '#info' => array(
1364 1364
               'label' => 'PHP code: node locked',
1365
-              'label callback' => FALSE,
1365
+              'label callback' => false,
1366 1366
               'module' => 'PHP',
1367 1367
               'eval input' => array(
1368 1368
                 '0' => 'code',
@@ -1456,7 +1456,7 @@  discard block
 block discarded – undo
1456 1456
             '#name' => 'rules_condition_user_hasrole',
1457 1457
             '#info' => array(
1458 1458
               'label' => 'User has role(s): administrator or moderator',
1459
-              'label callback' => FALSE,
1459
+              'label callback' => false,
1460 1460
               'arguments' => array(
1461 1461
                 'user' => array(
1462 1462
                   'type' => 'user',
@@ -1521,7 +1521,7 @@  discard block
 block discarded – undo
1521 1521
             '#weight' => 0.0,
1522 1522
             '#info' => array(
1523 1523
               'label' => 'PHP code: node content unchanged',
1524
-              'label callback' => FALSE,
1524
+              'label callback' => false,
1525 1525
               'module' => 'PHP',
1526 1526
               'eval input' => array(
1527 1527
                 '0' => 'code',
@@ -1548,7 +1548,7 @@  discard block
 block discarded – undo
1548 1548
             '#weight' => 0.0,
1549 1549
             '#info' => array(
1550 1550
               'label' => 'PHP code: node made sticky',
1551
-              'label callback' => FALSE,
1551
+              'label callback' => false,
1552 1552
               'module' => 'PHP',
1553 1553
               'eval input' => array(
1554 1554
                 '0' => 'code',
@@ -1642,7 +1642,7 @@  discard block
 block discarded – undo
1642 1642
             '#name' => 'rules_condition_user_hasrole',
1643 1643
             '#info' => array(
1644 1644
               'label' => 'User has role(s): administrator or moderator',
1645
-              'label callback' => FALSE,
1645
+              'label callback' => false,
1646 1646
               'arguments' => array(
1647 1647
                 'user' => array(
1648 1648
                   'type' => 'user',
@@ -1707,7 +1707,7 @@  discard block
 block discarded – undo
1707 1707
             '#weight' => 0.0,
1708 1708
             '#info' => array(
1709 1709
               'label' => 'PHP code: node content unchanged',
1710
-              'label callback' => FALSE,
1710
+              'label callback' => false,
1711 1711
               'module' => 'PHP',
1712 1712
               'eval input' => array(
1713 1713
                 '0' => 'code',
@@ -1734,7 +1734,7 @@  discard block
 block discarded – undo
1734 1734
             '#weight' => 0.0,
1735 1735
             '#info' => array(
1736 1736
               'label' => 'PHP code: node made sticky',
1737
-              'label callback' => FALSE,
1737
+              'label callback' => false,
1738 1738
               'module' => 'PHP',
1739 1739
               'eval input' => array(
1740 1740
                 '0' => 'code',
@@ -1829,7 +1829,7 @@  discard block
 block discarded – undo
1829 1829
             '#name' => 'rules_condition_user_hasrole',
1830 1830
             '#info' => array(
1831 1831
               'label' => 'User has role(s): administrator or moderator',
1832
-              'label callback' => FALSE,
1832
+              'label callback' => false,
1833 1833
               'arguments' => array(
1834 1834
                 'user' => array(
1835 1835
                   'type' => 'user',
@@ -1893,7 +1893,7 @@  discard block
 block discarded – undo
1893 1893
             '#weight' => 0.0,
1894 1894
             '#info' => array(
1895 1895
               'label' => 'PHP code: title changed',
1896
-              'label callback' => FALSE,
1896
+              'label callback' => false,
1897 1897
               'module' => 'PHP',
1898 1898
               'eval input' => array(
1899 1899
                 '0' => 'code',
@@ -1987,7 +1987,7 @@  discard block
 block discarded – undo
1987 1987
             '#name' => 'rules_condition_user_hasrole',
1988 1988
             '#info' => array(
1989 1989
               'label' => 'User has role(s): administrator or moderator',
1990
-              'label callback' => FALSE,
1990
+              'label callback' => false,
1991 1991
               'arguments' => array(
1992 1992
                 'user' => array(
1993 1993
                   'type' => 'user',
@@ -2052,7 +2052,7 @@  discard block
 block discarded – undo
2052 2052
             '#weight' => 0.0,
2053 2053
             '#info' => array(
2054 2054
               'label' => 'PHP code: node content unchanged',
2055
-              'label callback' => FALSE,
2055
+              'label callback' => false,
2056 2056
               'module' => 'PHP',
2057 2057
               'eval input' => array(
2058 2058
                 '0' => 'code',
@@ -2079,7 +2079,7 @@  discard block
 block discarded – undo
2079 2079
             '#weight' => 0.0,
2080 2080
             '#info' => array(
2081 2081
               'label' => 'PHP code: node unlocked',
2082
-              'label callback' => FALSE,
2082
+              'label callback' => false,
2083 2083
               'module' => 'PHP',
2084 2084
               'eval input' => array(
2085 2085
                 '0' => 'code',
Please login to merge, or discard this patch.
Indentation   +1219 added lines, -1219 removed lines patch added patch discarded remove patch
@@ -4,38 +4,38 @@  discard block
 block discarded – undo
4 4
  * Implementation of hook_ctools_plugin_api().
5 5
  */
6 6
 function boinc_standard_ctools_plugin_api() {
7
-  list($module, $api) = func_get_args();
8
-  if ($module == "input_formats" && $api == "input_formats") {
7
+    list($module, $api) = func_get_args();
8
+    if ($module == "input_formats" && $api == "input_formats") {
9 9
     return array("version" => 1);
10
-  }
11
-  elseif ($module == "page_manager" && $api == "pages_default") {
10
+    }
11
+    elseif ($module == "page_manager" && $api == "pages_default") {
12 12
     return array("version" => 1);
13
-  }
14
-  elseif ($module == "panels_mini" && $api == "panels_default") {
13
+    }
14
+    elseif ($module == "panels_mini" && $api == "panels_default") {
15 15
     return array("version" => 1);
16
-  }
17
-  elseif ($module == "strongarm" && $api == "strongarm") {
16
+    }
17
+    elseif ($module == "strongarm" && $api == "strongarm") {
18 18
     return array("version" => 1);
19
-  }
20
-  elseif ($module == "wysiwyg" && $api == "wysiwyg") {
19
+    }
20
+    elseif ($module == "wysiwyg" && $api == "wysiwyg") {
21 21
     return array("version" => 2);
22
-  }
22
+    }
23 23
 }
24 24
 
25 25
 /**
26 26
  * Implementation of hook_flag_default_flags().
27 27
  */
28 28
 function boinc_standard_flag_default_flags() {
29
-  $flags = array();
30
-  // Exported flag: "Comment Abuse".
31
-  $flags['abuse_comment'] = array(
29
+    $flags = array();
30
+    // Exported flag: "Comment Abuse".
31
+    $flags['abuse_comment'] = array(
32 32
     'content_type' => 'comment',
33 33
     'title' => 'Comment Abuse',
34 34
     'global' => FALSE,
35 35
     'types' => array(
36
-      '0' => 'forum',
37
-      '1' => 'news',
38
-      '2' => 'team_forum',
36
+        '0' => 'forum',
37
+        '1' => 'news',
38
+        '2' => 'team_forum',
39 39
     ),
40 40
     'flag_short' => 'Report',
41 41
     'flag_long' => 'Report this content as offensive.',
@@ -46,31 +46,31 @@  discard block
 block discarded – undo
46 46
     'unflag_denied_text' => '',
47 47
     'link_type' => 'toggle',
48 48
     'roles' => array(
49
-      'flag' => array(
49
+        'flag' => array(
50 50
         '0' => 2,
51
-      ),
52
-      'unflag' => array(
51
+        ),
52
+        'unflag' => array(
53 53
         '0' => 2,
54
-      ),
54
+        ),
55 55
     ),
56 56
     'weight' => 0,
57 57
     'access_author' => '',
58 58
     'show_on_comment' => 1,
59 59
     'module' => 'boinc_standard',
60 60
     'locked' => array(
61
-      '0' => 'name',
61
+        '0' => 'name',
62 62
     ),
63 63
     'api_version' => 2,
64
-  );
65
-  // Exported flag: "Node Abuse".
66
-  $flags['abuse_node'] = array(
64
+    );
65
+    // Exported flag: "Node Abuse".
66
+    $flags['abuse_node'] = array(
67 67
     'content_type' => 'node',
68 68
     'title' => 'Node Abuse',
69 69
     'global' => FALSE,
70 70
     'types' => array(
71
-      '0' => 'forum',
72
-      '1' => 'profile',
73
-      '2' => 'team_forum',
71
+        '0' => 'forum',
72
+        '1' => 'profile',
73
+        '2' => 'team_forum',
74 74
     ),
75 75
     'flag_short' => 'Report',
76 76
     'flag_long' => 'Report this content as offensive.',
@@ -81,12 +81,12 @@  discard block
 block discarded – undo
81 81
     'unflag_denied_text' => '',
82 82
     'link_type' => 'toggle',
83 83
     'roles' => array(
84
-      'flag' => array(
84
+        'flag' => array(
85 85
         '0' => 2,
86
-      ),
87
-      'unflag' => array(
86
+        ),
87
+        'unflag' => array(
88 88
         '0' => 2,
89
-      ),
89
+        ),
90 90
     ),
91 91
     'weight' => 0,
92 92
     'show_on_page' => 1,
@@ -96,12 +96,12 @@  discard block
 block discarded – undo
96 96
     'i18n' => '0',
97 97
     'module' => 'boinc_standard',
98 98
     'locked' => array(
99
-      '0' => 'name',
99
+        '0' => 'name',
100 100
     ),
101 101
     'api_version' => 2,
102
-  );
103
-  // Exported flag: "User Abuse".
104
-  $flags['abuse_user'] = array(
102
+    );
103
+    // Exported flag: "User Abuse".
104
+    $flags['abuse_user'] = array(
105 105
     'content_type' => 'user',
106 106
     'title' => 'User Abuse',
107 107
     'global' => '0',
@@ -115,12 +115,12 @@  discard block
 block discarded – undo
115 115
     'unflag_denied_text' => '',
116 116
     'link_type' => 'confirm',
117 117
     'roles' => array(
118
-      'flag' => array(
118
+        'flag' => array(
119 119
         '0' => '2',
120
-      ),
121
-      'unflag' => array(
120
+        ),
121
+        'unflag' => array(
122 122
         '0' => '2',
123
-      ),
123
+        ),
124 124
     ),
125 125
     'weight' => 0,
126 126
     'show_on_profile' => TRUE,
@@ -129,19 +129,19 @@  discard block
 block discarded – undo
129 129
     'unflag_confirmation' => 'Are you sure you want to remove your report of this user?',
130 130
     'module' => 'boinc_standard',
131 131
     'locked' => array(
132
-      '0' => 'name',
132
+        '0' => 'name',
133 133
     ),
134 134
     'api_version' => 2,
135
-  );
136
-  // Exported flag: "Subscriptions".
137
-  $flags['subscriptions'] = array(
135
+    );
136
+    // Exported flag: "Subscriptions".
137
+    $flags['subscriptions'] = array(
138 138
     'content_type' => 'node',
139 139
     'title' => 'Subscriptions',
140 140
     'global' => '0',
141 141
     'types' => array(
142
-      '0' => 'forum',
143
-      '1' => 'news',
144
-      '2' => 'team_forum',
142
+        '0' => 'forum',
143
+        '1' => 'news',
144
+        '2' => 'team_forum',
145 145
     ),
146 146
     'flag_short' => 'subscribe',
147 147
     'flag_long' => 'Subscribe to this topic',
@@ -152,12 +152,12 @@  discard block
 block discarded – undo
152 152
     'unflag_denied_text' => '',
153 153
     'link_type' => 'toggle',
154 154
     'roles' => array(
155
-      'flag' => array(
155
+        'flag' => array(
156 156
         '0' => 2,
157
-      ),
158
-      'unflag' => array(
157
+        ),
158
+        'unflag' => array(
159 159
         '0' => 2,
160
-      ),
160
+        ),
161 161
     ),
162 162
     'weight' => 0,
163 163
     'show_on_page' => 1,
@@ -167,11 +167,11 @@  discard block
 block discarded – undo
167 167
     'i18n' => '0',
168 168
     'module' => 'boinc_standard',
169 169
     'locked' => array(
170
-      '0' => 'name',
170
+        '0' => 'name',
171 171
     ),
172 172
     'api_version' => 2,
173
-  );
174
-  return $flags;
173
+    );
174
+    return $flags;
175 175
 
176 176
 }
177 177
 
@@ -179,344 +179,344 @@  discard block
 block discarded – undo
179 179
  * Implementation of hook_node_info().
180 180
  */
181 181
 function boinc_standard_node_info() {
182
-  $items = array(
182
+    $items = array(
183 183
     'page' => array(
184
-      'name' => t('Page'),
185
-      'module' => 'features',
186
-      'description' => t('A <em>page</em>, similar in form to a <em>story</em>, is a simple method for creating and displaying information that rarely changes, such as an "About us" section of a website. By default, a <em>page</em> entry does not allow visitor comments and is not featured on the site\'s initial home page.'),
187
-      'has_title' => '1',
188
-      'title_label' => t('Title'),
189
-      'has_body' => '1',
190
-      'body_label' => t('Body'),
191
-      'min_word_count' => '0',
192
-      'help' => '',
184
+        'name' => t('Page'),
185
+        'module' => 'features',
186
+        'description' => t('A <em>page</em>, similar in form to a <em>story</em>, is a simple method for creating and displaying information that rarely changes, such as an "About us" section of a website. By default, a <em>page</em> entry does not allow visitor comments and is not featured on the site\'s initial home page.'),
187
+        'has_title' => '1',
188
+        'title_label' => t('Title'),
189
+        'has_body' => '1',
190
+        'body_label' => t('Body'),
191
+        'min_word_count' => '0',
192
+        'help' => '',
193 193
     ),
194
-  );
195
-  return $items;
194
+    );
195
+    return $items;
196 196
 }
197 197
 
198 198
 /**
199 199
  * Implementation of hook_rules_defaults().
200 200
  */
201 201
 function boinc_standard_rules_defaults() {
202
-  return array(
202
+    return array(
203 203
     'rules' => array(
204
-      'rules_notify_admins_error_when_user_consenting_with_missing_consent_type' => array(
204
+        'rules_notify_admins_error_when_user_consenting_with_missing_consent_type' => array(
205 205
         '#type' => 'rule',
206 206
         '#set' => 'event_boincuser_general_consent_type_error',
207 207
         '#label' => 'Notify admins error when user consenting with missing consent type',
208 208
         '#active' => 1,
209 209
         '#weight' => '0',
210 210
         '#categories' => array(
211
-          '0' => 'boinc_standard',
212
-          '1' => 'admin notification',
211
+            '0' => 'boinc_standard',
212
+            '1' => 'admin notification',
213 213
         ),
214 214
         '#status' => 'default',
215 215
         '#conditions' => array(),
216 216
         '#actions' => array(
217
-          '0' => array(
217
+            '0' => array(
218 218
             '#type' => 'action',
219 219
             '#settings' => array(
220
-              'from' => '',
221
-              'subject' => '[drupal-error] Error from user consenting to terms of use, missing consent type',
222
-              'message' => '[user:display-name], [user:mail], attempted to consent to terms-of-use form and the function \'check_consent_type\' returned an error. Consent type [consent_type:string] seems to be generating an error.',
223
-              '#eval input' => array(
220
+                'from' => '',
221
+                'subject' => '[drupal-error] Error from user consenting to terms of use, missing consent type',
222
+                'message' => '[user:display-name], [user:mail], attempted to consent to terms-of-use form and the function \'check_consent_type\' returned an error. Consent type [consent_type:string] seems to be generating an error.',
223
+                '#eval input' => array(
224 224
                 'token_rules_input_evaluator' => array(
225
-                  'subject' => array(
225
+                    'subject' => array(
226 226
                     '0' => ':global',
227
-                  ),
228
-                  'message' => array(
227
+                    ),
228
+                    'message' => array(
229 229
                     '0' => 'consent_type',
230 230
                     '1' => 'user',
231 231
                     '2' => ':global',
232
-                  ),
233
-                  'from' => array(
232
+                    ),
233
+                    'from' => array(
234 234
                     '0' => ':global',
235
-                  ),
235
+                    ),
236
+                ),
236 237
                 ),
237
-              ),
238 238
             ),
239 239
             '#name' => 'boinccore_rules_action_mail_to_admins',
240 240
             '#info' => array(
241
-              'label' => 'Notify admins via email',
242
-              'module' => 'BOINC core',
243
-              'eval input' => array(
241
+                'label' => 'Notify admins via email',
242
+                'module' => 'BOINC core',
243
+                'eval input' => array(
244 244
                 '0' => 'subject',
245 245
                 '1' => 'message',
246 246
                 '2' => 'from',
247
-              ),
247
+                ),
248 248
             ),
249 249
             '#weight' => 0.0,
250
-          ),
250
+            ),
251 251
         ),
252 252
         '#version' => 6003,
253
-      ),
254
-      'rules_notify_admins_user_changing_email_address_to_existing_user' => array(
253
+        ),
254
+        'rules_notify_admins_user_changing_email_address_to_existing_user' => array(
255 255
         '#type' => 'rule',
256 256
         '#set' => 'event_boincuser_change_email_error',
257 257
         '#label' => 'Notify admins user changing email address to existing user',
258 258
         '#active' => 1,
259 259
         '#weight' => '0',
260 260
         '#categories' => array(
261
-          '0' => 'boinc_standard',
262
-          '1' => 'admin notification',
261
+            '0' => 'boinc_standard',
262
+            '1' => 'admin notification',
263 263
         ),
264 264
         '#status' => 'default',
265 265
         '#conditions' => array(),
266 266
         '#actions' => array(
267
-          '0' => array(
267
+            '0' => array(
268 268
             '#type' => 'action',
269 269
             '#settings' => array(
270
-              'from' => '',
271
-              'subject' => '[drupal-error] User attempted to change email address to one used by existing user.',
272
-              'message' => '[user:display-name]	with email [user:mail] attempted to change their email to [new_email_addr:string], which is already in use by another user.',
273
-              '#eval input' => array(
270
+                'from' => '',
271
+                'subject' => '[drupal-error] User attempted to change email address to one used by existing user.',
272
+                'message' => '[user:display-name]	with email [user:mail] attempted to change their email to [new_email_addr:string], which is already in use by another user.',
273
+                '#eval input' => array(
274 274
                 'token_rules_input_evaluator' => array(
275
-                  'subject' => array(
275
+                    'subject' => array(
276 276
                     '0' => ':global',
277
-                  ),
278
-                  'message' => array(
277
+                    ),
278
+                    'message' => array(
279 279
                     '0' => 'new_email_addr',
280 280
                     '1' => 'user',
281 281
                     '2' => ':global',
282
-                  ),
283
-                  'from' => array(
282
+                    ),
283
+                    'from' => array(
284 284
                     '0' => ':global',
285
-                  ),
285
+                    ),
286
+                ),
286 287
                 ),
287
-              ),
288 288
             ),
289 289
             '#name' => 'boinccore_rules_action_mail_to_admins',
290 290
             '#info' => array(
291
-              'label' => 'Notify admins via email',
292
-              'module' => 'BOINC core',
293
-              'eval input' => array(
291
+                'label' => 'Notify admins via email',
292
+                'module' => 'BOINC core',
293
+                'eval input' => array(
294 294
                 '0' => 'subject',
295 295
                 '1' => 'message',
296 296
                 '2' => 'from',
297
-              ),
297
+                ),
298 298
             ),
299 299
             '#weight' => 0.0,
300
-          ),
300
+            ),
301 301
         ),
302 302
         '#version' => 6003,
303
-      ),
304
-      'rules_notify_admins_user_reverting_to_previous_email_address_that_is_now_used_by_another_user' => array(
303
+        ),
304
+        'rules_notify_admins_user_reverting_to_previous_email_address_that_is_now_used_by_another_user' => array(
305 305
         '#type' => 'rule',
306 306
         '#set' => 'event_boincuser_revert_email_error',
307 307
         '#label' => 'Notify admins user reverting to previous email address that is now used by another user',
308 308
         '#active' => 1,
309 309
         '#weight' => '0',
310 310
         '#categories' => array(
311
-          '0' => 'boinc_standard',
312
-          '1' => 'admin notification',
311
+            '0' => 'boinc_standard',
312
+            '1' => 'admin notification',
313 313
         ),
314 314
         '#status' => 'default',
315 315
         '#conditions' => array(),
316 316
         '#actions' => array(
317
-          '0' => array(
317
+            '0' => array(
318 318
             '#type' => 'action',
319 319
             '#settings' => array(
320
-              'from' => '',
321
-              'subject' => '[drupal-error] User attempted to revert to previous email address to one used by existing user.',
322
-              'message' => '[user:display-name]	with email [user:mail] attempted to revert their email to their previous email address, [new_email_addr:string], which is already in use by another user.',
323
-              '#eval input' => array(
320
+                'from' => '',
321
+                'subject' => '[drupal-error] User attempted to revert to previous email address to one used by existing user.',
322
+                'message' => '[user:display-name]	with email [user:mail] attempted to revert their email to their previous email address, [new_email_addr:string], which is already in use by another user.',
323
+                '#eval input' => array(
324 324
                 'token_rules_input_evaluator' => array(
325
-                  'subject' => array(
325
+                    'subject' => array(
326 326
                     '0' => ':global',
327
-                  ),
328
-                  'message' => array(
327
+                    ),
328
+                    'message' => array(
329 329
                     '0' => 'new_email_addr',
330 330
                     '1' => 'user',
331 331
                     '2' => ':global',
332
-                  ),
333
-                  'from' => array(
332
+                    ),
333
+                    'from' => array(
334 334
                     '0' => ':global',
335
-                  ),
335
+                    ),
336
+                ),
336 337
                 ),
337
-              ),
338 338
             ),
339 339
             '#name' => 'boinccore_rules_action_mail_to_admins',
340 340
             '#info' => array(
341
-              'label' => 'Notify admins via email',
342
-              'module' => 'BOINC core',
343
-              'eval input' => array(
341
+                'label' => 'Notify admins via email',
342
+                'module' => 'BOINC core',
343
+                'eval input' => array(
344 344
                 '0' => 'subject',
345 345
                 '1' => 'message',
346 346
                 '2' => 'from',
347
-              ),
347
+                ),
348 348
             ),
349 349
             '#weight' => 0.0,
350
-          ),
350
+            ),
351 351
         ),
352 352
         '#version' => 6003,
353
-      ),
354
-      'rules_notify_admins_when_user_fails_to_delete_their_own_account' => array(
353
+        ),
354
+        'rules_notify_admins_when_user_fails_to_delete_their_own_account' => array(
355 355
         '#type' => 'rule',
356 356
         '#set' => 'event_boincuser_delete_general_error',
357 357
         '#label' => 'Notify admins when user fails to delete their own account',
358 358
         '#active' => 1,
359 359
         '#weight' => '0',
360 360
         '#categories' => array(
361
-          '0' => 'boinc_standard',
362
-          '1' => 'admin notification',
361
+            '0' => 'boinc_standard',
362
+            '1' => 'admin notification',
363 363
         ),
364 364
         '#status' => 'default',
365 365
         '#conditions' => array(),
366 366
         '#actions' => array(
367
-          '0' => array(
367
+            '0' => array(
368 368
             '#type' => 'action',
369 369
             '#settings' => array(
370
-              'from' => '',
371
-              'subject' => '[drupal-error] Error when user trying to delete their account',
372
-              'message' => 'User [user:display-name], [user:mail], attempted to delete their account. Error from \'boincuser_load\'.',
373
-              '#eval input' => array(
370
+                'from' => '',
371
+                'subject' => '[drupal-error] Error when user trying to delete their account',
372
+                'message' => 'User [user:display-name], [user:mail], attempted to delete their account. Error from \'boincuser_load\'.',
373
+                '#eval input' => array(
374 374
                 'token_rules_input_evaluator' => array(
375
-                  'subject' => array(
375
+                    'subject' => array(
376 376
                     '0' => ':global',
377
-                  ),
378
-                  'message' => array(
377
+                    ),
378
+                    'message' => array(
379 379
                     '0' => 'user',
380 380
                     '1' => ':global',
381
-                  ),
382
-                  'from' => array(
381
+                    ),
382
+                    'from' => array(
383 383
                     '0' => ':global',
384
-                  ),
384
+                    ),
385
+                ),
385 386
                 ),
386
-              ),
387 387
             ),
388 388
             '#name' => 'boinccore_rules_action_mail_to_admins',
389 389
             '#info' => array(
390
-              'label' => 'Notify admins via email',
391
-              'module' => 'BOINC core',
392
-              'eval input' => array(
390
+                'label' => 'Notify admins via email',
391
+                'module' => 'BOINC core',
392
+                'eval input' => array(
393 393
                 '0' => 'subject',
394 394
                 '1' => 'message',
395 395
                 '2' => 'from',
396
-              ),
396
+                ),
397 397
             ),
398 398
             '#weight' => 0.0,
399
-          ),
399
+            ),
400 400
         ),
401 401
         '#version' => 6003,
402
-      ),
403
-      'rules_notify_admins_when_user_tries_to_delete_account_with_invalid_uid' => array(
402
+        ),
403
+        'rules_notify_admins_when_user_tries_to_delete_account_with_invalid_uid' => array(
404 404
         '#type' => 'rule',
405 405
         '#set' => 'event_boincuser_delete_uid_invalid_error',
406 406
         '#label' => 'Notify admins when user tries to delete account with invalid uid',
407 407
         '#active' => 1,
408 408
         '#weight' => '0',
409 409
         '#categories' => array(
410
-          '0' => 'boinc_standard',
411
-          '1' => 'admin notification',
410
+            '0' => 'boinc_standard',
411
+            '1' => 'admin notification',
412 412
         ),
413 413
         '#status' => 'default',
414 414
         '#conditions' => array(),
415 415
         '#actions' => array(
416
-          '0' => array(
416
+            '0' => array(
417 417
             '#type' => 'action',
418 418
             '#settings' => array(
419
-              'from' => '',
420
-              'subject' => '[drupal-error] invalid uid when user trying to delete their account',
421
-              'message' => 'User [user:display-name], [user:mail], attempted to delete their account. Error is Drupal UID=[user:uid] cannot be located.',
422
-              '#eval input' => array(
419
+                'from' => '',
420
+                'subject' => '[drupal-error] invalid uid when user trying to delete their account',
421
+                'message' => 'User [user:display-name], [user:mail], attempted to delete their account. Error is Drupal UID=[user:uid] cannot be located.',
422
+                '#eval input' => array(
423 423
                 'token_rules_input_evaluator' => array(
424
-                  'subject' => array(
424
+                    'subject' => array(
425 425
                     '0' => ':global',
426
-                  ),
427
-                  'message' => array(
426
+                    ),
427
+                    'message' => array(
428 428
                     '0' => 'user',
429 429
                     '1' => ':global',
430
-                  ),
431
-                  'from' => array(
430
+                    ),
431
+                    'from' => array(
432 432
                     '0' => ':global',
433
-                  ),
433
+                    ),
434
+                ),
434 435
                 ),
435
-              ),
436 436
             ),
437 437
             '#name' => 'boinccore_rules_action_mail_to_admins',
438 438
             '#info' => array(
439
-              'label' => 'Notify admins via email',
440
-              'module' => 'BOINC core',
441
-              'eval input' => array(
439
+                'label' => 'Notify admins via email',
440
+                'module' => 'BOINC core',
441
+                'eval input' => array(
442 442
                 '0' => 'subject',
443 443
                 '1' => 'message',
444 444
                 '2' => 'from',
445
-              ),
445
+                ),
446 446
             ),
447 447
             '#weight' => 0.0,
448
-          ),
448
+            ),
449 449
         ),
450 450
         '#version' => 6003,
451
-      ),
452
-      'rules_notify_admin_error_when_user_consenting_to_terms_of_use' => array(
451
+        ),
452
+        'rules_notify_admin_error_when_user_consenting_to_terms_of_use' => array(
453 453
         '#type' => 'rule',
454 454
         '#set' => 'event_boincuser_general_consent_error',
455 455
         '#label' => 'Notify admins error when user consenting to terms of use',
456 456
         '#active' => 1,
457 457
         '#weight' => '0',
458 458
         '#categories' => array(
459
-          '0' => 'boinc_standard',
460
-          '1' => 'admin notification',
459
+            '0' => 'boinc_standard',
460
+            '1' => 'admin notification',
461 461
         ),
462 462
         '#status' => 'default',
463 463
         '#conditions' => array(),
464 464
         '#actions' => array(
465
-          '0' => array(
465
+            '0' => array(
466 466
             '#type' => 'action',
467 467
             '#settings' => array(
468
-              'from' => '',
469
-              'subject' => '[drupal-error] Error when user attempted to consent to terms of use',
470
-              'message' => '[user:display-name], [user:mail], attempted to consent to terms-of-use form and an error was generated from function \'consent_to_a_policy\'.',
471
-              '#eval input' => array(
468
+                'from' => '',
469
+                'subject' => '[drupal-error] Error when user attempted to consent to terms of use',
470
+                'message' => '[user:display-name], [user:mail], attempted to consent to terms-of-use form and an error was generated from function \'consent_to_a_policy\'.',
471
+                '#eval input' => array(
472 472
                 'token_rules_input_evaluator' => array(
473
-                  'subject' => array(
473
+                    'subject' => array(
474 474
                     '0' => ':global',
475
-                  ),
476
-                  'message' => array(
475
+                    ),
476
+                    'message' => array(
477 477
                     '0' => 'user',
478 478
                     '1' => ':global',
479
-                  ),
480
-                  'from' => array(
479
+                    ),
480
+                    'from' => array(
481 481
                     '0' => ':global',
482
-                  ),
482
+                    ),
483
+                ),
483 484
                 ),
484
-              ),
485 485
             ),
486 486
             '#name' => 'boinccore_rules_action_mail_to_admins',
487 487
             '#info' => array(
488
-              'label' => 'Notify admins via email',
489
-              'module' => 'BOINC core',
490
-              'eval input' => array(
488
+                'label' => 'Notify admins via email',
489
+                'module' => 'BOINC core',
490
+                'eval input' => array(
491 491
                 '0' => 'subject',
492 492
                 '1' => 'message',
493 493
                 '2' => 'from',
494
-              ),
494
+                ),
495 495
             ),
496 496
             '#weight' => 0.0,
497
-          ),
497
+            ),
498 498
         ),
499 499
         '#version' => 6003,
500
-      ),
501
-      'rules_notify_admins_about_circular_merge_error' => array(
500
+        ),
501
+        'rules_notify_admins_about_circular_merge_error' => array(
502 502
         '#type' => 'rule',
503 503
         '#set' => 'event_boincwork_circular_merge_error',
504 504
         '#label' => 'Notify admins about circular merge error',
505 505
         '#active' => 1,
506 506
         '#weight' => '0',
507 507
         '#categories' => array(
508
-          '0' => 'boinc_standard',
509
-          '1' => 'admin notification',
508
+            '0' => 'boinc_standard',
509
+            '1' => 'admin notification',
510 510
         ),
511 511
         '#status' => 'default',
512 512
         '#conditions' => array(),
513 513
         '#actions' => array(
514
-          '0' => array(
514
+            '0' => array(
515 515
             '#type' => 'action',
516 516
             '#settings' => array(
517
-              'from' => '',
518
-              'subject' => '[drupal-error] Circular host merging error',
519
-              'message' => 'User tried to merge a host (old_host) into a target host where the target host\'s rpc_seqno is equal to the old_host\'s id. 
517
+                'from' => '',
518
+                'subject' => '[drupal-error] Circular host merging error',
519
+                'message' => 'User tried to merge a host (old_host) into a target host where the target host\'s rpc_seqno is equal to the old_host\'s id. 
520 520
 
521 521
 Information about this host merge attempt:
522 522
 <?php
@@ -527,61 +527,61 @@  discard block
 block discarded – undo
527 527
 print "BOINC id: " . $account->boincuser_id . "\\n";
528 528
 print "Drupal UID: " . $user->uid . "\\n";
529 529
 ?>',
530
-              '#eval input' => array(
530
+                '#eval input' => array(
531 531
                 'token_rules_input_evaluator' => array(
532
-                  'subject' => array(
532
+                    'subject' => array(
533 533
                     '0' => ':global',
534
-                  ),
535
-                  'message' => array(
534
+                    ),
535
+                    'message' => array(
536 536
                     '0' => ':global',
537
-                  ),
538
-                  'from' => array(
537
+                    ),
538
+                    'from' => array(
539 539
                     '0' => ':global',
540
-                  ),
540
+                    ),
541 541
                 ),
542 542
                 'rules_input_evaluator_php' => array(
543
-                  'message' => array(
543
+                    'message' => array(
544 544
                     '0' => 'oldhost_id',
545 545
                     '1' => 'targethost_id',
546 546
                     '2' => 'user',
547
-                  ),
547
+                    ),
548
+                ),
548 549
                 ),
549
-              ),
550 550
             ),
551 551
             '#name' => 'boinccore_rules_action_mail_to_admins',
552 552
             '#info' => array(
553
-              'label' => 'Notify admins via email',
554
-              'module' => 'BOINC core',
555
-              'eval input' => array(
553
+                'label' => 'Notify admins via email',
554
+                'module' => 'BOINC core',
555
+                'eval input' => array(
556 556
                 '0' => 'subject',
557 557
                 '1' => 'message',
558 558
                 '2' => 'from',
559
-              ),
559
+                ),
560 560
             ),
561 561
             '#weight' => 0.0,
562
-          ),
562
+            ),
563 563
         ),
564 564
         '#version' => 6003,
565
-      ),
566
-      'rules_notify_admins_about_zombie_merge_attempt' => array(
565
+        ),
566
+        'rules_notify_admins_about_zombie_merge_attempt' => array(
567 567
         '#type' => 'rule',
568 568
         '#set' => 'event_boincwork_zombie_merge_error',
569 569
         '#label' => 'Notify admins about zombie merge attempt',
570 570
         '#active' => 1,
571 571
         '#weight' => '0',
572 572
         '#categories' => array(
573
-          '0' => 'boinc_standard',
574
-          '1' => 'admin notification',
573
+            '0' => 'boinc_standard',
574
+            '1' => 'admin notification',
575 575
         ),
576 576
         '#status' => 'default',
577 577
         '#conditions' => array(),
578 578
         '#actions' => array(
579
-          '0' => array(
579
+            '0' => array(
580 580
             '#type' => 'action',
581 581
             '#settings' => array(
582
-              'from' => '',
583
-              'subject' => '[drupal-error] Zombie host merging error',
584
-              'message' => 'User tried to merge a host (old_host) into a target host where the target host\'s userid is equal to 0, a zombie host. 
582
+                'from' => '',
583
+                'subject' => '[drupal-error] Zombie host merging error',
584
+                'message' => 'User tried to merge a host (old_host) into a target host where the target host\'s userid is equal to 0, a zombie host. 
585 585
 I.e., $target_host->userid == 0
586 586
 
587 587
 Information about this host merge attempt:
@@ -593,2160 +593,2160 @@  discard block
 block discarded – undo
593 593
 print "BOINC id: " . $account->boincuser_id . "\\n";
594 594
 print "Drupal UID: " . $user->uid . "\\n";
595 595
 ?>',
596
-              '#eval input' => array(
596
+                '#eval input' => array(
597 597
                 'token_rules_input_evaluator' => array(
598
-                  'subject' => array(
598
+                    'subject' => array(
599 599
                     '0' => ':global',
600
-                  ),
601
-                  'message' => array(
600
+                    ),
601
+                    'message' => array(
602 602
                     '0' => ':global',
603
-                  ),
604
-                  'from' => array(
603
+                    ),
604
+                    'from' => array(
605 605
                     '0' => ':global',
606
-                  ),
606
+                    ),
607 607
                 ),
608 608
                 'rules_input_evaluator_php' => array(
609
-                  'message' => array(
609
+                    'message' => array(
610 610
                     '0' => 'oldhost_id',
611 611
                     '1' => 'targethost_id',
612 612
                     '2' => 'user',
613
-                  ),
613
+                    ),
614
+                ),
614 615
                 ),
615
-              ),
616 616
             ),
617 617
             '#name' => 'boinccore_rules_action_mail_to_admins',
618 618
             '#info' => array(
619
-              'label' => 'Notify admins via email',
620
-              'module' => 'BOINC core',
621
-              'eval input' => array(
619
+                'label' => 'Notify admins via email',
620
+                'module' => 'BOINC core',
621
+                'eval input' => array(
622 622
                 '0' => 'subject',
623 623
                 '1' => 'message',
624 624
                 '2' => 'from',
625
-              ),
625
+                ),
626 626
             ),
627 627
             '#weight' => 0.0,
628
-          ),
628
+            ),
629 629
         ),
630 630
         '#version' => 6003,
631
-      ),
632
-      'rules_comment_converted_to_new_forum_topic_by_moderator_or_admin' => array(
631
+        ),
632
+        'rules_comment_converted_to_new_forum_topic_by_moderator_or_admin' => array(
633 633
         '#type' => 'rule',
634 634
         '#set' => 'event_boinccore_comment_convert',
635 635
         '#label' => 'Comment is converted to new forum topic by moderator or admin',
636 636
         '#active' => 1,
637 637
         '#weight' => '0',
638 638
         '#categories' => array(
639
-          '0' => 'boinc_standard',
640
-          '1' => 'moderator notification',
639
+            '0' => 'boinc_standard',
640
+            '1' => 'moderator notification',
641 641
         ),
642 642
         '#status' => 'default',
643 643
         '#conditions' => array(),
644 644
         '#actions' => array(
645
-          '0' => array(
645
+            '0' => array(
646 646
             '#info' => array(
647
-              'label' => 'Notify moderators via email',
648
-              'module' => 'BOINC core',
649
-              'eval input' => array(
647
+                'label' => 'Notify moderators via email',
648
+                'module' => 'BOINC core',
649
+                'eval input' => array(
650 650
                 '0' => 'subject',
651 651
                 '1' => 'message',
652 652
                 '2' => 'from',
653
-              ),
653
+                ),
654 654
             ),
655 655
             '#name' => 'boinccore_rules_action_mail_to_moderators',
656 656
             '#settings' => array(
657
-              'from' => '',
658
-              'subject' => 'Comment at [:global:site-name] converted to new forum topic',
659
-              'message' => "Comment has been converted to new forum topic by moderator/admin [user:display-name].\r\n\r\nLink: <?php print url('node/' . \$node->nid, array('absolute' => TRUE, 'language' => 'en')); ?>",
660
-              '#eval input' => array(
657
+                'from' => '',
658
+                'subject' => 'Comment at [:global:site-name] converted to new forum topic',
659
+                'message' => "Comment has been converted to new forum topic by moderator/admin [user:display-name].\r\n\r\nLink: <?php print url('node/' . \$node->nid, array('absolute' => TRUE, 'language' => 'en')); ?>",
660
+                '#eval input' => array(
661 661
                 'token_rules_input_evaluator' => array(
662
-                  'subject' => array(
662
+                    'subject' => array(
663 663
                     '0' => ':global',
664
-                  ),
665
-                  'message' => array(
664
+                    ),
665
+                    'message' => array(
666 666
                     '0' => 'user',
667 667
                     '1' => ':global',
668
-                  ),
669
-                  'from' => array(
668
+                    ),
669
+                    'from' => array(
670 670
                     '0' => ':global',
671
-                  ),
671
+                    ),
672 672
                 ),
673 673
                 'rules_input_evaluator_php' => array(
674
-                  'message' => array(
674
+                    'message' => array(
675 675
                     '0' => 'node',
676
-                  ),
676
+                    ),
677
+                ),
677 678
                 ),
678
-              ),
679 679
             ),
680 680
             '#type' => 'action',
681 681
             '#weight' => 0.0,
682
-          ),
682
+            ),
683 683
         ),
684 684
         '#version' => 6003,
685
-      ),
686
-      'rules_comment_deleted_by_admin' => array(
685
+        ),
686
+        'rules_comment_deleted_by_admin' => array(
687 687
         '#type' => 'rule',
688 688
         '#set' => 'event_comment_delete',
689 689
         '#label' => 'Comment deleted by admin',
690 690
         '#active' => 1,
691 691
         '#weight' => '0',
692 692
         '#categories' => array(
693
-          '0' => 'moderator notification',
694
-          '1' => 'boinc_standard',
693
+            '0' => 'moderator notification',
694
+            '1' => 'boinc_standard',
695 695
         ),
696 696
         '#status' => 'default',
697 697
         '#conditions' => array(),
698 698
         '#actions' => array(
699
-          '0' => array(
699
+            '0' => array(
700 700
             '#type' => 'action',
701 701
             '#settings' => array(
702
-              'from' => '',
703
-              'subject' => 'Comment deleted at [:global:site-name] by admin',
704
-              'message' => "Comment to [node:type] topic '[node:title]' deleted by admin [user:display-name].\r\n\r\nLink: <?php print url('node/' . \$node->nid, array('absolute' => TRUE, 'language' => 'en')); ?>",
705
-              '#eval input' => array(
702
+                'from' => '',
703
+                'subject' => 'Comment deleted at [:global:site-name] by admin',
704
+                'message' => "Comment to [node:type] topic '[node:title]' deleted by admin [user:display-name].\r\n\r\nLink: <?php print url('node/' . \$node->nid, array('absolute' => TRUE, 'language' => 'en')); ?>",
705
+                '#eval input' => array(
706 706
                 'token_rules_input_evaluator' => array(
707
-                  'subject' => array(
707
+                    'subject' => array(
708 708
                     '0' => ':global',
709
-                  ),
710
-                  'message' => array(
709
+                    ),
710
+                    'message' => array(
711 711
                     '0' => 'node',
712 712
                     '1' => 'user',
713 713
                     '2' => ':global',
714
-                  ),
715
-                  'from' => array(
714
+                    ),
715
+                    'from' => array(
716 716
                     '0' => ':global',
717
-                  ),
717
+                    ),
718 718
                 ),
719 719
                 'rules_input_evaluator_php' => array(
720
-                  'message' => array(
720
+                    'message' => array(
721 721
                     '0' => 'node',
722
-                  ),
722
+                    ),
723
+                ),
723 724
                 ),
724
-              ),
725 725
             ),
726 726
             '#name' => 'boinccore_rules_action_mail_to_moderators',
727 727
             '#info' => array(
728
-              'label' => 'Notify moderators via email',
729
-              'module' => 'BOINC core',
730
-              'eval input' => array(
728
+                'label' => 'Notify moderators via email',
729
+                'module' => 'BOINC core',
730
+                'eval input' => array(
731 731
                 '0' => 'subject',
732 732
                 '1' => 'message',
733 733
                 '2' => 'from',
734
-              ),
734
+                ),
735 735
             ),
736 736
             '#weight' => 0.0,
737
-          ),
737
+            ),
738 738
         ),
739 739
         '#version' => 6003,
740
-      ),
741
-      'rules_comment_edited_by_moderator_or_admin' => array(
740
+        ),
741
+        'rules_comment_edited_by_moderator_or_admin' => array(
742 742
         '#type' => 'rule',
743 743
         '#set' => 'event_comment_update',
744 744
         '#label' => 'Comment is edited by moderator or admin',
745 745
         '#active' => 1,
746 746
         '#weight' => '0',
747 747
         '#categories' => array(
748
-          '0' => 'boinc_standard',
749
-          '1' => 'moderator notification',
748
+            '0' => 'boinc_standard',
749
+            '1' => 'moderator notification',
750 750
         ),
751 751
         '#status' => 'default',
752 752
         '#conditions' => array(
753
-          '0' => array(
753
+            '0' => array(
754 754
             '#negate' => 1,
755 755
             '#weight' => 0.0,
756 756
             '#info' => array(
757
-              'label' => 'Compare two users: acting user (who edited the comment) is NOT the comment author',
758
-              'label callback' => FALSE,
759
-              'arguments' => array(
757
+                'label' => 'Compare two users: acting user (who edited the comment) is NOT the comment author',
758
+                'label callback' => FALSE,
759
+                'arguments' => array(
760 760
                 'user1' => array(
761
-                  'type' => 'user',
762
-                  'label' => 'User account 1',
761
+                    'type' => 'user',
762
+                    'label' => 'User account 1',
763 763
                 ),
764 764
                 'user2' => array(
765
-                  'type' => 'user',
766
-                  'label' => 'User account 2',
765
+                    'type' => 'user',
766
+                    'label' => 'User account 2',
767 767
                 ),
768
-              ),
769
-              'module' => 'User',
768
+                ),
769
+                'module' => 'User',
770 770
             ),
771 771
             '#name' => 'rules_condition_user_comparison',
772 772
             '#settings' => array(
773
-              '#argument map' => array(
773
+                '#argument map' => array(
774 774
                 'user1' => 'user',
775 775
                 'user2' => 'comment_author',
776
-              ),
776
+                ),
777 777
             ),
778 778
             '#type' => 'condition',
779
-          ),
779
+            ),
780 780
         ),
781 781
         '#actions' => array(
782
-          '0' => array(
782
+            '0' => array(
783 783
             '#type' => 'action',
784 784
             '#settings' => array(
785
-              'from' => '',
786
-              'subject' => 'Comment edited at [:global:site-name] by moderator or admin',
787
-              'message' => "Comment has been edited by moderator/admin [user:display-name]\r\n\r\nLink: <?php print url('<front>', array('absolute' => TRUE, 'language' => 'en')); ?>/goto/comment/[comment:comment-cid]",
788
-              '#eval input' => array(
785
+                'from' => '',
786
+                'subject' => 'Comment edited at [:global:site-name] by moderator or admin',
787
+                'message' => "Comment has been edited by moderator/admin [user:display-name]\r\n\r\nLink: <?php print url('<front>', array('absolute' => TRUE, 'language' => 'en')); ?>/goto/comment/[comment:comment-cid]",
788
+                '#eval input' => array(
789 789
                 'token_rules_input_evaluator' => array(
790
-                  'subject' => array(
790
+                    'subject' => array(
791 791
                     '0' => ':global',
792
-                  ),
793
-                  'message' => array(
792
+                    ),
793
+                    'message' => array(
794 794
                     '0' => 'comment',
795 795
                     '1' => 'user',
796 796
                     '2' => ':global',
797
-                  ),
798
-                  'from' => array(
797
+                    ),
798
+                    'from' => array(
799 799
                     '0' => ':global',
800
-                  ),
800
+                    ),
801 801
                 ),
802 802
                 'rules_input_evaluator_php' => array(
803
-                  'message' => array(),
803
+                    'message' => array(),
804
+                ),
804 805
                 ),
805
-              ),
806 806
             ),
807 807
             '#name' => 'boinccore_rules_action_mail_to_moderators',
808 808
             '#info' => array(
809
-              'label' => 'Notify moderators via email',
810
-              'module' => 'BOINC core',
811
-              'eval input' => array(
809
+                'label' => 'Notify moderators via email',
810
+                'module' => 'BOINC core',
811
+                'eval input' => array(
812 812
                 '0' => 'subject',
813 813
                 '1' => 'message',
814 814
                 '2' => 'from',
815
-              ),
815
+                ),
816 816
             ),
817 817
             '#weight' => 0.0,
818
-          ),
818
+            ),
819 819
         ),
820 820
         '#version' => 6003,
821
-      ),
822
-      'rules_comment_is_published_unhidden_by_moderator_or_admin' => array(
821
+        ),
822
+        'rules_comment_is_published_unhidden_by_moderator_or_admin' => array(
823 823
         '#type' => 'rule',
824 824
         '#set' => 'event_boinccore_comment_unhidden',
825 825
         '#label' => 'Comment is unhidden by moderator or admin',
826 826
         '#active' => 1,
827 827
         '#weight' => '0',
828 828
         '#categories' => array(
829
-          '0' => 'boinc_standard',
830
-          '1' => 'moderator notification',
829
+            '0' => 'boinc_standard',
830
+            '1' => 'moderator notification',
831 831
         ),
832 832
         '#status' => 'default',
833 833
         '#conditions' => array(
834
-          '0' => array(
834
+            '0' => array(
835 835
             '#type' => 'condition',
836 836
             '#settings' => array(
837
-              '#argument map' => array(
837
+                '#argument map' => array(
838 838
                 'user1' => 'user',
839 839
                 'user2' => 'comment_author',
840
-              ),
840
+                ),
841 841
             ),
842 842
             '#name' => 'rules_condition_user_comparison',
843 843
             '#info' => array(
844
-              'label' => 'Compare two users: acting user (who unhid the comment) is NOT the comment author',
845
-              'label callback' => FALSE,
846
-              'arguments' => array(
844
+                'label' => 'Compare two users: acting user (who unhid the comment) is NOT the comment author',
845
+                'label callback' => FALSE,
846
+                'arguments' => array(
847 847
                 'user1' => array(
848
-                  'type' => 'user',
849
-                  'label' => 'User account 1',
848
+                    'type' => 'user',
849
+                    'label' => 'User account 1',
850 850
                 ),
851 851
                 'user2' => array(
852
-                  'type' => 'user',
853
-                  'label' => 'User account 2',
852
+                    'type' => 'user',
853
+                    'label' => 'User account 2',
854
+                ),
854 855
                 ),
855
-              ),
856
-              'module' => 'User',
856
+                'module' => 'User',
857 857
             ),
858 858
             '#negate' => 1,
859 859
             '#weight' => 0.0,
860
-          ),
860
+            ),
861 861
         ),
862 862
         '#actions' => array(
863
-          '0' => array(
863
+            '0' => array(
864 864
             '#info' => array(
865
-              'label' => 'Notify moderators via email',
866
-              'module' => 'BOINC core',
867
-              'eval input' => array(
865
+                'label' => 'Notify moderators via email',
866
+                'module' => 'BOINC core',
867
+                'eval input' => array(
868 868
                 '0' => 'subject',
869 869
                 '1' => 'message',
870 870
                 '2' => 'from',
871
-              ),
871
+                ),
872 872
             ),
873 873
             '#name' => 'boinccore_rules_action_mail_to_moderators',
874 874
             '#settings' => array(
875
-              'from' => '',
876
-              'subject' => 'Comment at [:global:site-name] unhidden by moderator or admin',
877
-              'message' => "Comment has been unhidden by moderator/admin [user:display-name].\r\n\r\nLink: <?php print url('<front>', array('absolute' => TRUE, 'language' => 'en')); ?>/goto/comment/[comment:comment-cid]",
878
-              '#eval input' => array(
875
+                'from' => '',
876
+                'subject' => 'Comment at [:global:site-name] unhidden by moderator or admin',
877
+                'message' => "Comment has been unhidden by moderator/admin [user:display-name].\r\n\r\nLink: <?php print url('<front>', array('absolute' => TRUE, 'language' => 'en')); ?>/goto/comment/[comment:comment-cid]",
878
+                '#eval input' => array(
879 879
                 'token_rules_input_evaluator' => array(
880
-                  'subject' => array(
880
+                    'subject' => array(
881 881
                     '0' => ':global',
882
-                  ),
883
-                  'message' => array(
882
+                    ),
883
+                    'message' => array(
884 884
                     '0' => 'comment',
885 885
                     '1' => 'user',
886 886
                     '2' => ':global',
887
-                  ),
888
-                  'from' => array(
887
+                    ),
888
+                    'from' => array(
889 889
                     '0' => ':global',
890
-                  ),
890
+                    ),
891 891
                 ),
892 892
                 'rules_input_evaluator_php' => array(
893
-                  'message' => array(),
893
+                    'message' => array(),
894
+                ),
894 895
                 ),
895
-              ),
896 896
             ),
897 897
             '#type' => 'action',
898 898
             '#weight' => 0.0,
899
-          ),
899
+            ),
900 900
         ),
901 901
         '#version' => 6003,
902
-      ),
903
-      'rules_comment_is_unpublished_hidden_by_moderator_or_admin' => array(
902
+        ),
903
+        'rules_comment_is_unpublished_hidden_by_moderator_or_admin' => array(
904 904
         '#type' => 'rule',
905 905
         '#set' => 'event_comment_unpublish',
906 906
         '#label' => 'Comment is hidden by moderator or admin',
907 907
         '#active' => 1,
908 908
         '#weight' => '0',
909 909
         '#categories' => array(
910
-          '0' => 'boinc_standard',
911
-          '1' => 'moderator notification',
910
+            '0' => 'boinc_standard',
911
+            '1' => 'moderator notification',
912 912
         ),
913 913
         '#status' => 'default',
914 914
         '#conditions' => array(
915
-          '0' => array(
915
+            '0' => array(
916 916
             '#weight' => 0.0,
917 917
             '#negate' => 1,
918 918
             '#info' => array(
919
-              'label' => 'Compare two users: acting user (who hid the comment) is NOT the comment author',
920
-              'label callback' => FALSE,
921
-              'arguments' => array(
919
+                'label' => 'Compare two users: acting user (who hid the comment) is NOT the comment author',
920
+                'label callback' => FALSE,
921
+                'arguments' => array(
922 922
                 'user1' => array(
923
-                  'type' => 'user',
924
-                  'label' => 'User account 1',
923
+                    'type' => 'user',
924
+                    'label' => 'User account 1',
925 925
                 ),
926 926
                 'user2' => array(
927
-                  'type' => 'user',
928
-                  'label' => 'User account 2',
927
+                    'type' => 'user',
928
+                    'label' => 'User account 2',
929 929
                 ),
930
-              ),
931
-              'module' => 'User',
930
+                ),
931
+                'module' => 'User',
932 932
             ),
933 933
             '#name' => 'rules_condition_user_comparison',
934 934
             '#type' => 'condition',
935 935
             '#settings' => array(
936
-              '#argument map' => array(
936
+                '#argument map' => array(
937 937
                 'user1' => 'user',
938 938
                 'user2' => 'comment_author',
939
-              ),
939
+                ),
940
+            ),
940 941
             ),
941
-          ),
942 942
         ),
943 943
         '#actions' => array(
944
-          '0' => array(
944
+            '0' => array(
945 945
             '#type' => 'action',
946 946
             '#settings' => array(
947
-              'from' => '',
948
-              'subject' => 'Comment at [:global:site-name] hidden by moderator or admin',
949
-              'message' => "Comment has been hidden by moderator/admin [user:display-name].\r\n\r\nLink: <?php print url('<front>', array('absolute' => TRUE, 'language' => 'en')); ?>/goto/comment/[comment:comment-cid]",
950
-              '#eval input' => array(
947
+                'from' => '',
948
+                'subject' => 'Comment at [:global:site-name] hidden by moderator or admin',
949
+                'message' => "Comment has been hidden by moderator/admin [user:display-name].\r\n\r\nLink: <?php print url('<front>', array('absolute' => TRUE, 'language' => 'en')); ?>/goto/comment/[comment:comment-cid]",
950
+                '#eval input' => array(
951 951
                 'token_rules_input_evaluator' => array(
952
-                  'subject' => array(
952
+                    'subject' => array(
953 953
                     '0' => ':global',
954
-                  ),
955
-                  'message' => array(
954
+                    ),
955
+                    'message' => array(
956 956
                     '0' => 'comment',
957 957
                     '1' => 'user',
958 958
                     '2' => ':global',
959
-                  ),
960
-                  'from' => array(
959
+                    ),
960
+                    'from' => array(
961 961
                     '0' => ':global',
962
-                  ),
962
+                    ),
963 963
                 ),
964 964
                 'rules_input_evaluator_php' => array(
965
-                  'message' => array(),
965
+                    'message' => array(),
966
+                ),
966 967
                 ),
967
-              ),
968 968
             ),
969 969
             '#name' => 'boinccore_rules_action_mail_to_moderators',
970 970
             '#info' => array(
971
-              'label' => 'Notify moderators via email',
972
-              'module' => 'BOINC core',
973
-              'eval input' => array(
971
+                'label' => 'Notify moderators via email',
972
+                'module' => 'BOINC core',
973
+                'eval input' => array(
974 974
                 '0' => 'subject',
975 975
                 '1' => 'message',
976 976
                 '2' => 'from',
977
-              ),
977
+                ),
978 978
             ),
979 979
             '#weight' => 0.0,
980
-          ),
980
+            ),
981 981
         ),
982 982
         '#version' => 6003,
983
-      ),
984
-      'rules_forum_topic_is_edited_by_moderator_or_admin' => array(
983
+        ),
984
+        'rules_forum_topic_is_edited_by_moderator_or_admin' => array(
985 985
         '#type' => 'rule',
986 986
         '#set' => 'event_node_update',
987 987
         '#label' => 'Forum topic is edited by moderator or admin',
988 988
         '#active' => 1,
989 989
         '#weight' => '0',
990 990
         '#categories' => array(
991
-          '0' => 'boinc_standard',
992
-          '1' => 'moderator notification',
991
+            '0' => 'boinc_standard',
992
+            '1' => 'moderator notification',
993 993
         ),
994 994
         '#status' => 'default',
995 995
         '#conditions' => array(
996
-          '0' => array(
996
+            '0' => array(
997 997
             '#weight' => 0.0,
998 998
             '#type' => 'condition',
999 999
             '#settings' => array(
1000
-              'roles' => array(
1000
+                'roles' => array(
1001 1001
                 '0' => 3519698132,
1002 1002
                 '1' => 1271379760,
1003
-              ),
1004
-              'operation' => 'OR',
1005
-              '#argument map' => array(
1003
+                ),
1004
+                'operation' => 'OR',
1005
+                '#argument map' => array(
1006 1006
                 'user' => 'user',
1007
-              ),
1007
+                ),
1008 1008
             ),
1009 1009
             '#name' => 'rules_condition_user_hasrole',
1010 1010
             '#info' => array(
1011
-              'label' => 'User has role(s): administrator or moderator',
1012
-              'label callback' => FALSE,
1013
-              'arguments' => array(
1011
+                'label' => 'User has role(s): administrator or moderator',
1012
+                'label callback' => FALSE,
1013
+                'arguments' => array(
1014 1014
                 'user' => array(
1015
-                  'type' => 'user',
1016
-                  'label' => 'User',
1015
+                    'type' => 'user',
1016
+                    'label' => 'User',
1017 1017
                 ),
1018
-              ),
1019
-              'module' => 'User',
1018
+                ),
1019
+                'module' => 'User',
1020
+            ),
1020 1021
             ),
1021
-          ),
1022
-          '1' => array(
1022
+            '1' => array(
1023 1023
             '#weight' => 0.0,
1024 1024
             '0' => array(
1025
-              '#weight' => 0.0,
1026
-              '#info' => array(
1025
+                '#weight' => 0.0,
1026
+                '#info' => array(
1027 1027
                 'label' => 'Updated content is Forum topic',
1028 1028
                 'arguments' => array(
1029
-                  'node' => array(
1029
+                    'node' => array(
1030 1030
                     'type' => 'node',
1031 1031
                     'label' => 'Content',
1032
-                  ),
1032
+                    ),
1033 1033
                 ),
1034 1034
                 'module' => 'Node',
1035
-              ),
1036
-              '#name' => 'rules_condition_content_is_type',
1037
-              '#settings' => array(
1035
+                ),
1036
+                '#name' => 'rules_condition_content_is_type',
1037
+                '#settings' => array(
1038 1038
                 'type' => array(
1039
-                  'forum' => 'forum',
1039
+                    'forum' => 'forum',
1040 1040
                 ),
1041 1041
                 '#argument map' => array(
1042
-                  'node' => 'node',
1042
+                    'node' => 'node',
1043
+                ),
1043 1044
                 ),
1044
-              ),
1045
-              '#type' => 'condition',
1045
+                '#type' => 'condition',
1046 1046
             ),
1047 1047
             '#type' => 'OR',
1048 1048
             '1' => array(
1049
-              '#type' => 'condition',
1050
-              '#settings' => array(
1049
+                '#type' => 'condition',
1050
+                '#settings' => array(
1051 1051
                 'type' => array(
1052
-                  'team_forum' => 'team_forum',
1052
+                    'team_forum' => 'team_forum',
1053 1053
                 ),
1054 1054
                 '#argument map' => array(
1055
-                  'node' => 'node',
1055
+                    'node' => 'node',
1056 1056
                 ),
1057
-              ),
1058
-              '#name' => 'rules_condition_content_is_type',
1059
-              '#info' => array(
1057
+                ),
1058
+                '#name' => 'rules_condition_content_is_type',
1059
+                '#info' => array(
1060 1060
                 'label' => 'Updated content is Team forum topic',
1061 1061
                 'arguments' => array(
1062
-                  'node' => array(
1062
+                    'node' => array(
1063 1063
                     'type' => 'node',
1064 1064
                     'label' => 'Content',
1065
-                  ),
1065
+                    ),
1066 1066
                 ),
1067 1067
                 'module' => 'Node',
1068
-              ),
1069
-              '#weight' => 0.0,
1068
+                ),
1069
+                '#weight' => 0.0,
1070 1070
             ),
1071
-          ),
1072
-          '2' => array(
1071
+            ),
1072
+            '2' => array(
1073 1073
             '#weight' => 0.0,
1074 1074
             '#info' => array(
1075
-              'label' => 'PHP code: content changed',
1076
-              'label callback' => FALSE,
1077
-              'module' => 'PHP',
1078
-              'eval input' => array(
1075
+                'label' => 'PHP code: content changed',
1076
+                'label callback' => FALSE,
1077
+                'module' => 'PHP',
1078
+                'eval input' => array(
1079 1079
                 '0' => 'code',
1080
-              ),
1080
+                ),
1081 1081
             ),
1082 1082
             '#name' => 'rules_condition_custom_php',
1083 1083
             '#settings' => array(
1084
-              'code' => 'return ($node->body != $node_unchanged->body);',
1085
-              'vars' => array(
1084
+                'code' => 'return ($node->body != $node_unchanged->body);',
1085
+                'vars' => array(
1086 1086
                 '0' => 'node',
1087 1087
                 '1' => 'node_unchanged',
1088
-              ),
1089
-              '#eval input' => array(
1088
+                ),
1089
+                '#eval input' => array(
1090 1090
                 'token_rules_input_evaluator' => array(
1091
-                  'code' => array(
1091
+                    'code' => array(
1092 1092
                     '0' => ':global',
1093
-                  ),
1093
+                    ),
1094
+                ),
1094 1095
                 ),
1095
-              ),
1096 1096
             ),
1097 1097
             '#type' => 'condition',
1098
-          ),
1098
+            ),
1099 1099
         ),
1100 1100
         '#actions' => array(
1101
-          '0' => array(
1101
+            '0' => array(
1102 1102
             '#type' => 'action',
1103 1103
             '#settings' => array(
1104
-              'from' => '',
1105
-              'subject' => 'Forum topic at [:global:site-name] edited by moderator/admin',
1106
-              'message' => "[node:type] topic '[node:title]' has been edited by moderator/admin [user:display-name].\r\n\r\nLink: <?php print url('node/' . \$node->nid, array('absolute' => TRUE, 'language' => 'en')); ?>",
1107
-              '#eval input' => array(
1104
+                'from' => '',
1105
+                'subject' => 'Forum topic at [:global:site-name] edited by moderator/admin',
1106
+                'message' => "[node:type] topic '[node:title]' has been edited by moderator/admin [user:display-name].\r\n\r\nLink: <?php print url('node/' . \$node->nid, array('absolute' => TRUE, 'language' => 'en')); ?>",
1107
+                '#eval input' => array(
1108 1108
                 'token_rules_input_evaluator' => array(
1109
-                  'subject' => array(
1109
+                    'subject' => array(
1110 1110
                     '0' => ':global',
1111
-                  ),
1112
-                  'message' => array(
1111
+                    ),
1112
+                    'message' => array(
1113 1113
                     '0' => 'node',
1114 1114
                     '1' => 'user',
1115 1115
                     '2' => ':global',
1116
-                  ),
1117
-                  'from' => array(
1116
+                    ),
1117
+                    'from' => array(
1118 1118
                     '0' => ':global',
1119
-                  ),
1119
+                    ),
1120 1120
                 ),
1121 1121
                 'rules_input_evaluator_php' => array(
1122
-                  'message' => array(
1122
+                    'message' => array(
1123 1123
                     '0' => 'node',
1124
-                  ),
1124
+                    ),
1125
+                ),
1125 1126
                 ),
1126
-              ),
1127 1127
             ),
1128 1128
             '#name' => 'boinccore_rules_action_mail_to_moderators',
1129 1129
             '#info' => array(
1130
-              'label' => 'Notify moderators via email',
1131
-              'module' => 'BOINC core',
1132
-              'eval input' => array(
1130
+                'label' => 'Notify moderators via email',
1131
+                'module' => 'BOINC core',
1132
+                'eval input' => array(
1133 1133
                 '0' => 'subject',
1134 1134
                 '1' => 'message',
1135 1135
                 '2' => 'from',
1136
-              ),
1136
+                ),
1137 1137
             ),
1138 1138
             '#weight' => 0.0,
1139
-          ),
1139
+            ),
1140 1140
         ),
1141 1141
         '#version' => 6003,
1142
-      ),
1143
-      'rules_forum_topic_is_hidden_by_moderator_admin' => array(
1142
+        ),
1143
+        'rules_forum_topic_is_hidden_by_moderator_admin' => array(
1144 1144
         '#type' => 'rule',
1145 1145
         '#set' => 'event_node_update',
1146 1146
         '#label' => 'Forum topic is hidden by moderator/admin',
1147 1147
         '#active' => 1,
1148 1148
         '#weight' => '0',
1149 1149
         '#categories' => array(
1150
-          '0' => 'boinc_standard',
1151
-          '1' => 'moderator notification',
1150
+            '0' => 'boinc_standard',
1151
+            '1' => 'moderator notification',
1152 1152
         ),
1153 1153
         '#status' => 'default',
1154 1154
         '#conditions' => array(
1155
-          '0' => array(
1155
+            '0' => array(
1156 1156
             '#type' => 'condition',
1157 1157
             '#settings' => array(
1158
-              'roles' => array(
1158
+                'roles' => array(
1159 1159
                 '0' => 3519698132,
1160 1160
                 '1' => 1271379760,
1161
-              ),
1162
-              'operation' => 'OR',
1163
-              '#argument map' => array(
1161
+                ),
1162
+                'operation' => 'OR',
1163
+                '#argument map' => array(
1164 1164
                 'user' => 'user',
1165
-              ),
1165
+                ),
1166 1166
             ),
1167 1167
             '#name' => 'rules_condition_user_hasrole',
1168 1168
             '#info' => array(
1169
-              'label' => 'User has role(s): administrator or moderator',
1170
-              'label callback' => FALSE,
1171
-              'arguments' => array(
1169
+                'label' => 'User has role(s): administrator or moderator',
1170
+                'label callback' => FALSE,
1171
+                'arguments' => array(
1172 1172
                 'user' => array(
1173
-                  'type' => 'user',
1174
-                  'label' => 'User',
1173
+                    'type' => 'user',
1174
+                    'label' => 'User',
1175 1175
                 ),
1176
-              ),
1177
-              'module' => 'User',
1176
+                ),
1177
+                'module' => 'User',
1178 1178
             ),
1179 1179
             '#weight' => 0.0,
1180
-          ),
1181
-          '1' => array(
1180
+            ),
1181
+            '1' => array(
1182 1182
             '#weight' => 0.0,
1183 1183
             '0' => array(
1184
-              '#weight' => 0.0,
1185
-              '#type' => 'condition',
1186
-              '#settings' => array(
1184
+                '#weight' => 0.0,
1185
+                '#type' => 'condition',
1186
+                '#settings' => array(
1187 1187
                 'type' => array(
1188
-                  'forum' => 'forum',
1188
+                    'forum' => 'forum',
1189 1189
                 ),
1190 1190
                 '#argument map' => array(
1191
-                  'node' => 'node',
1191
+                    'node' => 'node',
1192 1192
                 ),
1193
-              ),
1194
-              '#name' => 'rules_condition_content_is_type',
1195
-              '#info' => array(
1193
+                ),
1194
+                '#name' => 'rules_condition_content_is_type',
1195
+                '#info' => array(
1196 1196
                 'label' => 'Updated content is Forum topic',
1197 1197
                 'arguments' => array(
1198
-                  'node' => array(
1198
+                    'node' => array(
1199 1199
                     'type' => 'node',
1200 1200
                     'label' => 'Content',
1201
-                  ),
1201
+                    ),
1202 1202
                 ),
1203 1203
                 'module' => 'Node',
1204
-              ),
1204
+                ),
1205 1205
             ),
1206 1206
             '#type' => 'OR',
1207 1207
             '1' => array(
1208
-              '#type' => 'condition',
1209
-              '#settings' => array(
1208
+                '#type' => 'condition',
1209
+                '#settings' => array(
1210 1210
                 'type' => array(
1211
-                  'team_forum' => 'team_forum',
1211
+                    'team_forum' => 'team_forum',
1212 1212
                 ),
1213 1213
                 '#argument map' => array(
1214
-                  'node' => 'node',
1214
+                    'node' => 'node',
1215 1215
                 ),
1216
-              ),
1217
-              '#name' => 'rules_condition_content_is_type',
1218
-              '#info' => array(
1216
+                ),
1217
+                '#name' => 'rules_condition_content_is_type',
1218
+                '#info' => array(
1219 1219
                 'label' => 'Updated content is Team forum topic',
1220 1220
                 'arguments' => array(
1221
-                  'node' => array(
1221
+                    'node' => array(
1222 1222
                     'type' => 'node',
1223 1223
                     'label' => 'Content',
1224
-                  ),
1224
+                    ),
1225 1225
                 ),
1226 1226
                 'module' => 'Node',
1227
-              ),
1228
-              '#weight' => 0.0,
1227
+                ),
1228
+                '#weight' => 0.0,
1229
+            ),
1229 1230
             ),
1230
-          ),
1231
-          '3' => array(
1231
+            '3' => array(
1232 1232
             '#weight' => 0.0,
1233 1233
             '#info' => array(
1234
-              'label' => 'PHP code: node content unchanged',
1235
-              'label callback' => FALSE,
1236
-              'module' => 'PHP',
1237
-              'eval input' => array(
1234
+                'label' => 'PHP code: node content unchanged',
1235
+                'label callback' => FALSE,
1236
+                'module' => 'PHP',
1237
+                'eval input' => array(
1238 1238
                 '0' => 'code',
1239
-              ),
1239
+                ),
1240 1240
             ),
1241 1241
             '#name' => 'rules_condition_custom_php',
1242 1242
             '#settings' => array(
1243
-              'code' => 'return $node->body == $node_unchanged->body;',
1244
-              'vars' => array(
1243
+                'code' => 'return $node->body == $node_unchanged->body;',
1244
+                'vars' => array(
1245 1245
                 '0' => 'node',
1246 1246
                 '1' => 'node_unchanged',
1247
-              ),
1248
-              '#eval input' => array(
1247
+                ),
1248
+                '#eval input' => array(
1249 1249
                 'token_rules_input_evaluator' => array(
1250
-                  'code' => array(
1250
+                    'code' => array(
1251 1251
                     '0' => ':global',
1252
-                  ),
1252
+                    ),
1253
+                ),
1253 1254
                 ),
1254
-              ),
1255 1255
             ),
1256 1256
             '#type' => 'condition',
1257
-          ),
1258
-          '4' => array(
1257
+            ),
1258
+            '4' => array(
1259 1259
             '#weight' => 0.0,
1260 1260
             '#info' => array(
1261
-              'label' => 'PHP code: node status changed to hidden',
1262
-              'label callback' => FALSE,
1263
-              'module' => 'PHP',
1264
-              'eval input' => array(
1261
+                'label' => 'PHP code: node status changed to hidden',
1262
+                'label callback' => FALSE,
1263
+                'module' => 'PHP',
1264
+                'eval input' => array(
1265 1265
                 '0' => 'code',
1266
-              ),
1266
+                ),
1267 1267
             ),
1268 1268
             '#name' => 'rules_condition_custom_php',
1269 1269
             '#type' => 'condition',
1270 1270
             '#settings' => array(
1271
-              'code' => 'return $node_unchanged->status == 1 && $node->status == 0;',
1272
-              'vars' => array(
1271
+                'code' => 'return $node_unchanged->status == 1 && $node->status == 0;',
1272
+                'vars' => array(
1273 1273
                 '0' => 'node',
1274 1274
                 '1' => 'node_unchanged',
1275
-              ),
1276
-              '#eval input' => array(
1275
+                ),
1276
+                '#eval input' => array(
1277 1277
                 'token_rules_input_evaluator' => array(
1278
-                  'code' => array(
1278
+                    'code' => array(
1279 1279
                     '0' => ':global',
1280
-                  ),
1280
+                    ),
1281 1281
                 ),
1282
-              ),
1282
+                ),
1283
+            ),
1283 1284
             ),
1284
-          ),
1285 1285
         ),
1286 1286
         '#actions' => array(
1287
-          '0' => array(
1287
+            '0' => array(
1288 1288
             '#info' => array(
1289
-              'label' => 'Notify moderators via email',
1290
-              'module' => 'BOINC core',
1291
-              'eval input' => array(
1289
+                'label' => 'Notify moderators via email',
1290
+                'module' => 'BOINC core',
1291
+                'eval input' => array(
1292 1292
                 '0' => 'subject',
1293 1293
                 '1' => 'message',
1294 1294
                 '2' => 'from',
1295
-              ),
1295
+                ),
1296 1296
             ),
1297 1297
             '#name' => 'boinccore_rules_action_mail_to_moderators',
1298 1298
             '#settings' => array(
1299
-              'from' => '',
1300
-              'subject' => 'Forum topic at [:global:site-name] hidden by moderator/admin',
1301
-              'message' => "[node:type] topic '[node:title]' has been hidden by moderator/admin [user:display-name].\r\n\r\nLink: <?php print url('node/' . \$node->nid, array('absolute' => TRUE, 'language' => 'en')); ?>",
1302
-              '#eval input' => array(
1299
+                'from' => '',
1300
+                'subject' => 'Forum topic at [:global:site-name] hidden by moderator/admin',
1301
+                'message' => "[node:type] topic '[node:title]' has been hidden by moderator/admin [user:display-name].\r\n\r\nLink: <?php print url('node/' . \$node->nid, array('absolute' => TRUE, 'language' => 'en')); ?>",
1302
+                '#eval input' => array(
1303 1303
                 'token_rules_input_evaluator' => array(
1304
-                  'subject' => array(
1304
+                    'subject' => array(
1305 1305
                     '0' => ':global',
1306
-                  ),
1307
-                  'message' => array(
1306
+                    ),
1307
+                    'message' => array(
1308 1308
                     '0' => 'node',
1309 1309
                     '1' => 'user',
1310 1310
                     '2' => ':global',
1311
-                  ),
1312
-                  'from' => array(
1311
+                    ),
1312
+                    'from' => array(
1313 1313
                     '0' => ':global',
1314
-                  ),
1314
+                    ),
1315 1315
                 ),
1316 1316
                 'rules_input_evaluator_php' => array(
1317
-                  'message' => array(
1317
+                    'message' => array(
1318 1318
                     '0' => 'node',
1319
-                  ),
1319
+                    ),
1320
+                ),
1320 1321
                 ),
1321
-              ),
1322 1322
             ),
1323 1323
             '#type' => 'action',
1324 1324
             '#weight' => 0.0,
1325
-          ),
1325
+            ),
1326 1326
         ),
1327 1327
         '#version' => 6003,
1328
-      ),
1329
-      'rules_forum_topic_is_moved_to_a_different_forum_by_moderator_or_admin' => array(
1328
+        ),
1329
+        'rules_forum_topic_is_moved_to_a_different_forum_by_moderator_or_admin' => array(
1330 1330
         '#type' => 'rule',
1331 1331
         '#set' => 'event_node_update',
1332 1332
         '#label' => 'Forum topic is moved to a different forum by moderator or admin',
1333 1333
         '#active' => 1,
1334 1334
         '#weight' => '0',
1335 1335
         '#categories' => array(
1336
-          '0' => 'boinc_standard',
1337
-          '1' => 'moderator notification',
1336
+            '0' => 'boinc_standard',
1337
+            '1' => 'moderator notification',
1338 1338
         ),
1339 1339
         '#status' => 'default',
1340 1340
         '#conditions' => array(
1341
-          '0' => array(
1341
+            '0' => array(
1342 1342
             '#weight' => 0.0,
1343 1343
             '#type' => 'condition',
1344 1344
             '#settings' => array(
1345
-              'roles' => array(
1345
+                'roles' => array(
1346 1346
                 '0' => 3519698132,
1347 1347
                 '1' => 1271379760,
1348
-              ),
1349
-              'operation' => 'OR',
1350
-              '#argument map' => array(
1348
+                ),
1349
+                'operation' => 'OR',
1350
+                '#argument map' => array(
1351 1351
                 'user' => 'user',
1352
-              ),
1352
+                ),
1353 1353
             ),
1354 1354
             '#name' => 'rules_condition_user_hasrole',
1355 1355
             '#info' => array(
1356
-              'label' => 'User has role(s): administrator or moderator',
1357
-              'label callback' => FALSE,
1358
-              'arguments' => array(
1356
+                'label' => 'User has role(s): administrator or moderator',
1357
+                'label callback' => FALSE,
1358
+                'arguments' => array(
1359 1359
                 'user' => array(
1360
-                  'type' => 'user',
1361
-                  'label' => 'User',
1360
+                    'type' => 'user',
1361
+                    'label' => 'User',
1362 1362
                 ),
1363
-              ),
1364
-              'module' => 'User',
1363
+                ),
1364
+                'module' => 'User',
1365
+            ),
1365 1366
             ),
1366
-          ),
1367
-          '1' => array(
1367
+            '1' => array(
1368 1368
             '#weight' => 0.0,
1369 1369
             '0' => array(
1370
-              '#weight' => 0.0,
1371
-              '#info' => array(
1370
+                '#weight' => 0.0,
1371
+                '#info' => array(
1372 1372
                 'label' => 'Updated content is Forum topic',
1373 1373
                 'arguments' => array(
1374
-                  'node' => array(
1374
+                    'node' => array(
1375 1375
                     'type' => 'node',
1376 1376
                     'label' => 'Content',
1377
-                  ),
1377
+                    ),
1378 1378
                 ),
1379 1379
                 'module' => 'Node',
1380
-              ),
1381
-              '#name' => 'rules_condition_content_is_type',
1382
-              '#settings' => array(
1380
+                ),
1381
+                '#name' => 'rules_condition_content_is_type',
1382
+                '#settings' => array(
1383 1383
                 'type' => array(
1384
-                  'forum' => 'forum',
1384
+                    'forum' => 'forum',
1385 1385
                 ),
1386 1386
                 '#argument map' => array(
1387
-                  'node' => 'node',
1387
+                    'node' => 'node',
1388
+                ),
1388 1389
                 ),
1389
-              ),
1390
-              '#type' => 'condition',
1390
+                '#type' => 'condition',
1391 1391
             ),
1392 1392
             '#type' => 'OR',
1393 1393
             '1' => array(
1394
-              '#type' => 'condition',
1395
-              '#settings' => array(
1394
+                '#type' => 'condition',
1395
+                '#settings' => array(
1396 1396
                 'type' => array(
1397
-                  'team_forum' => 'team_forum',
1397
+                    'team_forum' => 'team_forum',
1398 1398
                 ),
1399 1399
                 '#argument map' => array(
1400
-                  'node' => 'node',
1400
+                    'node' => 'node',
1401 1401
                 ),
1402
-              ),
1403
-              '#name' => 'rules_condition_content_is_type',
1404
-              '#info' => array(
1402
+                ),
1403
+                '#name' => 'rules_condition_content_is_type',
1404
+                '#info' => array(
1405 1405
                 'label' => 'Updated content is Team forum topic',
1406 1406
                 'arguments' => array(
1407
-                  'node' => array(
1407
+                    'node' => array(
1408 1408
                     'type' => 'node',
1409 1409
                     'label' => 'Content',
1410
-                  ),
1410
+                    ),
1411 1411
                 ),
1412 1412
                 'module' => 'Node',
1413
-              ),
1414
-              '#weight' => 0.0,
1413
+                ),
1414
+                '#weight' => 0.0,
1415
+            ),
1415 1416
             ),
1416
-          ),
1417
-          '2' => array(
1417
+            '2' => array(
1418 1418
             '#weight' => 0.0,
1419 1419
             '#info' => array(
1420
-              'label' => 'PHP code: node moved to new forum parent',
1421
-              'label callback' => FALSE,
1422
-              'module' => 'PHP',
1423
-              'eval input' => array(
1420
+                'label' => 'PHP code: node moved to new forum parent',
1421
+                'label callback' => FALSE,
1422
+                'module' => 'PHP',
1423
+                'eval input' => array(
1424 1424
                 '0' => 'code',
1425
-              ),
1425
+                ),
1426 1426
             ),
1427 1427
             '#name' => 'rules_condition_custom_php',
1428 1428
             '#settings' => array(
1429
-              'code' => 'return ($node->tid != $node_unchanged->tid);',
1430
-              'vars' => array(
1429
+                'code' => 'return ($node->tid != $node_unchanged->tid);',
1430
+                'vars' => array(
1431 1431
                 '0' => 'node',
1432 1432
                 '1' => 'node_unchanged',
1433
-              ),
1434
-              '#eval input' => array(
1433
+                ),
1434
+                '#eval input' => array(
1435 1435
                 'token_rules_input_evaluator' => array(
1436
-                  'code' => array(
1436
+                    'code' => array(
1437 1437
                     '0' => ':global',
1438
-                  ),
1438
+                    ),
1439
+                ),
1439 1440
                 ),
1440
-              ),
1441 1441
             ),
1442 1442
             '#type' => 'condition',
1443
-          ),
1443
+            ),
1444 1444
         ),
1445 1445
         '#actions' => array(
1446
-          '0' => array(
1446
+            '0' => array(
1447 1447
             '#type' => 'action',
1448 1448
             '#settings' => array(
1449
-              'from' => '',
1450
-              'subject' => 'Forum topic at [:global:site-name] moved by moderator/admin',
1451
-              'message' => "[node:type] topic '[node:title]' has been moved by moderator/admin [user:display-name].\r\n\r\nLink: <?php print url('node/' . \$node->nid, array('absolute' => TRUE, 'language' => 'en')); ?>",
1452
-              '#eval input' => array(
1449
+                'from' => '',
1450
+                'subject' => 'Forum topic at [:global:site-name] moved by moderator/admin',
1451
+                'message' => "[node:type] topic '[node:title]' has been moved by moderator/admin [user:display-name].\r\n\r\nLink: <?php print url('node/' . \$node->nid, array('absolute' => TRUE, 'language' => 'en')); ?>",
1452
+                '#eval input' => array(
1453 1453
                 'token_rules_input_evaluator' => array(
1454
-                  'subject' => array(
1454
+                    'subject' => array(
1455 1455
                     '0' => ':global',
1456
-                  ),
1457
-                  'message' => array(
1456
+                    ),
1457
+                    'message' => array(
1458 1458
                     '0' => 'node',
1459 1459
                     '1' => 'user',
1460 1460
                     '2' => ':global',
1461
-                  ),
1462
-                  'from' => array(
1461
+                    ),
1462
+                    'from' => array(
1463 1463
                     '0' => ':global',
1464
-                  ),
1464
+                    ),
1465 1465
                 ),
1466 1466
                 'rules_input_evaluator_php' => array(
1467
-                  'message' => array(
1467
+                    'message' => array(
1468 1468
                     '0' => 'node',
1469
-                  ),
1469
+                    ),
1470
+                ),
1470 1471
                 ),
1471
-              ),
1472 1472
             ),
1473 1473
             '#name' => 'boinccore_rules_action_mail_to_moderators',
1474 1474
             '#info' => array(
1475
-              'label' => 'Notify moderators via email',
1476
-              'module' => 'BOINC core',
1477
-              'eval input' => array(
1475
+                'label' => 'Notify moderators via email',
1476
+                'module' => 'BOINC core',
1477
+                'eval input' => array(
1478 1478
                 '0' => 'subject',
1479 1479
                 '1' => 'message',
1480 1480
                 '2' => 'from',
1481
-              ),
1481
+                ),
1482 1482
             ),
1483 1483
             '#weight' => 0.0,
1484
-          ),
1484
+            ),
1485 1485
         ),
1486 1486
         '#version' => 6003,
1487
-      ),
1488
-      'rules_forum_topic_is_unhidden_by_moderator_admin' => array(
1487
+        ),
1488
+        'rules_forum_topic_is_unhidden_by_moderator_admin' => array(
1489 1489
         '#type' => 'rule',
1490 1490
         '#set' => 'event_node_update',
1491 1491
         '#label' => 'Forum topic is unhidden by moderator/admin',
1492 1492
         '#active' => 1,
1493 1493
         '#weight' => '0',
1494 1494
         '#categories' => array(
1495
-          '0' => 'boinc_standard',
1496
-          '1' => 'moderator notification',
1495
+            '0' => 'boinc_standard',
1496
+            '1' => 'moderator notification',
1497 1497
         ),
1498 1498
         '#status' => 'default',
1499 1499
         '#conditions' => array(
1500
-          '0' => array(
1500
+            '0' => array(
1501 1501
             '#type' => 'condition',
1502 1502
             '#settings' => array(
1503
-              'roles' => array(
1503
+                'roles' => array(
1504 1504
                 '0' => 3519698132,
1505 1505
                 '1' => 1271379760,
1506
-              ),
1507
-              'operation' => 'OR',
1508
-              '#argument map' => array(
1506
+                ),
1507
+                'operation' => 'OR',
1508
+                '#argument map' => array(
1509 1509
                 'user' => 'user',
1510
-              ),
1510
+                ),
1511 1511
             ),
1512 1512
             '#name' => 'rules_condition_user_hasrole',
1513 1513
             '#info' => array(
1514
-              'label' => 'User has role(s): administrator or moderator',
1515
-              'label callback' => FALSE,
1516
-              'arguments' => array(
1514
+                'label' => 'User has role(s): administrator or moderator',
1515
+                'label callback' => FALSE,
1516
+                'arguments' => array(
1517 1517
                 'user' => array(
1518
-                  'type' => 'user',
1519
-                  'label' => 'User',
1518
+                    'type' => 'user',
1519
+                    'label' => 'User',
1520
+                ),
1520 1521
                 ),
1521
-              ),
1522
-              'module' => 'User',
1522
+                'module' => 'User',
1523 1523
             ),
1524 1524
             '#weight' => 0.0,
1525
-          ),
1526
-          '1' => array(
1525
+            ),
1526
+            '1' => array(
1527 1527
             '#type' => 'OR',
1528 1528
             '0' => array(
1529
-              '#info' => array(
1529
+                '#info' => array(
1530 1530
                 'label' => 'Updated content is Forum topic',
1531 1531
                 'arguments' => array(
1532
-                  'node' => array(
1532
+                    'node' => array(
1533 1533
                     'type' => 'node',
1534 1534
                     'label' => 'Content',
1535
-                  ),
1535
+                    ),
1536 1536
                 ),
1537 1537
                 'module' => 'Node',
1538
-              ),
1539
-              '#name' => 'rules_condition_content_is_type',
1540
-              '#settings' => array(
1538
+                ),
1539
+                '#name' => 'rules_condition_content_is_type',
1540
+                '#settings' => array(
1541 1541
                 'type' => array(
1542
-                  'forum' => 'forum',
1542
+                    'forum' => 'forum',
1543 1543
                 ),
1544 1544
                 '#argument map' => array(
1545
-                  'node' => 'node',
1545
+                    'node' => 'node',
1546 1546
                 ),
1547
-              ),
1548
-              '#type' => 'condition',
1549
-              '#weight' => 0.0,
1547
+                ),
1548
+                '#type' => 'condition',
1549
+                '#weight' => 0.0,
1550 1550
             ),
1551 1551
             '#weight' => 0.0,
1552 1552
             '1' => array(
1553
-              '#weight' => 0.0,
1554
-              '#info' => array(
1553
+                '#weight' => 0.0,
1554
+                '#info' => array(
1555 1555
                 'label' => 'Updated content is Team forum topic',
1556 1556
                 'arguments' => array(
1557
-                  'node' => array(
1557
+                    'node' => array(
1558 1558
                     'type' => 'node',
1559 1559
                     'label' => 'Content',
1560
-                  ),
1560
+                    ),
1561 1561
                 ),
1562 1562
                 'module' => 'Node',
1563
-              ),
1564
-              '#name' => 'rules_condition_content_is_type',
1565
-              '#settings' => array(
1563
+                ),
1564
+                '#name' => 'rules_condition_content_is_type',
1565
+                '#settings' => array(
1566 1566
                 'type' => array(
1567
-                  'team_forum' => 'team_forum',
1567
+                    'team_forum' => 'team_forum',
1568 1568
                 ),
1569 1569
                 '#argument map' => array(
1570
-                  'node' => 'node',
1570
+                    'node' => 'node',
1571
+                ),
1571 1572
                 ),
1572
-              ),
1573
-              '#type' => 'condition',
1573
+                '#type' => 'condition',
1574 1574
             ),
1575
-          ),
1576
-          '3' => array(
1575
+            ),
1576
+            '3' => array(
1577 1577
             '#type' => 'condition',
1578 1578
             '#settings' => array(
1579
-              'code' => 'return $node->body == $node_unchanged->body;',
1580
-              'vars' => array(
1579
+                'code' => 'return $node->body == $node_unchanged->body;',
1580
+                'vars' => array(
1581 1581
                 '0' => 'node',
1582 1582
                 '1' => 'node_unchanged',
1583
-              ),
1584
-              '#eval input' => array(
1583
+                ),
1584
+                '#eval input' => array(
1585 1585
                 'token_rules_input_evaluator' => array(
1586
-                  'code' => array(
1586
+                    'code' => array(
1587 1587
                     '0' => ':global',
1588
-                  ),
1588
+                    ),
1589
+                ),
1589 1590
                 ),
1590
-              ),
1591 1591
             ),
1592 1592
             '#name' => 'rules_condition_custom_php',
1593 1593
             '#info' => array(
1594
-              'label' => 'PHP code: node content is unchanged',
1595
-              'label callback' => FALSE,
1596
-              'module' => 'PHP',
1597
-              'eval input' => array(
1594
+                'label' => 'PHP code: node content is unchanged',
1595
+                'label callback' => FALSE,
1596
+                'module' => 'PHP',
1597
+                'eval input' => array(
1598 1598
                 '0' => 'code',
1599
-              ),
1599
+                ),
1600 1600
             ),
1601 1601
             '#weight' => 0.0,
1602
-          ),
1603
-          '4' => array(
1602
+            ),
1603
+            '4' => array(
1604 1604
             '#type' => 'condition',
1605 1605
             '#settings' => array(
1606
-              'code' => 'return $node_unchanged->status == 0 && $node->status == 1;',
1607
-              'vars' => array(
1606
+                'code' => 'return $node_unchanged->status == 0 && $node->status == 1;',
1607
+                'vars' => array(
1608 1608
                 '0' => 'node',
1609 1609
                 '1' => 'node_unchanged',
1610
-              ),
1611
-              '#eval input' => array(
1610
+                ),
1611
+                '#eval input' => array(
1612 1612
                 'token_rules_input_evaluator' => array(
1613
-                  'code' => array(
1613
+                    'code' => array(
1614 1614
                     '0' => ':global',
1615
-                  ),
1615
+                    ),
1616
+                ),
1616 1617
                 ),
1617
-              ),
1618 1618
             ),
1619 1619
             '#name' => 'rules_condition_custom_php',
1620 1620
             '#info' => array(
1621
-              'label' => 'PHP code: node status changed to unhidden',
1622
-              'label callback' => FALSE,
1623
-              'module' => 'PHP',
1624
-              'eval input' => array(
1621
+                'label' => 'PHP code: node status changed to unhidden',
1622
+                'label callback' => FALSE,
1623
+                'module' => 'PHP',
1624
+                'eval input' => array(
1625 1625
                 '0' => 'code',
1626
-              ),
1626
+                ),
1627 1627
             ),
1628 1628
             '#weight' => 0.0,
1629
-          ),
1629
+            ),
1630 1630
         ),
1631 1631
         '#actions' => array(
1632
-          '0' => array(
1632
+            '0' => array(
1633 1633
             '#info' => array(
1634
-              'label' => 'Notify moderators via email',
1635
-              'module' => 'BOINC core',
1636
-              'eval input' => array(
1634
+                'label' => 'Notify moderators via email',
1635
+                'module' => 'BOINC core',
1636
+                'eval input' => array(
1637 1637
                 '0' => 'subject',
1638 1638
                 '1' => 'message',
1639 1639
                 '2' => 'from',
1640
-              ),
1640
+                ),
1641 1641
             ),
1642 1642
             '#name' => 'boinccore_rules_action_mail_to_moderators',
1643 1643
             '#settings' => array(
1644
-              'from' => '',
1645
-              'subject' => 'Forum topic at [:global:site-name] unhidden by moderator/admin',
1646
-              'message' => "[node:type] topic '[node:title]' has been unhidden by moderator/admin [user:display-name].\r\n\r\nLink: <?php print url('node/' . \$node->nid, array('absolute' => TRUE, 'language' => 'en')); ?>",
1647
-              '#eval input' => array(
1644
+                'from' => '',
1645
+                'subject' => 'Forum topic at [:global:site-name] unhidden by moderator/admin',
1646
+                'message' => "[node:type] topic '[node:title]' has been unhidden by moderator/admin [user:display-name].\r\n\r\nLink: <?php print url('node/' . \$node->nid, array('absolute' => TRUE, 'language' => 'en')); ?>",
1647
+                '#eval input' => array(
1648 1648
                 'token_rules_input_evaluator' => array(
1649
-                  'subject' => array(
1649
+                    'subject' => array(
1650 1650
                     '0' => ':global',
1651
-                  ),
1652
-                  'message' => array(
1651
+                    ),
1652
+                    'message' => array(
1653 1653
                     '0' => 'node',
1654 1654
                     '1' => 'user',
1655 1655
                     '2' => ':global',
1656
-                  ),
1657
-                  'from' => array(
1656
+                    ),
1657
+                    'from' => array(
1658 1658
                     '0' => ':global',
1659
-                  ),
1659
+                    ),
1660 1660
                 ),
1661 1661
                 'rules_input_evaluator_php' => array(
1662
-                  'message' => array(
1662
+                    'message' => array(
1663 1663
                     '0' => 'node',
1664
-                  ),
1664
+                    ),
1665
+                ),
1665 1666
                 ),
1666
-              ),
1667 1667
             ),
1668 1668
             '#type' => 'action',
1669 1669
             '#weight' => 0.0,
1670
-          ),
1670
+            ),
1671 1671
         ),
1672 1672
         '#version' => 6003,
1673
-      ),
1674
-      'rules_forum_topic_locked_by_moderator_admin' => array(
1673
+        ),
1674
+        'rules_forum_topic_locked_by_moderator_admin' => array(
1675 1675
         '#type' => 'rule',
1676 1676
         '#set' => 'event_node_update',
1677 1677
         '#label' => 'Forum topic locked by moderator/admin',
1678 1678
         '#active' => 1,
1679 1679
         '#weight' => '0',
1680 1680
         '#categories' => array(
1681
-          '0' => 'boinc_standard',
1682
-          '1' => 'moderator notification',
1681
+            '0' => 'boinc_standard',
1682
+            '1' => 'moderator notification',
1683 1683
         ),
1684 1684
         '#status' => 'default',
1685 1685
         '#conditions' => array(
1686
-          '0' => array(
1686
+            '0' => array(
1687 1687
             '#type' => 'condition',
1688 1688
             '#settings' => array(
1689
-              'roles' => array(
1689
+                'roles' => array(
1690 1690
                 '0' => 3519698132,
1691 1691
                 '1' => 1271379760,
1692
-              ),
1693
-              'operation' => 'OR',
1694
-              '#argument map' => array(
1692
+                ),
1693
+                'operation' => 'OR',
1694
+                '#argument map' => array(
1695 1695
                 'user' => 'user',
1696
-              ),
1696
+                ),
1697 1697
             ),
1698 1698
             '#name' => 'rules_condition_user_hasrole',
1699 1699
             '#info' => array(
1700
-              'label' => 'User has role(s): administrator or moderator',
1701
-              'label callback' => FALSE,
1702
-              'arguments' => array(
1700
+                'label' => 'User has role(s): administrator or moderator',
1701
+                'label callback' => FALSE,
1702
+                'arguments' => array(
1703 1703
                 'user' => array(
1704
-                  'type' => 'user',
1705
-                  'label' => 'User',
1704
+                    'type' => 'user',
1705
+                    'label' => 'User',
1706
+                ),
1706 1707
                 ),
1707
-              ),
1708
-              'module' => 'User',
1708
+                'module' => 'User',
1709 1709
             ),
1710 1710
             '#weight' => 0.0,
1711
-          ),
1712
-          '1' => array(
1711
+            ),
1712
+            '1' => array(
1713 1713
             '#weight' => 0.0,
1714 1714
             '0' => array(
1715
-              '#weight' => 0.0,
1716
-              '#type' => 'condition',
1717
-              '#settings' => array(
1715
+                '#weight' => 0.0,
1716
+                '#type' => 'condition',
1717
+                '#settings' => array(
1718 1718
                 'type' => array(
1719
-                  'forum' => 'forum',
1719
+                    'forum' => 'forum',
1720 1720
                 ),
1721 1721
                 '#argument map' => array(
1722
-                  'node' => 'node',
1722
+                    'node' => 'node',
1723 1723
                 ),
1724
-              ),
1725
-              '#name' => 'rules_condition_content_is_type',
1726
-              '#info' => array(
1724
+                ),
1725
+                '#name' => 'rules_condition_content_is_type',
1726
+                '#info' => array(
1727 1727
                 'label' => 'Updated content is Forum topic',
1728 1728
                 'arguments' => array(
1729
-                  'node' => array(
1729
+                    'node' => array(
1730 1730
                     'type' => 'node',
1731 1731
                     'label' => 'Content',
1732
-                  ),
1732
+                    ),
1733 1733
                 ),
1734 1734
                 'module' => 'Node',
1735
-              ),
1735
+                ),
1736 1736
             ),
1737 1737
             '#type' => 'OR',
1738 1738
             '1' => array(
1739
-              '#type' => 'condition',
1740
-              '#settings' => array(
1739
+                '#type' => 'condition',
1740
+                '#settings' => array(
1741 1741
                 'type' => array(
1742
-                  'team_forum' => 'team_forum',
1742
+                    'team_forum' => 'team_forum',
1743 1743
                 ),
1744 1744
                 '#argument map' => array(
1745
-                  'node' => 'node',
1745
+                    'node' => 'node',
1746
+                ),
1746 1747
                 ),
1747
-              ),
1748
-              '#name' => 'rules_condition_content_is_type',
1749
-              '#info' => array(
1748
+                '#name' => 'rules_condition_content_is_type',
1749
+                '#info' => array(
1750 1750
                 'label' => 'Updated content is Team forum topic',
1751 1751
                 'arguments' => array(
1752
-                  'node' => array(
1752
+                    'node' => array(
1753 1753
                     'type' => 'node',
1754 1754
                     'label' => 'Content',
1755
-                  ),
1755
+                    ),
1756 1756
                 ),
1757 1757
                 'module' => 'Node',
1758
-              ),
1759
-              '#weight' => 0.0,
1758
+                ),
1759
+                '#weight' => 0.0,
1760
+            ),
1760 1761
             ),
1761
-          ),
1762
-          '3' => array(
1762
+            '3' => array(
1763 1763
             '#weight' => 0.0,
1764 1764
             '#info' => array(
1765
-              'label' => 'PHP code: node content unchanged',
1766
-              'label callback' => FALSE,
1767
-              'module' => 'PHP',
1768
-              'eval input' => array(
1765
+                'label' => 'PHP code: node content unchanged',
1766
+                'label callback' => FALSE,
1767
+                'module' => 'PHP',
1768
+                'eval input' => array(
1769 1769
                 '0' => 'code',
1770
-              ),
1770
+                ),
1771 1771
             ),
1772 1772
             '#name' => 'rules_condition_custom_php',
1773 1773
             '#settings' => array(
1774
-              'code' => 'return $node->body == $node_unchanged->body;',
1775
-              'vars' => array(
1774
+                'code' => 'return $node->body == $node_unchanged->body;',
1775
+                'vars' => array(
1776 1776
                 '0' => 'node',
1777 1777
                 '1' => 'node_unchanged',
1778
-              ),
1779
-              '#eval input' => array(
1778
+                ),
1779
+                '#eval input' => array(
1780 1780
                 'token_rules_input_evaluator' => array(
1781
-                  'code' => array(
1781
+                    'code' => array(
1782 1782
                     '0' => ':global',
1783
-                  ),
1783
+                    ),
1784
+                ),
1784 1785
                 ),
1785
-              ),
1786 1786
             ),
1787 1787
             '#type' => 'condition',
1788
-          ),
1789
-          '4' => array(
1788
+            ),
1789
+            '4' => array(
1790 1790
             '#weight' => 0.0,
1791 1791
             '#info' => array(
1792
-              'label' => 'PHP code: node locked',
1793
-              'label callback' => FALSE,
1794
-              'module' => 'PHP',
1795
-              'eval input' => array(
1792
+                'label' => 'PHP code: node locked',
1793
+                'label callback' => FALSE,
1794
+                'module' => 'PHP',
1795
+                'eval input' => array(
1796 1796
                 '0' => 'code',
1797
-              ),
1797
+                ),
1798 1798
             ),
1799 1799
             '#name' => 'rules_condition_custom_php',
1800 1800
             '#type' => 'condition',
1801 1801
             '#settings' => array(
1802
-              'code' => 'return $node_unchanged->comment == 2 && $node->comment == 1;',
1803
-              'vars' => array(
1802
+                'code' => 'return $node_unchanged->comment == 2 && $node->comment == 1;',
1803
+                'vars' => array(
1804 1804
                 '0' => 'node',
1805 1805
                 '1' => 'node_unchanged',
1806
-              ),
1807
-              '#eval input' => array(
1806
+                ),
1807
+                '#eval input' => array(
1808 1808
                 'token_rules_input_evaluator' => array(
1809
-                  'code' => array(
1809
+                    'code' => array(
1810 1810
                     '0' => ':global',
1811
-                  ),
1811
+                    ),
1812
+                ),
1812 1813
                 ),
1813
-              ),
1814 1814
             ),
1815
-          ),
1815
+            ),
1816 1816
         ),
1817 1817
         '#actions' => array(
1818
-          '0' => array(
1818
+            '0' => array(
1819 1819
             '#info' => array(
1820
-              'label' => 'Notify moderators via email',
1821
-              'module' => 'BOINC core',
1822
-              'eval input' => array(
1820
+                'label' => 'Notify moderators via email',
1821
+                'module' => 'BOINC core',
1822
+                'eval input' => array(
1823 1823
                 '0' => 'subject',
1824 1824
                 '1' => 'message',
1825 1825
                 '2' => 'from',
1826
-              ),
1826
+                ),
1827 1827
             ),
1828 1828
             '#name' => 'boinccore_rules_action_mail_to_moderators',
1829 1829
             '#settings' => array(
1830
-              'from' => '',
1831
-              'subject' => 'Forum topic at [:global:site-name] locked by moderator/admin',
1832
-              'message' => "[node:type] topic '[node:title]' has been locked by moderator/admin [user:display-name].\r\n\r\nLink: <?php print url('node/' . \$node->nid, array('absolute' => TRUE, 'language' => 'en')); ?>",
1833
-              '#eval input' => array(
1830
+                'from' => '',
1831
+                'subject' => 'Forum topic at [:global:site-name] locked by moderator/admin',
1832
+                'message' => "[node:type] topic '[node:title]' has been locked by moderator/admin [user:display-name].\r\n\r\nLink: <?php print url('node/' . \$node->nid, array('absolute' => TRUE, 'language' => 'en')); ?>",
1833
+                '#eval input' => array(
1834 1834
                 'token_rules_input_evaluator' => array(
1835
-                  'subject' => array(
1835
+                    'subject' => array(
1836 1836
                     '0' => ':global',
1837
-                  ),
1838
-                  'message' => array(
1837
+                    ),
1838
+                    'message' => array(
1839 1839
                     '0' => 'node',
1840 1840
                     '1' => 'user',
1841 1841
                     '2' => ':global',
1842
-                  ),
1843
-                  'from' => array(
1842
+                    ),
1843
+                    'from' => array(
1844 1844
                     '0' => ':global',
1845
-                  ),
1845
+                    ),
1846 1846
                 ),
1847 1847
                 'rules_input_evaluator_php' => array(
1848
-                  'message' => array(
1848
+                    'message' => array(
1849 1849
                     '0' => 'node',
1850
-                  ),
1850
+                    ),
1851
+                ),
1851 1852
                 ),
1852
-              ),
1853 1853
             ),
1854 1854
             '#type' => 'action',
1855 1855
             '#weight' => 0.0,
1856
-          ),
1856
+            ),
1857 1857
         ),
1858 1858
         '#version' => 6003,
1859
-      ),
1860
-      'rules_forum_topic_marked_sticky_by_moderator_admin' => array(
1859
+        ),
1860
+        'rules_forum_topic_marked_sticky_by_moderator_admin' => array(
1861 1861
         '#type' => 'rule',
1862 1862
         '#set' => 'event_node_update',
1863 1863
         '#label' => 'Forum topic marked sticky by moderator/admin',
1864 1864
         '#active' => 1,
1865 1865
         '#weight' => '0',
1866 1866
         '#categories' => array(
1867
-          '0' => 'boinc_standard',
1868
-          '1' => 'moderator notification',
1867
+            '0' => 'boinc_standard',
1868
+            '1' => 'moderator notification',
1869 1869
         ),
1870 1870
         '#status' => 'default',
1871 1871
         '#conditions' => array(
1872
-          '0' => array(
1872
+            '0' => array(
1873 1873
             '#type' => 'condition',
1874 1874
             '#settings' => array(
1875
-              'roles' => array(
1875
+                'roles' => array(
1876 1876
                 '0' => 3519698132,
1877 1877
                 '1' => 1271379760,
1878
-              ),
1879
-              'operation' => 'OR',
1880
-              '#argument map' => array(
1878
+                ),
1879
+                'operation' => 'OR',
1880
+                '#argument map' => array(
1881 1881
                 'user' => 'user',
1882
-              ),
1882
+                ),
1883 1883
             ),
1884 1884
             '#name' => 'rules_condition_user_hasrole',
1885 1885
             '#info' => array(
1886
-              'label' => 'User has role(s): administrator or moderator',
1887
-              'label callback' => FALSE,
1888
-              'arguments' => array(
1886
+                'label' => 'User has role(s): administrator or moderator',
1887
+                'label callback' => FALSE,
1888
+                'arguments' => array(
1889 1889
                 'user' => array(
1890
-                  'type' => 'user',
1891
-                  'label' => 'User',
1890
+                    'type' => 'user',
1891
+                    'label' => 'User',
1892
+                ),
1892 1893
                 ),
1893
-              ),
1894
-              'module' => 'User',
1894
+                'module' => 'User',
1895 1895
             ),
1896 1896
             '#weight' => 0.0,
1897
-          ),
1898
-          '1' => array(
1897
+            ),
1898
+            '1' => array(
1899 1899
             '#weight' => 0.0,
1900 1900
             '0' => array(
1901
-              '#weight' => 0.0,
1902
-              '#type' => 'condition',
1903
-              '#settings' => array(
1901
+                '#weight' => 0.0,
1902
+                '#type' => 'condition',
1903
+                '#settings' => array(
1904 1904
                 'type' => array(
1905
-                  'forum' => 'forum',
1905
+                    'forum' => 'forum',
1906 1906
                 ),
1907 1907
                 '#argument map' => array(
1908
-                  'node' => 'node',
1908
+                    'node' => 'node',
1909 1909
                 ),
1910
-              ),
1911
-              '#name' => 'rules_condition_content_is_type',
1912
-              '#info' => array(
1910
+                ),
1911
+                '#name' => 'rules_condition_content_is_type',
1912
+                '#info' => array(
1913 1913
                 'label' => 'Updated content is Forum topic',
1914 1914
                 'arguments' => array(
1915
-                  'node' => array(
1915
+                    'node' => array(
1916 1916
                     'type' => 'node',
1917 1917
                     'label' => 'Content',
1918
-                  ),
1918
+                    ),
1919 1919
                 ),
1920 1920
                 'module' => 'Node',
1921
-              ),
1921
+                ),
1922 1922
             ),
1923 1923
             '#type' => 'OR',
1924 1924
             '1' => array(
1925
-              '#type' => 'condition',
1926
-              '#settings' => array(
1925
+                '#type' => 'condition',
1926
+                '#settings' => array(
1927 1927
                 'type' => array(
1928
-                  'team_forum' => 'team_forum',
1928
+                    'team_forum' => 'team_forum',
1929 1929
                 ),
1930 1930
                 '#argument map' => array(
1931
-                  'node' => 'node',
1931
+                    'node' => 'node',
1932
+                ),
1932 1933
                 ),
1933
-              ),
1934
-              '#name' => 'rules_condition_content_is_type',
1935
-              '#info' => array(
1934
+                '#name' => 'rules_condition_content_is_type',
1935
+                '#info' => array(
1936 1936
                 'label' => 'Updated content is Team forum topic',
1937 1937
                 'arguments' => array(
1938
-                  'node' => array(
1938
+                    'node' => array(
1939 1939
                     'type' => 'node',
1940 1940
                     'label' => 'Content',
1941
-                  ),
1941
+                    ),
1942 1942
                 ),
1943 1943
                 'module' => 'Node',
1944
-              ),
1945
-              '#weight' => 0.0,
1944
+                ),
1945
+                '#weight' => 0.0,
1946
+            ),
1946 1947
             ),
1947
-          ),
1948
-          '3' => array(
1948
+            '3' => array(
1949 1949
             '#weight' => 0.0,
1950 1950
             '#info' => array(
1951
-              'label' => 'PHP code: node content unchanged',
1952
-              'label callback' => FALSE,
1953
-              'module' => 'PHP',
1954
-              'eval input' => array(
1951
+                'label' => 'PHP code: node content unchanged',
1952
+                'label callback' => FALSE,
1953
+                'module' => 'PHP',
1954
+                'eval input' => array(
1955 1955
                 '0' => 'code',
1956
-              ),
1956
+                ),
1957 1957
             ),
1958 1958
             '#name' => 'rules_condition_custom_php',
1959 1959
             '#settings' => array(
1960
-              'code' => 'return $node->body == $node_unchanged->body;',
1961
-              'vars' => array(
1960
+                'code' => 'return $node->body == $node_unchanged->body;',
1961
+                'vars' => array(
1962 1962
                 '0' => 'node',
1963 1963
                 '1' => 'node_unchanged',
1964
-              ),
1965
-              '#eval input' => array(
1964
+                ),
1965
+                '#eval input' => array(
1966 1966
                 'token_rules_input_evaluator' => array(
1967
-                  'code' => array(
1967
+                    'code' => array(
1968 1968
                     '0' => ':global',
1969
-                  ),
1969
+                    ),
1970
+                ),
1970 1971
                 ),
1971
-              ),
1972 1972
             ),
1973 1973
             '#type' => 'condition',
1974
-          ),
1975
-          '4' => array(
1974
+            ),
1975
+            '4' => array(
1976 1976
             '#weight' => 0.0,
1977 1977
             '#info' => array(
1978
-              'label' => 'PHP code: node made sticky',
1979
-              'label callback' => FALSE,
1980
-              'module' => 'PHP',
1981
-              'eval input' => array(
1978
+                'label' => 'PHP code: node made sticky',
1979
+                'label callback' => FALSE,
1980
+                'module' => 'PHP',
1981
+                'eval input' => array(
1982 1982
                 '0' => 'code',
1983
-              ),
1983
+                ),
1984 1984
             ),
1985 1985
             '#name' => 'rules_condition_custom_php',
1986 1986
             '#type' => 'condition',
1987 1987
             '#settings' => array(
1988
-              'code' => 'return $node_unchanged->sticky == 0 && $node->sticky == 1;',
1989
-              'vars' => array(
1988
+                'code' => 'return $node_unchanged->sticky == 0 && $node->sticky == 1;',
1989
+                'vars' => array(
1990 1990
                 '0' => 'node',
1991 1991
                 '1' => 'node_unchanged',
1992
-              ),
1993
-              '#eval input' => array(
1992
+                ),
1993
+                '#eval input' => array(
1994 1994
                 'token_rules_input_evaluator' => array(
1995
-                  'code' => array(
1995
+                    'code' => array(
1996 1996
                     '0' => ':global',
1997
-                  ),
1997
+                    ),
1998
+                ),
1998 1999
                 ),
1999
-              ),
2000 2000
             ),
2001
-          ),
2001
+            ),
2002 2002
         ),
2003 2003
         '#actions' => array(
2004
-          '0' => array(
2004
+            '0' => array(
2005 2005
             '#info' => array(
2006
-              'label' => 'Notify moderators via email',
2007
-              'module' => 'BOINC core',
2008
-              'eval input' => array(
2006
+                'label' => 'Notify moderators via email',
2007
+                'module' => 'BOINC core',
2008
+                'eval input' => array(
2009 2009
                 '0' => 'subject',
2010 2010
                 '1' => 'message',
2011 2011
                 '2' => 'from',
2012
-              ),
2012
+                ),
2013 2013
             ),
2014 2014
             '#name' => 'boinccore_rules_action_mail_to_moderators',
2015 2015
             '#settings' => array(
2016
-              'from' => '',
2017
-              'subject' => 'Forum topic at [:global:site-name] marked sticky by moderator/admin',
2018
-              'message' => "[node:type] topic '[node:title]' has been marked sticky by moderator/admin [user:display-name].\r\n\r\nLink: <?php print url('node/' . \$node->nid, array('absolute' => TRUE, 'language' => 'en')); ?>",
2019
-              '#eval input' => array(
2016
+                'from' => '',
2017
+                'subject' => 'Forum topic at [:global:site-name] marked sticky by moderator/admin',
2018
+                'message' => "[node:type] topic '[node:title]' has been marked sticky by moderator/admin [user:display-name].\r\n\r\nLink: <?php print url('node/' . \$node->nid, array('absolute' => TRUE, 'language' => 'en')); ?>",
2019
+                '#eval input' => array(
2020 2020
                 'token_rules_input_evaluator' => array(
2021
-                  'subject' => array(
2021
+                    'subject' => array(
2022 2022
                     '0' => ':global',
2023
-                  ),
2024
-                  'message' => array(
2023
+                    ),
2024
+                    'message' => array(
2025 2025
                     '0' => 'node',
2026 2026
                     '1' => 'user',
2027 2027
                     '2' => ':global',
2028
-                  ),
2029
-                  'from' => array(
2028
+                    ),
2029
+                    'from' => array(
2030 2030
                     '0' => ':global',
2031
-                  ),
2031
+                    ),
2032 2032
                 ),
2033 2033
                 'rules_input_evaluator_php' => array(
2034
-                  'message' => array(
2034
+                    'message' => array(
2035 2035
                     '0' => 'node',
2036
-                  ),
2036
+                    ),
2037
+                ),
2037 2038
                 ),
2038
-              ),
2039 2039
             ),
2040 2040
             '#type' => 'action',
2041 2041
             '#weight' => 0.0,
2042
-          ),
2042
+            ),
2043 2043
         ),
2044 2044
         '#version' => 6003,
2045
-      ),
2046
-      'rules_forum_topic_marked_unsticky_by_moderator_admin' => array(
2045
+        ),
2046
+        'rules_forum_topic_marked_unsticky_by_moderator_admin' => array(
2047 2047
         '#type' => 'rule',
2048 2048
         '#set' => 'event_node_update',
2049 2049
         '#label' => 'Forum topic marked unsticky by moderator/admin',
2050 2050
         '#active' => 1,
2051 2051
         '#weight' => '0',
2052 2052
         '#categories' => array(
2053
-          '0' => 'boinc_standard',
2054
-          '1' => 'moderator notification',
2053
+            '0' => 'boinc_standard',
2054
+            '1' => 'moderator notification',
2055 2055
         ),
2056 2056
         '#status' => 'default',
2057 2057
         '#conditions' => array(
2058
-          '0' => array(
2058
+            '0' => array(
2059 2059
             '#type' => 'condition',
2060 2060
             '#settings' => array(
2061
-              'roles' => array(
2061
+                'roles' => array(
2062 2062
                 '0' => 3519698132,
2063 2063
                 '1' => 1271379760,
2064
-              ),
2065
-              'operation' => 'OR',
2066
-              '#argument map' => array(
2064
+                ),
2065
+                'operation' => 'OR',
2066
+                '#argument map' => array(
2067 2067
                 'user' => 'user',
2068
-              ),
2068
+                ),
2069 2069
             ),
2070 2070
             '#name' => 'rules_condition_user_hasrole',
2071 2071
             '#info' => array(
2072
-              'label' => 'User has role(s): administrator or moderator',
2073
-              'label callback' => FALSE,
2074
-              'arguments' => array(
2072
+                'label' => 'User has role(s): administrator or moderator',
2073
+                'label callback' => FALSE,
2074
+                'arguments' => array(
2075 2075
                 'user' => array(
2076
-                  'type' => 'user',
2077
-                  'label' => 'User',
2076
+                    'type' => 'user',
2077
+                    'label' => 'User',
2078 2078
                 ),
2079
-              ),
2080
-              'module' => 'User',
2079
+                ),
2080
+                'module' => 'User',
2081 2081
             ),
2082 2082
             '#weight' => 0.0,
2083
-          ),
2084
-          '1' => array(
2083
+            ),
2084
+            '1' => array(
2085 2085
             '#weight' => 0.0,
2086 2086
             '0' => array(
2087
-              '#weight' => 0.0,
2088
-              '#type' => 'condition',
2089
-              '#settings' => array(
2087
+                '#weight' => 0.0,
2088
+                '#type' => 'condition',
2089
+                '#settings' => array(
2090 2090
                 'type' => array(
2091
-                  'forum' => 'forum',
2091
+                    'forum' => 'forum',
2092 2092
                 ),
2093 2093
                 '#argument map' => array(
2094
-                  'node' => 'node',
2094
+                    'node' => 'node',
2095
+                ),
2095 2096
                 ),
2096
-              ),
2097
-              '#name' => 'rules_condition_content_is_type',
2098
-              '#info' => array(
2097
+                '#name' => 'rules_condition_content_is_type',
2098
+                '#info' => array(
2099 2099
                 'label' => 'Updated content is Forum topic',
2100 2100
                 'arguments' => array(
2101
-                  'node' => array(
2101
+                    'node' => array(
2102 2102
                     'type' => 'node',
2103 2103
                     'label' => 'Content',
2104
-                  ),
2104
+                    ),
2105 2105
                 ),
2106 2106
                 'module' => 'Node',
2107
-              ),
2107
+                ),
2108 2108
             ),
2109 2109
             '#type' => 'OR',
2110 2110
             '1' => array(
2111
-              '#type' => 'condition',
2112
-              '#settings' => array(
2111
+                '#type' => 'condition',
2112
+                '#settings' => array(
2113 2113
                 'type' => array(
2114
-                  'team_forum' => 'team_forum',
2114
+                    'team_forum' => 'team_forum',
2115 2115
                 ),
2116 2116
                 '#argument map' => array(
2117
-                  'node' => 'node',
2117
+                    'node' => 'node',
2118 2118
                 ),
2119
-              ),
2120
-              '#name' => 'rules_condition_content_is_type',
2121
-              '#info' => array(
2119
+                ),
2120
+                '#name' => 'rules_condition_content_is_type',
2121
+                '#info' => array(
2122 2122
                 'label' => 'Updated content is Team forum topic',
2123 2123
                 'arguments' => array(
2124
-                  'node' => array(
2124
+                    'node' => array(
2125 2125
                     'type' => 'node',
2126 2126
                     'label' => 'Content',
2127
-                  ),
2127
+                    ),
2128 2128
                 ),
2129 2129
                 'module' => 'Node',
2130
-              ),
2131
-              '#weight' => 0.0,
2130
+                ),
2131
+                '#weight' => 0.0,
2132
+            ),
2132 2133
             ),
2133
-          ),
2134
-          '3' => array(
2134
+            '3' => array(
2135 2135
             '#weight' => 0.0,
2136 2136
             '#info' => array(
2137
-              'label' => 'PHP code: node content unchanged',
2138
-              'label callback' => FALSE,
2139
-              'module' => 'PHP',
2140
-              'eval input' => array(
2137
+                'label' => 'PHP code: node content unchanged',
2138
+                'label callback' => FALSE,
2139
+                'module' => 'PHP',
2140
+                'eval input' => array(
2141 2141
                 '0' => 'code',
2142
-              ),
2142
+                ),
2143 2143
             ),
2144 2144
             '#name' => 'rules_condition_custom_php',
2145 2145
             '#settings' => array(
2146
-              'code' => 'return $node->body == $node_unchanged->body;',
2147
-              'vars' => array(
2146
+                'code' => 'return $node->body == $node_unchanged->body;',
2147
+                'vars' => array(
2148 2148
                 '0' => 'node',
2149 2149
                 '1' => 'node_unchanged',
2150
-              ),
2151
-              '#eval input' => array(
2150
+                ),
2151
+                '#eval input' => array(
2152 2152
                 'token_rules_input_evaluator' => array(
2153
-                  'code' => array(
2153
+                    'code' => array(
2154 2154
                     '0' => ':global',
2155
-                  ),
2155
+                    ),
2156
+                ),
2156 2157
                 ),
2157
-              ),
2158 2158
             ),
2159 2159
             '#type' => 'condition',
2160
-          ),
2161
-          '4' => array(
2160
+            ),
2161
+            '4' => array(
2162 2162
             '#weight' => 0.0,
2163 2163
             '#info' => array(
2164
-              'label' => 'PHP code: node made sticky',
2165
-              'label callback' => FALSE,
2166
-              'module' => 'PHP',
2167
-              'eval input' => array(
2164
+                'label' => 'PHP code: node made sticky',
2165
+                'label callback' => FALSE,
2166
+                'module' => 'PHP',
2167
+                'eval input' => array(
2168 2168
                 '0' => 'code',
2169
-              ),
2169
+                ),
2170 2170
             ),
2171 2171
             '#name' => 'rules_condition_custom_php',
2172 2172
             '#type' => 'condition',
2173 2173
             '#settings' => array(
2174
-              'code' => 'return $node_unchanged->sticky == 1 && $node->sticky == 0;',
2175
-              'vars' => array(
2174
+                'code' => 'return $node_unchanged->sticky == 1 && $node->sticky == 0;',
2175
+                'vars' => array(
2176 2176
                 '0' => 'node',
2177 2177
                 '1' => 'node_unchanged',
2178
-              ),
2179
-              '#eval input' => array(
2178
+                ),
2179
+                '#eval input' => array(
2180 2180
                 'token_rules_input_evaluator' => array(
2181
-                  'code' => array(
2181
+                    'code' => array(
2182 2182
                     '0' => ':global',
2183
-                  ),
2183
+                    ),
2184
+                ),
2184 2185
                 ),
2185
-              ),
2186 2186
             ),
2187
-          ),
2187
+            ),
2188 2188
         ),
2189 2189
         '#actions' => array(
2190
-          '0' => array(
2190
+            '0' => array(
2191 2191
             '#info' => array(
2192
-              'label' => 'Notify moderators via email',
2193
-              'module' => 'BOINC core',
2194
-              'eval input' => array(
2192
+                'label' => 'Notify moderators via email',
2193
+                'module' => 'BOINC core',
2194
+                'eval input' => array(
2195 2195
                 '0' => 'subject',
2196 2196
                 '1' => 'message',
2197 2197
                 '2' => 'from',
2198
-              ),
2198
+                ),
2199 2199
             ),
2200 2200
             '#name' => 'boinccore_rules_action_mail_to_moderators',
2201 2201
             '#settings' => array(
2202
-              'from' => '',
2203
-              'subject' => 'Forum topic at [:global:site-name] marked unsticky by moderator/admin',
2204
-              'message' => "[node:type] topic '[node:title]' has been marked unsticky by moderator/admin [user:display-name].\r\n\\r\nLink: <?php print url('node/' . \$node->nid, array('absolute' => TRUE, 'language' => 'en')); ?>",
2205
-              '#eval input' => array(
2202
+                'from' => '',
2203
+                'subject' => 'Forum topic at [:global:site-name] marked unsticky by moderator/admin',
2204
+                'message' => "[node:type] topic '[node:title]' has been marked unsticky by moderator/admin [user:display-name].\r\n\\r\nLink: <?php print url('node/' . \$node->nid, array('absolute' => TRUE, 'language' => 'en')); ?>",
2205
+                '#eval input' => array(
2206 2206
                 'token_rules_input_evaluator' => array(
2207
-                  'subject' => array(
2207
+                    'subject' => array(
2208 2208
                     '0' => ':global',
2209
-                  ),
2210
-                  'message' => array(
2209
+                    ),
2210
+                    'message' => array(
2211 2211
                     '0' => 'node',
2212 2212
                     '1' => 'user',
2213 2213
                     '2' => ':global',
2214
-                  ),
2215
-                  'from' => array(
2214
+                    ),
2215
+                    'from' => array(
2216 2216
                     '0' => ':global',
2217
-                  ),
2217
+                    ),
2218 2218
                 ),
2219 2219
                 'rules_input_evaluator_php' => array(
2220
-                  'message' => array(
2220
+                    'message' => array(
2221 2221
                     '0' => 'node',
2222
-                  ),
2222
+                    ),
2223
+                ),
2223 2224
                 ),
2224
-              ),
2225 2225
             ),
2226 2226
             '#type' => 'action',
2227 2227
             '#weight' => 0.0,
2228
-          ),
2228
+            ),
2229 2229
         ),
2230 2230
         '#version' => 6003,
2231
-      ),
2232
-      'rules_forum_topic_nenamed_title_by_moderator_or_admin' => array(
2231
+        ),
2232
+        'rules_forum_topic_nenamed_title_by_moderator_or_admin' => array(
2233 2233
         '#type' => 'rule',
2234 2234
         '#set' => 'event_node_update',
2235 2235
         '#label' => 'Forum topic renamed title by moderator or admin',
2236 2236
         '#active' => 1,
2237 2237
         '#weight' => '0',
2238 2238
         '#categories' => array(
2239
-          '0' => 'boinc_standard',
2240
-          '1' => 'moderator notification',
2239
+            '0' => 'boinc_standard',
2240
+            '1' => 'moderator notification',
2241 2241
         ),
2242 2242
         '#status' => 'default',
2243 2243
         '#conditions' => array(
2244
-          '0' => array(
2244
+            '0' => array(
2245 2245
             '#weight' => 0.0,
2246 2246
             '#type' => 'condition',
2247 2247
             '#settings' => array(
2248
-              'roles' => array(
2248
+                'roles' => array(
2249 2249
                 '0' => 3519698132,
2250 2250
                 '1' => 1271379760,
2251
-              ),
2252
-              'operation' => 'OR',
2253
-              '#argument map' => array(
2251
+                ),
2252
+                'operation' => 'OR',
2253
+                '#argument map' => array(
2254 2254
                 'user' => 'user',
2255
-              ),
2255
+                ),
2256 2256
             ),
2257 2257
             '#name' => 'rules_condition_user_hasrole',
2258 2258
             '#info' => array(
2259
-              'label' => 'User has role(s): administrator or moderator',
2260
-              'label callback' => FALSE,
2261
-              'arguments' => array(
2259
+                'label' => 'User has role(s): administrator or moderator',
2260
+                'label callback' => FALSE,
2261
+                'arguments' => array(
2262 2262
                 'user' => array(
2263
-                  'type' => 'user',
2264
-                  'label' => 'User',
2263
+                    'type' => 'user',
2264
+                    'label' => 'User',
2265 2265
                 ),
2266
-              ),
2267
-              'module' => 'User',
2266
+                ),
2267
+                'module' => 'User',
2268
+            ),
2268 2269
             ),
2269
-          ),
2270
-          '1' => array(
2270
+            '1' => array(
2271 2271
             '#weight' => 0.0,
2272 2272
             '0' => array(
2273
-              '#weight' => 0.0,
2274
-              '#info' => array(
2273
+                '#weight' => 0.0,
2274
+                '#info' => array(
2275 2275
                 'label' => 'Updated content is Forum topic',
2276 2276
                 'arguments' => array(
2277
-                  'node' => array(
2277
+                    'node' => array(
2278 2278
                     'type' => 'node',
2279 2279
                     'label' => 'Content',
2280
-                  ),
2280
+                    ),
2281 2281
                 ),
2282 2282
                 'module' => 'Node',
2283
-              ),
2284
-              '#name' => 'rules_condition_content_is_type',
2285
-              '#settings' => array(
2283
+                ),
2284
+                '#name' => 'rules_condition_content_is_type',
2285
+                '#settings' => array(
2286 2286
                 'type' => array(
2287
-                  'forum' => 'forum',
2287
+                    'forum' => 'forum',
2288 2288
                 ),
2289 2289
                 '#argument map' => array(
2290
-                  'node' => 'node',
2290
+                    'node' => 'node',
2291
+                ),
2291 2292
                 ),
2292
-              ),
2293
-              '#type' => 'condition',
2293
+                '#type' => 'condition',
2294 2294
             ),
2295 2295
             '#type' => 'OR',
2296 2296
             '1' => array(
2297
-              '#type' => 'condition',
2298
-              '#settings' => array(
2297
+                '#type' => 'condition',
2298
+                '#settings' => array(
2299 2299
                 'type' => array(
2300
-                  'team_forum' => 'team_forum',
2300
+                    'team_forum' => 'team_forum',
2301 2301
                 ),
2302 2302
                 '#argument map' => array(
2303
-                  'node' => 'node',
2303
+                    'node' => 'node',
2304 2304
                 ),
2305
-              ),
2306
-              '#name' => 'rules_condition_content_is_type',
2307
-              '#info' => array(
2305
+                ),
2306
+                '#name' => 'rules_condition_content_is_type',
2307
+                '#info' => array(
2308 2308
                 'label' => 'Updated content is Team forum topic',
2309 2309
                 'arguments' => array(
2310
-                  'node' => array(
2310
+                    'node' => array(
2311 2311
                     'type' => 'node',
2312 2312
                     'label' => 'Content',
2313
-                  ),
2313
+                    ),
2314 2314
                 ),
2315 2315
                 'module' => 'Node',
2316
-              ),
2317
-              '#weight' => 0.0,
2316
+                ),
2317
+                '#weight' => 0.0,
2318 2318
             ),
2319
-          ),
2320
-          '2' => array(
2319
+            ),
2320
+            '2' => array(
2321 2321
             '#weight' => 0.0,
2322 2322
             '#info' => array(
2323
-              'label' => 'PHP code: title changed',
2324
-              'label callback' => FALSE,
2325
-              'module' => 'PHP',
2326
-              'eval input' => array(
2323
+                'label' => 'PHP code: title changed',
2324
+                'label callback' => FALSE,
2325
+                'module' => 'PHP',
2326
+                'eval input' => array(
2327 2327
                 '0' => 'code',
2328
-              ),
2328
+                ),
2329 2329
             ),
2330 2330
             '#name' => 'rules_condition_custom_php',
2331 2331
             '#settings' => array(
2332
-              'code' => 'return ($node->title != $node_unchanged->title);',
2333
-              'vars' => array(
2332
+                'code' => 'return ($node->title != $node_unchanged->title);',
2333
+                'vars' => array(
2334 2334
                 '0' => 'node',
2335 2335
                 '1' => 'node_unchanged',
2336
-              ),
2337
-              '#eval input' => array(
2336
+                ),
2337
+                '#eval input' => array(
2338 2338
                 'token_rules_input_evaluator' => array(
2339
-                  'code' => array(
2339
+                    'code' => array(
2340 2340
                     '0' => ':global',
2341
-                  ),
2341
+                    ),
2342
+                ),
2342 2343
                 ),
2343
-              ),
2344 2344
             ),
2345 2345
             '#type' => 'condition',
2346
-          ),
2346
+            ),
2347 2347
         ),
2348 2348
         '#actions' => array(
2349
-          '0' => array(
2349
+            '0' => array(
2350 2350
             '#type' => 'action',
2351 2351
             '#settings' => array(
2352
-              'from' => '',
2353
-              'subject' => 'Forum topic at [:global:site-name] renamed by moderator/admin',
2354
-              'message' => "[node:type] topic '[node:title]' has its title renamed by moderator/admin [user:display-name].\r\n\r\nLink: <?php print url('node/' . \$node->nid, array('absolute' => TRUE, 'language' => 'en')); ?>",
2355
-              '#eval input' => array(
2352
+                'from' => '',
2353
+                'subject' => 'Forum topic at [:global:site-name] renamed by moderator/admin',
2354
+                'message' => "[node:type] topic '[node:title]' has its title renamed by moderator/admin [user:display-name].\r\n\r\nLink: <?php print url('node/' . \$node->nid, array('absolute' => TRUE, 'language' => 'en')); ?>",
2355
+                '#eval input' => array(
2356 2356
                 'token_rules_input_evaluator' => array(
2357
-                  'subject' => array(
2357
+                    'subject' => array(
2358 2358
                     '0' => ':global',
2359
-                  ),
2360
-                  'message' => array(
2359
+                    ),
2360
+                    'message' => array(
2361 2361
                     '0' => 'node',
2362 2362
                     '1' => 'user',
2363 2363
                     '2' => ':global',
2364
-                  ),
2365
-                  'from' => array(
2364
+                    ),
2365
+                    'from' => array(
2366 2366
                     '0' => ':global',
2367
-                  ),
2367
+                    ),
2368 2368
                 ),
2369 2369
                 'rules_input_evaluator_php' => array(
2370
-                  'message' => array(
2370
+                    'message' => array(
2371 2371
                     '0' => 'node',
2372
-                  ),
2372
+                    ),
2373
+                ),
2373 2374
                 ),
2374
-              ),
2375 2375
             ),
2376 2376
             '#name' => 'boinccore_rules_action_mail_to_moderators',
2377 2377
             '#info' => array(
2378
-              'label' => 'Notify moderators via email',
2379
-              'module' => 'BOINC core',
2380
-              'eval input' => array(
2378
+                'label' => 'Notify moderators via email',
2379
+                'module' => 'BOINC core',
2380
+                'eval input' => array(
2381 2381
                 '0' => 'subject',
2382 2382
                 '1' => 'message',
2383 2383
                 '2' => 'from',
2384
-              ),
2384
+                ),
2385 2385
             ),
2386 2386
             '#weight' => 0.0,
2387
-          ),
2387
+            ),
2388 2388
         ),
2389 2389
         '#version' => 6003,
2390
-      ),
2391
-      'rules_forum_topic_unlocked_by_moderator_admin' => array(
2390
+        ),
2391
+        'rules_forum_topic_unlocked_by_moderator_admin' => array(
2392 2392
         '#type' => 'rule',
2393 2393
         '#set' => 'event_node_update',
2394 2394
         '#label' => 'Forum topic unlocked by moderator/admin',
2395 2395
         '#active' => 1,
2396 2396
         '#weight' => '0',
2397 2397
         '#categories' => array(
2398
-          '0' => 'boinc_standard',
2399
-          '1' => 'moderator notification',
2398
+            '0' => 'boinc_standard',
2399
+            '1' => 'moderator notification',
2400 2400
         ),
2401 2401
         '#status' => 'default',
2402 2402
         '#conditions' => array(
2403
-          '0' => array(
2403
+            '0' => array(
2404 2404
             '#type' => 'condition',
2405 2405
             '#settings' => array(
2406
-              'roles' => array(
2406
+                'roles' => array(
2407 2407
                 '0' => 3519698132,
2408 2408
                 '1' => 1271379760,
2409
-              ),
2410
-              'operation' => 'OR',
2411
-              '#argument map' => array(
2409
+                ),
2410
+                'operation' => 'OR',
2411
+                '#argument map' => array(
2412 2412
                 'user' => 'user',
2413
-              ),
2413
+                ),
2414 2414
             ),
2415 2415
             '#name' => 'rules_condition_user_hasrole',
2416 2416
             '#info' => array(
2417
-              'label' => 'User has role(s): administrator or moderator',
2418
-              'label callback' => FALSE,
2419
-              'arguments' => array(
2417
+                'label' => 'User has role(s): administrator or moderator',
2418
+                'label callback' => FALSE,
2419
+                'arguments' => array(
2420 2420
                 'user' => array(
2421
-                  'type' => 'user',
2422
-                  'label' => 'User',
2421
+                    'type' => 'user',
2422
+                    'label' => 'User',
2423
+                ),
2423 2424
                 ),
2424
-              ),
2425
-              'module' => 'User',
2425
+                'module' => 'User',
2426 2426
             ),
2427 2427
             '#weight' => 0.0,
2428
-          ),
2429
-          '1' => array(
2428
+            ),
2429
+            '1' => array(
2430 2430
             '#weight' => 0.0,
2431 2431
             '0' => array(
2432
-              '#weight' => 0.0,
2433
-              '#type' => 'condition',
2434
-              '#settings' => array(
2432
+                '#weight' => 0.0,
2433
+                '#type' => 'condition',
2434
+                '#settings' => array(
2435 2435
                 'type' => array(
2436
-                  'forum' => 'forum',
2436
+                    'forum' => 'forum',
2437 2437
                 ),
2438 2438
                 '#argument map' => array(
2439
-                  'node' => 'node',
2439
+                    'node' => 'node',
2440
+                ),
2440 2441
                 ),
2441
-              ),
2442
-              '#name' => 'rules_condition_content_is_type',
2443
-              '#info' => array(
2442
+                '#name' => 'rules_condition_content_is_type',
2443
+                '#info' => array(
2444 2444
                 'label' => 'Updated content is Forum topic',
2445 2445
                 'arguments' => array(
2446
-                  'node' => array(
2446
+                    'node' => array(
2447 2447
                     'type' => 'node',
2448 2448
                     'label' => 'Content',
2449
-                  ),
2449
+                    ),
2450 2450
                 ),
2451 2451
                 'module' => 'Node',
2452
-              ),
2452
+                ),
2453 2453
             ),
2454 2454
             '#type' => 'OR',
2455 2455
             '1' => array(
2456
-              '#type' => 'condition',
2457
-              '#settings' => array(
2456
+                '#type' => 'condition',
2457
+                '#settings' => array(
2458 2458
                 'type' => array(
2459
-                  'team_forum' => 'team_forum',
2459
+                    'team_forum' => 'team_forum',
2460 2460
                 ),
2461 2461
                 '#argument map' => array(
2462
-                  'node' => 'node',
2462
+                    'node' => 'node',
2463
+                ),
2463 2464
                 ),
2464
-              ),
2465
-              '#name' => 'rules_condition_content_is_type',
2466
-              '#info' => array(
2465
+                '#name' => 'rules_condition_content_is_type',
2466
+                '#info' => array(
2467 2467
                 'label' => 'Updated content is Team forum topic',
2468 2468
                 'arguments' => array(
2469
-                  'node' => array(
2469
+                    'node' => array(
2470 2470
                     'type' => 'node',
2471 2471
                     'label' => 'Content',
2472
-                  ),
2472
+                    ),
2473 2473
                 ),
2474 2474
                 'module' => 'Node',
2475
-              ),
2476
-              '#weight' => 0.0,
2475
+                ),
2476
+                '#weight' => 0.0,
2477
+            ),
2477 2478
             ),
2478
-          ),
2479
-          '3' => array(
2479
+            '3' => array(
2480 2480
             '#weight' => 0.0,
2481 2481
             '#info' => array(
2482
-              'label' => 'PHP code: node content unchanged',
2483
-              'label callback' => FALSE,
2484
-              'module' => 'PHP',
2485
-              'eval input' => array(
2482
+                'label' => 'PHP code: node content unchanged',
2483
+                'label callback' => FALSE,
2484
+                'module' => 'PHP',
2485
+                'eval input' => array(
2486 2486
                 '0' => 'code',
2487
-              ),
2487
+                ),
2488 2488
             ),
2489 2489
             '#name' => 'rules_condition_custom_php',
2490 2490
             '#settings' => array(
2491
-              'code' => 'return $node->body == $node_unchanged->body;',
2492
-              'vars' => array(
2491
+                'code' => 'return $node->body == $node_unchanged->body;',
2492
+                'vars' => array(
2493 2493
                 '0' => 'node',
2494 2494
                 '1' => 'node_unchanged',
2495
-              ),
2496
-              '#eval input' => array(
2495
+                ),
2496
+                '#eval input' => array(
2497 2497
                 'token_rules_input_evaluator' => array(
2498
-                  'code' => array(
2498
+                    'code' => array(
2499 2499
                     '0' => ':global',
2500
-                  ),
2500
+                    ),
2501
+                ),
2501 2502
                 ),
2502
-              ),
2503 2503
             ),
2504 2504
             '#type' => 'condition',
2505
-          ),
2506
-          '4' => array(
2505
+            ),
2506
+            '4' => array(
2507 2507
             '#weight' => 0.0,
2508 2508
             '#info' => array(
2509
-              'label' => 'PHP code: node unlocked',
2510
-              'label callback' => FALSE,
2511
-              'module' => 'PHP',
2512
-              'eval input' => array(
2509
+                'label' => 'PHP code: node unlocked',
2510
+                'label callback' => FALSE,
2511
+                'module' => 'PHP',
2512
+                'eval input' => array(
2513 2513
                 '0' => 'code',
2514
-              ),
2514
+                ),
2515 2515
             ),
2516 2516
             '#name' => 'rules_condition_custom_php',
2517 2517
             '#type' => 'condition',
2518 2518
             '#settings' => array(
2519
-              'code' => 'return $node_unchanged->comment == 1 && $node->comment == 2;',
2520
-              'vars' => array(
2519
+                'code' => 'return $node_unchanged->comment == 1 && $node->comment == 2;',
2520
+                'vars' => array(
2521 2521
                 '0' => 'node',
2522 2522
                 '1' => 'node_unchanged',
2523
-              ),
2524
-              '#eval input' => array(
2523
+                ),
2524
+                '#eval input' => array(
2525 2525
                 'token_rules_input_evaluator' => array(
2526
-                  'code' => array(
2526
+                    'code' => array(
2527 2527
                     '0' => ':global',
2528
-                  ),
2528
+                    ),
2529 2529
                 ),
2530
-              ),
2530
+                ),
2531
+            ),
2531 2532
             ),
2532
-          ),
2533 2533
         ),
2534 2534
         '#actions' => array(
2535
-          '0' => array(
2535
+            '0' => array(
2536 2536
             '#info' => array(
2537
-              'label' => 'Notify moderators via email',
2538
-              'module' => 'BOINC core',
2539
-              'eval input' => array(
2537
+                'label' => 'Notify moderators via email',
2538
+                'module' => 'BOINC core',
2539
+                'eval input' => array(
2540 2540
                 '0' => 'subject',
2541 2541
                 '1' => 'message',
2542 2542
                 '2' => 'from',
2543
-              ),
2543
+                ),
2544 2544
             ),
2545 2545
             '#name' => 'boinccore_rules_action_mail_to_moderators',
2546 2546
             '#settings' => array(
2547
-              'from' => '',
2548
-              'subject' => 'Forum topic at [:global:site-name] unlocked by moderator/admin',
2549
-              'message' => "[node:type] topic '[node:title]' has been unlocked by moderator/admin [user:display-name].\r\n\r\nLink: <?php print url('node/' . \$node->nid, array('absolute' => TRUE, 'language' => 'en')); ?>",
2550
-              '#eval input' => array(
2547
+                'from' => '',
2548
+                'subject' => 'Forum topic at [:global:site-name] unlocked by moderator/admin',
2549
+                'message' => "[node:type] topic '[node:title]' has been unlocked by moderator/admin [user:display-name].\r\n\r\nLink: <?php print url('node/' . \$node->nid, array('absolute' => TRUE, 'language' => 'en')); ?>",
2550
+                '#eval input' => array(
2551 2551
                 'token_rules_input_evaluator' => array(
2552
-                  'subject' => array(
2552
+                    'subject' => array(
2553 2553
                     '0' => ':global',
2554
-                  ),
2555
-                  'message' => array(
2554
+                    ),
2555
+                    'message' => array(
2556 2556
                     '0' => 'node',
2557 2557
                     '1' => 'user',
2558 2558
                     '2' => ':global',
2559
-                  ),
2560
-                  'from' => array(
2559
+                    ),
2560
+                    'from' => array(
2561 2561
                     '0' => ':global',
2562
-                  ),
2562
+                    ),
2563 2563
                 ),
2564 2564
                 'rules_input_evaluator_php' => array(
2565
-                  'message' => array(
2565
+                    'message' => array(
2566 2566
                     '0' => 'node',
2567
-                  ),
2567
+                    ),
2568
+                ),
2568 2569
                 ),
2569
-              ),
2570 2570
             ),
2571 2571
             '#type' => 'action',
2572 2572
             '#weight' => 0.0,
2573
-          ),
2573
+            ),
2574 2574
         ),
2575 2575
         '#version' => 6003,
2576
-      ),
2577
-      'rules_offensive_comment_reported' => array(
2576
+        ),
2577
+        'rules_offensive_comment_reported' => array(
2578 2578
         '#type' => 'rule',
2579 2579
         '#set' => 'event_flag_flagged_abuse_comment',
2580 2580
         '#label' => 'Offensive comment reported',
2581 2581
         '#active' => 1,
2582 2582
         '#weight' => '0',
2583 2583
         '#categories' => array(
2584
-          '0' => 'moderator notification',
2585
-          '1' => 'boinc_standard',
2584
+            '0' => 'moderator notification',
2585
+            '1' => 'boinc_standard',
2586 2586
         ),
2587 2587
         '#status' => 'default',
2588 2588
         '#conditions' => array(),
2589 2589
         '#actions' => array(
2590
-          '1' => array(
2590
+            '1' => array(
2591 2591
             '#info' => array(
2592
-              'label' => 'Notify moderators via email',
2593
-              'module' => 'BOINC core',
2594
-              'eval input' => array(
2592
+                'label' => 'Notify moderators via email',
2593
+                'module' => 'BOINC core',
2594
+                'eval input' => array(
2595 2595
                 '0' => 'subject',
2596 2596
                 '1' => 'message',
2597 2597
                 '2' => 'from',
2598
-              ),
2598
+                ),
2599 2599
             ),
2600 2600
             '#name' => 'boinccore_rules_action_mail_to_moderators',
2601 2601
             '#settings' => array(
2602
-              'from' => '',
2603
-              'subject' => 'Report of offensive [node:type] comment at [:global:site-name]',
2604
-              'message' => "[flagging_user:display-name] has reported the following comment on [node:type] content as being offensive or inappropriate for the [:global:site-name] site:\r\n\r\n<?php print url('<front>', array('absolute' => TRUE, 'language' => 'en')); ?>/goto/comment/[comment:comment-cid]\r\n\r\nTotal reports of this comment: [comment:flag-abuse-comment-count]",
2605
-              '#eval input' => array(
2602
+                'from' => '',
2603
+                'subject' => 'Report of offensive [node:type] comment at [:global:site-name]',
2604
+                'message' => "[flagging_user:display-name] has reported the following comment on [node:type] content as being offensive or inappropriate for the [:global:site-name] site:\r\n\r\n<?php print url('<front>', array('absolute' => TRUE, 'language' => 'en')); ?>/goto/comment/[comment:comment-cid]\r\n\r\nTotal reports of this comment: [comment:flag-abuse-comment-count]",
2605
+                '#eval input' => array(
2606 2606
                 'token_rules_input_evaluator' => array(
2607
-                  'subject' => array(
2607
+                    'subject' => array(
2608 2608
                     '0' => 'node',
2609 2609
                     '1' => ':global',
2610
-                  ),
2611
-                  'message' => array(
2610
+                    ),
2611
+                    'message' => array(
2612 2612
                     '0' => 'flagging_user',
2613 2613
                     '1' => 'comment',
2614 2614
                     '2' => 'node',
2615 2615
                     '3' => ':global',
2616
-                  ),
2617
-                  'from' => array(
2616
+                    ),
2617
+                    'from' => array(
2618 2618
                     '0' => ':global',
2619
-                  ),
2619
+                    ),
2620 2620
                 ),
2621 2621
                 'rules_input_evaluator_php' => array(
2622
-                  'message' => array(),
2622
+                    'message' => array(),
2623
+                ),
2623 2624
                 ),
2624
-              ),
2625 2625
             ),
2626 2626
             '#type' => 'action',
2627 2627
             '#weight' => 0.0,
2628
-          ),
2628
+            ),
2629 2629
         ),
2630 2630
         '#version' => 6003,
2631
-      ),
2632
-      'rules_offensive_content_reported' => array(
2631
+        ),
2632
+        'rules_offensive_content_reported' => array(
2633 2633
         '#type' => 'rule',
2634 2634
         '#set' => 'event_flag_flagged_abuse_node',
2635 2635
         '#label' => 'Offensive content reported',
2636 2636
         '#active' => 1,
2637 2637
         '#weight' => '0',
2638 2638
         '#categories' => array(
2639
-          '0' => 'moderator notification',
2640
-          'boinc_standard' => 'boinc_standard',
2639
+            '0' => 'moderator notification',
2640
+            'boinc_standard' => 'boinc_standard',
2641 2641
         ),
2642 2642
         '#status' => 'default',
2643 2643
         '#conditions' => array(),
2644 2644
         '#actions' => array(
2645
-          '1' => array(
2645
+            '1' => array(
2646 2646
             '#type' => 'action',
2647 2647
             '#settings' => array(
2648
-              'from' => '',
2649
-              'subject' => 'Report of offensive [node:type] content at [:global:site-name]',
2650
-              'message' => "[flagging_user:display-name] has reported the following [node:type] content as being offensive or inappropriate for the [:global:site-name] site:\r\n\r\n<?php print url('node/' . \$node->nid, array('absolute' => TRUE, 'language' => 'en')); ?>\r\n\r\nTotal reports of this content: [node:flag-abuse-node-count]",
2651
-              '#eval input' => array(
2648
+                'from' => '',
2649
+                'subject' => 'Report of offensive [node:type] content at [:global:site-name]',
2650
+                'message' => "[flagging_user:display-name] has reported the following [node:type] content as being offensive or inappropriate for the [:global:site-name] site:\r\n\r\n<?php print url('node/' . \$node->nid, array('absolute' => TRUE, 'language' => 'en')); ?>\r\n\r\nTotal reports of this content: [node:flag-abuse-node-count]",
2651
+                '#eval input' => array(
2652 2652
                 'token_rules_input_evaluator' => array(
2653
-                  'subject' => array(
2653
+                    'subject' => array(
2654 2654
                     '0' => 'node',
2655 2655
                     '1' => ':global',
2656
-                  ),
2657
-                  'message' => array(
2656
+                    ),
2657
+                    'message' => array(
2658 2658
                     '0' => 'flagging_user',
2659 2659
                     '1' => 'node',
2660 2660
                     '2' => ':global',
2661
-                  ),
2662
-                  'from' => array(
2661
+                    ),
2662
+                    'from' => array(
2663 2663
                     '0' => ':global',
2664
-                  ),
2664
+                    ),
2665 2665
                 ),
2666 2666
                 'rules_input_evaluator_php' => array(
2667
-                  'message' => array(
2667
+                    'message' => array(
2668 2668
                     '0' => 'node',
2669
-                  ),
2669
+                    ),
2670
+                ),
2670 2671
                 ),
2671
-              ),
2672 2672
             ),
2673 2673
             '#name' => 'boinccore_rules_action_mail_to_moderators',
2674 2674
             '#info' => array(
2675
-              'label' => 'Notify moderators via email',
2676
-              'module' => 'BOINC core',
2677
-              'eval input' => array(
2675
+                'label' => 'Notify moderators via email',
2676
+                'module' => 'BOINC core',
2677
+                'eval input' => array(
2678 2678
                 '0' => 'subject',
2679 2679
                 '1' => 'message',
2680 2680
                 '2' => 'from',
2681
-              ),
2681
+                ),
2682 2682
             ),
2683 2683
             '#weight' => 0.0,
2684
-          ),
2684
+            ),
2685 2685
         ),
2686 2686
         '#version' => 6003,
2687
-      ),
2688
-      'rules_offensive_user_reported' => array(
2687
+        ),
2688
+        'rules_offensive_user_reported' => array(
2689 2689
         '#type' => 'rule',
2690 2690
         '#set' => 'event_flag_flagged_abuse_user',
2691 2691
         '#label' => 'Offensive user reported',
2692 2692
         '#active' => 1,
2693 2693
         '#weight' => '0',
2694 2694
         '#categories' => array(
2695
-          '0' => 'moderator notification',
2696
-          'boinc_standard' => 'boinc_standard',
2695
+            '0' => 'moderator notification',
2696
+            'boinc_standard' => 'boinc_standard',
2697 2697
         ),
2698 2698
         '#status' => 'default',
2699 2699
         '#conditions' => array(),
2700 2700
         '#actions' => array(
2701
-          '1' => array(
2701
+            '1' => array(
2702 2702
             '#type' => 'action',
2703 2703
             '#settings' => array(
2704
-              'from' => '',
2705
-              'subject' => 'Report of offensive user at [:global:site-name]',
2706
-              'message' => "[flagging_user:display-name] has reported [account:display-name] for inappropriate behavior:\r\n\r\n<?php print url(\'<front>\', array(\'absolute\' => TRUE, \'language\' => \'en\')); ?>/account/[account:uid]\r\n\r\nTotal current reports of this user: [account:flag-abuse-user-count]",
2707
-              '#eval input' => array(
2704
+                'from' => '',
2705
+                'subject' => 'Report of offensive user at [:global:site-name]',
2706
+                'message' => "[flagging_user:display-name] has reported [account:display-name] for inappropriate behavior:\r\n\r\n<?php print url(\'<front>\', array(\'absolute\' => TRUE, \'language\' => \'en\')); ?>/account/[account:uid]\r\n\r\nTotal current reports of this user: [account:flag-abuse-user-count]",
2707
+                '#eval input' => array(
2708 2708
                 'token_rules_input_evaluator' => array(
2709
-                  'subject' => array(
2709
+                    'subject' => array(
2710 2710
                     '0' => ':global',
2711
-                  ),
2712
-                  'message' => array(
2711
+                    ),
2712
+                    'message' => array(
2713 2713
                     '0' => 'flagging_user',
2714 2714
                     '1' => 'account',
2715 2715
                     '2' => ':global',
2716
-                  ),
2717
-                  'from' => array(
2716
+                    ),
2717
+                    'from' => array(
2718 2718
                     '0' => ':global',
2719
-                  ),
2719
+                    ),
2720 2720
                 ),
2721 2721
                 'rules_input_evaluator_php' => array(
2722
-                  'message' => array(),
2722
+                    'message' => array(),
2723
+                ),
2723 2724
                 ),
2724
-              ),
2725 2725
             ),
2726 2726
             '#name' => 'boinccore_rules_action_mail_to_moderators',
2727 2727
             '#info' => array(
2728
-              'label' => 'Notify moderators via email',
2729
-              'module' => 'BOINC core',
2730
-              'eval input' => array(
2728
+                'label' => 'Notify moderators via email',
2729
+                'module' => 'BOINC core',
2730
+                'eval input' => array(
2731 2731
                 '0' => 'subject',
2732 2732
                 '1' => 'message',
2733 2733
                 '2' => 'from',
2734
-              ),
2734
+                ),
2735 2735
             ),
2736 2736
             '#weight' => 0.0,
2737
-          ),
2737
+            ),
2738 2738
         ),
2739 2739
         '#version' => 6003,
2740
-      ),
2740
+        ),
2741 2741
     ),
2742
-  );
2742
+    );
2743 2743
 }
2744 2744
 
2745 2745
 /**
2746 2746
  * Implementation of hook_views_api().
2747 2747
  */
2748 2748
 function boinc_standard_views_api() {
2749
-  return array(
2749
+    return array(
2750 2750
     'api' => '2',
2751
-  );
2751
+    );
2752 2752
 }
Please login to merge, or discard this patch.
drupal/sites/all/features/boinc_standard/boinc_standard.wysiwyg.inc 2 patches
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -4,20 +4,20 @@  discard block
 block discarded – undo
4 4
  * Implementation of hook_default_wysiwyg().
5 5
  */
6 6
 function boinc_standard_default_wysiwyg() {
7
-  $export = array();
7
+    $export = array();
8 8
 
9
-  $wysiwyg = new stdClass;
10
-  $wysiwyg->disabled = FALSE; /* Edit this to true to make a default wysiwyg disabled initially */
11
-  $wysiwyg->api_version = 2;
12
-  $wysiwyg->editor = 'tinymce';
13
-  $wysiwyg->settings = array(
9
+    $wysiwyg = new stdClass;
10
+    $wysiwyg->disabled = FALSE; /* Edit this to true to make a default wysiwyg disabled initially */
11
+    $wysiwyg->api_version = 2;
12
+    $wysiwyg->editor = 'tinymce';
13
+    $wysiwyg->settings = array(
14 14
     'default' => 1,
15 15
     'user_choose' => 1,
16 16
     'show_toggle' => 1,
17 17
     'theme' => 'advanced',
18 18
     'language' => 'en',
19 19
     'buttons' => array(
20
-      'default' => array(
20
+        'default' => array(
21 21
         'bold' => 1,
22 22
         'italic' => 1,
23 23
         'underline' => 1,
@@ -40,25 +40,25 @@  discard block
 block discarded – undo
40 40
         'hr' => 1,
41 41
         'removeformat' => 1,
42 42
         'charmap' => 1,
43
-      ),
44
-      'advimage' => array(
43
+        ),
44
+        'advimage' => array(
45 45
         'advimage' => 1,
46
-      ),
47
-      'emotions' => array(
46
+        ),
47
+        'emotions' => array(
48 48
         'emotions' => 1,
49
-      ),
50
-      'font' => array(
49
+        ),
50
+        'font' => array(
51 51
         'formatselect' => 1,
52
-      ),
53
-      'paste' => array(
52
+        ),
53
+        'paste' => array(
54 54
         'pastetext' => 1,
55
-      ),
56
-      'media' => array(
55
+        ),
56
+        'media' => array(
57 57
         'media' => 1,
58
-      ),
59
-      'drupal' => array(
58
+        ),
59
+        'drupal' => array(
60 60
         'linebreaks' => 1,
61
-      ),
61
+        ),
62 62
     ),
63 63
     'toolbar_loc' => 'top',
64 64
     'toolbar_align' => 'left',
@@ -76,9 +76,9 @@  discard block
 block discarded – undo
76 76
     'css_classes' => 'Image with caption=standalone-image
77 77
 Float left with caption=image-left
78 78
 Float right with caption=image-right',
79
-  );
80
-  $wysiwyg->machine = 'rich_text';
81
-  $export['rich_text'] = $wysiwyg;
79
+    );
80
+    $wysiwyg->machine = 'rich_text';
81
+    $export['rich_text'] = $wysiwyg;
82 82
 
83
-  return $export;
83
+    return $export;
84 84
 }
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
   $export = array();
8 8
 
9 9
   $wysiwyg = new stdClass;
10
-  $wysiwyg->disabled = FALSE; /* Edit this to true to make a default wysiwyg disabled initially */
10
+  $wysiwyg->disabled = false; /* Edit this to true to make a default wysiwyg disabled initially */
11 11
   $wysiwyg->api_version = 2;
12 12
   $wysiwyg->editor = 'tinymce';
13 13
   $wysiwyg->settings = array(
Please login to merge, or discard this patch.
all/features/boinc_standard/boinc_standard.features.fe_block_settings.inc 1 patch
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -4,12 +4,12 @@  discard block
 block discarded – undo
4 4
  * Implementation of hook_default_fe_block_settings().
5 5
  */
6 6
 function boinc_standard_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['menu_block-1'] = array(
12
+    $theme['menu_block-1'] = array(
13 13
     'module' => 'menu_block',
14 14
     'delta' => '1',
15 15
     'theme' => 'boinc',
@@ -22,14 +22,14 @@  discard block
 block discarded – undo
22 22
     'pages' => '',
23 23
     'title' => '<none>',
24 24
     'cache' => '-1',
25
-  );
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['menu_block-1'] = array(
32
+    $theme['menu_block-1'] = array(
33 33
     'module' => 'menu_block',
34 34
     'delta' => '1',
35 35
     'theme' => 'einstein',
@@ -42,14 +42,14 @@  discard block
 block discarded – undo
42 42
     'pages' => '',
43 43
     'title' => '<none>',
44 44
     'cache' => '-1',
45
-  );
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['menu_block-1'] = array(
52
+    $theme['menu_block-1'] = array(
53 53
     'module' => 'menu_block',
54 54
     'delta' => '1',
55 55
     'theme' => 'garland',
@@ -62,16 +62,16 @@  discard block
 block discarded – undo
62 62
     'pages' => '',
63 63
     'title' => '<none>',
64 64
     'cache' => '-1',
65
-  );
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) {
69
+    $theme_default = variable_get('theme_default', 'garland');
70
+    $themes = list_themes();
71
+    foreach ($export as $theme_key => $settings) {
72 72
     if ($theme_key != $theme_default && empty($themes[$theme_key]->status)) {
73
-      unset($export[$theme_key]);
73
+        unset($export[$theme_key]);
74 74
     }
75
-  }
76
-  return $export;
75
+    }
76
+    return $export;
77 77
 }
Please login to merge, or discard this patch.
drupal/sites/all/features/boinc_standard/boinc_standard.module 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -6,16 +6,16 @@
 block discarded – undo
6 6
  * Make some changes to configurations after the feature has been enabled
7 7
  */
8 8
 function boinc_standard_enable() {
9
-  // Ensure that the default theme is enabled. A bit ridiculous, but it is
10
-  // possible for this not to be the case.
11
-  $default_theme = variable_get('theme_default', 'boinc');
12
-  // If default theme is garland, this is because the boinc_standard feature
13
-  // has not been reverted yet. Work around this by forcing it to default to
14
-  // the boinc theme
15
-  if ($default_theme == 'garland') {
9
+    // Ensure that the default theme is enabled. A bit ridiculous, but it is
10
+    // possible for this not to be the case.
11
+    $default_theme = variable_get('theme_default', 'boinc');
12
+    // If default theme is garland, this is because the boinc_standard feature
13
+    // has not been reverted yet. Work around this by forcing it to default to
14
+    // the boinc theme
15
+    if ($default_theme == 'garland') {
16 16
     $default_theme = 'boinc';
17 17
     variable_set('theme_default', $default_theme);
18
-  }
19
-  $default_theme_enabled = db_query("UPDATE {system} SET status = 1
18
+    }
19
+    $default_theme_enabled = db_query("UPDATE {system} SET status = 1
20 20
     WHERE type = 'theme' and name = '%s'", $default_theme);
21 21
 }
Please login to merge, or discard this patch.
all/features/boinc_server_migration/boinc_server_migration.strongarm.inc 2 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -4,14 +4,14 @@
 block discarded – undo
4 4
  * Implementation of hook_strongarm().
5 5
  */
6 6
 function boinc_server_migration_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 = 'boincimport_input_format';
13
-  $strongarm->value = '4';
14
-  $export['boincimport_input_format'] = $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 = 'boincimport_input_format';
13
+    $strongarm->value = '4';
14
+    $export['boincimport_input_format'] = $strongarm;
15 15
 
16
-  return $export;
16
+    return $export;
17 17
 }
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
   $export = array();
8 8
 
9 9
   $strongarm = new stdClass;
10
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
10
+  $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */
11 11
   $strongarm->api_version = 1;
12 12
   $strongarm->name = 'boincimport_input_format';
13 13
   $strongarm->value = '4';
Please login to merge, or discard this patch.
all/features/boinc_server_migration/boinc_server_migration.features.inc 1 patch
Indentation   +3 added lines, -3 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_server_migration_ctools_plugin_api() {
7
-  list($module, $api) = func_get_args();
8
-  if ($module == "strongarm" && $api == "strongarm") {
7
+    list($module, $api) = func_get_args();
8
+    if ($module == "strongarm" && $api == "strongarm") {
9 9
     return array("version" => 1);
10
-  }
10
+    }
11 11
 }
Please login to merge, or discard this patch.
drupal/sites/all/features/global_search/global_search.strongarm.inc 2 patches
Indentation   +36 added lines, -36 removed lines patch added patch discarded remove patch
@@ -4,55 +4,55 @@
 block discarded – undo
4 4
  * Implementation of hook_strongarm().
5 5
  */
6 6
 function global_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 = 'search404_page_title';
13
-  $strongarm->value = 'Page not found';
14
-  $export['search404_page_title'] = $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 = 'search404_page_title';
13
+    $strongarm->value = 'Page not found';
14
+    $export['search404_page_title'] = $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 = 'search_by_page_settings';
20
-  $strongarm->value = array(
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 = 'search_by_page_settings';
20
+    $strongarm->value = array(
21 21
     1 => array(
22
-      'environment_name' => 'general',
23
-      'page_title' => '',
24
-      'block_title' => 'Search',
25
-      'field_label' => 'Search',
26
-      'button_label' => 'Search',
27
-      'page_path' => 'find',
28
-      'exclude_tags' => '',
29
-      'sbp_nodes_types_indexed' => array(
22
+        'environment_name' => 'general',
23
+        'page_title' => '',
24
+        'block_title' => 'Search',
25
+        'field_label' => 'Search',
26
+        'button_label' => 'Search',
27
+        'page_path' => 'find',
28
+        'exclude_tags' => '',
29
+        'sbp_nodes_types_indexed' => array(
30 30
         'forum' => 'forum',
31 31
         'page' => 'page',
32 32
         'panel' => 'panel',
33 33
         'profile' => 'profile',
34 34
         'story' => 'story',
35
-      ),
36
-      'sbp_nodes_display_type' => 'excerpts',
37
-      'sbp_nodes_role' => '1',
38
-      'sbp_nodes_min_time' => '1',
39
-      'sbp_nodes_max_time' => '0',
40
-      'sbp_paths_min_time' => '1',
41
-      'sbp_paths_max_time' => '0',
42
-      'sbp_users_roles_indexed' => array(
35
+        ),
36
+        'sbp_nodes_display_type' => 'excerpts',
37
+        'sbp_nodes_role' => '1',
38
+        'sbp_nodes_min_time' => '1',
39
+        'sbp_nodes_max_time' => '0',
40
+        'sbp_paths_min_time' => '1',
41
+        'sbp_paths_max_time' => '0',
42
+        'sbp_users_roles_indexed' => array(
43 43
         2 => 2,
44 44
         4 => 0,
45 45
         5 => 0,
46 46
         3 => 0,
47 47
         6 => 0,
48
-      ),
49
-      'sbp_users_role' => '1',
50
-      'sbp_users_min_time' => '1',
51
-      'sbp_users_max_time' => '0',
52
-      'op' => 'Save configuration',
48
+        ),
49
+        'sbp_users_role' => '1',
50
+        'sbp_users_min_time' => '1',
51
+        'sbp_users_max_time' => '0',
52
+        'op' => 'Save configuration',
53 53
     ),
54
-  );
55
-  $export['search_by_page_settings'] = $strongarm;
54
+    );
55
+    $export['search_by_page_settings'] = $strongarm;
56 56
 
57
-  return $export;
57
+    return $export;
58 58
 }
Please login to merge, or discard this patch.
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,14 +7,14 @@
 block discarded – undo
7 7
   $export = array();
8 8
 
9 9
   $strongarm = new stdClass;
10
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
10
+  $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */
11 11
   $strongarm->api_version = 1;
12 12
   $strongarm->name = 'search404_page_title';
13 13
   $strongarm->value = 'Page not found';
14 14
   $export['search404_page_title'] = $strongarm;
15 15
 
16 16
   $strongarm = new stdClass;
17
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
17
+  $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */
18 18
   $strongarm->api_version = 1;
19 19
   $strongarm->name = 'search_by_page_settings';
20 20
   $strongarm->value = array(
Please login to merge, or discard this patch.