Passed
Push — master ( e2b4ad...64b78d )
by Kevin
08:36
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   +1093 added lines, -1093 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,47 +179,47 @@  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_about_circular_merge_error' => array(
204
+        'rules_notify_admins_about_circular_merge_error' => array(
205 205
         '#type' => 'rule',
206 206
         '#set' => 'event_boincwork_circular_merge_error',
207 207
         '#label' => 'Notify admins about circular merge error',
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' => 'Circular host merging error',
222
-              '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. 
220
+                'from' => '',
221
+                'subject' => 'Circular host merging error',
222
+                '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. 
223 223
 
224 224
 Information about this host merge attempt:
225 225
 <?php
@@ -230,61 +230,61 @@  discard block
 block discarded – undo
230 230
 print "BOINC id: " . $account->boincuser_id . "\\n";
231 231
 print "Drupal UID: " . $user->uid . "\\n";
232 232
 ?>',
233
-              '#eval input' => array(
233
+                '#eval input' => array(
234 234
                 'token_rules_input_evaluator' => array(
235
-                  'subject' => array(
235
+                    'subject' => array(
236 236
                     '0' => ':global',
237
-                  ),
238
-                  'message' => array(
237
+                    ),
238
+                    'message' => array(
239 239
                     '0' => ':global',
240
-                  ),
241
-                  'from' => array(
240
+                    ),
241
+                    'from' => array(
242 242
                     '0' => ':global',
243
-                  ),
243
+                    ),
244 244
                 ),
245 245
                 'rules_input_evaluator_php' => array(
246
-                  'message' => array(
246
+                    'message' => array(
247 247
                     '0' => 'oldhost_id',
248 248
                     '1' => 'targethost_id',
249 249
                     '2' => 'user',
250
-                  ),
250
+                    ),
251
+                ),
251 252
                 ),
252
-              ),
253 253
             ),
254 254
             '#name' => 'boinccore_rules_action_mail_to_admins',
255 255
             '#info' => array(
256
-              'label' => 'Notify admins via email',
257
-              'module' => 'BOINC core',
258
-              'eval input' => array(
256
+                'label' => 'Notify admins via email',
257
+                'module' => 'BOINC core',
258
+                'eval input' => array(
259 259
                 '0' => 'subject',
260 260
                 '1' => 'message',
261 261
                 '2' => 'from',
262
-              ),
262
+                ),
263 263
             ),
264 264
             '#weight' => 0.0,
265
-          ),
265
+            ),
266 266
         ),
267 267
         '#version' => 6003,
268
-      ),
269
-      'rules_notify_admins_about_zombie_merge_attempt' => array(
268
+        ),
269
+        'rules_notify_admins_about_zombie_merge_attempt' => array(
270 270
         '#type' => 'rule',
271 271
         '#set' => 'event_boincwork_zombie_merge_error',
272 272
         '#label' => 'Notify admins about zombie merge attempt',
273 273
         '#active' => 1,
274 274
         '#weight' => '0',
275 275
         '#categories' => array(
276
-          '0' => 'boinc_standard',
277
-          '1' => 'admin notification',
276
+            '0' => 'boinc_standard',
277
+            '1' => 'admin notification',
278 278
         ),
279 279
         '#status' => 'default',
280 280
         '#conditions' => array(),
281 281
         '#actions' => array(
282
-          '0' => array(
282
+            '0' => array(
283 283
             '#type' => 'action',
284 284
             '#settings' => array(
285
-              'from' => '',
286
-              'subject' => 'Zombie host merging error',
287
-              '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. 
285
+                'from' => '',
286
+                'subject' => 'Zombie host merging error',
287
+                '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. 
288 288
 I.e., $target_host->userid == 0
289 289
 
290 290
 Information about this host merge attempt:
@@ -296,2160 +296,2160 @@  discard block
 block discarded – undo
296 296
 print "BOINC id: " . $account->boincuser_id . "\\n";
297 297
 print "Drupal UID: " . $user->uid . "\\n";
298 298
 ?>',
299
-              '#eval input' => array(
299
+                '#eval input' => array(
300 300
                 'token_rules_input_evaluator' => array(
301
-                  'subject' => array(
301
+                    'subject' => array(
302 302
                     '0' => ':global',
303
-                  ),
304
-                  'message' => array(
303
+                    ),
304
+                    'message' => array(
305 305
                     '0' => ':global',
306
-                  ),
307
-                  'from' => array(
306
+                    ),
307
+                    'from' => array(
308 308
                     '0' => ':global',
309
-                  ),
309
+                    ),
310 310
                 ),
311 311
                 'rules_input_evaluator_php' => array(
312
-                  'message' => array(
312
+                    'message' => array(
313 313
                     '0' => 'oldhost_id',
314 314
                     '1' => 'targethost_id',
315 315
                     '2' => 'user',
316
-                  ),
316
+                    ),
317
+                ),
317 318
                 ),
318
-              ),
319 319
             ),
320 320
             '#name' => 'boinccore_rules_action_mail_to_admins',
321 321
             '#info' => array(
322
-              'label' => 'Notify admins via email',
323
-              'module' => 'BOINC core',
324
-              'eval input' => array(
322
+                'label' => 'Notify admins via email',
323
+                'module' => 'BOINC core',
324
+                'eval input' => array(
325 325
                 '0' => 'subject',
326 326
                 '1' => 'message',
327 327
                 '2' => 'from',
328
-              ),
328
+                ),
329 329
             ),
330 330
             '#weight' => 0.0,
331
-          ),
331
+            ),
332 332
         ),
333 333
         '#version' => 6003,
334
-      ),
335
-      'rules_comment_converted_to_new_forum_topic_by_moderator_or_admin' => array(
334
+        ),
335
+        'rules_comment_converted_to_new_forum_topic_by_moderator_or_admin' => array(
336 336
         '#type' => 'rule',
337 337
         '#set' => 'event_boinccore_comment_convert',
338 338
         '#label' => 'Comment is converted to new forum topic by moderator or admin',
339 339
         '#active' => 1,
340 340
         '#weight' => '0',
341 341
         '#categories' => array(
342
-          '0' => 'boinc_standard',
343
-          '1' => 'moderator notification',
342
+            '0' => 'boinc_standard',
343
+            '1' => 'moderator notification',
344 344
         ),
345 345
         '#status' => 'default',
346 346
         '#conditions' => array(),
347 347
         '#actions' => array(
348
-          '0' => array(
348
+            '0' => array(
349 349
             '#info' => array(
350
-              'label' => 'Notify moderators via email',
351
-              'module' => 'BOINC core',
352
-              'eval input' => array(
350
+                'label' => 'Notify moderators via email',
351
+                'module' => 'BOINC core',
352
+                'eval input' => array(
353 353
                 '0' => 'subject',
354 354
                 '1' => 'message',
355 355
                 '2' => 'from',
356
-              ),
356
+                ),
357 357
             ),
358 358
             '#name' => 'boinccore_rules_action_mail_to_moderators',
359 359
             '#settings' => array(
360
-              'from' => '',
361
-              'subject' => 'Comment at [:global:site-name] converted to new forum topic',
362
-              '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')); ?>",
363
-              '#eval input' => array(
360
+                'from' => '',
361
+                'subject' => 'Comment at [:global:site-name] converted to new forum topic',
362
+                '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')); ?>",
363
+                '#eval input' => array(
364 364
                 'token_rules_input_evaluator' => array(
365
-                  'subject' => array(
365
+                    'subject' => array(
366 366
                     '0' => ':global',
367
-                  ),
368
-                  'message' => array(
367
+                    ),
368
+                    'message' => array(
369 369
                     '0' => 'user',
370 370
                     '1' => ':global',
371
-                  ),
372
-                  'from' => array(
371
+                    ),
372
+                    'from' => array(
373 373
                     '0' => ':global',
374
-                  ),
374
+                    ),
375 375
                 ),
376 376
                 'rules_input_evaluator_php' => array(
377
-                  'message' => array(
377
+                    'message' => array(
378 378
                     '0' => 'node',
379
-                  ),
379
+                    ),
380
+                ),
380 381
                 ),
381
-              ),
382 382
             ),
383 383
             '#type' => 'action',
384 384
             '#weight' => 0.0,
385
-          ),
385
+            ),
386 386
         ),
387 387
         '#version' => 6003,
388
-      ),
389
-      'rules_comment_deleted_by_admin' => array(
388
+        ),
389
+        'rules_comment_deleted_by_admin' => array(
390 390
         '#type' => 'rule',
391 391
         '#set' => 'event_comment_delete',
392 392
         '#label' => 'Comment deleted by admin',
393 393
         '#active' => 1,
394 394
         '#weight' => '0',
395 395
         '#categories' => array(
396
-          '0' => 'moderator notification',
397
-          '1' => 'boinc_standard',
396
+            '0' => 'moderator notification',
397
+            '1' => 'boinc_standard',
398 398
         ),
399 399
         '#status' => 'default',
400 400
         '#conditions' => array(),
401 401
         '#actions' => array(
402
-          '0' => array(
402
+            '0' => array(
403 403
             '#type' => 'action',
404 404
             '#settings' => array(
405
-              'from' => '',
406
-              'subject' => 'Comment deleted at [:global:site-name] by admin',
407
-              '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')); ?>",
408
-              '#eval input' => array(
405
+                'from' => '',
406
+                'subject' => 'Comment deleted at [:global:site-name] by admin',
407
+                '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')); ?>",
408
+                '#eval input' => array(
409 409
                 'token_rules_input_evaluator' => array(
410
-                  'subject' => array(
410
+                    'subject' => array(
411 411
                     '0' => ':global',
412
-                  ),
413
-                  'message' => array(
412
+                    ),
413
+                    'message' => array(
414 414
                     '0' => 'node',
415 415
                     '1' => 'user',
416 416
                     '2' => ':global',
417
-                  ),
418
-                  'from' => array(
417
+                    ),
418
+                    'from' => array(
419 419
                     '0' => ':global',
420
-                  ),
420
+                    ),
421 421
                 ),
422 422
                 'rules_input_evaluator_php' => array(
423
-                  'message' => array(
423
+                    'message' => array(
424 424
                     '0' => 'node',
425
-                  ),
425
+                    ),
426
+                ),
426 427
                 ),
427
-              ),
428 428
             ),
429 429
             '#name' => 'boinccore_rules_action_mail_to_moderators',
430 430
             '#info' => array(
431
-              'label' => 'Notify moderators via email',
432
-              'module' => 'BOINC core',
433
-              'eval input' => array(
431
+                'label' => 'Notify moderators via email',
432
+                'module' => 'BOINC core',
433
+                'eval input' => array(
434 434
                 '0' => 'subject',
435 435
                 '1' => 'message',
436 436
                 '2' => 'from',
437
-              ),
437
+                ),
438 438
             ),
439 439
             '#weight' => 0.0,
440
-          ),
440
+            ),
441 441
         ),
442 442
         '#version' => 6003,
443
-      ),
444
-      'rules_comment_edited_by_moderator_or_admin' => array(
443
+        ),
444
+        'rules_comment_edited_by_moderator_or_admin' => array(
445 445
         '#type' => 'rule',
446 446
         '#set' => 'event_comment_update',
447 447
         '#label' => 'Comment is edited by moderator or admin',
448 448
         '#active' => 1,
449 449
         '#weight' => '0',
450 450
         '#categories' => array(
451
-          '0' => 'boinc_standard',
452
-          '1' => 'moderator notification',
451
+            '0' => 'boinc_standard',
452
+            '1' => 'moderator notification',
453 453
         ),
454 454
         '#status' => 'default',
455 455
         '#conditions' => array(
456
-          '0' => array(
456
+            '0' => array(
457 457
             '#negate' => 1,
458 458
             '#weight' => 0.0,
459 459
             '#info' => array(
460
-              'label' => 'Compare two users: acting user (who edited the comment) is NOT the comment author',
461
-              'label callback' => FALSE,
462
-              'arguments' => array(
460
+                'label' => 'Compare two users: acting user (who edited the comment) is NOT the comment author',
461
+                'label callback' => FALSE,
462
+                'arguments' => array(
463 463
                 'user1' => array(
464
-                  'type' => 'user',
465
-                  'label' => 'User account 1',
464
+                    'type' => 'user',
465
+                    'label' => 'User account 1',
466 466
                 ),
467 467
                 'user2' => array(
468
-                  'type' => 'user',
469
-                  'label' => 'User account 2',
468
+                    'type' => 'user',
469
+                    'label' => 'User account 2',
470
+                ),
470 471
                 ),
471
-              ),
472
-              'module' => 'User',
472
+                'module' => 'User',
473 473
             ),
474 474
             '#name' => 'rules_condition_user_comparison',
475 475
             '#settings' => array(
476
-              '#argument map' => array(
476
+                '#argument map' => array(
477 477
                 'user1' => 'user',
478 478
                 'user2' => 'comment_author',
479
-              ),
479
+                ),
480 480
             ),
481 481
             '#type' => 'condition',
482
-          ),
482
+            ),
483 483
         ),
484 484
         '#actions' => array(
485
-          '0' => array(
485
+            '0' => array(
486 486
             '#type' => 'action',
487 487
             '#settings' => array(
488
-              'from' => '',
489
-              'subject' => 'Comment edited at [:global:site-name] by moderator or admin',
490
-              '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]",
491
-              '#eval input' => array(
488
+                'from' => '',
489
+                'subject' => 'Comment edited at [:global:site-name] by moderator or admin',
490
+                '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]",
491
+                '#eval input' => array(
492 492
                 'token_rules_input_evaluator' => array(
493
-                  'subject' => array(
493
+                    'subject' => array(
494 494
                     '0' => ':global',
495
-                  ),
496
-                  'message' => array(
495
+                    ),
496
+                    'message' => array(
497 497
                     '0' => 'comment',
498 498
                     '1' => 'user',
499 499
                     '2' => ':global',
500
-                  ),
501
-                  'from' => array(
500
+                    ),
501
+                    'from' => array(
502 502
                     '0' => ':global',
503
-                  ),
503
+                    ),
504 504
                 ),
505 505
                 'rules_input_evaluator_php' => array(
506
-                  'message' => array(),
506
+                    'message' => array(),
507
+                ),
507 508
                 ),
508
-              ),
509 509
             ),
510 510
             '#name' => 'boinccore_rules_action_mail_to_moderators',
511 511
             '#info' => array(
512
-              'label' => 'Notify moderators via email',
513
-              'module' => 'BOINC core',
514
-              'eval input' => array(
512
+                'label' => 'Notify moderators via email',
513
+                'module' => 'BOINC core',
514
+                'eval input' => array(
515 515
                 '0' => 'subject',
516 516
                 '1' => 'message',
517 517
                 '2' => 'from',
518
-              ),
518
+                ),
519 519
             ),
520 520
             '#weight' => 0.0,
521
-          ),
521
+            ),
522 522
         ),
523 523
         '#version' => 6003,
524
-      ),
525
-      'rules_comment_is_published_unhidden_by_moderator_or_admin' => array(
524
+        ),
525
+        'rules_comment_is_published_unhidden_by_moderator_or_admin' => array(
526 526
         '#type' => 'rule',
527 527
         '#set' => 'event_boinccore_comment_unhidden',
528 528
         '#label' => 'Comment is unhidden by moderator or admin',
529 529
         '#active' => 1,
530 530
         '#weight' => '0',
531 531
         '#categories' => array(
532
-          '0' => 'boinc_standard',
533
-          '1' => 'moderator notification',
532
+            '0' => 'boinc_standard',
533
+            '1' => 'moderator notification',
534 534
         ),
535 535
         '#status' => 'default',
536 536
         '#conditions' => array(
537
-          '0' => array(
537
+            '0' => array(
538 538
             '#type' => 'condition',
539 539
             '#settings' => array(
540
-              '#argument map' => array(
540
+                '#argument map' => array(
541 541
                 'user1' => 'user',
542 542
                 'user2' => 'comment_author',
543
-              ),
543
+                ),
544 544
             ),
545 545
             '#name' => 'rules_condition_user_comparison',
546 546
             '#info' => array(
547
-              'label' => 'Compare two users: acting user (who unhid the comment) is NOT the comment author',
548
-              'label callback' => FALSE,
549
-              'arguments' => array(
547
+                'label' => 'Compare two users: acting user (who unhid the comment) is NOT the comment author',
548
+                'label callback' => FALSE,
549
+                'arguments' => array(
550 550
                 'user1' => array(
551
-                  'type' => 'user',
552
-                  'label' => 'User account 1',
551
+                    'type' => 'user',
552
+                    'label' => 'User account 1',
553 553
                 ),
554 554
                 'user2' => array(
555
-                  'type' => 'user',
556
-                  'label' => 'User account 2',
555
+                    'type' => 'user',
556
+                    'label' => 'User account 2',
557 557
                 ),
558
-              ),
559
-              'module' => 'User',
558
+                ),
559
+                'module' => 'User',
560 560
             ),
561 561
             '#negate' => 1,
562 562
             '#weight' => 0.0,
563
-          ),
563
+            ),
564 564
         ),
565 565
         '#actions' => array(
566
-          '0' => array(
566
+            '0' => array(
567 567
             '#info' => array(
568
-              'label' => 'Notify moderators via email',
569
-              'module' => 'BOINC core',
570
-              'eval input' => array(
568
+                'label' => 'Notify moderators via email',
569
+                'module' => 'BOINC core',
570
+                'eval input' => array(
571 571
                 '0' => 'subject',
572 572
                 '1' => 'message',
573 573
                 '2' => 'from',
574
-              ),
574
+                ),
575 575
             ),
576 576
             '#name' => 'boinccore_rules_action_mail_to_moderators',
577 577
             '#settings' => array(
578
-              'from' => '',
579
-              'subject' => 'Comment at [:global:site-name] unhidden by moderator or admin',
580
-              '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]",
581
-              '#eval input' => array(
578
+                'from' => '',
579
+                'subject' => 'Comment at [:global:site-name] unhidden by moderator or admin',
580
+                '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]",
581
+                '#eval input' => array(
582 582
                 'token_rules_input_evaluator' => array(
583
-                  'subject' => array(
583
+                    'subject' => array(
584 584
                     '0' => ':global',
585
-                  ),
586
-                  'message' => array(
585
+                    ),
586
+                    'message' => array(
587 587
                     '0' => 'comment',
588 588
                     '1' => 'user',
589 589
                     '2' => ':global',
590
-                  ),
591
-                  'from' => array(
590
+                    ),
591
+                    'from' => array(
592 592
                     '0' => ':global',
593
-                  ),
593
+                    ),
594 594
                 ),
595 595
                 'rules_input_evaluator_php' => array(
596
-                  'message' => array(),
596
+                    'message' => array(),
597
+                ),
597 598
                 ),
598
-              ),
599 599
             ),
600 600
             '#type' => 'action',
601 601
             '#weight' => 0.0,
602
-          ),
602
+            ),
603 603
         ),
604 604
         '#version' => 6003,
605
-      ),
606
-      'rules_comment_is_unpublished_hidden_by_moderator_or_admin' => array(
605
+        ),
606
+        'rules_comment_is_unpublished_hidden_by_moderator_or_admin' => array(
607 607
         '#type' => 'rule',
608 608
         '#set' => 'event_comment_unpublish',
609 609
         '#label' => 'Comment is hidden by moderator or admin',
610 610
         '#active' => 1,
611 611
         '#weight' => '0',
612 612
         '#categories' => array(
613
-          '0' => 'boinc_standard',
614
-          '1' => 'moderator notification',
613
+            '0' => 'boinc_standard',
614
+            '1' => 'moderator notification',
615 615
         ),
616 616
         '#status' => 'default',
617 617
         '#conditions' => array(
618
-          '0' => array(
618
+            '0' => array(
619 619
             '#weight' => 0.0,
620 620
             '#negate' => 1,
621 621
             '#info' => array(
622
-              'label' => 'Compare two users: acting user (who hid the comment) is NOT the comment author',
623
-              'label callback' => FALSE,
624
-              'arguments' => array(
622
+                'label' => 'Compare two users: acting user (who hid the comment) is NOT the comment author',
623
+                'label callback' => FALSE,
624
+                'arguments' => array(
625 625
                 'user1' => array(
626
-                  'type' => 'user',
627
-                  'label' => 'User account 1',
626
+                    'type' => 'user',
627
+                    'label' => 'User account 1',
628 628
                 ),
629 629
                 'user2' => array(
630
-                  'type' => 'user',
631
-                  'label' => 'User account 2',
630
+                    'type' => 'user',
631
+                    'label' => 'User account 2',
632
+                ),
632 633
                 ),
633
-              ),
634
-              'module' => 'User',
634
+                'module' => 'User',
635 635
             ),
636 636
             '#name' => 'rules_condition_user_comparison',
637 637
             '#type' => 'condition',
638 638
             '#settings' => array(
639
-              '#argument map' => array(
639
+                '#argument map' => array(
640 640
                 'user1' => 'user',
641 641
                 'user2' => 'comment_author',
642
-              ),
642
+                ),
643
+            ),
643 644
             ),
644
-          ),
645 645
         ),
646 646
         '#actions' => array(
647
-          '0' => array(
647
+            '0' => array(
648 648
             '#type' => 'action',
649 649
             '#settings' => array(
650
-              'from' => '',
651
-              'subject' => 'Comment at [:global:site-name] hidden by moderator or admin',
652
-              '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]",
653
-              '#eval input' => array(
650
+                'from' => '',
651
+                'subject' => 'Comment at [:global:site-name] hidden by moderator or admin',
652
+                '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]",
653
+                '#eval input' => array(
654 654
                 'token_rules_input_evaluator' => array(
655
-                  'subject' => array(
655
+                    'subject' => array(
656 656
                     '0' => ':global',
657
-                  ),
658
-                  'message' => array(
657
+                    ),
658
+                    'message' => array(
659 659
                     '0' => 'comment',
660 660
                     '1' => 'user',
661 661
                     '2' => ':global',
662
-                  ),
663
-                  'from' => array(
662
+                    ),
663
+                    'from' => array(
664 664
                     '0' => ':global',
665
-                  ),
665
+                    ),
666 666
                 ),
667 667
                 'rules_input_evaluator_php' => array(
668
-                  'message' => array(),
668
+                    'message' => array(),
669
+                ),
669 670
                 ),
670
-              ),
671 671
             ),
672 672
             '#name' => 'boinccore_rules_action_mail_to_moderators',
673 673
             '#info' => array(
674
-              'label' => 'Notify moderators via email',
675
-              'module' => 'BOINC core',
676
-              'eval input' => array(
674
+                'label' => 'Notify moderators via email',
675
+                'module' => 'BOINC core',
676
+                'eval input' => array(
677 677
                 '0' => 'subject',
678 678
                 '1' => 'message',
679 679
                 '2' => 'from',
680
-              ),
680
+                ),
681 681
             ),
682 682
             '#weight' => 0.0,
683
-          ),
683
+            ),
684 684
         ),
685 685
         '#version' => 6003,
686
-      ),
687
-      'rules_forum_topic_is_edited_by_moderator_or_admin' => array(
686
+        ),
687
+        'rules_forum_topic_is_edited_by_moderator_or_admin' => array(
688 688
         '#type' => 'rule',
689 689
         '#set' => 'event_node_update',
690 690
         '#label' => 'Forum topic is edited by moderator or admin',
691 691
         '#active' => 1,
692 692
         '#weight' => '0',
693 693
         '#categories' => array(
694
-          '0' => 'boinc_standard',
695
-          '1' => 'moderator notification',
694
+            '0' => 'boinc_standard',
695
+            '1' => 'moderator notification',
696 696
         ),
697 697
         '#status' => 'default',
698 698
         '#conditions' => array(
699
-          '0' => array(
699
+            '0' => array(
700 700
             '#weight' => 0.0,
701 701
             '#type' => 'condition',
702 702
             '#settings' => array(
703
-              'roles' => array(
703
+                'roles' => array(
704 704
                 '0' => 3519698132,
705 705
                 '1' => 1271379760,
706
-              ),
707
-              'operation' => 'OR',
708
-              '#argument map' => array(
706
+                ),
707
+                'operation' => 'OR',
708
+                '#argument map' => array(
709 709
                 'user' => 'user',
710
-              ),
710
+                ),
711 711
             ),
712 712
             '#name' => 'rules_condition_user_hasrole',
713 713
             '#info' => array(
714
-              'label' => 'User has role(s): administrator or moderator',
715
-              'label callback' => FALSE,
716
-              'arguments' => array(
714
+                'label' => 'User has role(s): administrator or moderator',
715
+                'label callback' => FALSE,
716
+                'arguments' => array(
717 717
                 'user' => array(
718
-                  'type' => 'user',
719
-                  'label' => 'User',
718
+                    'type' => 'user',
719
+                    'label' => 'User',
720 720
                 ),
721
-              ),
722
-              'module' => 'User',
721
+                ),
722
+                'module' => 'User',
723
+            ),
723 724
             ),
724
-          ),
725
-          '1' => array(
725
+            '1' => array(
726 726
             '#weight' => 0.0,
727 727
             '0' => array(
728
-              '#weight' => 0.0,
729
-              '#info' => array(
728
+                '#weight' => 0.0,
729
+                '#info' => array(
730 730
                 'label' => 'Updated content is Forum topic',
731 731
                 'arguments' => array(
732
-                  'node' => array(
732
+                    'node' => array(
733 733
                     'type' => 'node',
734 734
                     'label' => 'Content',
735
-                  ),
735
+                    ),
736 736
                 ),
737 737
                 'module' => 'Node',
738
-              ),
739
-              '#name' => 'rules_condition_content_is_type',
740
-              '#settings' => array(
738
+                ),
739
+                '#name' => 'rules_condition_content_is_type',
740
+                '#settings' => array(
741 741
                 'type' => array(
742
-                  'forum' => 'forum',
742
+                    'forum' => 'forum',
743 743
                 ),
744 744
                 '#argument map' => array(
745
-                  'node' => 'node',
745
+                    'node' => 'node',
746
+                ),
746 747
                 ),
747
-              ),
748
-              '#type' => 'condition',
748
+                '#type' => 'condition',
749 749
             ),
750 750
             '#type' => 'OR',
751 751
             '1' => array(
752
-              '#type' => 'condition',
753
-              '#settings' => array(
752
+                '#type' => 'condition',
753
+                '#settings' => array(
754 754
                 'type' => array(
755
-                  'team_forum' => 'team_forum',
755
+                    'team_forum' => 'team_forum',
756 756
                 ),
757 757
                 '#argument map' => array(
758
-                  'node' => 'node',
758
+                    'node' => 'node',
759 759
                 ),
760
-              ),
761
-              '#name' => 'rules_condition_content_is_type',
762
-              '#info' => array(
760
+                ),
761
+                '#name' => 'rules_condition_content_is_type',
762
+                '#info' => array(
763 763
                 'label' => 'Updated content is Team forum topic',
764 764
                 'arguments' => array(
765
-                  'node' => array(
765
+                    'node' => array(
766 766
                     'type' => 'node',
767 767
                     'label' => 'Content',
768
-                  ),
768
+                    ),
769 769
                 ),
770 770
                 'module' => 'Node',
771
-              ),
772
-              '#weight' => 0.0,
771
+                ),
772
+                '#weight' => 0.0,
773 773
             ),
774
-          ),
775
-          '2' => array(
774
+            ),
775
+            '2' => array(
776 776
             '#weight' => 0.0,
777 777
             '#info' => array(
778
-              'label' => 'PHP code: content changed',
779
-              'label callback' => FALSE,
780
-              'module' => 'PHP',
781
-              'eval input' => array(
778
+                'label' => 'PHP code: content changed',
779
+                'label callback' => FALSE,
780
+                'module' => 'PHP',
781
+                'eval input' => array(
782 782
                 '0' => 'code',
783
-              ),
783
+                ),
784 784
             ),
785 785
             '#name' => 'rules_condition_custom_php',
786 786
             '#settings' => array(
787
-              'code' => 'return ($node->body != $node_unchanged->body);',
788
-              'vars' => array(
787
+                'code' => 'return ($node->body != $node_unchanged->body);',
788
+                'vars' => array(
789 789
                 '0' => 'node',
790 790
                 '1' => 'node_unchanged',
791
-              ),
792
-              '#eval input' => array(
791
+                ),
792
+                '#eval input' => array(
793 793
                 'token_rules_input_evaluator' => array(
794
-                  'code' => array(
794
+                    'code' => array(
795 795
                     '0' => ':global',
796
-                  ),
796
+                    ),
797
+                ),
797 798
                 ),
798
-              ),
799 799
             ),
800 800
             '#type' => 'condition',
801
-          ),
801
+            ),
802 802
         ),
803 803
         '#actions' => array(
804
-          '0' => array(
804
+            '0' => array(
805 805
             '#type' => 'action',
806 806
             '#settings' => array(
807
-              'from' => '',
808
-              'subject' => 'Forum topic at [:global:site-name] edited by moderator/admin',
809
-              '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')); ?>",
810
-              '#eval input' => array(
807
+                'from' => '',
808
+                'subject' => 'Forum topic at [:global:site-name] edited by moderator/admin',
809
+                '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')); ?>",
810
+                '#eval input' => array(
811 811
                 'token_rules_input_evaluator' => array(
812
-                  'subject' => array(
812
+                    'subject' => array(
813 813
                     '0' => ':global',
814
-                  ),
815
-                  'message' => array(
814
+                    ),
815
+                    'message' => array(
816 816
                     '0' => 'node',
817 817
                     '1' => 'user',
818 818
                     '2' => ':global',
819
-                  ),
820
-                  'from' => array(
819
+                    ),
820
+                    'from' => array(
821 821
                     '0' => ':global',
822
-                  ),
822
+                    ),
823 823
                 ),
824 824
                 'rules_input_evaluator_php' => array(
825
-                  'message' => array(
825
+                    'message' => array(
826 826
                     '0' => 'node',
827
-                  ),
827
+                    ),
828
+                ),
828 829
                 ),
829
-              ),
830 830
             ),
831 831
             '#name' => 'boinccore_rules_action_mail_to_moderators',
832 832
             '#info' => array(
833
-              'label' => 'Notify moderators via email',
834
-              'module' => 'BOINC core',
835
-              'eval input' => array(
833
+                'label' => 'Notify moderators via email',
834
+                'module' => 'BOINC core',
835
+                'eval input' => array(
836 836
                 '0' => 'subject',
837 837
                 '1' => 'message',
838 838
                 '2' => 'from',
839
-              ),
839
+                ),
840 840
             ),
841 841
             '#weight' => 0.0,
842
-          ),
842
+            ),
843 843
         ),
844 844
         '#version' => 6003,
845
-      ),
846
-      'rules_forum_topic_is_hidden_by_moderator_admin' => array(
845
+        ),
846
+        'rules_forum_topic_is_hidden_by_moderator_admin' => array(
847 847
         '#type' => 'rule',
848 848
         '#set' => 'event_node_update',
849 849
         '#label' => 'Forum topic is hidden by moderator/admin',
850 850
         '#active' => 1,
851 851
         '#weight' => '0',
852 852
         '#categories' => array(
853
-          '0' => 'boinc_standard',
854
-          '1' => 'moderator notification',
853
+            '0' => 'boinc_standard',
854
+            '1' => 'moderator notification',
855 855
         ),
856 856
         '#status' => 'default',
857 857
         '#conditions' => array(
858
-          '0' => array(
858
+            '0' => array(
859 859
             '#type' => 'condition',
860 860
             '#settings' => array(
861
-              'roles' => array(
861
+                'roles' => array(
862 862
                 '0' => 3519698132,
863 863
                 '1' => 1271379760,
864
-              ),
865
-              'operation' => 'OR',
866
-              '#argument map' => array(
864
+                ),
865
+                'operation' => 'OR',
866
+                '#argument map' => array(
867 867
                 'user' => 'user',
868
-              ),
868
+                ),
869 869
             ),
870 870
             '#name' => 'rules_condition_user_hasrole',
871 871
             '#info' => array(
872
-              'label' => 'User has role(s): administrator or moderator',
873
-              'label callback' => FALSE,
874
-              'arguments' => array(
872
+                'label' => 'User has role(s): administrator or moderator',
873
+                'label callback' => FALSE,
874
+                'arguments' => array(
875 875
                 'user' => array(
876
-                  'type' => 'user',
877
-                  'label' => 'User',
876
+                    'type' => 'user',
877
+                    'label' => 'User',
878 878
                 ),
879
-              ),
880
-              'module' => 'User',
879
+                ),
880
+                'module' => 'User',
881 881
             ),
882 882
             '#weight' => 0.0,
883
-          ),
884
-          '1' => array(
883
+            ),
884
+            '1' => array(
885 885
             '#weight' => 0.0,
886 886
             '0' => array(
887
-              '#weight' => 0.0,
888
-              '#type' => 'condition',
889
-              '#settings' => array(
887
+                '#weight' => 0.0,
888
+                '#type' => 'condition',
889
+                '#settings' => array(
890 890
                 'type' => array(
891
-                  'forum' => 'forum',
891
+                    'forum' => 'forum',
892 892
                 ),
893 893
                 '#argument map' => array(
894
-                  'node' => 'node',
894
+                    'node' => 'node',
895
+                ),
895 896
                 ),
896
-              ),
897
-              '#name' => 'rules_condition_content_is_type',
898
-              '#info' => array(
897
+                '#name' => 'rules_condition_content_is_type',
898
+                '#info' => array(
899 899
                 'label' => 'Updated content is Forum topic',
900 900
                 'arguments' => array(
901
-                  'node' => array(
901
+                    'node' => array(
902 902
                     'type' => 'node',
903 903
                     'label' => 'Content',
904
-                  ),
904
+                    ),
905 905
                 ),
906 906
                 'module' => 'Node',
907
-              ),
907
+                ),
908 908
             ),
909 909
             '#type' => 'OR',
910 910
             '1' => array(
911
-              '#type' => 'condition',
912
-              '#settings' => array(
911
+                '#type' => 'condition',
912
+                '#settings' => array(
913 913
                 'type' => array(
914
-                  'team_forum' => 'team_forum',
914
+                    'team_forum' => 'team_forum',
915 915
                 ),
916 916
                 '#argument map' => array(
917
-                  'node' => 'node',
917
+                    'node' => 'node',
918
+                ),
918 919
                 ),
919
-              ),
920
-              '#name' => 'rules_condition_content_is_type',
921
-              '#info' => array(
920
+                '#name' => 'rules_condition_content_is_type',
921
+                '#info' => array(
922 922
                 'label' => 'Updated content is Team forum topic',
923 923
                 'arguments' => array(
924
-                  'node' => array(
924
+                    'node' => array(
925 925
                     'type' => 'node',
926 926
                     'label' => 'Content',
927
-                  ),
927
+                    ),
928 928
                 ),
929 929
                 'module' => 'Node',
930
-              ),
931
-              '#weight' => 0.0,
930
+                ),
931
+                '#weight' => 0.0,
932
+            ),
932 933
             ),
933
-          ),
934
-          '3' => array(
934
+            '3' => array(
935 935
             '#weight' => 0.0,
936 936
             '#info' => array(
937
-              'label' => 'PHP code: node content unchanged',
938
-              'label callback' => FALSE,
939
-              'module' => 'PHP',
940
-              'eval input' => array(
937
+                'label' => 'PHP code: node content unchanged',
938
+                'label callback' => FALSE,
939
+                'module' => 'PHP',
940
+                'eval input' => array(
941 941
                 '0' => 'code',
942
-              ),
942
+                ),
943 943
             ),
944 944
             '#name' => 'rules_condition_custom_php',
945 945
             '#settings' => array(
946
-              'code' => 'return $node->body == $node_unchanged->body;',
947
-              'vars' => array(
946
+                'code' => 'return $node->body == $node_unchanged->body;',
947
+                'vars' => array(
948 948
                 '0' => 'node',
949 949
                 '1' => 'node_unchanged',
950
-              ),
951
-              '#eval input' => array(
950
+                ),
951
+                '#eval input' => array(
952 952
                 'token_rules_input_evaluator' => array(
953
-                  'code' => array(
953
+                    'code' => array(
954 954
                     '0' => ':global',
955
-                  ),
955
+                    ),
956
+                ),
956 957
                 ),
957
-              ),
958 958
             ),
959 959
             '#type' => 'condition',
960
-          ),
961
-          '4' => array(
960
+            ),
961
+            '4' => array(
962 962
             '#weight' => 0.0,
963 963
             '#info' => array(
964
-              'label' => 'PHP code: node status changed to hidden',
965
-              'label callback' => FALSE,
966
-              'module' => 'PHP',
967
-              'eval input' => array(
964
+                'label' => 'PHP code: node status changed to hidden',
965
+                'label callback' => FALSE,
966
+                'module' => 'PHP',
967
+                'eval input' => array(
968 968
                 '0' => 'code',
969
-              ),
969
+                ),
970 970
             ),
971 971
             '#name' => 'rules_condition_custom_php',
972 972
             '#type' => 'condition',
973 973
             '#settings' => array(
974
-              'code' => 'return $node_unchanged->status == 1 && $node->status == 0;',
975
-              'vars' => array(
974
+                'code' => 'return $node_unchanged->status == 1 && $node->status == 0;',
975
+                'vars' => array(
976 976
                 '0' => 'node',
977 977
                 '1' => 'node_unchanged',
978
-              ),
979
-              '#eval input' => array(
978
+                ),
979
+                '#eval input' => array(
980 980
                 'token_rules_input_evaluator' => array(
981
-                  'code' => array(
981
+                    'code' => array(
982 982
                     '0' => ':global',
983
-                  ),
983
+                    ),
984
+                ),
984 985
                 ),
985
-              ),
986 986
             ),
987
-          ),
987
+            ),
988 988
         ),
989 989
         '#actions' => array(
990
-          '0' => array(
990
+            '0' => array(
991 991
             '#info' => array(
992
-              'label' => 'Notify moderators via email',
993
-              'module' => 'BOINC core',
994
-              'eval input' => array(
992
+                'label' => 'Notify moderators via email',
993
+                'module' => 'BOINC core',
994
+                'eval input' => array(
995 995
                 '0' => 'subject',
996 996
                 '1' => 'message',
997 997
                 '2' => 'from',
998
-              ),
998
+                ),
999 999
             ),
1000 1000
             '#name' => 'boinccore_rules_action_mail_to_moderators',
1001 1001
             '#settings' => array(
1002
-              'from' => '',
1003
-              'subject' => 'Forum topic at [:global:site-name] hidden by moderator/admin',
1004
-              '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')); ?>",
1005
-              '#eval input' => array(
1002
+                'from' => '',
1003
+                'subject' => 'Forum topic at [:global:site-name] hidden by moderator/admin',
1004
+                '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')); ?>",
1005
+                '#eval input' => array(
1006 1006
                 'token_rules_input_evaluator' => array(
1007
-                  'subject' => array(
1007
+                    'subject' => array(
1008 1008
                     '0' => ':global',
1009
-                  ),
1010
-                  'message' => array(
1009
+                    ),
1010
+                    'message' => array(
1011 1011
                     '0' => 'node',
1012 1012
                     '1' => 'user',
1013 1013
                     '2' => ':global',
1014
-                  ),
1015
-                  'from' => array(
1014
+                    ),
1015
+                    'from' => array(
1016 1016
                     '0' => ':global',
1017
-                  ),
1017
+                    ),
1018 1018
                 ),
1019 1019
                 'rules_input_evaluator_php' => array(
1020
-                  'message' => array(
1020
+                    'message' => array(
1021 1021
                     '0' => 'node',
1022
-                  ),
1022
+                    ),
1023
+                ),
1023 1024
                 ),
1024
-              ),
1025 1025
             ),
1026 1026
             '#type' => 'action',
1027 1027
             '#weight' => 0.0,
1028
-          ),
1028
+            ),
1029 1029
         ),
1030 1030
         '#version' => 6003,
1031
-      ),
1032
-      'rules_forum_topic_is_moved_to_a_different_forum_by_moderator_or_admin' => array(
1031
+        ),
1032
+        'rules_forum_topic_is_moved_to_a_different_forum_by_moderator_or_admin' => array(
1033 1033
         '#type' => 'rule',
1034 1034
         '#set' => 'event_node_update',
1035 1035
         '#label' => 'Forum topic is moved to a different forum by moderator or admin',
1036 1036
         '#active' => 1,
1037 1037
         '#weight' => '0',
1038 1038
         '#categories' => array(
1039
-          '0' => 'boinc_standard',
1040
-          '1' => 'moderator notification',
1039
+            '0' => 'boinc_standard',
1040
+            '1' => 'moderator notification',
1041 1041
         ),
1042 1042
         '#status' => 'default',
1043 1043
         '#conditions' => array(
1044
-          '0' => array(
1044
+            '0' => array(
1045 1045
             '#weight' => 0.0,
1046 1046
             '#type' => 'condition',
1047 1047
             '#settings' => array(
1048
-              'roles' => array(
1048
+                'roles' => array(
1049 1049
                 '0' => 3519698132,
1050 1050
                 '1' => 1271379760,
1051
-              ),
1052
-              'operation' => 'OR',
1053
-              '#argument map' => array(
1051
+                ),
1052
+                'operation' => 'OR',
1053
+                '#argument map' => array(
1054 1054
                 'user' => 'user',
1055
-              ),
1055
+                ),
1056 1056
             ),
1057 1057
             '#name' => 'rules_condition_user_hasrole',
1058 1058
             '#info' => array(
1059
-              'label' => 'User has role(s): administrator or moderator',
1060
-              'label callback' => FALSE,
1061
-              'arguments' => array(
1059
+                'label' => 'User has role(s): administrator or moderator',
1060
+                'label callback' => FALSE,
1061
+                'arguments' => array(
1062 1062
                 'user' => array(
1063
-                  'type' => 'user',
1064
-                  'label' => 'User',
1063
+                    'type' => 'user',
1064
+                    'label' => 'User',
1065
+                ),
1065 1066
                 ),
1066
-              ),
1067
-              'module' => 'User',
1067
+                'module' => 'User',
1068 1068
             ),
1069
-          ),
1070
-          '1' => array(
1069
+            ),
1070
+            '1' => array(
1071 1071
             '#weight' => 0.0,
1072 1072
             '0' => array(
1073
-              '#weight' => 0.0,
1074
-              '#info' => array(
1073
+                '#weight' => 0.0,
1074
+                '#info' => array(
1075 1075
                 'label' => 'Updated content is Forum topic',
1076 1076
                 'arguments' => array(
1077
-                  'node' => array(
1077
+                    'node' => array(
1078 1078
                     'type' => 'node',
1079 1079
                     'label' => 'Content',
1080
-                  ),
1080
+                    ),
1081 1081
                 ),
1082 1082
                 'module' => 'Node',
1083
-              ),
1084
-              '#name' => 'rules_condition_content_is_type',
1085
-              '#settings' => array(
1083
+                ),
1084
+                '#name' => 'rules_condition_content_is_type',
1085
+                '#settings' => array(
1086 1086
                 'type' => array(
1087
-                  'forum' => 'forum',
1087
+                    'forum' => 'forum',
1088 1088
                 ),
1089 1089
                 '#argument map' => array(
1090
-                  'node' => 'node',
1090
+                    'node' => 'node',
1091
+                ),
1091 1092
                 ),
1092
-              ),
1093
-              '#type' => 'condition',
1093
+                '#type' => 'condition',
1094 1094
             ),
1095 1095
             '#type' => 'OR',
1096 1096
             '1' => array(
1097
-              '#type' => 'condition',
1098
-              '#settings' => array(
1097
+                '#type' => 'condition',
1098
+                '#settings' => array(
1099 1099
                 'type' => array(
1100
-                  'team_forum' => 'team_forum',
1100
+                    'team_forum' => 'team_forum',
1101 1101
                 ),
1102 1102
                 '#argument map' => array(
1103
-                  'node' => 'node',
1103
+                    'node' => 'node',
1104
+                ),
1104 1105
                 ),
1105
-              ),
1106
-              '#name' => 'rules_condition_content_is_type',
1107
-              '#info' => array(
1106
+                '#name' => 'rules_condition_content_is_type',
1107
+                '#info' => array(
1108 1108
                 'label' => 'Updated content is Team forum topic',
1109 1109
                 'arguments' => array(
1110
-                  'node' => array(
1110
+                    'node' => array(
1111 1111
                     'type' => 'node',
1112 1112
                     'label' => 'Content',
1113
-                  ),
1113
+                    ),
1114 1114
                 ),
1115 1115
                 'module' => 'Node',
1116
-              ),
1117
-              '#weight' => 0.0,
1116
+                ),
1117
+                '#weight' => 0.0,
1118
+            ),
1118 1119
             ),
1119
-          ),
1120
-          '2' => array(
1120
+            '2' => array(
1121 1121
             '#weight' => 0.0,
1122 1122
             '#info' => array(
1123
-              'label' => 'PHP code: node moved to new forum parent',
1124
-              'label callback' => FALSE,
1125
-              'module' => 'PHP',
1126
-              'eval input' => array(
1123
+                'label' => 'PHP code: node moved to new forum parent',
1124
+                'label callback' => FALSE,
1125
+                'module' => 'PHP',
1126
+                'eval input' => array(
1127 1127
                 '0' => 'code',
1128
-              ),
1128
+                ),
1129 1129
             ),
1130 1130
             '#name' => 'rules_condition_custom_php',
1131 1131
             '#settings' => array(
1132
-              'code' => 'return ($node->tid != $node_unchanged->tid);',
1133
-              'vars' => array(
1132
+                'code' => 'return ($node->tid != $node_unchanged->tid);',
1133
+                'vars' => array(
1134 1134
                 '0' => 'node',
1135 1135
                 '1' => 'node_unchanged',
1136
-              ),
1137
-              '#eval input' => array(
1136
+                ),
1137
+                '#eval input' => array(
1138 1138
                 'token_rules_input_evaluator' => array(
1139
-                  'code' => array(
1139
+                    'code' => array(
1140 1140
                     '0' => ':global',
1141
-                  ),
1141
+                    ),
1142
+                ),
1142 1143
                 ),
1143
-              ),
1144 1144
             ),
1145 1145
             '#type' => 'condition',
1146
-          ),
1146
+            ),
1147 1147
         ),
1148 1148
         '#actions' => array(
1149
-          '0' => array(
1149
+            '0' => array(
1150 1150
             '#type' => 'action',
1151 1151
             '#settings' => array(
1152
-              'from' => '',
1153
-              'subject' => 'Forum topic at [:global:site-name] moved by moderator/admin',
1154
-              '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')); ?>",
1155
-              '#eval input' => array(
1152
+                'from' => '',
1153
+                'subject' => 'Forum topic at [:global:site-name] moved by moderator/admin',
1154
+                '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')); ?>",
1155
+                '#eval input' => array(
1156 1156
                 'token_rules_input_evaluator' => array(
1157
-                  'subject' => array(
1157
+                    'subject' => array(
1158 1158
                     '0' => ':global',
1159
-                  ),
1160
-                  'message' => array(
1159
+                    ),
1160
+                    'message' => array(
1161 1161
                     '0' => 'node',
1162 1162
                     '1' => 'user',
1163 1163
                     '2' => ':global',
1164
-                  ),
1165
-                  'from' => array(
1164
+                    ),
1165
+                    'from' => array(
1166 1166
                     '0' => ':global',
1167
-                  ),
1167
+                    ),
1168 1168
                 ),
1169 1169
                 'rules_input_evaluator_php' => array(
1170
-                  'message' => array(
1170
+                    'message' => array(
1171 1171
                     '0' => 'node',
1172
-                  ),
1172
+                    ),
1173
+                ),
1173 1174
                 ),
1174
-              ),
1175 1175
             ),
1176 1176
             '#name' => 'boinccore_rules_action_mail_to_moderators',
1177 1177
             '#info' => array(
1178
-              'label' => 'Notify moderators via email',
1179
-              'module' => 'BOINC core',
1180
-              'eval input' => array(
1178
+                'label' => 'Notify moderators via email',
1179
+                'module' => 'BOINC core',
1180
+                'eval input' => array(
1181 1181
                 '0' => 'subject',
1182 1182
                 '1' => 'message',
1183 1183
                 '2' => 'from',
1184
-              ),
1184
+                ),
1185 1185
             ),
1186 1186
             '#weight' => 0.0,
1187
-          ),
1187
+            ),
1188 1188
         ),
1189 1189
         '#version' => 6003,
1190
-      ),
1191
-      'rules_forum_topic_is_unhidden_by_moderator_admin' => array(
1190
+        ),
1191
+        'rules_forum_topic_is_unhidden_by_moderator_admin' => array(
1192 1192
         '#type' => 'rule',
1193 1193
         '#set' => 'event_node_update',
1194 1194
         '#label' => 'Forum topic is unhidden by moderator/admin',
1195 1195
         '#active' => 1,
1196 1196
         '#weight' => '0',
1197 1197
         '#categories' => array(
1198
-          '0' => 'boinc_standard',
1199
-          '1' => 'moderator notification',
1198
+            '0' => 'boinc_standard',
1199
+            '1' => 'moderator notification',
1200 1200
         ),
1201 1201
         '#status' => 'default',
1202 1202
         '#conditions' => array(
1203
-          '0' => array(
1203
+            '0' => array(
1204 1204
             '#type' => 'condition',
1205 1205
             '#settings' => array(
1206
-              'roles' => array(
1206
+                'roles' => array(
1207 1207
                 '0' => 3519698132,
1208 1208
                 '1' => 1271379760,
1209
-              ),
1210
-              'operation' => 'OR',
1211
-              '#argument map' => array(
1209
+                ),
1210
+                'operation' => 'OR',
1211
+                '#argument map' => array(
1212 1212
                 'user' => 'user',
1213
-              ),
1213
+                ),
1214 1214
             ),
1215 1215
             '#name' => 'rules_condition_user_hasrole',
1216 1216
             '#info' => array(
1217
-              'label' => 'User has role(s): administrator or moderator',
1218
-              'label callback' => FALSE,
1219
-              'arguments' => array(
1217
+                'label' => 'User has role(s): administrator or moderator',
1218
+                'label callback' => FALSE,
1219
+                'arguments' => array(
1220 1220
                 'user' => array(
1221
-                  'type' => 'user',
1222
-                  'label' => 'User',
1221
+                    'type' => 'user',
1222
+                    'label' => 'User',
1223 1223
                 ),
1224
-              ),
1225
-              'module' => 'User',
1224
+                ),
1225
+                'module' => 'User',
1226 1226
             ),
1227 1227
             '#weight' => 0.0,
1228
-          ),
1229
-          '1' => array(
1228
+            ),
1229
+            '1' => array(
1230 1230
             '#type' => 'OR',
1231 1231
             '0' => array(
1232
-              '#info' => array(
1232
+                '#info' => array(
1233 1233
                 'label' => 'Updated content is Forum topic',
1234 1234
                 'arguments' => array(
1235
-                  'node' => array(
1235
+                    'node' => array(
1236 1236
                     'type' => 'node',
1237 1237
                     'label' => 'Content',
1238
-                  ),
1238
+                    ),
1239 1239
                 ),
1240 1240
                 'module' => 'Node',
1241
-              ),
1242
-              '#name' => 'rules_condition_content_is_type',
1243
-              '#settings' => array(
1241
+                ),
1242
+                '#name' => 'rules_condition_content_is_type',
1243
+                '#settings' => array(
1244 1244
                 'type' => array(
1245
-                  'forum' => 'forum',
1245
+                    'forum' => 'forum',
1246 1246
                 ),
1247 1247
                 '#argument map' => array(
1248
-                  'node' => 'node',
1248
+                    'node' => 'node',
1249 1249
                 ),
1250
-              ),
1251
-              '#type' => 'condition',
1252
-              '#weight' => 0.0,
1250
+                ),
1251
+                '#type' => 'condition',
1252
+                '#weight' => 0.0,
1253 1253
             ),
1254 1254
             '#weight' => 0.0,
1255 1255
             '1' => array(
1256
-              '#weight' => 0.0,
1257
-              '#info' => array(
1256
+                '#weight' => 0.0,
1257
+                '#info' => array(
1258 1258
                 'label' => 'Updated content is Team forum topic',
1259 1259
                 'arguments' => array(
1260
-                  'node' => array(
1260
+                    'node' => array(
1261 1261
                     'type' => 'node',
1262 1262
                     'label' => 'Content',
1263
-                  ),
1263
+                    ),
1264 1264
                 ),
1265 1265
                 'module' => 'Node',
1266
-              ),
1267
-              '#name' => 'rules_condition_content_is_type',
1268
-              '#settings' => array(
1266
+                ),
1267
+                '#name' => 'rules_condition_content_is_type',
1268
+                '#settings' => array(
1269 1269
                 'type' => array(
1270
-                  'team_forum' => 'team_forum',
1270
+                    'team_forum' => 'team_forum',
1271 1271
                 ),
1272 1272
                 '#argument map' => array(
1273
-                  'node' => 'node',
1273
+                    'node' => 'node',
1274
+                ),
1274 1275
                 ),
1275
-              ),
1276
-              '#type' => 'condition',
1276
+                '#type' => 'condition',
1277 1277
             ),
1278
-          ),
1279
-          '3' => array(
1278
+            ),
1279
+            '3' => array(
1280 1280
             '#type' => 'condition',
1281 1281
             '#settings' => array(
1282
-              'code' => 'return $node->body == $node_unchanged->body;',
1283
-              'vars' => array(
1282
+                'code' => 'return $node->body == $node_unchanged->body;',
1283
+                'vars' => array(
1284 1284
                 '0' => 'node',
1285 1285
                 '1' => 'node_unchanged',
1286
-              ),
1287
-              '#eval input' => array(
1286
+                ),
1287
+                '#eval input' => array(
1288 1288
                 'token_rules_input_evaluator' => array(
1289
-                  'code' => array(
1289
+                    'code' => array(
1290 1290
                     '0' => ':global',
1291
-                  ),
1291
+                    ),
1292
+                ),
1292 1293
                 ),
1293
-              ),
1294 1294
             ),
1295 1295
             '#name' => 'rules_condition_custom_php',
1296 1296
             '#info' => array(
1297
-              'label' => 'PHP code: node content is unchanged',
1298
-              'label callback' => FALSE,
1299
-              'module' => 'PHP',
1300
-              'eval input' => array(
1297
+                'label' => 'PHP code: node content is unchanged',
1298
+                'label callback' => FALSE,
1299
+                'module' => 'PHP',
1300
+                'eval input' => array(
1301 1301
                 '0' => 'code',
1302
-              ),
1302
+                ),
1303 1303
             ),
1304 1304
             '#weight' => 0.0,
1305
-          ),
1306
-          '4' => array(
1305
+            ),
1306
+            '4' => array(
1307 1307
             '#type' => 'condition',
1308 1308
             '#settings' => array(
1309
-              'code' => 'return $node_unchanged->status == 0 && $node->status == 1;',
1310
-              'vars' => array(
1309
+                'code' => 'return $node_unchanged->status == 0 && $node->status == 1;',
1310
+                'vars' => array(
1311 1311
                 '0' => 'node',
1312 1312
                 '1' => 'node_unchanged',
1313
-              ),
1314
-              '#eval input' => array(
1313
+                ),
1314
+                '#eval input' => array(
1315 1315
                 'token_rules_input_evaluator' => array(
1316
-                  'code' => array(
1316
+                    'code' => array(
1317 1317
                     '0' => ':global',
1318
-                  ),
1318
+                    ),
1319
+                ),
1319 1320
                 ),
1320
-              ),
1321 1321
             ),
1322 1322
             '#name' => 'rules_condition_custom_php',
1323 1323
             '#info' => array(
1324
-              'label' => 'PHP code: node status changed to unhidden',
1325
-              'label callback' => FALSE,
1326
-              'module' => 'PHP',
1327
-              'eval input' => array(
1324
+                'label' => 'PHP code: node status changed to unhidden',
1325
+                'label callback' => FALSE,
1326
+                'module' => 'PHP',
1327
+                'eval input' => array(
1328 1328
                 '0' => 'code',
1329
-              ),
1329
+                ),
1330 1330
             ),
1331 1331
             '#weight' => 0.0,
1332
-          ),
1332
+            ),
1333 1333
         ),
1334 1334
         '#actions' => array(
1335
-          '0' => array(
1335
+            '0' => array(
1336 1336
             '#info' => array(
1337
-              'label' => 'Notify moderators via email',
1338
-              'module' => 'BOINC core',
1339
-              'eval input' => array(
1337
+                'label' => 'Notify moderators via email',
1338
+                'module' => 'BOINC core',
1339
+                'eval input' => array(
1340 1340
                 '0' => 'subject',
1341 1341
                 '1' => 'message',
1342 1342
                 '2' => 'from',
1343
-              ),
1343
+                ),
1344 1344
             ),
1345 1345
             '#name' => 'boinccore_rules_action_mail_to_moderators',
1346 1346
             '#settings' => array(
1347
-              'from' => '',
1348
-              'subject' => 'Forum topic at [:global:site-name] unhidden by moderator/admin',
1349
-              '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')); ?>",
1350
-              '#eval input' => array(
1347
+                'from' => '',
1348
+                'subject' => 'Forum topic at [:global:site-name] unhidden by moderator/admin',
1349
+                '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')); ?>",
1350
+                '#eval input' => array(
1351 1351
                 'token_rules_input_evaluator' => array(
1352
-                  'subject' => array(
1352
+                    'subject' => array(
1353 1353
                     '0' => ':global',
1354
-                  ),
1355
-                  'message' => array(
1354
+                    ),
1355
+                    'message' => array(
1356 1356
                     '0' => 'node',
1357 1357
                     '1' => 'user',
1358 1358
                     '2' => ':global',
1359
-                  ),
1360
-                  'from' => array(
1359
+                    ),
1360
+                    'from' => array(
1361 1361
                     '0' => ':global',
1362
-                  ),
1362
+                    ),
1363 1363
                 ),
1364 1364
                 'rules_input_evaluator_php' => array(
1365
-                  'message' => array(
1365
+                    'message' => array(
1366 1366
                     '0' => 'node',
1367
-                  ),
1367
+                    ),
1368
+                ),
1368 1369
                 ),
1369
-              ),
1370 1370
             ),
1371 1371
             '#type' => 'action',
1372 1372
             '#weight' => 0.0,
1373
-          ),
1373
+            ),
1374 1374
         ),
1375 1375
         '#version' => 6003,
1376
-      ),
1377
-      'rules_forum_topic_locked_by_moderator_admin' => array(
1376
+        ),
1377
+        'rules_forum_topic_locked_by_moderator_admin' => array(
1378 1378
         '#type' => 'rule',
1379 1379
         '#set' => 'event_node_update',
1380 1380
         '#label' => 'Forum topic locked by moderator/admin',
1381 1381
         '#active' => 1,
1382 1382
         '#weight' => '0',
1383 1383
         '#categories' => array(
1384
-          '0' => 'boinc_standard',
1385
-          '1' => 'moderator notification',
1384
+            '0' => 'boinc_standard',
1385
+            '1' => 'moderator notification',
1386 1386
         ),
1387 1387
         '#status' => 'default',
1388 1388
         '#conditions' => array(
1389
-          '0' => array(
1389
+            '0' => array(
1390 1390
             '#type' => 'condition',
1391 1391
             '#settings' => array(
1392
-              'roles' => array(
1392
+                'roles' => array(
1393 1393
                 '0' => 3519698132,
1394 1394
                 '1' => 1271379760,
1395
-              ),
1396
-              'operation' => 'OR',
1397
-              '#argument map' => array(
1395
+                ),
1396
+                'operation' => 'OR',
1397
+                '#argument map' => array(
1398 1398
                 'user' => 'user',
1399
-              ),
1399
+                ),
1400 1400
             ),
1401 1401
             '#name' => 'rules_condition_user_hasrole',
1402 1402
             '#info' => array(
1403
-              'label' => 'User has role(s): administrator or moderator',
1404
-              'label callback' => FALSE,
1405
-              'arguments' => array(
1403
+                'label' => 'User has role(s): administrator or moderator',
1404
+                'label callback' => FALSE,
1405
+                'arguments' => array(
1406 1406
                 'user' => array(
1407
-                  'type' => 'user',
1408
-                  'label' => 'User',
1407
+                    'type' => 'user',
1408
+                    'label' => 'User',
1409 1409
                 ),
1410
-              ),
1411
-              'module' => 'User',
1410
+                ),
1411
+                'module' => 'User',
1412 1412
             ),
1413 1413
             '#weight' => 0.0,
1414
-          ),
1415
-          '1' => array(
1414
+            ),
1415
+            '1' => array(
1416 1416
             '#weight' => 0.0,
1417 1417
             '0' => array(
1418
-              '#weight' => 0.0,
1419
-              '#type' => 'condition',
1420
-              '#settings' => array(
1418
+                '#weight' => 0.0,
1419
+                '#type' => 'condition',
1420
+                '#settings' => array(
1421 1421
                 'type' => array(
1422
-                  'forum' => 'forum',
1422
+                    'forum' => 'forum',
1423 1423
                 ),
1424 1424
                 '#argument map' => array(
1425
-                  'node' => 'node',
1425
+                    'node' => 'node',
1426
+                ),
1426 1427
                 ),
1427
-              ),
1428
-              '#name' => 'rules_condition_content_is_type',
1429
-              '#info' => array(
1428
+                '#name' => 'rules_condition_content_is_type',
1429
+                '#info' => array(
1430 1430
                 'label' => 'Updated content is Forum topic',
1431 1431
                 'arguments' => array(
1432
-                  'node' => array(
1432
+                    'node' => array(
1433 1433
                     'type' => 'node',
1434 1434
                     'label' => 'Content',
1435
-                  ),
1435
+                    ),
1436 1436
                 ),
1437 1437
                 'module' => 'Node',
1438
-              ),
1438
+                ),
1439 1439
             ),
1440 1440
             '#type' => 'OR',
1441 1441
             '1' => array(
1442
-              '#type' => 'condition',
1443
-              '#settings' => array(
1442
+                '#type' => 'condition',
1443
+                '#settings' => array(
1444 1444
                 'type' => array(
1445
-                  'team_forum' => 'team_forum',
1445
+                    'team_forum' => 'team_forum',
1446 1446
                 ),
1447 1447
                 '#argument map' => array(
1448
-                  'node' => 'node',
1448
+                    'node' => 'node',
1449
+                ),
1449 1450
                 ),
1450
-              ),
1451
-              '#name' => 'rules_condition_content_is_type',
1452
-              '#info' => array(
1451
+                '#name' => 'rules_condition_content_is_type',
1452
+                '#info' => array(
1453 1453
                 'label' => 'Updated content is Team forum topic',
1454 1454
                 'arguments' => array(
1455
-                  'node' => array(
1455
+                    'node' => array(
1456 1456
                     'type' => 'node',
1457 1457
                     'label' => 'Content',
1458
-                  ),
1458
+                    ),
1459 1459
                 ),
1460 1460
                 'module' => 'Node',
1461
-              ),
1462
-              '#weight' => 0.0,
1461
+                ),
1462
+                '#weight' => 0.0,
1463
+            ),
1463 1464
             ),
1464
-          ),
1465
-          '3' => array(
1465
+            '3' => array(
1466 1466
             '#weight' => 0.0,
1467 1467
             '#info' => array(
1468
-              'label' => 'PHP code: node content unchanged',
1469
-              'label callback' => FALSE,
1470
-              'module' => 'PHP',
1471
-              'eval input' => array(
1468
+                'label' => 'PHP code: node content unchanged',
1469
+                'label callback' => FALSE,
1470
+                'module' => 'PHP',
1471
+                'eval input' => array(
1472 1472
                 '0' => 'code',
1473
-              ),
1473
+                ),
1474 1474
             ),
1475 1475
             '#name' => 'rules_condition_custom_php',
1476 1476
             '#settings' => array(
1477
-              'code' => 'return $node->body == $node_unchanged->body;',
1478
-              'vars' => array(
1477
+                'code' => 'return $node->body == $node_unchanged->body;',
1478
+                'vars' => array(
1479 1479
                 '0' => 'node',
1480 1480
                 '1' => 'node_unchanged',
1481
-              ),
1482
-              '#eval input' => array(
1481
+                ),
1482
+                '#eval input' => array(
1483 1483
                 'token_rules_input_evaluator' => array(
1484
-                  'code' => array(
1484
+                    'code' => array(
1485 1485
                     '0' => ':global',
1486
-                  ),
1486
+                    ),
1487
+                ),
1487 1488
                 ),
1488
-              ),
1489 1489
             ),
1490 1490
             '#type' => 'condition',
1491
-          ),
1492
-          '4' => array(
1491
+            ),
1492
+            '4' => array(
1493 1493
             '#weight' => 0.0,
1494 1494
             '#info' => array(
1495
-              'label' => 'PHP code: node locked',
1496
-              'label callback' => FALSE,
1497
-              'module' => 'PHP',
1498
-              'eval input' => array(
1495
+                'label' => 'PHP code: node locked',
1496
+                'label callback' => FALSE,
1497
+                'module' => 'PHP',
1498
+                'eval input' => array(
1499 1499
                 '0' => 'code',
1500
-              ),
1500
+                ),
1501 1501
             ),
1502 1502
             '#name' => 'rules_condition_custom_php',
1503 1503
             '#type' => 'condition',
1504 1504
             '#settings' => array(
1505
-              'code' => 'return $node_unchanged->comment == 2 && $node->comment == 1;',
1506
-              'vars' => array(
1505
+                'code' => 'return $node_unchanged->comment == 2 && $node->comment == 1;',
1506
+                'vars' => array(
1507 1507
                 '0' => 'node',
1508 1508
                 '1' => 'node_unchanged',
1509
-              ),
1510
-              '#eval input' => array(
1509
+                ),
1510
+                '#eval input' => array(
1511 1511
                 'token_rules_input_evaluator' => array(
1512
-                  'code' => array(
1512
+                    'code' => array(
1513 1513
                     '0' => ':global',
1514
-                  ),
1514
+                    ),
1515 1515
                 ),
1516
-              ),
1516
+                ),
1517
+            ),
1517 1518
             ),
1518
-          ),
1519 1519
         ),
1520 1520
         '#actions' => array(
1521
-          '0' => array(
1521
+            '0' => array(
1522 1522
             '#info' => array(
1523
-              'label' => 'Notify moderators via email',
1524
-              'module' => 'BOINC core',
1525
-              'eval input' => array(
1523
+                'label' => 'Notify moderators via email',
1524
+                'module' => 'BOINC core',
1525
+                'eval input' => array(
1526 1526
                 '0' => 'subject',
1527 1527
                 '1' => 'message',
1528 1528
                 '2' => 'from',
1529
-              ),
1529
+                ),
1530 1530
             ),
1531 1531
             '#name' => 'boinccore_rules_action_mail_to_moderators',
1532 1532
             '#settings' => array(
1533
-              'from' => '',
1534
-              'subject' => 'Forum topic at [:global:site-name] locked by moderator/admin',
1535
-              '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')); ?>",
1536
-              '#eval input' => array(
1533
+                'from' => '',
1534
+                'subject' => 'Forum topic at [:global:site-name] locked by moderator/admin',
1535
+                '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')); ?>",
1536
+                '#eval input' => array(
1537 1537
                 'token_rules_input_evaluator' => array(
1538
-                  'subject' => array(
1538
+                    'subject' => array(
1539 1539
                     '0' => ':global',
1540
-                  ),
1541
-                  'message' => array(
1540
+                    ),
1541
+                    'message' => array(
1542 1542
                     '0' => 'node',
1543 1543
                     '1' => 'user',
1544 1544
                     '2' => ':global',
1545
-                  ),
1546
-                  'from' => array(
1545
+                    ),
1546
+                    'from' => array(
1547 1547
                     '0' => ':global',
1548
-                  ),
1548
+                    ),
1549 1549
                 ),
1550 1550
                 'rules_input_evaluator_php' => array(
1551
-                  'message' => array(
1551
+                    'message' => array(
1552 1552
                     '0' => 'node',
1553
-                  ),
1553
+                    ),
1554
+                ),
1554 1555
                 ),
1555
-              ),
1556 1556
             ),
1557 1557
             '#type' => 'action',
1558 1558
             '#weight' => 0.0,
1559
-          ),
1559
+            ),
1560 1560
         ),
1561 1561
         '#version' => 6003,
1562
-      ),
1563
-      'rules_forum_topic_marked_sticky_by_moderator_admin' => array(
1562
+        ),
1563
+        'rules_forum_topic_marked_sticky_by_moderator_admin' => array(
1564 1564
         '#type' => 'rule',
1565 1565
         '#set' => 'event_node_update',
1566 1566
         '#label' => 'Forum topic marked sticky by moderator/admin',
1567 1567
         '#active' => 1,
1568 1568
         '#weight' => '0',
1569 1569
         '#categories' => array(
1570
-          '0' => 'boinc_standard',
1571
-          '1' => 'moderator notification',
1570
+            '0' => 'boinc_standard',
1571
+            '1' => 'moderator notification',
1572 1572
         ),
1573 1573
         '#status' => 'default',
1574 1574
         '#conditions' => array(
1575
-          '0' => array(
1575
+            '0' => array(
1576 1576
             '#type' => 'condition',
1577 1577
             '#settings' => array(
1578
-              'roles' => array(
1578
+                'roles' => array(
1579 1579
                 '0' => 3519698132,
1580 1580
                 '1' => 1271379760,
1581
-              ),
1582
-              'operation' => 'OR',
1583
-              '#argument map' => array(
1581
+                ),
1582
+                'operation' => 'OR',
1583
+                '#argument map' => array(
1584 1584
                 'user' => 'user',
1585
-              ),
1585
+                ),
1586 1586
             ),
1587 1587
             '#name' => 'rules_condition_user_hasrole',
1588 1588
             '#info' => array(
1589
-              'label' => 'User has role(s): administrator or moderator',
1590
-              'label callback' => FALSE,
1591
-              'arguments' => array(
1589
+                'label' => 'User has role(s): administrator or moderator',
1590
+                'label callback' => FALSE,
1591
+                'arguments' => array(
1592 1592
                 'user' => array(
1593
-                  'type' => 'user',
1594
-                  'label' => 'User',
1593
+                    'type' => 'user',
1594
+                    'label' => 'User',
1595
+                ),
1595 1596
                 ),
1596
-              ),
1597
-              'module' => 'User',
1597
+                'module' => 'User',
1598 1598
             ),
1599 1599
             '#weight' => 0.0,
1600
-          ),
1601
-          '1' => array(
1600
+            ),
1601
+            '1' => array(
1602 1602
             '#weight' => 0.0,
1603 1603
             '0' => array(
1604
-              '#weight' => 0.0,
1605
-              '#type' => 'condition',
1606
-              '#settings' => array(
1604
+                '#weight' => 0.0,
1605
+                '#type' => 'condition',
1606
+                '#settings' => array(
1607 1607
                 'type' => array(
1608
-                  'forum' => 'forum',
1608
+                    'forum' => 'forum',
1609 1609
                 ),
1610 1610
                 '#argument map' => array(
1611
-                  'node' => 'node',
1611
+                    'node' => 'node',
1612
+                ),
1612 1613
                 ),
1613
-              ),
1614
-              '#name' => 'rules_condition_content_is_type',
1615
-              '#info' => array(
1614
+                '#name' => 'rules_condition_content_is_type',
1615
+                '#info' => array(
1616 1616
                 'label' => 'Updated content is Forum topic',
1617 1617
                 'arguments' => array(
1618
-                  'node' => array(
1618
+                    'node' => array(
1619 1619
                     'type' => 'node',
1620 1620
                     'label' => 'Content',
1621
-                  ),
1621
+                    ),
1622 1622
                 ),
1623 1623
                 'module' => 'Node',
1624
-              ),
1624
+                ),
1625 1625
             ),
1626 1626
             '#type' => 'OR',
1627 1627
             '1' => array(
1628
-              '#type' => 'condition',
1629
-              '#settings' => array(
1628
+                '#type' => 'condition',
1629
+                '#settings' => array(
1630 1630
                 'type' => array(
1631
-                  'team_forum' => 'team_forum',
1631
+                    'team_forum' => 'team_forum',
1632 1632
                 ),
1633 1633
                 '#argument map' => array(
1634
-                  'node' => 'node',
1634
+                    'node' => 'node',
1635
+                ),
1635 1636
                 ),
1636
-              ),
1637
-              '#name' => 'rules_condition_content_is_type',
1638
-              '#info' => array(
1637
+                '#name' => 'rules_condition_content_is_type',
1638
+                '#info' => array(
1639 1639
                 'label' => 'Updated content is Team forum topic',
1640 1640
                 'arguments' => array(
1641
-                  'node' => array(
1641
+                    'node' => array(
1642 1642
                     'type' => 'node',
1643 1643
                     'label' => 'Content',
1644
-                  ),
1644
+                    ),
1645 1645
                 ),
1646 1646
                 'module' => 'Node',
1647
-              ),
1648
-              '#weight' => 0.0,
1647
+                ),
1648
+                '#weight' => 0.0,
1649 1649
             ),
1650
-          ),
1651
-          '3' => array(
1650
+            ),
1651
+            '3' => array(
1652 1652
             '#weight' => 0.0,
1653 1653
             '#info' => array(
1654
-              'label' => 'PHP code: node content unchanged',
1655
-              'label callback' => FALSE,
1656
-              'module' => 'PHP',
1657
-              'eval input' => array(
1654
+                'label' => 'PHP code: node content unchanged',
1655
+                'label callback' => FALSE,
1656
+                'module' => 'PHP',
1657
+                'eval input' => array(
1658 1658
                 '0' => 'code',
1659
-              ),
1659
+                ),
1660 1660
             ),
1661 1661
             '#name' => 'rules_condition_custom_php',
1662 1662
             '#settings' => array(
1663
-              'code' => 'return $node->body == $node_unchanged->body;',
1664
-              'vars' => array(
1663
+                'code' => 'return $node->body == $node_unchanged->body;',
1664
+                'vars' => array(
1665 1665
                 '0' => 'node',
1666 1666
                 '1' => 'node_unchanged',
1667
-              ),
1668
-              '#eval input' => array(
1667
+                ),
1668
+                '#eval input' => array(
1669 1669
                 'token_rules_input_evaluator' => array(
1670
-                  'code' => array(
1670
+                    'code' => array(
1671 1671
                     '0' => ':global',
1672
-                  ),
1672
+                    ),
1673
+                ),
1673 1674
                 ),
1674
-              ),
1675 1675
             ),
1676 1676
             '#type' => 'condition',
1677
-          ),
1678
-          '4' => array(
1677
+            ),
1678
+            '4' => array(
1679 1679
             '#weight' => 0.0,
1680 1680
             '#info' => array(
1681
-              'label' => 'PHP code: node made sticky',
1682
-              'label callback' => FALSE,
1683
-              'module' => 'PHP',
1684
-              'eval input' => array(
1681
+                'label' => 'PHP code: node made sticky',
1682
+                'label callback' => FALSE,
1683
+                'module' => 'PHP',
1684
+                'eval input' => array(
1685 1685
                 '0' => 'code',
1686
-              ),
1686
+                ),
1687 1687
             ),
1688 1688
             '#name' => 'rules_condition_custom_php',
1689 1689
             '#type' => 'condition',
1690 1690
             '#settings' => array(
1691
-              'code' => 'return $node_unchanged->sticky == 0 && $node->sticky == 1;',
1692
-              'vars' => array(
1691
+                'code' => 'return $node_unchanged->sticky == 0 && $node->sticky == 1;',
1692
+                'vars' => array(
1693 1693
                 '0' => 'node',
1694 1694
                 '1' => 'node_unchanged',
1695
-              ),
1696
-              '#eval input' => array(
1695
+                ),
1696
+                '#eval input' => array(
1697 1697
                 'token_rules_input_evaluator' => array(
1698
-                  'code' => array(
1698
+                    'code' => array(
1699 1699
                     '0' => ':global',
1700
-                  ),
1700
+                    ),
1701 1701
                 ),
1702
-              ),
1702
+                ),
1703
+            ),
1703 1704
             ),
1704
-          ),
1705 1705
         ),
1706 1706
         '#actions' => array(
1707
-          '0' => array(
1707
+            '0' => array(
1708 1708
             '#info' => array(
1709
-              'label' => 'Notify moderators via email',
1710
-              'module' => 'BOINC core',
1711
-              'eval input' => array(
1709
+                'label' => 'Notify moderators via email',
1710
+                'module' => 'BOINC core',
1711
+                'eval input' => array(
1712 1712
                 '0' => 'subject',
1713 1713
                 '1' => 'message',
1714 1714
                 '2' => 'from',
1715
-              ),
1715
+                ),
1716 1716
             ),
1717 1717
             '#name' => 'boinccore_rules_action_mail_to_moderators',
1718 1718
             '#settings' => array(
1719
-              'from' => '',
1720
-              'subject' => 'Forum topic at [:global:site-name] marked sticky by moderator/admin',
1721
-              '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')); ?>",
1722
-              '#eval input' => array(
1719
+                'from' => '',
1720
+                'subject' => 'Forum topic at [:global:site-name] marked sticky by moderator/admin',
1721
+                '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')); ?>",
1722
+                '#eval input' => array(
1723 1723
                 'token_rules_input_evaluator' => array(
1724
-                  'subject' => array(
1724
+                    'subject' => array(
1725 1725
                     '0' => ':global',
1726
-                  ),
1727
-                  'message' => array(
1726
+                    ),
1727
+                    'message' => array(
1728 1728
                     '0' => 'node',
1729 1729
                     '1' => 'user',
1730 1730
                     '2' => ':global',
1731
-                  ),
1732
-                  'from' => array(
1731
+                    ),
1732
+                    'from' => array(
1733 1733
                     '0' => ':global',
1734
-                  ),
1734
+                    ),
1735 1735
                 ),
1736 1736
                 'rules_input_evaluator_php' => array(
1737
-                  'message' => array(
1737
+                    'message' => array(
1738 1738
                     '0' => 'node',
1739
-                  ),
1739
+                    ),
1740
+                ),
1740 1741
                 ),
1741
-              ),
1742 1742
             ),
1743 1743
             '#type' => 'action',
1744 1744
             '#weight' => 0.0,
1745
-          ),
1745
+            ),
1746 1746
         ),
1747 1747
         '#version' => 6003,
1748
-      ),
1749
-      'rules_forum_topic_marked_unsticky_by_moderator_admin' => array(
1748
+        ),
1749
+        'rules_forum_topic_marked_unsticky_by_moderator_admin' => array(
1750 1750
         '#type' => 'rule',
1751 1751
         '#set' => 'event_node_update',
1752 1752
         '#label' => 'Forum topic marked unsticky by moderator/admin',
1753 1753
         '#active' => 1,
1754 1754
         '#weight' => '0',
1755 1755
         '#categories' => array(
1756
-          '0' => 'boinc_standard',
1757
-          '1' => 'moderator notification',
1756
+            '0' => 'boinc_standard',
1757
+            '1' => 'moderator notification',
1758 1758
         ),
1759 1759
         '#status' => 'default',
1760 1760
         '#conditions' => array(
1761
-          '0' => array(
1761
+            '0' => array(
1762 1762
             '#type' => 'condition',
1763 1763
             '#settings' => array(
1764
-              'roles' => array(
1764
+                'roles' => array(
1765 1765
                 '0' => 3519698132,
1766 1766
                 '1' => 1271379760,
1767
-              ),
1768
-              'operation' => 'OR',
1769
-              '#argument map' => array(
1767
+                ),
1768
+                'operation' => 'OR',
1769
+                '#argument map' => array(
1770 1770
                 'user' => 'user',
1771
-              ),
1771
+                ),
1772 1772
             ),
1773 1773
             '#name' => 'rules_condition_user_hasrole',
1774 1774
             '#info' => array(
1775
-              'label' => 'User has role(s): administrator or moderator',
1776
-              'label callback' => FALSE,
1777
-              'arguments' => array(
1775
+                'label' => 'User has role(s): administrator or moderator',
1776
+                'label callback' => FALSE,
1777
+                'arguments' => array(
1778 1778
                 'user' => array(
1779
-                  'type' => 'user',
1780
-                  'label' => 'User',
1779
+                    'type' => 'user',
1780
+                    'label' => 'User',
1781
+                ),
1781 1782
                 ),
1782
-              ),
1783
-              'module' => 'User',
1783
+                'module' => 'User',
1784 1784
             ),
1785 1785
             '#weight' => 0.0,
1786
-          ),
1787
-          '1' => array(
1786
+            ),
1787
+            '1' => array(
1788 1788
             '#weight' => 0.0,
1789 1789
             '0' => array(
1790
-              '#weight' => 0.0,
1791
-              '#type' => 'condition',
1792
-              '#settings' => array(
1790
+                '#weight' => 0.0,
1791
+                '#type' => 'condition',
1792
+                '#settings' => array(
1793 1793
                 'type' => array(
1794
-                  'forum' => 'forum',
1794
+                    'forum' => 'forum',
1795 1795
                 ),
1796 1796
                 '#argument map' => array(
1797
-                  'node' => 'node',
1797
+                    'node' => 'node',
1798
+                ),
1798 1799
                 ),
1799
-              ),
1800
-              '#name' => 'rules_condition_content_is_type',
1801
-              '#info' => array(
1800
+                '#name' => 'rules_condition_content_is_type',
1801
+                '#info' => array(
1802 1802
                 'label' => 'Updated content is Forum topic',
1803 1803
                 'arguments' => array(
1804
-                  'node' => array(
1804
+                    'node' => array(
1805 1805
                     'type' => 'node',
1806 1806
                     'label' => 'Content',
1807
-                  ),
1807
+                    ),
1808 1808
                 ),
1809 1809
                 'module' => 'Node',
1810
-              ),
1810
+                ),
1811 1811
             ),
1812 1812
             '#type' => 'OR',
1813 1813
             '1' => array(
1814
-              '#type' => 'condition',
1815
-              '#settings' => array(
1814
+                '#type' => 'condition',
1815
+                '#settings' => array(
1816 1816
                 'type' => array(
1817
-                  'team_forum' => 'team_forum',
1817
+                    'team_forum' => 'team_forum',
1818 1818
                 ),
1819 1819
                 '#argument map' => array(
1820
-                  'node' => 'node',
1820
+                    'node' => 'node',
1821
+                ),
1821 1822
                 ),
1822
-              ),
1823
-              '#name' => 'rules_condition_content_is_type',
1824
-              '#info' => array(
1823
+                '#name' => 'rules_condition_content_is_type',
1824
+                '#info' => array(
1825 1825
                 'label' => 'Updated content is Team forum topic',
1826 1826
                 'arguments' => array(
1827
-                  'node' => array(
1827
+                    'node' => array(
1828 1828
                     'type' => 'node',
1829 1829
                     'label' => 'Content',
1830
-                  ),
1830
+                    ),
1831 1831
                 ),
1832 1832
                 'module' => 'Node',
1833
-              ),
1834
-              '#weight' => 0.0,
1833
+                ),
1834
+                '#weight' => 0.0,
1835
+            ),
1835 1836
             ),
1836
-          ),
1837
-          '3' => array(
1837
+            '3' => array(
1838 1838
             '#weight' => 0.0,
1839 1839
             '#info' => array(
1840
-              'label' => 'PHP code: node content unchanged',
1841
-              'label callback' => FALSE,
1842
-              'module' => 'PHP',
1843
-              'eval input' => array(
1840
+                'label' => 'PHP code: node content unchanged',
1841
+                'label callback' => FALSE,
1842
+                'module' => 'PHP',
1843
+                'eval input' => array(
1844 1844
                 '0' => 'code',
1845
-              ),
1845
+                ),
1846 1846
             ),
1847 1847
             '#name' => 'rules_condition_custom_php',
1848 1848
             '#settings' => array(
1849
-              'code' => 'return $node->body == $node_unchanged->body;',
1850
-              'vars' => array(
1849
+                'code' => 'return $node->body == $node_unchanged->body;',
1850
+                'vars' => array(
1851 1851
                 '0' => 'node',
1852 1852
                 '1' => 'node_unchanged',
1853
-              ),
1854
-              '#eval input' => array(
1853
+                ),
1854
+                '#eval input' => array(
1855 1855
                 'token_rules_input_evaluator' => array(
1856
-                  'code' => array(
1856
+                    'code' => array(
1857 1857
                     '0' => ':global',
1858
-                  ),
1858
+                    ),
1859
+                ),
1859 1860
                 ),
1860
-              ),
1861 1861
             ),
1862 1862
             '#type' => 'condition',
1863
-          ),
1864
-          '4' => array(
1863
+            ),
1864
+            '4' => array(
1865 1865
             '#weight' => 0.0,
1866 1866
             '#info' => array(
1867
-              'label' => 'PHP code: node made sticky',
1868
-              'label callback' => FALSE,
1869
-              'module' => 'PHP',
1870
-              'eval input' => array(
1867
+                'label' => 'PHP code: node made sticky',
1868
+                'label callback' => FALSE,
1869
+                'module' => 'PHP',
1870
+                'eval input' => array(
1871 1871
                 '0' => 'code',
1872
-              ),
1872
+                ),
1873 1873
             ),
1874 1874
             '#name' => 'rules_condition_custom_php',
1875 1875
             '#type' => 'condition',
1876 1876
             '#settings' => array(
1877
-              'code' => 'return $node_unchanged->sticky == 1 && $node->sticky == 0;',
1878
-              'vars' => array(
1877
+                'code' => 'return $node_unchanged->sticky == 1 && $node->sticky == 0;',
1878
+                'vars' => array(
1879 1879
                 '0' => 'node',
1880 1880
                 '1' => 'node_unchanged',
1881
-              ),
1882
-              '#eval input' => array(
1881
+                ),
1882
+                '#eval input' => array(
1883 1883
                 'token_rules_input_evaluator' => array(
1884
-                  'code' => array(
1884
+                    'code' => array(
1885 1885
                     '0' => ':global',
1886
-                  ),
1886
+                    ),
1887
+                ),
1887 1888
                 ),
1888
-              ),
1889 1889
             ),
1890
-          ),
1890
+            ),
1891 1891
         ),
1892 1892
         '#actions' => array(
1893
-          '0' => array(
1893
+            '0' => array(
1894 1894
             '#info' => array(
1895
-              'label' => 'Notify moderators via email',
1896
-              'module' => 'BOINC core',
1897
-              'eval input' => array(
1895
+                'label' => 'Notify moderators via email',
1896
+                'module' => 'BOINC core',
1897
+                'eval input' => array(
1898 1898
                 '0' => 'subject',
1899 1899
                 '1' => 'message',
1900 1900
                 '2' => 'from',
1901
-              ),
1901
+                ),
1902 1902
             ),
1903 1903
             '#name' => 'boinccore_rules_action_mail_to_moderators',
1904 1904
             '#settings' => array(
1905
-              'from' => '',
1906
-              'subject' => 'Forum topic at [:global:site-name] marked unsticky by moderator/admin',
1907
-              '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')); ?>",
1908
-              '#eval input' => array(
1905
+                'from' => '',
1906
+                'subject' => 'Forum topic at [:global:site-name] marked unsticky by moderator/admin',
1907
+                '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')); ?>",
1908
+                '#eval input' => array(
1909 1909
                 'token_rules_input_evaluator' => array(
1910
-                  'subject' => array(
1910
+                    'subject' => array(
1911 1911
                     '0' => ':global',
1912
-                  ),
1913
-                  'message' => array(
1912
+                    ),
1913
+                    'message' => array(
1914 1914
                     '0' => 'node',
1915 1915
                     '1' => 'user',
1916 1916
                     '2' => ':global',
1917
-                  ),
1918
-                  'from' => array(
1917
+                    ),
1918
+                    'from' => array(
1919 1919
                     '0' => ':global',
1920
-                  ),
1920
+                    ),
1921 1921
                 ),
1922 1922
                 'rules_input_evaluator_php' => array(
1923
-                  'message' => array(
1923
+                    'message' => array(
1924 1924
                     '0' => 'node',
1925
-                  ),
1925
+                    ),
1926
+                ),
1926 1927
                 ),
1927
-              ),
1928 1928
             ),
1929 1929
             '#type' => 'action',
1930 1930
             '#weight' => 0.0,
1931
-          ),
1931
+            ),
1932 1932
         ),
1933 1933
         '#version' => 6003,
1934
-      ),
1935
-      'rules_forum_topic_nenamed_title_by_moderator_or_admin' => array(
1934
+        ),
1935
+        'rules_forum_topic_nenamed_title_by_moderator_or_admin' => array(
1936 1936
         '#type' => 'rule',
1937 1937
         '#set' => 'event_node_update',
1938 1938
         '#label' => 'Forum topic renamed title by moderator or admin',
1939 1939
         '#active' => 1,
1940 1940
         '#weight' => '0',
1941 1941
         '#categories' => array(
1942
-          '0' => 'boinc_standard',
1943
-          '1' => 'moderator notification',
1942
+            '0' => 'boinc_standard',
1943
+            '1' => 'moderator notification',
1944 1944
         ),
1945 1945
         '#status' => 'default',
1946 1946
         '#conditions' => array(
1947
-          '0' => array(
1947
+            '0' => array(
1948 1948
             '#weight' => 0.0,
1949 1949
             '#type' => 'condition',
1950 1950
             '#settings' => array(
1951
-              'roles' => array(
1951
+                'roles' => array(
1952 1952
                 '0' => 3519698132,
1953 1953
                 '1' => 1271379760,
1954
-              ),
1955
-              'operation' => 'OR',
1956
-              '#argument map' => array(
1954
+                ),
1955
+                'operation' => 'OR',
1956
+                '#argument map' => array(
1957 1957
                 'user' => 'user',
1958
-              ),
1958
+                ),
1959 1959
             ),
1960 1960
             '#name' => 'rules_condition_user_hasrole',
1961 1961
             '#info' => array(
1962
-              'label' => 'User has role(s): administrator or moderator',
1963
-              'label callback' => FALSE,
1964
-              'arguments' => array(
1962
+                'label' => 'User has role(s): administrator or moderator',
1963
+                'label callback' => FALSE,
1964
+                'arguments' => array(
1965 1965
                 'user' => array(
1966
-                  'type' => 'user',
1967
-                  'label' => 'User',
1966
+                    'type' => 'user',
1967
+                    'label' => 'User',
1968
+                ),
1968 1969
                 ),
1969
-              ),
1970
-              'module' => 'User',
1970
+                'module' => 'User',
1971 1971
             ),
1972
-          ),
1973
-          '1' => array(
1972
+            ),
1973
+            '1' => array(
1974 1974
             '#weight' => 0.0,
1975 1975
             '0' => array(
1976
-              '#weight' => 0.0,
1977
-              '#info' => array(
1976
+                '#weight' => 0.0,
1977
+                '#info' => array(
1978 1978
                 'label' => 'Updated content is Forum topic',
1979 1979
                 'arguments' => array(
1980
-                  'node' => array(
1980
+                    'node' => array(
1981 1981
                     'type' => 'node',
1982 1982
                     'label' => 'Content',
1983
-                  ),
1983
+                    ),
1984 1984
                 ),
1985 1985
                 'module' => 'Node',
1986
-              ),
1987
-              '#name' => 'rules_condition_content_is_type',
1988
-              '#settings' => array(
1986
+                ),
1987
+                '#name' => 'rules_condition_content_is_type',
1988
+                '#settings' => array(
1989 1989
                 'type' => array(
1990
-                  'forum' => 'forum',
1990
+                    'forum' => 'forum',
1991 1991
                 ),
1992 1992
                 '#argument map' => array(
1993
-                  'node' => 'node',
1993
+                    'node' => 'node',
1994
+                ),
1994 1995
                 ),
1995
-              ),
1996
-              '#type' => 'condition',
1996
+                '#type' => 'condition',
1997 1997
             ),
1998 1998
             '#type' => 'OR',
1999 1999
             '1' => array(
2000
-              '#type' => 'condition',
2001
-              '#settings' => array(
2000
+                '#type' => 'condition',
2001
+                '#settings' => array(
2002 2002
                 'type' => array(
2003
-                  'team_forum' => 'team_forum',
2003
+                    'team_forum' => 'team_forum',
2004 2004
                 ),
2005 2005
                 '#argument map' => array(
2006
-                  'node' => 'node',
2006
+                    'node' => 'node',
2007
+                ),
2007 2008
                 ),
2008
-              ),
2009
-              '#name' => 'rules_condition_content_is_type',
2010
-              '#info' => array(
2009
+                '#name' => 'rules_condition_content_is_type',
2010
+                '#info' => array(
2011 2011
                 'label' => 'Updated content is Team forum topic',
2012 2012
                 'arguments' => array(
2013
-                  'node' => array(
2013
+                    'node' => array(
2014 2014
                     'type' => 'node',
2015 2015
                     'label' => 'Content',
2016
-                  ),
2016
+                    ),
2017 2017
                 ),
2018 2018
                 'module' => 'Node',
2019
-              ),
2020
-              '#weight' => 0.0,
2019
+                ),
2020
+                '#weight' => 0.0,
2021
+            ),
2021 2022
             ),
2022
-          ),
2023
-          '2' => array(
2023
+            '2' => array(
2024 2024
             '#weight' => 0.0,
2025 2025
             '#info' => array(
2026
-              'label' => 'PHP code: title changed',
2027
-              'label callback' => FALSE,
2028
-              'module' => 'PHP',
2029
-              'eval input' => array(
2026
+                'label' => 'PHP code: title changed',
2027
+                'label callback' => FALSE,
2028
+                'module' => 'PHP',
2029
+                'eval input' => array(
2030 2030
                 '0' => 'code',
2031
-              ),
2031
+                ),
2032 2032
             ),
2033 2033
             '#name' => 'rules_condition_custom_php',
2034 2034
             '#settings' => array(
2035
-              'code' => 'return ($node->title != $node_unchanged->title);',
2036
-              'vars' => array(
2035
+                'code' => 'return ($node->title != $node_unchanged->title);',
2036
+                'vars' => array(
2037 2037
                 '0' => 'node',
2038 2038
                 '1' => 'node_unchanged',
2039
-              ),
2040
-              '#eval input' => array(
2039
+                ),
2040
+                '#eval input' => array(
2041 2041
                 'token_rules_input_evaluator' => array(
2042
-                  'code' => array(
2042
+                    'code' => array(
2043 2043
                     '0' => ':global',
2044
-                  ),
2044
+                    ),
2045
+                ),
2045 2046
                 ),
2046
-              ),
2047 2047
             ),
2048 2048
             '#type' => 'condition',
2049
-          ),
2049
+            ),
2050 2050
         ),
2051 2051
         '#actions' => array(
2052
-          '0' => array(
2052
+            '0' => array(
2053 2053
             '#type' => 'action',
2054 2054
             '#settings' => array(
2055
-              'from' => '',
2056
-              'subject' => 'Forum topic at [:global:site-name] renamed by moderator/admin',
2057
-              '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')); ?>",
2058
-              '#eval input' => array(
2055
+                'from' => '',
2056
+                'subject' => 'Forum topic at [:global:site-name] renamed by moderator/admin',
2057
+                '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')); ?>",
2058
+                '#eval input' => array(
2059 2059
                 'token_rules_input_evaluator' => array(
2060
-                  'subject' => array(
2060
+                    'subject' => array(
2061 2061
                     '0' => ':global',
2062
-                  ),
2063
-                  'message' => array(
2062
+                    ),
2063
+                    'message' => array(
2064 2064
                     '0' => 'node',
2065 2065
                     '1' => 'user',
2066 2066
                     '2' => ':global',
2067
-                  ),
2068
-                  'from' => array(
2067
+                    ),
2068
+                    'from' => array(
2069 2069
                     '0' => ':global',
2070
-                  ),
2070
+                    ),
2071 2071
                 ),
2072 2072
                 'rules_input_evaluator_php' => array(
2073
-                  'message' => array(
2073
+                    'message' => array(
2074 2074
                     '0' => 'node',
2075
-                  ),
2075
+                    ),
2076
+                ),
2076 2077
                 ),
2077
-              ),
2078 2078
             ),
2079 2079
             '#name' => 'boinccore_rules_action_mail_to_moderators',
2080 2080
             '#info' => array(
2081
-              'label' => 'Notify moderators via email',
2082
-              'module' => 'BOINC core',
2083
-              'eval input' => array(
2081
+                'label' => 'Notify moderators via email',
2082
+                'module' => 'BOINC core',
2083
+                'eval input' => array(
2084 2084
                 '0' => 'subject',
2085 2085
                 '1' => 'message',
2086 2086
                 '2' => 'from',
2087
-              ),
2087
+                ),
2088 2088
             ),
2089 2089
             '#weight' => 0.0,
2090
-          ),
2090
+            ),
2091 2091
         ),
2092 2092
         '#version' => 6003,
2093
-      ),
2094
-      'rules_forum_topic_unlocked_by_moderator_admin' => array(
2093
+        ),
2094
+        'rules_forum_topic_unlocked_by_moderator_admin' => array(
2095 2095
         '#type' => 'rule',
2096 2096
         '#set' => 'event_node_update',
2097 2097
         '#label' => 'Forum topic unlocked by moderator/admin',
2098 2098
         '#active' => 1,
2099 2099
         '#weight' => '0',
2100 2100
         '#categories' => array(
2101
-          '0' => 'boinc_standard',
2102
-          '1' => 'moderator notification',
2101
+            '0' => 'boinc_standard',
2102
+            '1' => 'moderator notification',
2103 2103
         ),
2104 2104
         '#status' => 'default',
2105 2105
         '#conditions' => array(
2106
-          '0' => array(
2106
+            '0' => array(
2107 2107
             '#type' => 'condition',
2108 2108
             '#settings' => array(
2109
-              'roles' => array(
2109
+                'roles' => array(
2110 2110
                 '0' => 3519698132,
2111 2111
                 '1' => 1271379760,
2112
-              ),
2113
-              'operation' => 'OR',
2114
-              '#argument map' => array(
2112
+                ),
2113
+                'operation' => 'OR',
2114
+                '#argument map' => array(
2115 2115
                 'user' => 'user',
2116
-              ),
2116
+                ),
2117 2117
             ),
2118 2118
             '#name' => 'rules_condition_user_hasrole',
2119 2119
             '#info' => array(
2120
-              'label' => 'User has role(s): administrator or moderator',
2121
-              'label callback' => FALSE,
2122
-              'arguments' => array(
2120
+                'label' => 'User has role(s): administrator or moderator',
2121
+                'label callback' => FALSE,
2122
+                'arguments' => array(
2123 2123
                 'user' => array(
2124
-                  'type' => 'user',
2125
-                  'label' => 'User',
2124
+                    'type' => 'user',
2125
+                    'label' => 'User',
2126
+                ),
2126 2127
                 ),
2127
-              ),
2128
-              'module' => 'User',
2128
+                'module' => 'User',
2129 2129
             ),
2130 2130
             '#weight' => 0.0,
2131
-          ),
2132
-          '1' => array(
2131
+            ),
2132
+            '1' => array(
2133 2133
             '#weight' => 0.0,
2134 2134
             '0' => array(
2135
-              '#weight' => 0.0,
2136
-              '#type' => 'condition',
2137
-              '#settings' => array(
2135
+                '#weight' => 0.0,
2136
+                '#type' => 'condition',
2137
+                '#settings' => array(
2138 2138
                 'type' => array(
2139
-                  'forum' => 'forum',
2139
+                    'forum' => 'forum',
2140 2140
                 ),
2141 2141
                 '#argument map' => array(
2142
-                  'node' => 'node',
2142
+                    'node' => 'node',
2143
+                ),
2143 2144
                 ),
2144
-              ),
2145
-              '#name' => 'rules_condition_content_is_type',
2146
-              '#info' => array(
2145
+                '#name' => 'rules_condition_content_is_type',
2146
+                '#info' => array(
2147 2147
                 'label' => 'Updated content is Forum topic',
2148 2148
                 'arguments' => array(
2149
-                  'node' => array(
2149
+                    'node' => array(
2150 2150
                     'type' => 'node',
2151 2151
                     'label' => 'Content',
2152
-                  ),
2152
+                    ),
2153 2153
                 ),
2154 2154
                 'module' => 'Node',
2155
-              ),
2155
+                ),
2156 2156
             ),
2157 2157
             '#type' => 'OR',
2158 2158
             '1' => array(
2159
-              '#type' => 'condition',
2160
-              '#settings' => array(
2159
+                '#type' => 'condition',
2160
+                '#settings' => array(
2161 2161
                 'type' => array(
2162
-                  'team_forum' => 'team_forum',
2162
+                    'team_forum' => 'team_forum',
2163 2163
                 ),
2164 2164
                 '#argument map' => array(
2165
-                  'node' => 'node',
2165
+                    'node' => 'node',
2166
+                ),
2166 2167
                 ),
2167
-              ),
2168
-              '#name' => 'rules_condition_content_is_type',
2169
-              '#info' => array(
2168
+                '#name' => 'rules_condition_content_is_type',
2169
+                '#info' => array(
2170 2170
                 'label' => 'Updated content is Team forum topic',
2171 2171
                 'arguments' => array(
2172
-                  'node' => array(
2172
+                    'node' => array(
2173 2173
                     'type' => 'node',
2174 2174
                     'label' => 'Content',
2175
-                  ),
2175
+                    ),
2176 2176
                 ),
2177 2177
                 'module' => 'Node',
2178
-              ),
2179
-              '#weight' => 0.0,
2178
+                ),
2179
+                '#weight' => 0.0,
2180 2180
             ),
2181
-          ),
2182
-          '3' => array(
2181
+            ),
2182
+            '3' => array(
2183 2183
             '#weight' => 0.0,
2184 2184
             '#info' => array(
2185
-              'label' => 'PHP code: node content unchanged',
2186
-              'label callback' => FALSE,
2187
-              'module' => 'PHP',
2188
-              'eval input' => array(
2185
+                'label' => 'PHP code: node content unchanged',
2186
+                'label callback' => FALSE,
2187
+                'module' => 'PHP',
2188
+                'eval input' => array(
2189 2189
                 '0' => 'code',
2190
-              ),
2190
+                ),
2191 2191
             ),
2192 2192
             '#name' => 'rules_condition_custom_php',
2193 2193
             '#settings' => array(
2194
-              'code' => 'return $node->body == $node_unchanged->body;',
2195
-              'vars' => array(
2194
+                'code' => 'return $node->body == $node_unchanged->body;',
2195
+                'vars' => array(
2196 2196
                 '0' => 'node',
2197 2197
                 '1' => 'node_unchanged',
2198
-              ),
2199
-              '#eval input' => array(
2198
+                ),
2199
+                '#eval input' => array(
2200 2200
                 'token_rules_input_evaluator' => array(
2201
-                  'code' => array(
2201
+                    'code' => array(
2202 2202
                     '0' => ':global',
2203
-                  ),
2203
+                    ),
2204
+                ),
2204 2205
                 ),
2205
-              ),
2206 2206
             ),
2207 2207
             '#type' => 'condition',
2208
-          ),
2209
-          '4' => array(
2208
+            ),
2209
+            '4' => array(
2210 2210
             '#weight' => 0.0,
2211 2211
             '#info' => array(
2212
-              'label' => 'PHP code: node unlocked',
2213
-              'label callback' => FALSE,
2214
-              'module' => 'PHP',
2215
-              'eval input' => array(
2212
+                'label' => 'PHP code: node unlocked',
2213
+                'label callback' => FALSE,
2214
+                'module' => 'PHP',
2215
+                'eval input' => array(
2216 2216
                 '0' => 'code',
2217
-              ),
2217
+                ),
2218 2218
             ),
2219 2219
             '#name' => 'rules_condition_custom_php',
2220 2220
             '#type' => 'condition',
2221 2221
             '#settings' => array(
2222
-              'code' => 'return $node_unchanged->comment == 1 && $node->comment == 2;',
2223
-              'vars' => array(
2222
+                'code' => 'return $node_unchanged->comment == 1 && $node->comment == 2;',
2223
+                'vars' => array(
2224 2224
                 '0' => 'node',
2225 2225
                 '1' => 'node_unchanged',
2226
-              ),
2227
-              '#eval input' => array(
2226
+                ),
2227
+                '#eval input' => array(
2228 2228
                 'token_rules_input_evaluator' => array(
2229
-                  'code' => array(
2229
+                    'code' => array(
2230 2230
                     '0' => ':global',
2231
-                  ),
2231
+                    ),
2232 2232
                 ),
2233
-              ),
2233
+                ),
2234
+            ),
2234 2235
             ),
2235
-          ),
2236 2236
         ),
2237 2237
         '#actions' => array(
2238
-          '0' => array(
2238
+            '0' => array(
2239 2239
             '#info' => array(
2240
-              'label' => 'Notify moderators via email',
2241
-              'module' => 'BOINC core',
2242
-              'eval input' => array(
2240
+                'label' => 'Notify moderators via email',
2241
+                'module' => 'BOINC core',
2242
+                'eval input' => array(
2243 2243
                 '0' => 'subject',
2244 2244
                 '1' => 'message',
2245 2245
                 '2' => 'from',
2246
-              ),
2246
+                ),
2247 2247
             ),
2248 2248
             '#name' => 'boinccore_rules_action_mail_to_moderators',
2249 2249
             '#settings' => array(
2250
-              'from' => '',
2251
-              'subject' => 'Forum topic at [:global:site-name] unlocked by moderator/admin',
2252
-              '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')); ?>",
2253
-              '#eval input' => array(
2250
+                'from' => '',
2251
+                'subject' => 'Forum topic at [:global:site-name] unlocked by moderator/admin',
2252
+                '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')); ?>",
2253
+                '#eval input' => array(
2254 2254
                 'token_rules_input_evaluator' => array(
2255
-                  'subject' => array(
2255
+                    'subject' => array(
2256 2256
                     '0' => ':global',
2257
-                  ),
2258
-                  'message' => array(
2257
+                    ),
2258
+                    'message' => array(
2259 2259
                     '0' => 'node',
2260 2260
                     '1' => 'user',
2261 2261
                     '2' => ':global',
2262
-                  ),
2263
-                  'from' => array(
2262
+                    ),
2263
+                    'from' => array(
2264 2264
                     '0' => ':global',
2265
-                  ),
2265
+                    ),
2266 2266
                 ),
2267 2267
                 'rules_input_evaluator_php' => array(
2268
-                  'message' => array(
2268
+                    'message' => array(
2269 2269
                     '0' => 'node',
2270
-                  ),
2270
+                    ),
2271
+                ),
2271 2272
                 ),
2272
-              ),
2273 2273
             ),
2274 2274
             '#type' => 'action',
2275 2275
             '#weight' => 0.0,
2276
-          ),
2276
+            ),
2277 2277
         ),
2278 2278
         '#version' => 6003,
2279
-      ),
2280
-      'rules_offensive_comment_reported' => array(
2279
+        ),
2280
+        'rules_offensive_comment_reported' => array(
2281 2281
         '#type' => 'rule',
2282 2282
         '#set' => 'event_flag_flagged_abuse_comment',
2283 2283
         '#label' => 'Offensive comment reported',
2284 2284
         '#active' => 1,
2285 2285
         '#weight' => '0',
2286 2286
         '#categories' => array(
2287
-          '0' => 'moderator notification',
2288
-          '1' => 'boinc_standard',
2287
+            '0' => 'moderator notification',
2288
+            '1' => 'boinc_standard',
2289 2289
         ),
2290 2290
         '#status' => 'default',
2291 2291
         '#conditions' => array(),
2292 2292
         '#actions' => array(
2293
-          '1' => array(
2293
+            '1' => array(
2294 2294
             '#info' => array(
2295
-              'label' => 'Notify moderators via email',
2296
-              'module' => 'BOINC core',
2297
-              'eval input' => array(
2295
+                'label' => 'Notify moderators via email',
2296
+                'module' => 'BOINC core',
2297
+                'eval input' => array(
2298 2298
                 '0' => 'subject',
2299 2299
                 '1' => 'message',
2300 2300
                 '2' => 'from',
2301
-              ),
2301
+                ),
2302 2302
             ),
2303 2303
             '#name' => 'boinccore_rules_action_mail_to_moderators',
2304 2304
             '#settings' => array(
2305
-              'from' => '',
2306
-              'subject' => 'Report of offensive [node:type] comment at [:global:site-name]',
2307
-              '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]",
2308
-              '#eval input' => array(
2305
+                'from' => '',
2306
+                'subject' => 'Report of offensive [node:type] comment at [:global:site-name]',
2307
+                '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]",
2308
+                '#eval input' => array(
2309 2309
                 'token_rules_input_evaluator' => array(
2310
-                  'subject' => array(
2310
+                    'subject' => array(
2311 2311
                     '0' => 'node',
2312 2312
                     '1' => ':global',
2313
-                  ),
2314
-                  'message' => array(
2313
+                    ),
2314
+                    'message' => array(
2315 2315
                     '0' => 'flagging_user',
2316 2316
                     '1' => 'comment',
2317 2317
                     '2' => 'node',
2318 2318
                     '3' => ':global',
2319
-                  ),
2320
-                  'from' => array(
2319
+                    ),
2320
+                    'from' => array(
2321 2321
                     '0' => ':global',
2322
-                  ),
2322
+                    ),
2323 2323
                 ),
2324 2324
                 'rules_input_evaluator_php' => array(
2325
-                  'message' => array(),
2325
+                    'message' => array(),
2326
+                ),
2326 2327
                 ),
2327
-              ),
2328 2328
             ),
2329 2329
             '#type' => 'action',
2330 2330
             '#weight' => 0.0,
2331
-          ),
2331
+            ),
2332 2332
         ),
2333 2333
         '#version' => 6003,
2334
-      ),
2335
-      'rules_offensive_content_reported' => array(
2334
+        ),
2335
+        'rules_offensive_content_reported' => array(
2336 2336
         '#type' => 'rule',
2337 2337
         '#set' => 'event_flag_flagged_abuse_node',
2338 2338
         '#label' => 'Offensive content reported',
2339 2339
         '#active' => 1,
2340 2340
         '#weight' => '0',
2341 2341
         '#categories' => array(
2342
-          '0' => 'moderator notification',
2343
-          'boinc_standard' => 'boinc_standard',
2342
+            '0' => 'moderator notification',
2343
+            'boinc_standard' => 'boinc_standard',
2344 2344
         ),
2345 2345
         '#status' => 'default',
2346 2346
         '#conditions' => array(),
2347 2347
         '#actions' => array(
2348
-          '1' => array(
2348
+            '1' => array(
2349 2349
             '#type' => 'action',
2350 2350
             '#settings' => array(
2351
-              'from' => '',
2352
-              'subject' => 'Report of offensive [node:type] content at [:global:site-name]',
2353
-              '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]",
2354
-              '#eval input' => array(
2351
+                'from' => '',
2352
+                'subject' => 'Report of offensive [node:type] content at [:global:site-name]',
2353
+                '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]",
2354
+                '#eval input' => array(
2355 2355
                 'token_rules_input_evaluator' => array(
2356
-                  'subject' => array(
2356
+                    'subject' => array(
2357 2357
                     '0' => 'node',
2358 2358
                     '1' => ':global',
2359
-                  ),
2360
-                  'message' => array(
2359
+                    ),
2360
+                    'message' => array(
2361 2361
                     '0' => 'flagging_user',
2362 2362
                     '1' => 'node',
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_offensive_user_reported' => array(
2390
+        ),
2391
+        'rules_offensive_user_reported' => array(
2392 2392
         '#type' => 'rule',
2393 2393
         '#set' => 'event_flag_flagged_abuse_user',
2394 2394
         '#label' => 'Offensive user reported',
2395 2395
         '#active' => 1,
2396 2396
         '#weight' => '0',
2397 2397
         '#categories' => array(
2398
-          '0' => 'moderator notification',
2399
-          'boinc_standard' => 'boinc_standard',
2398
+            '0' => 'moderator notification',
2399
+            'boinc_standard' => 'boinc_standard',
2400 2400
         ),
2401 2401
         '#status' => 'default',
2402 2402
         '#conditions' => array(),
2403 2403
         '#actions' => array(
2404
-          '1' => array(
2404
+            '1' => array(
2405 2405
             '#type' => 'action',
2406 2406
             '#settings' => array(
2407
-              'from' => '',
2408
-              'subject' => 'Report of offensive user at [:global:site-name]',
2409
-              '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]",
2410
-              '#eval input' => array(
2407
+                'from' => '',
2408
+                'subject' => 'Report of offensive user at [:global:site-name]',
2409
+                '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]",
2410
+                '#eval input' => array(
2411 2411
                 'token_rules_input_evaluator' => array(
2412
-                  'subject' => array(
2412
+                    'subject' => array(
2413 2413
                     '0' => ':global',
2414
-                  ),
2415
-                  'message' => array(
2414
+                    ),
2415
+                    'message' => array(
2416 2416
                     '0' => 'flagging_user',
2417 2417
                     '1' => 'account',
2418 2418
                     '2' => ':global',
2419
-                  ),
2420
-                  'from' => array(
2419
+                    ),
2420
+                    'from' => array(
2421 2421
                     '0' => ':global',
2422
-                  ),
2422
+                    ),
2423 2423
                 ),
2424 2424
                 'rules_input_evaluator_php' => array(
2425
-                  'message' => array(),
2425
+                    'message' => array(),
2426
+                ),
2426 2427
                 ),
2427
-              ),
2428 2428
             ),
2429 2429
             '#name' => 'boinccore_rules_action_mail_to_moderators',
2430 2430
             '#info' => array(
2431
-              'label' => 'Notify moderators via email',
2432
-              'module' => 'BOINC core',
2433
-              'eval input' => array(
2431
+                'label' => 'Notify moderators via email',
2432
+                'module' => 'BOINC core',
2433
+                'eval input' => array(
2434 2434
                 '0' => 'subject',
2435 2435
                 '1' => 'message',
2436 2436
                 '2' => 'from',
2437
-              ),
2437
+                ),
2438 2438
             ),
2439 2439
             '#weight' => 0.0,
2440
-          ),
2440
+            ),
2441 2441
         ),
2442 2442
         '#version' => 6003,
2443
-      ),
2443
+        ),
2444 2444
     ),
2445
-  );
2445
+    );
2446 2446
 }
2447 2447
 
2448 2448
 /**
2449 2449
  * Implementation of hook_views_api().
2450 2450
  */
2451 2451
 function boinc_standard_views_api() {
2452
-  return array(
2452
+    return array(
2453 2453
     'api' => '2',
2454
-  );
2454
+    );
2455 2455
 }
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.