@@ -4,42 +4,42 @@ |
||
4 | 4 | * Implementation of hook_user_default_roles(). |
5 | 5 | */ |
6 | 6 | function boinc_standard_user_default_roles() { |
7 | - $roles = array(); |
|
7 | + $roles = array(); |
|
8 | 8 | |
9 | - // Exported role: administrator |
|
10 | - $roles['administrator'] = array( |
|
9 | + // Exported role: administrator |
|
10 | + $roles['administrator'] = array( |
|
11 | 11 | 'name' => 'administrator', |
12 | - ); |
|
12 | + ); |
|
13 | 13 | |
14 | - // Exported role: anonymous user |
|
15 | - $roles['anonymous user'] = array( |
|
14 | + // Exported role: anonymous user |
|
15 | + $roles['anonymous user'] = array( |
|
16 | 16 | 'name' => 'anonymous user', |
17 | - ); |
|
17 | + ); |
|
18 | 18 | |
19 | - // Exported role: authenticated user |
|
20 | - $roles['authenticated user'] = array( |
|
19 | + // Exported role: authenticated user |
|
20 | + $roles['authenticated user'] = array( |
|
21 | 21 | 'name' => 'authenticated user', |
22 | - ); |
|
22 | + ); |
|
23 | 23 | |
24 | - // Exported role: community member |
|
25 | - $roles['community member'] = array( |
|
24 | + // Exported role: community member |
|
25 | + $roles['community member'] = array( |
|
26 | 26 | 'name' => 'community member', |
27 | - ); |
|
27 | + ); |
|
28 | 28 | |
29 | - // Exported role: content editor |
|
30 | - $roles['content editor'] = array( |
|
29 | + // Exported role: content editor |
|
30 | + $roles['content editor'] = array( |
|
31 | 31 | 'name' => 'content editor', |
32 | - ); |
|
32 | + ); |
|
33 | 33 | |
34 | - // Exported role: moderator |
|
35 | - $roles['moderator'] = array( |
|
34 | + // Exported role: moderator |
|
35 | + $roles['moderator'] = array( |
|
36 | 36 | 'name' => 'moderator', |
37 | - ); |
|
37 | + ); |
|
38 | 38 | |
39 | - // Exported role: verified contributor |
|
40 | - $roles['verified contributor'] = array( |
|
39 | + // Exported role: verified contributor |
|
40 | + $roles['verified contributor'] = array( |
|
41 | 41 | 'name' => 'verified contributor', |
42 | - ); |
|
42 | + ); |
|
43 | 43 | |
44 | - return $roles; |
|
44 | + return $roles; |
|
45 | 45 | } |
@@ -4,20 +4,20 @@ discard block |
||
4 | 4 | * Implementation of hook_ckeditor_profile_defaults(). |
5 | 5 | */ |
6 | 6 | function boinc_standard_ckeditor_profile_defaults() { |
7 | - $data = array( |
|
7 | + $data = array( |
|
8 | 8 | 'Advanced' => array( |
9 | - 'name' => 'Advanced', |
|
10 | - 'settings' => array( |
|
9 | + 'name' => 'Advanced', |
|
10 | + 'settings' => array( |
|
11 | 11 | 'allow_user_conf' => 'f', |
12 | 12 | 'filters' => array( |
13 | - 'boinctranslate/0' => 0, |
|
14 | - 'htmlpurifier/0' => 0, |
|
15 | - 'htmlpurifier/1' => 0, |
|
16 | - 'filter/3' => 0, |
|
17 | - 'filter/0' => 1, |
|
18 | - 'image_caption_filter/0' => 0, |
|
19 | - 'input_formats/0' => 0, |
|
20 | - 'pathologic/0' => 0, |
|
13 | + 'boinctranslate/0' => 0, |
|
14 | + 'htmlpurifier/0' => 0, |
|
15 | + 'htmlpurifier/1' => 0, |
|
16 | + 'filter/3' => 0, |
|
17 | + 'filter/0' => 1, |
|
18 | + 'image_caption_filter/0' => 0, |
|
19 | + 'input_formats/0' => 0, |
|
20 | + 'pathologic/0' => 0, |
|
21 | 21 | ), |
22 | 22 | 'ss' => '2', |
23 | 23 | 'min_rows' => '1', |
@@ -56,14 +56,14 @@ discard block |
||
56 | 56 | 'font_format' => 'p;div;pre;address;h1;h2;h3;h4;h5;h6', |
57 | 57 | 'custom_formatting' => 'f', |
58 | 58 | 'formatting' => array( |
59 | - 'custom_formatting_options' => array( |
|
59 | + 'custom_formatting_options' => array( |
|
60 | 60 | 'indent' => 'indent', |
61 | 61 | 'breakBeforeOpen' => 'breakBeforeOpen', |
62 | 62 | 'breakAfterOpen' => 'breakAfterOpen', |
63 | 63 | 'breakAfterClose' => 'breakAfterClose', |
64 | 64 | 'breakBeforeClose' => 0, |
65 | 65 | 'pre_indent' => 0, |
66 | - ), |
|
66 | + ), |
|
67 | 67 | ), |
68 | 68 | 'css_mode' => 'theme', |
69 | 69 | 'css_path' => '', |
@@ -80,35 +80,35 @@ discard block |
||
80 | 80 | 'theme_config_js' => 'f', |
81 | 81 | 'js_conf' => '', |
82 | 82 | 'loadPlugins' => array( |
83 | - 'drupalbreaks' => array( |
|
83 | + 'drupalbreaks' => array( |
|
84 | 84 | 'name' => 'drupalbreaks', |
85 | 85 | 'desc' => 'Plugin for inserting Drupal teaser and page breaks.', |
86 | 86 | 'path' => '%base_path%%plugin_dir%drupalbreaks/', |
87 | 87 | 'buttons' => array( |
88 | - 'DrupalBreak' => array( |
|
88 | + 'DrupalBreak' => array( |
|
89 | 89 | 'label' => 'DrupalBreak', |
90 | 90 | 'icon' => 'images/drupalbreak.png', |
91 | - ), |
|
91 | + ), |
|
92 | 92 | ), |
93 | 93 | 'default' => 't', |
94 | - ), |
|
94 | + ), |
|
95 | 95 | ), |
96 | 96 | 'excl_regex' => '', |
97 | 97 | 'simple_incl_regex' => '', |
98 | - ), |
|
99 | - 'roles' => array(), |
|
98 | + ), |
|
99 | + 'roles' => array(), |
|
100 | 100 | ), |
101 | 101 | 'CKEditor Global Profile' => array( |
102 | - 'name' => 'CKEditor Global Profile', |
|
103 | - 'settings' => array( |
|
102 | + 'name' => 'CKEditor Global Profile', |
|
103 | + 'settings' => array( |
|
104 | 104 | 'rank' => array( |
105 | - '0' => '3519698132', |
|
106 | - '1' => '2938987599', |
|
107 | - '2' => '1271379760', |
|
108 | - '3' => '1110965548', |
|
109 | - '4' => '933038561', |
|
110 | - '5' => '2', |
|
111 | - '6' => '1', |
|
105 | + '0' => '3519698132', |
|
106 | + '1' => '2938987599', |
|
107 | + '2' => '1271379760', |
|
108 | + '3' => '1110965548', |
|
109 | + '4' => '933038561', |
|
110 | + '5' => '2', |
|
111 | + '6' => '1', |
|
112 | 112 | ), |
113 | 113 | 'excl_mode' => '0', |
114 | 114 | 'excl' => 'admin/user/settings.edit-user-mail-* |
@@ -159,22 +159,22 @@ discard block |
||
159 | 159 | 'loadPlugins' => array(), |
160 | 160 | 'excl_regex' => '#(?:^.*:.*@admin/user/settings\\.edit\\-user\\-mail\\-.*$)|(?:^.*:.*@.*\\.edit\\-pages$)|(?:^.*:.*@.*\\.edit\\-pathauto\\-ignore\\-words$)|(?:^.*:.*@.*\\.edit\\-recipients$)|(?:^.*:.*@.*\\.edit\\-reply$)|(?:^.*:.*@.*\\.edit\\-description$)|(?:^.*:.*@.*\\.edit\\-synonyms$)|(?:^.*:.*@.*\\.edit\\-img\\-assist\\-textareas$)|(?:^.*:.*@.*\\.edit\\-img\\-assist\\-paths$)|(?:^.*:.*@.*\\.edit\\-nodewords\\-description$)|(?:^.*:.*@.*\\.edit\\-nodewords\\-description\\-value$)|(?:^.*:.*@admin/content/nodewords/global.*\\..*$)|(?:^.*:.*@.*\\.edit\\-relatedlinks\\-fieldset\\-relatedlinks$)|(?:^.*:.*@.*\\.edit\\-allowed\\-values\\-php$)|(?:^.*:.*@.*\\.edit\\-allowed\\-values$)|(?:^.*:.*@.*\\.edit\\-update\\-notify\\-emails$)|(?:^.*:.*@.*\\.edit\\-googleanalytics\\-.*$)|(?:^.*:.*@.*\\.edit\\-piwik\\-.*$)|(?:^.*:.*@.*\\.edit\\-feedburner\\-useragents$)|(?:^.*:.*@.*\\.edit\\-webform\\-.*$)|(?:^.*:webform@.*\\.edit\\-extra\\-items$)|(?:^.*:.*@admin/.*/logintoboggan\\..*$)|(?:^.*:.*@admin/settings/actions/configure/.*\\..*$)|(?:^.*:.*@.*\\.edit\\-target$)|(?:^.*:.*@.*\\.edit\\-wysiwyg\\-filter\\-.*$)|(?:^.*:.*@admin/build/views.*\\..*$)#', |
161 | 161 | 'simple_incl_regex' => '#(?:^.*:.*@.*\\.edit\\-signature$)|(?:^.*:.*@admin/settings/site\\-information\\..*$)|(?:^.*:.*@admin/settings/site\\-maintenance\\..*$)|(?:^.*:.*@.*\\.edit\\-page\\-help$)|(?:^.*:.*@.*\\.edit\\-user\\-registration\\-help$)|(?:^.*:.*@.*\\.edit\\-user\\-picture\\-guidelines$)#', |
162 | - ), |
|
163 | - 'roles' => array(), |
|
162 | + ), |
|
163 | + 'roles' => array(), |
|
164 | 164 | ), |
165 | 165 | 'Default' => array( |
166 | - 'name' => 'Default', |
|
167 | - 'settings' => array( |
|
166 | + 'name' => 'Default', |
|
167 | + 'settings' => array( |
|
168 | 168 | 'allow_user_conf' => 'f', |
169 | 169 | 'filters' => array( |
170 | - 'boinctranslate/0' => 0, |
|
171 | - 'htmlpurifier/0' => 1, |
|
172 | - 'htmlpurifier/1' => 0, |
|
173 | - 'filter/3' => 0, |
|
174 | - 'filter/0' => 0, |
|
175 | - 'image_caption_filter/0' => 1, |
|
176 | - 'input_formats/0' => 0, |
|
177 | - 'pathologic/0' => 1, |
|
170 | + 'boinctranslate/0' => 0, |
|
171 | + 'htmlpurifier/0' => 1, |
|
172 | + 'htmlpurifier/1' => 0, |
|
173 | + 'filter/3' => 0, |
|
174 | + 'filter/0' => 0, |
|
175 | + 'image_caption_filter/0' => 1, |
|
176 | + 'input_formats/0' => 0, |
|
177 | + 'pathologic/0' => 1, |
|
178 | 178 | ), |
179 | 179 | 'ss' => '2', |
180 | 180 | 'min_rows' => '1', |
@@ -213,14 +213,14 @@ discard block |
||
213 | 213 | 'font_format' => 'p;div;pre;address;h1;h2;h3;h4;h5;h6', |
214 | 214 | 'custom_formatting' => 'f', |
215 | 215 | 'formatting' => array( |
216 | - 'custom_formatting_options' => array( |
|
216 | + 'custom_formatting_options' => array( |
|
217 | 217 | 'indent' => 'indent', |
218 | 218 | 'breakBeforeOpen' => 'breakBeforeOpen', |
219 | 219 | 'breakAfterOpen' => 'breakAfterOpen', |
220 | 220 | 'breakAfterClose' => 'breakAfterClose', |
221 | 221 | 'breakBeforeClose' => 0, |
222 | 222 | 'pre_indent' => 0, |
223 | - ), |
|
223 | + ), |
|
224 | 224 | ), |
225 | 225 | 'css_mode' => 'theme', |
226 | 226 | 'css_path' => '', |
@@ -237,30 +237,30 @@ discard block |
||
237 | 237 | 'theme_config_js' => 'f', |
238 | 238 | 'js_conf' => '', |
239 | 239 | 'loadPlugins' => array( |
240 | - 'drupalbreaks' => array( |
|
240 | + 'drupalbreaks' => array( |
|
241 | 241 | 'name' => 'drupalbreaks', |
242 | 242 | 'desc' => 'Plugin for inserting Drupal teaser and page breaks.', |
243 | 243 | 'path' => '%base_path%%plugin_dir%drupalbreaks/', |
244 | 244 | 'buttons' => array( |
245 | - 'DrupalBreak' => array( |
|
245 | + 'DrupalBreak' => array( |
|
246 | 246 | 'label' => 'DrupalBreak', |
247 | 247 | 'icon' => 'images/drupalbreak.png', |
248 | - ), |
|
248 | + ), |
|
249 | 249 | ), |
250 | 250 | 'default' => 't', |
251 | - ), |
|
251 | + ), |
|
252 | 252 | ), |
253 | 253 | 'excl_regex' => '', |
254 | 254 | 'simple_incl_regex' => '', |
255 | - ), |
|
256 | - 'roles' => array( |
|
255 | + ), |
|
256 | + 'roles' => array( |
|
257 | 257 | 'anonymous user' => 'anonymous user', |
258 | 258 | 'authenticated user' => 'authenticated user', |
259 | 259 | 'verified contributor' => 'verified contributor', |
260 | 260 | 'community member' => 'community member', |
261 | 261 | 'moderator' => 'moderator', |
262 | - ), |
|
262 | + ), |
|
263 | 263 | ), |
264 | - ); |
|
265 | - return $data; |
|
264 | + ); |
|
265 | + return $data; |
|
266 | 266 | } |
@@ -4,12 +4,12 @@ discard block |
||
4 | 4 | * Implementation of hook_input_formats(). |
5 | 5 | */ |
6 | 6 | function boinc_standard_input_formats() { |
7 | - $input_formats = array(); |
|
7 | + $input_formats = array(); |
|
8 | 8 | |
9 | - $input_format = new stdClass; |
|
10 | - $input_format->api_version = 1; |
|
11 | - $input_format->name = 'Rich text'; |
|
12 | - $input_format->roles = array( |
|
9 | + $input_format = new stdClass; |
|
10 | + $input_format->api_version = 1; |
|
11 | + $input_format->name = 'Rich text'; |
|
12 | + $input_format->roles = array( |
|
13 | 13 | 1 => 'anonymous user', |
14 | 14 | 2 => 'authenticated user', |
15 | 15 | 3519698132 => 'administrator', |
@@ -18,48 +18,48 @@ discard block |
||
18 | 18 | 268174006 => 'forum control (system use only)', |
19 | 19 | 1271379760 => 'moderator', |
20 | 20 | 933038561 => 'verified contributor', |
21 | - ); |
|
22 | - $input_format->cache = FALSE; |
|
23 | - $input_format->settings = array( |
|
21 | + ); |
|
22 | + $input_format->cache = FALSE; |
|
23 | + $input_format->settings = array( |
|
24 | 24 | // Settings for: boinctranslate module |
25 | 25 | 'boinctranslate' => array( |
26 | - // Print debugging info |
|
27 | - 'boinctranslate_filter_debug' => '0', |
|
26 | + // Print debugging info |
|
27 | + 'boinctranslate_filter_debug' => '0', |
|
28 | 28 | ), |
29 | 29 | // Settings for: pathologic module |
30 | 30 | 'pathologic' => array( |
31 | - // Also considered local |
|
32 | - 'filter_pathologic_local_paths' => '/ |
|
31 | + // Also considered local |
|
32 | + 'filter_pathologic_local_paths' => '/ |
|
33 | 33 | ', |
34 | - // Output full absolute URLs |
|
35 | - 'filter_pathologic_absolute' => 1, |
|
34 | + // Output full absolute URLs |
|
35 | + 'filter_pathologic_absolute' => 1, |
|
36 | 36 | ), |
37 | 37 | // Settings for: bbcode module |
38 | 38 | 'bbcode' => array( |
39 | - // Convert addresses to links |
|
40 | - 'bbcode_make_links' => '1', |
|
41 | - // Spam link deterrent |
|
42 | - 'bbcode_filter_nofollow' => '0', |
|
43 | - // Email address encoding |
|
44 | - 'bbcode_encode_mailto' => '0', |
|
45 | - // Email address rewrite |
|
46 | - 'bbcode_rewrite_email' => '1', |
|
47 | - // Smart paragraph and line breaks |
|
48 | - 'bbcode_paragraph_breaks' => '2', |
|
49 | - // Print debugging info |
|
50 | - 'bbcode_debug' => '0', |
|
39 | + // Convert addresses to links |
|
40 | + 'bbcode_make_links' => '1', |
|
41 | + // Spam link deterrent |
|
42 | + 'bbcode_filter_nofollow' => '0', |
|
43 | + // Email address encoding |
|
44 | + 'bbcode_encode_mailto' => '0', |
|
45 | + // Email address rewrite |
|
46 | + 'bbcode_rewrite_email' => '1', |
|
47 | + // Smart paragraph and line breaks |
|
48 | + 'bbcode_paragraph_breaks' => '2', |
|
49 | + // Print debugging info |
|
50 | + 'bbcode_debug' => '0', |
|
51 | 51 | ), |
52 | 52 | // Settings for: htmlpurifier module |
53 | 53 | 'htmlpurifier' => array( |
54 | - 'htmlpurifier_clear_cac' => array( |
|
55 | - '#description' => NULL, |
|
56 | - '#value' => 'Clear cache (Warning: Can result in performance degradation)', |
|
54 | + 'htmlpurifier_clear_cac' => array( |
|
55 | + '#description' => NULL, |
|
56 | + '#value' => 'Clear cache (Warning: Can result in performance degradation)', |
|
57 | 57 | ), |
58 | - // Display help text |
|
59 | - 'htmlpurifier_help' => 1, |
|
60 | - 'htmlpurifier_config' => array( |
|
61 | - '#description' => NULL, |
|
62 | - '#value' => array( |
|
58 | + // Display help text |
|
59 | + 'htmlpurifier_help' => 1, |
|
60 | + 'htmlpurifier_config' => array( |
|
61 | + '#description' => NULL, |
|
62 | + '#value' => array( |
|
63 | 63 | 'Attr.EnableID' => '0', |
64 | 64 | 'AutoFormat.AutoParagraph' => '1', |
65 | 65 | 'AutoFormat.Linkify' => '1', |
@@ -72,145 +72,145 @@ discard block |
||
72 | 72 | 'URI.DisableExternalResources' => '0', |
73 | 73 | 'URI.DisableResources' => '0', |
74 | 74 | 'Null_URI.Munge' => '1', |
75 | - ), |
|
75 | + ), |
|
76 | 76 | ), |
77 | 77 | ), |
78 | 78 | // Settings for: tableofcontents module |
79 | 79 | 'tableofcontents' => array( |
80 | - // Hide the table of contents tags |
|
81 | - 'tableofcontents_hide_table' => 0, |
|
82 | - // Whether an automatic table of content should be added |
|
83 | - 'tableofcontents_automatic' => '0', |
|
84 | - // Number of headers before an automatic table of content is added |
|
85 | - 'tableofcontents_min_limit' => '5', |
|
86 | - // Remove Table of Contents tags from teasers |
|
87 | - 'tableofcontents_remove_teaser' => 1, |
|
88 | - // Allow users to override the settings within the table of contents tag itself |
|
89 | - 'tableofcontents_allow_override' => 1, |
|
90 | - // Ensure title is safe (i.e. use check_plain() to avoid XSS attacks.) |
|
91 | - 'tableofcontents_safe_title' => 1, |
|
92 | - // Table of Contents Title |
|
93 | - 'tableofcontents_title' => 'Table of Contents', |
|
94 | - // Minimum heading level |
|
95 | - 'tableofcontents_minlevel' => '2', |
|
96 | - // Maximum heading level |
|
97 | - 'tableofcontents_maxlevel' => '3', |
|
98 | - // Include link to hide/show table of contents |
|
99 | - 'tableofcontents_hide_show' => 1, |
|
100 | - // Start with the table of content collapsed |
|
101 | - 'tableofcontents_collapsed' => 0, |
|
102 | - // Select what is stripped from the header titles |
|
103 | - 'tableofcontents_id_stripping' => array( |
|
104 | - 'digits' => 0, |
|
105 | - 'dashes' => 0, |
|
106 | - 'periods' => 0, |
|
107 | - 'underscores' => 0, |
|
108 | - 'colons' => 0, |
|
80 | + // Hide the table of contents tags |
|
81 | + 'tableofcontents_hide_table' => 0, |
|
82 | + // Whether an automatic table of content should be added |
|
83 | + 'tableofcontents_automatic' => '0', |
|
84 | + // Number of headers before an automatic table of content is added |
|
85 | + 'tableofcontents_min_limit' => '5', |
|
86 | + // Remove Table of Contents tags from teasers |
|
87 | + 'tableofcontents_remove_teaser' => 1, |
|
88 | + // Allow users to override the settings within the table of contents tag itself |
|
89 | + 'tableofcontents_allow_override' => 1, |
|
90 | + // Ensure title is safe (i.e. use check_plain() to avoid XSS attacks.) |
|
91 | + 'tableofcontents_safe_title' => 1, |
|
92 | + // Table of Contents Title |
|
93 | + 'tableofcontents_title' => 'Table of Contents', |
|
94 | + // Minimum heading level |
|
95 | + 'tableofcontents_minlevel' => '2', |
|
96 | + // Maximum heading level |
|
97 | + 'tableofcontents_maxlevel' => '3', |
|
98 | + // Include link to hide/show table of contents |
|
99 | + 'tableofcontents_hide_show' => 1, |
|
100 | + // Start with the table of content collapsed |
|
101 | + 'tableofcontents_collapsed' => 0, |
|
102 | + // Select what is stripped from the header titles |
|
103 | + 'tableofcontents_id_stripping' => array( |
|
104 | + 'digits' => 0, |
|
105 | + 'dashes' => 0, |
|
106 | + 'periods' => 0, |
|
107 | + 'underscores' => 0, |
|
108 | + 'colons' => 0, |
|
109 | 109 | ), |
110 | - // Identifier introducer |
|
111 | - 'tableofcontents_identifier_introducer' => 'header', |
|
112 | - // Identifier and number separator |
|
113 | - 'tableofcontents_id_separator' => '-', |
|
114 | - // How to generate missing header identifiers |
|
115 | - 'tableofcontents_id_generator' => 'title', |
|
116 | - // List of tags allowed in table headers |
|
117 | - 'tableofcontents_allowed_tags' => '<em> <i> <strong> <b> <u> <del> <ins> <sub> <sup> <cite> <strike> <s> <tt> <span> <font> <abbr> <acronym> <dfn> <q> <bdo> <big> <small>', |
|
118 | - // Show attachments in the table of contents |
|
119 | - 'tableofcontents_attachments' => 0, |
|
120 | - // Add the comments to the table of contents |
|
121 | - 'tableofcontents_comments' => 0, |
|
122 | - // Select header level at which comments start |
|
123 | - 'tableofcontents_comments_level' => '3', |
|
124 | - // Back to top label |
|
125 | - 'tableofcontents_back_to_top' => '', |
|
126 | - // Back to top location |
|
127 | - 'tableofcontents_back_to_top_location' => 'bottom', |
|
128 | - // Minimum level where Back to Top appears |
|
129 | - 'tableofcontents_back_to_top_minlevel' => '2', |
|
130 | - // Maximum level where Back to Top appears |
|
131 | - 'tableofcontents_back_to_top_maxlevel' => '4', |
|
132 | - // Back to top anchor |
|
133 | - 'tableofcontents_back_to_top_anchor' => 'toc', |
|
134 | - // Scroll back to the table of contents |
|
135 | - 'tableofcontents_scroll_back_to_top' => 0, |
|
136 | - // Numbering method |
|
137 | - 'tableofcontents_numbering' => '0', |
|
138 | - // Add the number to the headers |
|
139 | - 'tableofcontents_number_headers' => 0, |
|
140 | - // Numbering mode |
|
141 | - 'tableofcontents_number_mode' => '0', |
|
142 | - // Numbering prefix |
|
143 | - 'tableofcontents_number_start_letter' => '', |
|
144 | - // Numbering separator |
|
145 | - 'tableofcontents_number_separator' => '.', |
|
146 | - // Numbering suffix |
|
147 | - 'tableofcontents_number_end_letter' => '.', |
|
110 | + // Identifier introducer |
|
111 | + 'tableofcontents_identifier_introducer' => 'header', |
|
112 | + // Identifier and number separator |
|
113 | + 'tableofcontents_id_separator' => '-', |
|
114 | + // How to generate missing header identifiers |
|
115 | + 'tableofcontents_id_generator' => 'title', |
|
116 | + // List of tags allowed in table headers |
|
117 | + 'tableofcontents_allowed_tags' => '<em> <i> <strong> <b> <u> <del> <ins> <sub> <sup> <cite> <strike> <s> <tt> <span> <font> <abbr> <acronym> <dfn> <q> <bdo> <big> <small>', |
|
118 | + // Show attachments in the table of contents |
|
119 | + 'tableofcontents_attachments' => 0, |
|
120 | + // Add the comments to the table of contents |
|
121 | + 'tableofcontents_comments' => 0, |
|
122 | + // Select header level at which comments start |
|
123 | + 'tableofcontents_comments_level' => '3', |
|
124 | + // Back to top label |
|
125 | + 'tableofcontents_back_to_top' => '', |
|
126 | + // Back to top location |
|
127 | + 'tableofcontents_back_to_top_location' => 'bottom', |
|
128 | + // Minimum level where Back to Top appears |
|
129 | + 'tableofcontents_back_to_top_minlevel' => '2', |
|
130 | + // Maximum level where Back to Top appears |
|
131 | + 'tableofcontents_back_to_top_maxlevel' => '4', |
|
132 | + // Back to top anchor |
|
133 | + 'tableofcontents_back_to_top_anchor' => 'toc', |
|
134 | + // Scroll back to the table of contents |
|
135 | + 'tableofcontents_scroll_back_to_top' => 0, |
|
136 | + // Numbering method |
|
137 | + 'tableofcontents_numbering' => '0', |
|
138 | + // Add the number to the headers |
|
139 | + 'tableofcontents_number_headers' => 0, |
|
140 | + // Numbering mode |
|
141 | + 'tableofcontents_number_mode' => '0', |
|
142 | + // Numbering prefix |
|
143 | + 'tableofcontents_number_start_letter' => '', |
|
144 | + // Numbering separator |
|
145 | + 'tableofcontents_number_separator' => '.', |
|
146 | + // Numbering suffix |
|
147 | + 'tableofcontents_number_end_letter' => '.', |
|
148 | 148 | ), |
149 | - ); |
|
150 | - $input_format->filters = array( |
|
149 | + ); |
|
150 | + $input_format->filters = array( |
|
151 | 151 | 'boinctranslate' => array( |
152 | - // Delta => Weight for: BOINC translation filter to help split content into chunks for translations. |
|
153 | - '0' => '-10', |
|
152 | + // Delta => Weight for: BOINC translation filter to help split content into chunks for translations. |
|
153 | + '0' => '-10', |
|
154 | 154 | ), |
155 | 155 | 'pathologic' => array( |
156 | - // Delta => Weight for: Pathologic |
|
157 | - '0' => '-9', |
|
156 | + // Delta => Weight for: Pathologic |
|
157 | + '0' => '-9', |
|
158 | 158 | ), |
159 | 159 | 'bbcode' => array( |
160 | - // Delta => Weight for: BBCode |
|
161 | - '0' => '-8', |
|
160 | + // Delta => Weight for: BBCode |
|
161 | + '0' => '-8', |
|
162 | 162 | ), |
163 | 163 | 'htmlpurifier' => array( |
164 | - // Delta => Weight for: HTML Purifier |
|
165 | - '0' => '-7', |
|
164 | + // Delta => Weight for: HTML Purifier |
|
165 | + '0' => '-7', |
|
166 | 166 | ), |
167 | 167 | 'tableofcontents' => array( |
168 | - // Delta => Weight for: Table of contents |
|
169 | - '0' => '-6', |
|
168 | + // Delta => Weight for: Table of contents |
|
169 | + '0' => '-6', |
|
170 | 170 | ), |
171 | 171 | 'image_caption_filter' => array( |
172 | - // Delta => Weight for: Image caption filter |
|
173 | - '0' => '-5', |
|
172 | + // Delta => Weight for: Image caption filter |
|
173 | + '0' => '-5', |
|
174 | 174 | ), |
175 | - ); |
|
176 | - $input_format->machine = 'rich_text'; |
|
177 | - $input_formats['rich_text'] = $input_format; |
|
175 | + ); |
|
176 | + $input_format->machine = 'rich_text'; |
|
177 | + $input_formats['rich_text'] = $input_format; |
|
178 | 178 | |
179 | - $input_format = new stdClass; |
|
180 | - $input_format->api_version = 1; |
|
181 | - $input_format->name = 'Plain text'; |
|
182 | - $input_format->roles = array( |
|
179 | + $input_format = new stdClass; |
|
180 | + $input_format->api_version = 1; |
|
181 | + $input_format->name = 'Plain text'; |
|
182 | + $input_format->roles = array( |
|
183 | 183 | 3519698132 => 'administrator', |
184 | - ); |
|
185 | - $input_format->cache = FALSE; |
|
186 | - $input_format->settings = array( |
|
187 | - ); |
|
188 | - $input_format->filters = array( |
|
184 | + ); |
|
185 | + $input_format->cache = FALSE; |
|
186 | + $input_format->settings = array( |
|
187 | + ); |
|
188 | + $input_format->filters = array( |
|
189 | 189 | 'boinctranslate' => array( |
190 | - '0' => '10', |
|
190 | + '0' => '10', |
|
191 | 191 | ), |
192 | 192 | 'filter' => array( |
193 | - '0' => '10', |
|
193 | + '0' => '10', |
|
194 | 194 | ), |
195 | - ); |
|
196 | - $input_format->machine = 'plain_text'; |
|
197 | - $input_formats['plain_text'] = $input_format; |
|
195 | + ); |
|
196 | + $input_format->machine = 'plain_text'; |
|
197 | + $input_formats['plain_text'] = $input_format; |
|
198 | 198 | |
199 | - $input_format = new stdClass; |
|
200 | - $input_format->api_version = 1; |
|
201 | - $input_format->name = 'PHP code'; |
|
202 | - $input_format->roles = array(); |
|
203 | - $input_format->cache = FALSE; |
|
204 | - $input_format->settings = array( |
|
205 | - ); |
|
206 | - $input_format->filters = array( |
|
199 | + $input_format = new stdClass; |
|
200 | + $input_format->api_version = 1; |
|
201 | + $input_format->name = 'PHP code'; |
|
202 | + $input_format->roles = array(); |
|
203 | + $input_format->cache = FALSE; |
|
204 | + $input_format->settings = array( |
|
205 | + ); |
|
206 | + $input_format->filters = array( |
|
207 | 207 | 'php' => array( |
208 | - '0' => '0', |
|
208 | + '0' => '0', |
|
209 | 209 | ), |
210 | - ); |
|
211 | - $input_format->machine = 'php_code'; |
|
212 | - $input_formats['php_code'] = $input_format; |
|
210 | + ); |
|
211 | + $input_format->machine = 'php_code'; |
|
212 | + $input_formats['php_code'] = $input_format; |
|
213 | 213 | |
214 | - return $input_formats; |
|
214 | + return $input_formats; |
|
215 | 215 | |
216 | 216 | } |
@@ -4,185 +4,185 @@ discard block |
||
4 | 4 | * Implementation of hook_strongarm(). |
5 | 5 | */ |
6 | 6 | function boinc_standard_strongarm() { |
7 | - $export = array(); |
|
8 | - |
|
9 | - $strongarm = new stdClass; |
|
10 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
11 | - $strongarm->api_version = 1; |
|
12 | - $strongarm->name = 'admin_theme'; |
|
13 | - $strongarm->value = 'garland'; |
|
14 | - $export['admin_theme'] = $strongarm; |
|
15 | - |
|
16 | - $strongarm = new stdClass; |
|
17 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
18 | - $strongarm->api_version = 1; |
|
19 | - $strongarm->name = 'bbcode_debug_4'; |
|
20 | - $strongarm->value = '0'; |
|
21 | - $export['bbcode_debug_4'] = $strongarm; |
|
22 | - |
|
23 | - $strongarm = new stdClass; |
|
24 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
25 | - $strongarm->api_version = 1; |
|
26 | - $strongarm->name = 'bbcode_debug_6'; |
|
27 | - $strongarm->value = '0'; |
|
28 | - $export['bbcode_debug_6'] = $strongarm; |
|
29 | - |
|
30 | - $strongarm = new stdClass; |
|
31 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
32 | - $strongarm->api_version = 1; |
|
33 | - $strongarm->name = 'bbcode_encode_mailto_4'; |
|
34 | - $strongarm->value = '0'; |
|
35 | - $export['bbcode_encode_mailto_4'] = $strongarm; |
|
36 | - |
|
37 | - $strongarm = new stdClass; |
|
38 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
39 | - $strongarm->api_version = 1; |
|
40 | - $strongarm->name = 'bbcode_encode_mailto_6'; |
|
41 | - $strongarm->value = '0'; |
|
42 | - $export['bbcode_encode_mailto_6'] = $strongarm; |
|
43 | - |
|
44 | - $strongarm = new stdClass; |
|
45 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
46 | - $strongarm->api_version = 1; |
|
47 | - $strongarm->name = 'bbcode_filter_nofollow_4'; |
|
48 | - $strongarm->value = '0'; |
|
49 | - $export['bbcode_filter_nofollow_4'] = $strongarm; |
|
50 | - |
|
51 | - $strongarm = new stdClass; |
|
52 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
53 | - $strongarm->api_version = 1; |
|
54 | - $strongarm->name = 'bbcode_filter_nofollow_6'; |
|
55 | - $strongarm->value = '0'; |
|
56 | - $export['bbcode_filter_nofollow_6'] = $strongarm; |
|
57 | - |
|
58 | - $strongarm = new stdClass; |
|
59 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
60 | - $strongarm->api_version = 1; |
|
61 | - $strongarm->name = 'bbcode_make_links_4'; |
|
62 | - $strongarm->value = '1'; |
|
63 | - $export['bbcode_make_links_4'] = $strongarm; |
|
64 | - |
|
65 | - $strongarm = new stdClass; |
|
66 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
67 | - $strongarm->api_version = 1; |
|
68 | - $strongarm->name = 'bbcode_make_links_6'; |
|
69 | - $strongarm->value = '1'; |
|
70 | - $export['bbcode_make_links_6'] = $strongarm; |
|
71 | - |
|
72 | - $strongarm = new stdClass; |
|
73 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
74 | - $strongarm->api_version = 1; |
|
75 | - $strongarm->name = 'bbcode_paragraph_breaks_4'; |
|
76 | - $strongarm->value = '2'; |
|
77 | - $export['bbcode_paragraph_breaks_4'] = $strongarm; |
|
78 | - |
|
79 | - $strongarm = new stdClass; |
|
80 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
81 | - $strongarm->api_version = 1; |
|
82 | - $strongarm->name = 'bbcode_paragraph_breaks_6'; |
|
83 | - $strongarm->value = '2'; |
|
84 | - $export['bbcode_paragraph_breaks_6'] = $strongarm; |
|
85 | - |
|
86 | - $strongarm = new stdClass; |
|
87 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
88 | - $strongarm->api_version = 1; |
|
89 | - $strongarm->name = 'bbcode_rewrite_email_4'; |
|
90 | - $strongarm->value = '1'; |
|
91 | - $export['bbcode_rewrite_email_4'] = $strongarm; |
|
92 | - |
|
93 | - $strongarm = new stdClass; |
|
94 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
95 | - $strongarm->api_version = 1; |
|
96 | - $strongarm->name = 'bbcode_rewrite_email_6'; |
|
97 | - $strongarm->value = '1'; |
|
98 | - $export['bbcode_rewrite_email_6'] = $strongarm; |
|
99 | - |
|
100 | - $strongarm = new stdClass; |
|
101 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
102 | - $strongarm->api_version = 1; |
|
103 | - $strongarm->name = 'boinctranslate_filter_debug_4'; |
|
104 | - $strongarm->value = '0'; |
|
105 | - $export['boinctranslate_filter_debug_4'] = $strongarm; |
|
106 | - |
|
107 | - $strongarm = new stdClass; |
|
108 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
109 | - $strongarm->api_version = 1; |
|
110 | - $strongarm->name = 'boinctranslate_filter_nodetypes'; |
|
111 | - $strongarm->value = array( |
|
7 | + $export = array(); |
|
8 | + |
|
9 | + $strongarm = new stdClass; |
|
10 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
11 | + $strongarm->api_version = 1; |
|
12 | + $strongarm->name = 'admin_theme'; |
|
13 | + $strongarm->value = 'garland'; |
|
14 | + $export['admin_theme'] = $strongarm; |
|
15 | + |
|
16 | + $strongarm = new stdClass; |
|
17 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
18 | + $strongarm->api_version = 1; |
|
19 | + $strongarm->name = 'bbcode_debug_4'; |
|
20 | + $strongarm->value = '0'; |
|
21 | + $export['bbcode_debug_4'] = $strongarm; |
|
22 | + |
|
23 | + $strongarm = new stdClass; |
|
24 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
25 | + $strongarm->api_version = 1; |
|
26 | + $strongarm->name = 'bbcode_debug_6'; |
|
27 | + $strongarm->value = '0'; |
|
28 | + $export['bbcode_debug_6'] = $strongarm; |
|
29 | + |
|
30 | + $strongarm = new stdClass; |
|
31 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
32 | + $strongarm->api_version = 1; |
|
33 | + $strongarm->name = 'bbcode_encode_mailto_4'; |
|
34 | + $strongarm->value = '0'; |
|
35 | + $export['bbcode_encode_mailto_4'] = $strongarm; |
|
36 | + |
|
37 | + $strongarm = new stdClass; |
|
38 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
39 | + $strongarm->api_version = 1; |
|
40 | + $strongarm->name = 'bbcode_encode_mailto_6'; |
|
41 | + $strongarm->value = '0'; |
|
42 | + $export['bbcode_encode_mailto_6'] = $strongarm; |
|
43 | + |
|
44 | + $strongarm = new stdClass; |
|
45 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
46 | + $strongarm->api_version = 1; |
|
47 | + $strongarm->name = 'bbcode_filter_nofollow_4'; |
|
48 | + $strongarm->value = '0'; |
|
49 | + $export['bbcode_filter_nofollow_4'] = $strongarm; |
|
50 | + |
|
51 | + $strongarm = new stdClass; |
|
52 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
53 | + $strongarm->api_version = 1; |
|
54 | + $strongarm->name = 'bbcode_filter_nofollow_6'; |
|
55 | + $strongarm->value = '0'; |
|
56 | + $export['bbcode_filter_nofollow_6'] = $strongarm; |
|
57 | + |
|
58 | + $strongarm = new stdClass; |
|
59 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
60 | + $strongarm->api_version = 1; |
|
61 | + $strongarm->name = 'bbcode_make_links_4'; |
|
62 | + $strongarm->value = '1'; |
|
63 | + $export['bbcode_make_links_4'] = $strongarm; |
|
64 | + |
|
65 | + $strongarm = new stdClass; |
|
66 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
67 | + $strongarm->api_version = 1; |
|
68 | + $strongarm->name = 'bbcode_make_links_6'; |
|
69 | + $strongarm->value = '1'; |
|
70 | + $export['bbcode_make_links_6'] = $strongarm; |
|
71 | + |
|
72 | + $strongarm = new stdClass; |
|
73 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
74 | + $strongarm->api_version = 1; |
|
75 | + $strongarm->name = 'bbcode_paragraph_breaks_4'; |
|
76 | + $strongarm->value = '2'; |
|
77 | + $export['bbcode_paragraph_breaks_4'] = $strongarm; |
|
78 | + |
|
79 | + $strongarm = new stdClass; |
|
80 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
81 | + $strongarm->api_version = 1; |
|
82 | + $strongarm->name = 'bbcode_paragraph_breaks_6'; |
|
83 | + $strongarm->value = '2'; |
|
84 | + $export['bbcode_paragraph_breaks_6'] = $strongarm; |
|
85 | + |
|
86 | + $strongarm = new stdClass; |
|
87 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
88 | + $strongarm->api_version = 1; |
|
89 | + $strongarm->name = 'bbcode_rewrite_email_4'; |
|
90 | + $strongarm->value = '1'; |
|
91 | + $export['bbcode_rewrite_email_4'] = $strongarm; |
|
92 | + |
|
93 | + $strongarm = new stdClass; |
|
94 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
95 | + $strongarm->api_version = 1; |
|
96 | + $strongarm->name = 'bbcode_rewrite_email_6'; |
|
97 | + $strongarm->value = '1'; |
|
98 | + $export['bbcode_rewrite_email_6'] = $strongarm; |
|
99 | + |
|
100 | + $strongarm = new stdClass; |
|
101 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
102 | + $strongarm->api_version = 1; |
|
103 | + $strongarm->name = 'boinctranslate_filter_debug_4'; |
|
104 | + $strongarm->value = '0'; |
|
105 | + $export['boinctranslate_filter_debug_4'] = $strongarm; |
|
106 | + |
|
107 | + $strongarm = new stdClass; |
|
108 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
109 | + $strongarm->api_version = 1; |
|
110 | + $strongarm->name = 'boinctranslate_filter_nodetypes'; |
|
111 | + $strongarm->value = array( |
|
112 | 112 | 'page' => 'page', |
113 | 113 | 'story' => 'story', |
114 | 114 | 'news' => 0, |
115 | - ); |
|
116 | - $export['boinctranslate_filter_nodetypes'] = $strongarm; |
|
117 | - |
|
118 | - $strongarm = new stdClass; |
|
119 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
120 | - $strongarm->api_version = 1; |
|
121 | - $strongarm->name = 'comment_anonymous_page'; |
|
122 | - $strongarm->value = 0; |
|
123 | - $export['comment_anonymous_page'] = $strongarm; |
|
124 | - |
|
125 | - $strongarm = new stdClass; |
|
126 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
127 | - $strongarm->api_version = 1; |
|
128 | - $strongarm->name = 'comment_controls_page'; |
|
129 | - $strongarm->value = '3'; |
|
130 | - $export['comment_controls_page'] = $strongarm; |
|
131 | - |
|
132 | - $strongarm = new stdClass; |
|
133 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
134 | - $strongarm->api_version = 1; |
|
135 | - $strongarm->name = 'comment_default_mode_page'; |
|
136 | - $strongarm->value = '4'; |
|
137 | - $export['comment_default_mode_page'] = $strongarm; |
|
138 | - |
|
139 | - $strongarm = new stdClass; |
|
140 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
141 | - $strongarm->api_version = 1; |
|
142 | - $strongarm->name = 'comment_default_order_page'; |
|
143 | - $strongarm->value = '1'; |
|
144 | - $export['comment_default_order_page'] = $strongarm; |
|
145 | - |
|
146 | - $strongarm = new stdClass; |
|
147 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
148 | - $strongarm->api_version = 1; |
|
149 | - $strongarm->name = 'comment_default_per_page_page'; |
|
150 | - $strongarm->value = '50'; |
|
151 | - $export['comment_default_per_page_page'] = $strongarm; |
|
152 | - |
|
153 | - $strongarm = new stdClass; |
|
154 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
155 | - $strongarm->api_version = 1; |
|
156 | - $strongarm->name = 'comment_form_location_page'; |
|
157 | - $strongarm->value = '0'; |
|
158 | - $export['comment_form_location_page'] = $strongarm; |
|
159 | - |
|
160 | - $strongarm = new stdClass; |
|
161 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
162 | - $strongarm->api_version = 1; |
|
163 | - $strongarm->name = 'comment_page'; |
|
164 | - $strongarm->value = 0; |
|
165 | - $export['comment_page'] = $strongarm; |
|
166 | - |
|
167 | - $strongarm = new stdClass; |
|
168 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
169 | - $strongarm->api_version = 1; |
|
170 | - $strongarm->name = 'comment_preview_page'; |
|
171 | - $strongarm->value = '1'; |
|
172 | - $export['comment_preview_page'] = $strongarm; |
|
173 | - |
|
174 | - $strongarm = new stdClass; |
|
175 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
176 | - $strongarm->api_version = 1; |
|
177 | - $strongarm->name = 'comment_subject_field_page'; |
|
178 | - $strongarm->value = '1'; |
|
179 | - $export['comment_subject_field_page'] = $strongarm; |
|
180 | - |
|
181 | - $strongarm = new stdClass; |
|
182 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
183 | - $strongarm->api_version = 1; |
|
184 | - $strongarm->name = 'content_extra_weights_page'; |
|
185 | - $strongarm->value = array( |
|
115 | + ); |
|
116 | + $export['boinctranslate_filter_nodetypes'] = $strongarm; |
|
117 | + |
|
118 | + $strongarm = new stdClass; |
|
119 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
120 | + $strongarm->api_version = 1; |
|
121 | + $strongarm->name = 'comment_anonymous_page'; |
|
122 | + $strongarm->value = 0; |
|
123 | + $export['comment_anonymous_page'] = $strongarm; |
|
124 | + |
|
125 | + $strongarm = new stdClass; |
|
126 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
127 | + $strongarm->api_version = 1; |
|
128 | + $strongarm->name = 'comment_controls_page'; |
|
129 | + $strongarm->value = '3'; |
|
130 | + $export['comment_controls_page'] = $strongarm; |
|
131 | + |
|
132 | + $strongarm = new stdClass; |
|
133 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
134 | + $strongarm->api_version = 1; |
|
135 | + $strongarm->name = 'comment_default_mode_page'; |
|
136 | + $strongarm->value = '4'; |
|
137 | + $export['comment_default_mode_page'] = $strongarm; |
|
138 | + |
|
139 | + $strongarm = new stdClass; |
|
140 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
141 | + $strongarm->api_version = 1; |
|
142 | + $strongarm->name = 'comment_default_order_page'; |
|
143 | + $strongarm->value = '1'; |
|
144 | + $export['comment_default_order_page'] = $strongarm; |
|
145 | + |
|
146 | + $strongarm = new stdClass; |
|
147 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
148 | + $strongarm->api_version = 1; |
|
149 | + $strongarm->name = 'comment_default_per_page_page'; |
|
150 | + $strongarm->value = '50'; |
|
151 | + $export['comment_default_per_page_page'] = $strongarm; |
|
152 | + |
|
153 | + $strongarm = new stdClass; |
|
154 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
155 | + $strongarm->api_version = 1; |
|
156 | + $strongarm->name = 'comment_form_location_page'; |
|
157 | + $strongarm->value = '0'; |
|
158 | + $export['comment_form_location_page'] = $strongarm; |
|
159 | + |
|
160 | + $strongarm = new stdClass; |
|
161 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
162 | + $strongarm->api_version = 1; |
|
163 | + $strongarm->name = 'comment_page'; |
|
164 | + $strongarm->value = 0; |
|
165 | + $export['comment_page'] = $strongarm; |
|
166 | + |
|
167 | + $strongarm = new stdClass; |
|
168 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
169 | + $strongarm->api_version = 1; |
|
170 | + $strongarm->name = 'comment_preview_page'; |
|
171 | + $strongarm->value = '1'; |
|
172 | + $export['comment_preview_page'] = $strongarm; |
|
173 | + |
|
174 | + $strongarm = new stdClass; |
|
175 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
176 | + $strongarm->api_version = 1; |
|
177 | + $strongarm->name = 'comment_subject_field_page'; |
|
178 | + $strongarm->value = '1'; |
|
179 | + $export['comment_subject_field_page'] = $strongarm; |
|
180 | + |
|
181 | + $strongarm = new stdClass; |
|
182 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
183 | + $strongarm->api_version = 1; |
|
184 | + $strongarm->name = 'content_extra_weights_page'; |
|
185 | + $strongarm->value = array( |
|
186 | 186 | 'apachesolr' => '100', |
187 | 187 | 'title' => '-5', |
188 | 188 | 'body_field' => '0', |
@@ -195,71 +195,71 @@ discard block |
||
195 | 195 | 'menu' => '-2', |
196 | 196 | 'path' => '30', |
197 | 197 | 'attachments' => '30', |
198 | - ); |
|
199 | - $export['content_extra_weights_page'] = $strongarm; |
|
200 | - |
|
201 | - $strongarm = new stdClass; |
|
202 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
203 | - $strongarm->api_version = 1; |
|
204 | - $strongarm->name = 'error_level'; |
|
205 | - $strongarm->value = '0'; |
|
206 | - $export['error_level'] = $strongarm; |
|
207 | - |
|
208 | - $strongarm = new stdClass; |
|
209 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
210 | - $strongarm->api_version = 1; |
|
211 | - $strongarm->name = 'filter_default_format'; |
|
212 | - $strongarm->value = '4'; |
|
213 | - $export['filter_default_format'] = $strongarm; |
|
214 | - |
|
215 | - $strongarm = new stdClass; |
|
216 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
217 | - $strongarm->api_version = 1; |
|
218 | - $strongarm->name = 'filter_pathologic_absolute_4'; |
|
219 | - $strongarm->value = 1; |
|
220 | - $export['filter_pathologic_absolute_4'] = $strongarm; |
|
221 | - |
|
222 | - $strongarm = new stdClass; |
|
223 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
224 | - $strongarm->api_version = 1; |
|
225 | - $strongarm->name = 'filter_pathologic_absolute_6'; |
|
226 | - $strongarm->value = 1; |
|
227 | - $export['filter_pathologic_absolute_6'] = $strongarm; |
|
228 | - |
|
229 | - $strongarm = new stdClass; |
|
230 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
231 | - $strongarm->api_version = 1; |
|
232 | - $strongarm->name = 'filter_pathologic_local_paths_4'; |
|
233 | - $strongarm->value = '/ |
|
198 | + ); |
|
199 | + $export['content_extra_weights_page'] = $strongarm; |
|
200 | + |
|
201 | + $strongarm = new stdClass; |
|
202 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
203 | + $strongarm->api_version = 1; |
|
204 | + $strongarm->name = 'error_level'; |
|
205 | + $strongarm->value = '0'; |
|
206 | + $export['error_level'] = $strongarm; |
|
207 | + |
|
208 | + $strongarm = new stdClass; |
|
209 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
210 | + $strongarm->api_version = 1; |
|
211 | + $strongarm->name = 'filter_default_format'; |
|
212 | + $strongarm->value = '4'; |
|
213 | + $export['filter_default_format'] = $strongarm; |
|
214 | + |
|
215 | + $strongarm = new stdClass; |
|
216 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
217 | + $strongarm->api_version = 1; |
|
218 | + $strongarm->name = 'filter_pathologic_absolute_4'; |
|
219 | + $strongarm->value = 1; |
|
220 | + $export['filter_pathologic_absolute_4'] = $strongarm; |
|
221 | + |
|
222 | + $strongarm = new stdClass; |
|
223 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
224 | + $strongarm->api_version = 1; |
|
225 | + $strongarm->name = 'filter_pathologic_absolute_6'; |
|
226 | + $strongarm->value = 1; |
|
227 | + $export['filter_pathologic_absolute_6'] = $strongarm; |
|
228 | + |
|
229 | + $strongarm = new stdClass; |
|
230 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
231 | + $strongarm->api_version = 1; |
|
232 | + $strongarm->name = 'filter_pathologic_local_paths_4'; |
|
233 | + $strongarm->value = '/ |
|
234 | 234 | '; |
235 | - $export['filter_pathologic_local_paths_4'] = $strongarm; |
|
236 | - |
|
237 | - $strongarm = new stdClass; |
|
238 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
239 | - $strongarm->api_version = 1; |
|
240 | - $strongarm->name = 'filter_pathologic_local_paths_6'; |
|
241 | - $strongarm->value = '/'; |
|
242 | - $export['filter_pathologic_local_paths_6'] = $strongarm; |
|
243 | - |
|
244 | - $strongarm = new stdClass; |
|
245 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
246 | - $strongarm->api_version = 1; |
|
247 | - $strongarm->name = 'format'; |
|
248 | - $strongarm->value = '4'; |
|
249 | - $export['format'] = $strongarm; |
|
250 | - |
|
251 | - $strongarm = new stdClass; |
|
252 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
253 | - $strongarm->api_version = 1; |
|
254 | - $strongarm->name = 'htmlpurifier_clear_cache'; |
|
255 | - $strongarm->value = 'Clear cache (Warning: Can result in performance degradation)'; |
|
256 | - $export['htmlpurifier_clear_cache'] = $strongarm; |
|
257 | - |
|
258 | - $strongarm = new stdClass; |
|
259 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
260 | - $strongarm->api_version = 1; |
|
261 | - $strongarm->name = 'htmlpurifier_config_4'; |
|
262 | - $strongarm->value = array( |
|
235 | + $export['filter_pathologic_local_paths_4'] = $strongarm; |
|
236 | + |
|
237 | + $strongarm = new stdClass; |
|
238 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
239 | + $strongarm->api_version = 1; |
|
240 | + $strongarm->name = 'filter_pathologic_local_paths_6'; |
|
241 | + $strongarm->value = '/'; |
|
242 | + $export['filter_pathologic_local_paths_6'] = $strongarm; |
|
243 | + |
|
244 | + $strongarm = new stdClass; |
|
245 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
246 | + $strongarm->api_version = 1; |
|
247 | + $strongarm->name = 'format'; |
|
248 | + $strongarm->value = '4'; |
|
249 | + $export['format'] = $strongarm; |
|
250 | + |
|
251 | + $strongarm = new stdClass; |
|
252 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
253 | + $strongarm->api_version = 1; |
|
254 | + $strongarm->name = 'htmlpurifier_clear_cache'; |
|
255 | + $strongarm->value = 'Clear cache (Warning: Can result in performance degradation)'; |
|
256 | + $export['htmlpurifier_clear_cache'] = $strongarm; |
|
257 | + |
|
258 | + $strongarm = new stdClass; |
|
259 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
260 | + $strongarm->api_version = 1; |
|
261 | + $strongarm->name = 'htmlpurifier_config_4'; |
|
262 | + $strongarm->value = array( |
|
263 | 263 | 'Attr.EnableID' => '0', |
264 | 264 | 'AutoFormat.AutoParagraph' => '1', |
265 | 265 | 'AutoFormat.Linkify' => '1', |
@@ -272,1553 +272,1553 @@ discard block |
||
272 | 272 | 'URI.DisableExternalResources' => '0', |
273 | 273 | 'URI.DisableResources' => '0', |
274 | 274 | 'Null_URI.Munge' => '1', |
275 | - ); |
|
276 | - $export['htmlpurifier_config_4'] = $strongarm; |
|
277 | - |
|
278 | - $strongarm = new stdClass; |
|
279 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
280 | - $strongarm->api_version = 1; |
|
281 | - $strongarm->name = 'htmlpurifier_help_4'; |
|
282 | - $strongarm->value = 1; |
|
283 | - $export['htmlpurifier_help_4'] = $strongarm; |
|
284 | - |
|
285 | - $strongarm = new stdClass; |
|
286 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
287 | - $strongarm->api_version = 1; |
|
288 | - $strongarm->name = 'htmlpurifier_help_6'; |
|
289 | - $strongarm->value = 1; |
|
290 | - $export['htmlpurifier_help_6'] = $strongarm; |
|
291 | - |
|
292 | - $strongarm = new stdClass; |
|
293 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
294 | - $strongarm->api_version = 1; |
|
295 | - $strongarm->name = 'htmlpurifier_version_check_failed'; |
|
296 | - $strongarm->value = FALSE; |
|
297 | - $export['htmlpurifier_version_check_failed'] = $strongarm; |
|
298 | - |
|
299 | - $strongarm = new stdClass; |
|
300 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
301 | - $strongarm->api_version = 1; |
|
302 | - $strongarm->name = 'htmlpurifier_version_current'; |
|
303 | - $strongarm->value = '4.9.1'; |
|
304 | - $export['htmlpurifier_version_current'] = $strongarm; |
|
305 | - |
|
306 | - $strongarm = new stdClass; |
|
307 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
308 | - $strongarm->api_version = 1; |
|
309 | - $strongarm->name = 'htmlpurifier_version_ours'; |
|
310 | - $strongarm->value = '4.10.0'; |
|
311 | - $export['htmlpurifier_version_ours'] = $strongarm; |
|
312 | - |
|
313 | - $strongarm = new stdClass; |
|
314 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
315 | - $strongarm->api_version = 1; |
|
316 | - $strongarm->name = 'imce_profiles'; |
|
317 | - $strongarm->value = array( |
|
275 | + ); |
|
276 | + $export['htmlpurifier_config_4'] = $strongarm; |
|
277 | + |
|
278 | + $strongarm = new stdClass; |
|
279 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
280 | + $strongarm->api_version = 1; |
|
281 | + $strongarm->name = 'htmlpurifier_help_4'; |
|
282 | + $strongarm->value = 1; |
|
283 | + $export['htmlpurifier_help_4'] = $strongarm; |
|
284 | + |
|
285 | + $strongarm = new stdClass; |
|
286 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
287 | + $strongarm->api_version = 1; |
|
288 | + $strongarm->name = 'htmlpurifier_help_6'; |
|
289 | + $strongarm->value = 1; |
|
290 | + $export['htmlpurifier_help_6'] = $strongarm; |
|
291 | + |
|
292 | + $strongarm = new stdClass; |
|
293 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
294 | + $strongarm->api_version = 1; |
|
295 | + $strongarm->name = 'htmlpurifier_version_check_failed'; |
|
296 | + $strongarm->value = FALSE; |
|
297 | + $export['htmlpurifier_version_check_failed'] = $strongarm; |
|
298 | + |
|
299 | + $strongarm = new stdClass; |
|
300 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
301 | + $strongarm->api_version = 1; |
|
302 | + $strongarm->name = 'htmlpurifier_version_current'; |
|
303 | + $strongarm->value = '4.9.1'; |
|
304 | + $export['htmlpurifier_version_current'] = $strongarm; |
|
305 | + |
|
306 | + $strongarm = new stdClass; |
|
307 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
308 | + $strongarm->api_version = 1; |
|
309 | + $strongarm->name = 'htmlpurifier_version_ours'; |
|
310 | + $strongarm->value = '4.10.0'; |
|
311 | + $export['htmlpurifier_version_ours'] = $strongarm; |
|
312 | + |
|
313 | + $strongarm = new stdClass; |
|
314 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
315 | + $strongarm->api_version = 1; |
|
316 | + $strongarm->name = 'imce_profiles'; |
|
317 | + $strongarm->value = array( |
|
318 | 318 | 1 => array( |
319 | - 'name' => 'User-1', |
|
320 | - 'usertab' => 1, |
|
321 | - 'filesize' => 0, |
|
322 | - 'quota' => 0, |
|
323 | - 'tuquota' => 0, |
|
324 | - 'extensions' => '*', |
|
325 | - 'dimensions' => '1200x1200', |
|
326 | - 'filenum' => 0, |
|
327 | - 'directories' => array( |
|
319 | + 'name' => 'User-1', |
|
320 | + 'usertab' => 1, |
|
321 | + 'filesize' => 0, |
|
322 | + 'quota' => 0, |
|
323 | + 'tuquota' => 0, |
|
324 | + 'extensions' => '*', |
|
325 | + 'dimensions' => '1200x1200', |
|
326 | + 'filenum' => 0, |
|
327 | + 'directories' => array( |
|
328 | 328 | 0 => array( |
329 | - 'name' => '.', |
|
330 | - 'subnav' => 1, |
|
331 | - 'browse' => 1, |
|
332 | - 'upload' => 1, |
|
333 | - 'thumb' => 1, |
|
334 | - 'delete' => 1, |
|
335 | - 'resize' => 1, |
|
329 | + 'name' => '.', |
|
330 | + 'subnav' => 1, |
|
331 | + 'browse' => 1, |
|
332 | + 'upload' => 1, |
|
333 | + 'thumb' => 1, |
|
334 | + 'delete' => 1, |
|
335 | + 'resize' => 1, |
|
336 | 336 | ), |
337 | - ), |
|
338 | - 'thumbnails' => array( |
|
337 | + ), |
|
338 | + 'thumbnails' => array( |
|
339 | 339 | 0 => array( |
340 | - 'name' => 'Small', |
|
341 | - 'dimensions' => '90x90', |
|
342 | - 'prefix' => 'small_', |
|
343 | - 'suffix' => '', |
|
340 | + 'name' => 'Small', |
|
341 | + 'dimensions' => '90x90', |
|
342 | + 'prefix' => 'small_', |
|
343 | + 'suffix' => '', |
|
344 | 344 | ), |
345 | 345 | 1 => array( |
346 | - 'name' => 'Medium', |
|
347 | - 'dimensions' => '120x120', |
|
348 | - 'prefix' => 'medium_', |
|
349 | - 'suffix' => '', |
|
346 | + 'name' => 'Medium', |
|
347 | + 'dimensions' => '120x120', |
|
348 | + 'prefix' => 'medium_', |
|
349 | + 'suffix' => '', |
|
350 | 350 | ), |
351 | 351 | 2 => array( |
352 | - 'name' => 'Large', |
|
353 | - 'dimensions' => '180x180', |
|
354 | - 'prefix' => 'large_', |
|
355 | - 'suffix' => '', |
|
352 | + 'name' => 'Large', |
|
353 | + 'dimensions' => '180x180', |
|
354 | + 'prefix' => 'large_', |
|
355 | + 'suffix' => '', |
|
356 | + ), |
|
356 | 357 | ), |
357 | - ), |
|
358 | 358 | ), |
359 | 359 | 2 => array( |
360 | - 'name' => 'Sample profile', |
|
361 | - 'usertab' => 1, |
|
362 | - 'filesize' => 1, |
|
363 | - 'quota' => 2, |
|
364 | - 'tuquota' => 0, |
|
365 | - 'extensions' => 'gif png jpg jpeg', |
|
366 | - 'dimensions' => '800x600', |
|
367 | - 'filenum' => 1, |
|
368 | - 'directories' => array( |
|
360 | + 'name' => 'Sample profile', |
|
361 | + 'usertab' => 1, |
|
362 | + 'filesize' => 1, |
|
363 | + 'quota' => 2, |
|
364 | + 'tuquota' => 0, |
|
365 | + 'extensions' => 'gif png jpg jpeg', |
|
366 | + 'dimensions' => '800x600', |
|
367 | + 'filenum' => 1, |
|
368 | + 'directories' => array( |
|
369 | 369 | 0 => array( |
370 | - 'name' => 'u%uid', |
|
371 | - 'subnav' => 0, |
|
372 | - 'browse' => 1, |
|
373 | - 'upload' => 1, |
|
374 | - 'thumb' => 1, |
|
375 | - 'delete' => 0, |
|
376 | - 'resize' => 0, |
|
370 | + 'name' => 'u%uid', |
|
371 | + 'subnav' => 0, |
|
372 | + 'browse' => 1, |
|
373 | + 'upload' => 1, |
|
374 | + 'thumb' => 1, |
|
375 | + 'delete' => 0, |
|
376 | + 'resize' => 0, |
|
377 | + ), |
|
377 | 378 | ), |
378 | - ), |
|
379 | - 'thumbnails' => array( |
|
379 | + 'thumbnails' => array( |
|
380 | 380 | 0 => array( |
381 | - 'name' => 'Thumb', |
|
382 | - 'dimensions' => '90x90', |
|
383 | - 'prefix' => 'thumb_', |
|
384 | - 'suffix' => '', |
|
381 | + 'name' => 'Thumb', |
|
382 | + 'dimensions' => '90x90', |
|
383 | + 'prefix' => 'thumb_', |
|
384 | + 'suffix' => '', |
|
385 | + ), |
|
385 | 386 | ), |
386 | - ), |
|
387 | 387 | ), |
388 | 388 | 3 => array( |
389 | - 'name' => 'Editor', |
|
390 | - 'usertab' => 1, |
|
391 | - 'filesize' => '1', |
|
392 | - 'quota' => '2', |
|
393 | - 'tuquota' => '0', |
|
394 | - 'extensions' => 'gif png jpg jpeg', |
|
395 | - 'dimensions' => '800x600', |
|
396 | - 'filenum' => '1', |
|
397 | - 'directories' => array( |
|
389 | + 'name' => 'Editor', |
|
390 | + 'usertab' => 1, |
|
391 | + 'filesize' => '1', |
|
392 | + 'quota' => '2', |
|
393 | + 'tuquota' => '0', |
|
394 | + 'extensions' => 'gif png jpg jpeg', |
|
395 | + 'dimensions' => '800x600', |
|
396 | + 'filenum' => '1', |
|
397 | + 'directories' => array( |
|
398 | 398 | 0 => array( |
399 | - 'name' => 'u%uid', |
|
400 | - 'subnav' => 0, |
|
401 | - 'browse' => 1, |
|
402 | - 'upload' => 1, |
|
403 | - 'thumb' => 1, |
|
404 | - 'delete' => 0, |
|
405 | - 'resize' => 0, |
|
399 | + 'name' => 'u%uid', |
|
400 | + 'subnav' => 0, |
|
401 | + 'browse' => 1, |
|
402 | + 'upload' => 1, |
|
403 | + 'thumb' => 1, |
|
404 | + 'delete' => 0, |
|
405 | + 'resize' => 0, |
|
406 | + ), |
|
406 | 407 | ), |
407 | - ), |
|
408 | - 'thumbnails' => array( |
|
408 | + 'thumbnails' => array( |
|
409 | 409 | 0 => array( |
410 | - 'name' => 'Small', |
|
411 | - 'dimensions' => '90x90', |
|
412 | - 'prefix' => 'small_', |
|
413 | - 'suffix' => '', |
|
410 | + 'name' => 'Small', |
|
411 | + 'dimensions' => '90x90', |
|
412 | + 'prefix' => 'small_', |
|
413 | + 'suffix' => '', |
|
414 | 414 | ), |
415 | 415 | 1 => array( |
416 | - 'name' => 'Medium', |
|
417 | - 'dimensions' => '120x120', |
|
418 | - 'prefix' => 'medium_', |
|
419 | - 'suffix' => '', |
|
416 | + 'name' => 'Medium', |
|
417 | + 'dimensions' => '120x120', |
|
418 | + 'prefix' => 'medium_', |
|
419 | + 'suffix' => '', |
|
420 | 420 | ), |
421 | 421 | 2 => array( |
422 | - 'name' => 'Large', |
|
423 | - 'dimensions' => '180x180', |
|
424 | - 'prefix' => 'large_', |
|
425 | - 'suffix' => '', |
|
422 | + 'name' => 'Large', |
|
423 | + 'dimensions' => '180x180', |
|
424 | + 'prefix' => 'large_', |
|
425 | + 'suffix' => '', |
|
426 | + ), |
|
426 | 427 | ), |
427 | - ), |
|
428 | 428 | ), |
429 | - ); |
|
430 | - $export['imce_profiles'] = $strongarm; |
|
429 | + ); |
|
430 | + $export['imce_profiles'] = $strongarm; |
|
431 | 431 | |
432 | - $strongarm = new stdClass; |
|
433 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
434 | - $strongarm->api_version = 1; |
|
435 | - $strongarm->name = 'imce_roles_profiles'; |
|
436 | - $strongarm->value = array( |
|
432 | + $strongarm = new stdClass; |
|
433 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
434 | + $strongarm->api_version = 1; |
|
435 | + $strongarm->name = 'imce_roles_profiles'; |
|
436 | + $strongarm->value = array( |
|
437 | 437 | 3519698132 => array( |
438 | - 'weight' => '0', |
|
439 | - 'pid' => '0', |
|
438 | + 'weight' => '0', |
|
439 | + 'pid' => '0', |
|
440 | 440 | ), |
441 | 441 | 1110965548 => array( |
442 | - 'weight' => '0', |
|
443 | - 'pid' => '0', |
|
442 | + 'weight' => '0', |
|
443 | + 'pid' => '0', |
|
444 | 444 | ), |
445 | 445 | 268174006 => array( |
446 | - 'weight' => '0', |
|
447 | - 'pid' => '0', |
|
446 | + 'weight' => '0', |
|
447 | + 'pid' => '0', |
|
448 | 448 | ), |
449 | 449 | 2938987599 => array( |
450 | - 'weight' => '0', |
|
451 | - 'pid' => '3', |
|
450 | + 'weight' => '0', |
|
451 | + 'pid' => '3', |
|
452 | 452 | ), |
453 | 453 | 1257454314 => array( |
454 | - 'weight' => '0', |
|
455 | - 'pid' => '0', |
|
454 | + 'weight' => '0', |
|
455 | + 'pid' => '0', |
|
456 | 456 | ), |
457 | 457 | 1271379760 => array( |
458 | - 'weight' => '0', |
|
459 | - 'pid' => '0', |
|
458 | + 'weight' => '0', |
|
459 | + 'pid' => '0', |
|
460 | 460 | ), |
461 | 461 | 933038561 => array( |
462 | - 'weight' => '0', |
|
463 | - 'pid' => '0', |
|
462 | + 'weight' => '0', |
|
463 | + 'pid' => '0', |
|
464 | 464 | ), |
465 | 465 | 2 => array( |
466 | - 'weight' => 11, |
|
467 | - 'pid' => '0', |
|
466 | + 'weight' => 11, |
|
467 | + 'pid' => '0', |
|
468 | 468 | ), |
469 | 469 | 1 => array( |
470 | - 'weight' => 12, |
|
471 | - 'pid' => '0', |
|
472 | - ), |
|
473 | - ); |
|
474 | - $export['imce_roles_profiles'] = $strongarm; |
|
475 | - |
|
476 | - $strongarm = new stdClass; |
|
477 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
478 | - $strongarm->api_version = 1; |
|
479 | - $strongarm->name = 'language_content_type_page'; |
|
480 | - $strongarm->value = '2'; |
|
481 | - $export['language_content_type_page'] = $strongarm; |
|
482 | - |
|
483 | - $strongarm = new stdClass; |
|
484 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
485 | - $strongarm->api_version = 1; |
|
486 | - $strongarm->name = 'menu_block_1_admin_title'; |
|
487 | - $strongarm->value = 'Tertiary menu'; |
|
488 | - $export['menu_block_1_admin_title'] = $strongarm; |
|
489 | - |
|
490 | - $strongarm = new stdClass; |
|
491 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
492 | - $strongarm->api_version = 1; |
|
493 | - $strongarm->name = 'menu_block_1_depth'; |
|
494 | - $strongarm->value = '0'; |
|
495 | - $export['menu_block_1_depth'] = $strongarm; |
|
496 | - |
|
497 | - $strongarm = new stdClass; |
|
498 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
499 | - $strongarm->api_version = 1; |
|
500 | - $strongarm->name = 'menu_block_1_expanded'; |
|
501 | - $strongarm->value = 0; |
|
502 | - $export['menu_block_1_expanded'] = $strongarm; |
|
503 | - |
|
504 | - $strongarm = new stdClass; |
|
505 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
506 | - $strongarm->api_version = 1; |
|
507 | - $strongarm->name = 'menu_block_1_follow'; |
|
508 | - $strongarm->value = 0; |
|
509 | - $export['menu_block_1_follow'] = $strongarm; |
|
510 | - |
|
511 | - $strongarm = new stdClass; |
|
512 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
513 | - $strongarm->api_version = 1; |
|
514 | - $strongarm->name = 'menu_block_1_level'; |
|
515 | - $strongarm->value = '3'; |
|
516 | - $export['menu_block_1_level'] = $strongarm; |
|
517 | - |
|
518 | - $strongarm = new stdClass; |
|
519 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
520 | - $strongarm->api_version = 1; |
|
521 | - $strongarm->name = 'menu_block_1_parent'; |
|
522 | - $strongarm->value = 'primary-links:0'; |
|
523 | - $export['menu_block_1_parent'] = $strongarm; |
|
524 | - |
|
525 | - $strongarm = new stdClass; |
|
526 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
527 | - $strongarm->api_version = 1; |
|
528 | - $strongarm->name = 'menu_block_1_sort'; |
|
529 | - $strongarm->value = 0; |
|
530 | - $export['menu_block_1_sort'] = $strongarm; |
|
531 | - |
|
532 | - $strongarm = new stdClass; |
|
533 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
534 | - $strongarm->api_version = 1; |
|
535 | - $strongarm->name = 'menu_block_1_title_link'; |
|
536 | - $strongarm->value = 0; |
|
537 | - $export['menu_block_1_title_link'] = $strongarm; |
|
538 | - |
|
539 | - $strongarm = new stdClass; |
|
540 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
541 | - $strongarm->api_version = 1; |
|
542 | - $strongarm->name = 'menu_block_ids'; |
|
543 | - $strongarm->value = array( |
|
470 | + 'weight' => 12, |
|
471 | + 'pid' => '0', |
|
472 | + ), |
|
473 | + ); |
|
474 | + $export['imce_roles_profiles'] = $strongarm; |
|
475 | + |
|
476 | + $strongarm = new stdClass; |
|
477 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
478 | + $strongarm->api_version = 1; |
|
479 | + $strongarm->name = 'language_content_type_page'; |
|
480 | + $strongarm->value = '2'; |
|
481 | + $export['language_content_type_page'] = $strongarm; |
|
482 | + |
|
483 | + $strongarm = new stdClass; |
|
484 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
485 | + $strongarm->api_version = 1; |
|
486 | + $strongarm->name = 'menu_block_1_admin_title'; |
|
487 | + $strongarm->value = 'Tertiary menu'; |
|
488 | + $export['menu_block_1_admin_title'] = $strongarm; |
|
489 | + |
|
490 | + $strongarm = new stdClass; |
|
491 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
492 | + $strongarm->api_version = 1; |
|
493 | + $strongarm->name = 'menu_block_1_depth'; |
|
494 | + $strongarm->value = '0'; |
|
495 | + $export['menu_block_1_depth'] = $strongarm; |
|
496 | + |
|
497 | + $strongarm = new stdClass; |
|
498 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
499 | + $strongarm->api_version = 1; |
|
500 | + $strongarm->name = 'menu_block_1_expanded'; |
|
501 | + $strongarm->value = 0; |
|
502 | + $export['menu_block_1_expanded'] = $strongarm; |
|
503 | + |
|
504 | + $strongarm = new stdClass; |
|
505 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
506 | + $strongarm->api_version = 1; |
|
507 | + $strongarm->name = 'menu_block_1_follow'; |
|
508 | + $strongarm->value = 0; |
|
509 | + $export['menu_block_1_follow'] = $strongarm; |
|
510 | + |
|
511 | + $strongarm = new stdClass; |
|
512 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
513 | + $strongarm->api_version = 1; |
|
514 | + $strongarm->name = 'menu_block_1_level'; |
|
515 | + $strongarm->value = '3'; |
|
516 | + $export['menu_block_1_level'] = $strongarm; |
|
517 | + |
|
518 | + $strongarm = new stdClass; |
|
519 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
520 | + $strongarm->api_version = 1; |
|
521 | + $strongarm->name = 'menu_block_1_parent'; |
|
522 | + $strongarm->value = 'primary-links:0'; |
|
523 | + $export['menu_block_1_parent'] = $strongarm; |
|
524 | + |
|
525 | + $strongarm = new stdClass; |
|
526 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
527 | + $strongarm->api_version = 1; |
|
528 | + $strongarm->name = 'menu_block_1_sort'; |
|
529 | + $strongarm->value = 0; |
|
530 | + $export['menu_block_1_sort'] = $strongarm; |
|
531 | + |
|
532 | + $strongarm = new stdClass; |
|
533 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
534 | + $strongarm->api_version = 1; |
|
535 | + $strongarm->name = 'menu_block_1_title_link'; |
|
536 | + $strongarm->value = 0; |
|
537 | + $export['menu_block_1_title_link'] = $strongarm; |
|
538 | + |
|
539 | + $strongarm = new stdClass; |
|
540 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
541 | + $strongarm->api_version = 1; |
|
542 | + $strongarm->name = 'menu_block_ids'; |
|
543 | + $strongarm->value = array( |
|
544 | 544 | 0 => 1, |
545 | - ); |
|
546 | - $export['menu_block_ids'] = $strongarm; |
|
547 | - |
|
548 | - $strongarm = new stdClass; |
|
549 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
550 | - $strongarm->api_version = 1; |
|
551 | - $strongarm->name = 'menu_default_node_menu'; |
|
552 | - $strongarm->value = 'primary-links'; |
|
553 | - $export['menu_default_node_menu'] = $strongarm; |
|
554 | - |
|
555 | - $strongarm = new stdClass; |
|
556 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
557 | - $strongarm->api_version = 1; |
|
558 | - $strongarm->name = 'menu_expanded'; |
|
559 | - $strongarm->value = array( |
|
545 | + ); |
|
546 | + $export['menu_block_ids'] = $strongarm; |
|
547 | + |
|
548 | + $strongarm = new stdClass; |
|
549 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
550 | + $strongarm->api_version = 1; |
|
551 | + $strongarm->name = 'menu_default_node_menu'; |
|
552 | + $strongarm->value = 'primary-links'; |
|
553 | + $export['menu_default_node_menu'] = $strongarm; |
|
554 | + |
|
555 | + $strongarm = new stdClass; |
|
556 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
557 | + $strongarm->api_version = 1; |
|
558 | + $strongarm->name = 'menu_expanded'; |
|
559 | + $strongarm->value = array( |
|
560 | 560 | 0 => 'primary-links', |
561 | - ); |
|
562 | - $export['menu_expanded'] = $strongarm; |
|
563 | - |
|
564 | - $strongarm = new stdClass; |
|
565 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
566 | - $strongarm->api_version = 1; |
|
567 | - $strongarm->name = 'menu_primary_links_source'; |
|
568 | - $strongarm->value = 'primary-links'; |
|
569 | - $export['menu_primary_links_source'] = $strongarm; |
|
570 | - |
|
571 | - $strongarm = new stdClass; |
|
572 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
573 | - $strongarm->api_version = 1; |
|
574 | - $strongarm->name = 'menu_secondary_links_source'; |
|
575 | - $strongarm->value = 'primary-links'; |
|
576 | - $export['menu_secondary_links_source'] = $strongarm; |
|
577 | - |
|
578 | - $strongarm = new stdClass; |
|
579 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
580 | - $strongarm->api_version = 1; |
|
581 | - $strongarm->name = 'node_admin_theme'; |
|
582 | - $strongarm->value = 0; |
|
583 | - $export['node_admin_theme'] = $strongarm; |
|
584 | - |
|
585 | - $strongarm = new stdClass; |
|
586 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
587 | - $strongarm->api_version = 1; |
|
588 | - $strongarm->name = 'node_options_page'; |
|
589 | - $strongarm->value = array( |
|
561 | + ); |
|
562 | + $export['menu_expanded'] = $strongarm; |
|
563 | + |
|
564 | + $strongarm = new stdClass; |
|
565 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
566 | + $strongarm->api_version = 1; |
|
567 | + $strongarm->name = 'menu_primary_links_source'; |
|
568 | + $strongarm->value = 'primary-links'; |
|
569 | + $export['menu_primary_links_source'] = $strongarm; |
|
570 | + |
|
571 | + $strongarm = new stdClass; |
|
572 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
573 | + $strongarm->api_version = 1; |
|
574 | + $strongarm->name = 'menu_secondary_links_source'; |
|
575 | + $strongarm->value = 'primary-links'; |
|
576 | + $export['menu_secondary_links_source'] = $strongarm; |
|
577 | + |
|
578 | + $strongarm = new stdClass; |
|
579 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
580 | + $strongarm->api_version = 1; |
|
581 | + $strongarm->name = 'node_admin_theme'; |
|
582 | + $strongarm->value = 0; |
|
583 | + $export['node_admin_theme'] = $strongarm; |
|
584 | + |
|
585 | + $strongarm = new stdClass; |
|
586 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
587 | + $strongarm->api_version = 1; |
|
588 | + $strongarm->name = 'node_options_page'; |
|
589 | + $strongarm->value = array( |
|
590 | 590 | 0 => 'status', |
591 | - ); |
|
592 | - $export['node_options_page'] = $strongarm; |
|
593 | - |
|
594 | - $strongarm = new stdClass; |
|
595 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
596 | - $strongarm->api_version = 1; |
|
597 | - $strongarm->name = 'page_manager_user_view_disabled'; |
|
598 | - $strongarm->value = FALSE; |
|
599 | - $export['page_manager_user_view_disabled'] = $strongarm; |
|
600 | - |
|
601 | - $strongarm = new stdClass; |
|
602 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
603 | - $strongarm->api_version = 1; |
|
604 | - $strongarm->name = 'panels_legacy_rendering_mode'; |
|
605 | - $strongarm->value = FALSE; |
|
606 | - $export['panels_legacy_rendering_mode'] = $strongarm; |
|
607 | - |
|
608 | - $strongarm = new stdClass; |
|
609 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
610 | - $strongarm->api_version = 1; |
|
611 | - $strongarm->name = 'pathauto_ignore_words'; |
|
612 | - $strongarm->value = 'a,an,as,at,before,but,by,for,from,is,in,into,like,of,off,on,onto,per,since,than,the,this,that,to,up,via,with'; |
|
613 | - $export['pathauto_ignore_words'] = $strongarm; |
|
614 | - |
|
615 | - $strongarm = new stdClass; |
|
616 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
617 | - $strongarm->api_version = 1; |
|
618 | - $strongarm->name = 'pathauto_indexaliases'; |
|
619 | - $strongarm->value = FALSE; |
|
620 | - $export['pathauto_indexaliases'] = $strongarm; |
|
621 | - |
|
622 | - $strongarm = new stdClass; |
|
623 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
624 | - $strongarm->api_version = 1; |
|
625 | - $strongarm->name = 'pathauto_indexaliases_bulkupdate'; |
|
626 | - $strongarm->value = FALSE; |
|
627 | - $export['pathauto_indexaliases_bulkupdate'] = $strongarm; |
|
628 | - |
|
629 | - $strongarm = new stdClass; |
|
630 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
631 | - $strongarm->api_version = 1; |
|
632 | - $strongarm->name = 'pathauto_max_component_length'; |
|
633 | - $strongarm->value = '100'; |
|
634 | - $export['pathauto_max_component_length'] = $strongarm; |
|
635 | - |
|
636 | - $strongarm = new stdClass; |
|
637 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
638 | - $strongarm->api_version = 1; |
|
639 | - $strongarm->name = 'pathauto_max_length'; |
|
640 | - $strongarm->value = '100'; |
|
641 | - $export['pathauto_max_length'] = $strongarm; |
|
642 | - |
|
643 | - $strongarm = new stdClass; |
|
644 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
645 | - $strongarm->api_version = 1; |
|
646 | - $strongarm->name = 'pathauto_modulelist'; |
|
647 | - $strongarm->value = array( |
|
591 | + ); |
|
592 | + $export['node_options_page'] = $strongarm; |
|
593 | + |
|
594 | + $strongarm = new stdClass; |
|
595 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
596 | + $strongarm->api_version = 1; |
|
597 | + $strongarm->name = 'page_manager_user_view_disabled'; |
|
598 | + $strongarm->value = FALSE; |
|
599 | + $export['page_manager_user_view_disabled'] = $strongarm; |
|
600 | + |
|
601 | + $strongarm = new stdClass; |
|
602 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
603 | + $strongarm->api_version = 1; |
|
604 | + $strongarm->name = 'panels_legacy_rendering_mode'; |
|
605 | + $strongarm->value = FALSE; |
|
606 | + $export['panels_legacy_rendering_mode'] = $strongarm; |
|
607 | + |
|
608 | + $strongarm = new stdClass; |
|
609 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
610 | + $strongarm->api_version = 1; |
|
611 | + $strongarm->name = 'pathauto_ignore_words'; |
|
612 | + $strongarm->value = 'a,an,as,at,before,but,by,for,from,is,in,into,like,of,off,on,onto,per,since,than,the,this,that,to,up,via,with'; |
|
613 | + $export['pathauto_ignore_words'] = $strongarm; |
|
614 | + |
|
615 | + $strongarm = new stdClass; |
|
616 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
617 | + $strongarm->api_version = 1; |
|
618 | + $strongarm->name = 'pathauto_indexaliases'; |
|
619 | + $strongarm->value = FALSE; |
|
620 | + $export['pathauto_indexaliases'] = $strongarm; |
|
621 | + |
|
622 | + $strongarm = new stdClass; |
|
623 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
624 | + $strongarm->api_version = 1; |
|
625 | + $strongarm->name = 'pathauto_indexaliases_bulkupdate'; |
|
626 | + $strongarm->value = FALSE; |
|
627 | + $export['pathauto_indexaliases_bulkupdate'] = $strongarm; |
|
628 | + |
|
629 | + $strongarm = new stdClass; |
|
630 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
631 | + $strongarm->api_version = 1; |
|
632 | + $strongarm->name = 'pathauto_max_component_length'; |
|
633 | + $strongarm->value = '100'; |
|
634 | + $export['pathauto_max_component_length'] = $strongarm; |
|
635 | + |
|
636 | + $strongarm = new stdClass; |
|
637 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
638 | + $strongarm->api_version = 1; |
|
639 | + $strongarm->name = 'pathauto_max_length'; |
|
640 | + $strongarm->value = '100'; |
|
641 | + $export['pathauto_max_length'] = $strongarm; |
|
642 | + |
|
643 | + $strongarm = new stdClass; |
|
644 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
645 | + $strongarm->api_version = 1; |
|
646 | + $strongarm->name = 'pathauto_modulelist'; |
|
647 | + $strongarm->value = array( |
|
648 | 648 | 0 => 'node', |
649 | 649 | 1 => 'user', |
650 | 650 | 2 => 'taxonomy', |
651 | - ); |
|
652 | - $export['pathauto_modulelist'] = $strongarm; |
|
653 | - |
|
654 | - $strongarm = new stdClass; |
|
655 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
656 | - $strongarm->api_version = 1; |
|
657 | - $strongarm->name = 'pathauto_node_applytofeeds'; |
|
658 | - $strongarm->value = ''; |
|
659 | - $export['pathauto_node_applytofeeds'] = $strongarm; |
|
660 | - |
|
661 | - $strongarm = new stdClass; |
|
662 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
663 | - $strongarm->api_version = 1; |
|
664 | - $strongarm->name = 'pathauto_node_bulkupdate'; |
|
665 | - $strongarm->value = FALSE; |
|
666 | - $export['pathauto_node_bulkupdate'] = $strongarm; |
|
667 | - |
|
668 | - $strongarm = new stdClass; |
|
669 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
670 | - $strongarm->api_version = 1; |
|
671 | - $strongarm->name = 'pathauto_node_image_pattern'; |
|
672 | - $strongarm->value = ''; |
|
673 | - $export['pathauto_node_image_pattern'] = $strongarm; |
|
674 | - |
|
675 | - $strongarm = new stdClass; |
|
676 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
677 | - $strongarm->api_version = 1; |
|
678 | - $strongarm->name = 'pathauto_node_page_pattern'; |
|
679 | - $strongarm->value = ''; |
|
680 | - $export['pathauto_node_page_pattern'] = $strongarm; |
|
681 | - |
|
682 | - $strongarm = new stdClass; |
|
683 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
684 | - $strongarm->api_version = 1; |
|
685 | - $strongarm->name = 'pathauto_node_pattern'; |
|
686 | - $strongarm->value = 'content/[title-raw]'; |
|
687 | - $export['pathauto_node_pattern'] = $strongarm; |
|
688 | - |
|
689 | - $strongarm = new stdClass; |
|
690 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
691 | - $strongarm->api_version = 1; |
|
692 | - $strongarm->name = 'pathauto_node_story_pattern'; |
|
693 | - $strongarm->value = ''; |
|
694 | - $export['pathauto_node_story_pattern'] = $strongarm; |
|
695 | - |
|
696 | - $strongarm = new stdClass; |
|
697 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
698 | - $strongarm->api_version = 1; |
|
699 | - $strongarm->name = 'pathauto_punctuation_hyphen'; |
|
700 | - $strongarm->value = 1; |
|
701 | - $export['pathauto_punctuation_hyphen'] = $strongarm; |
|
702 | - |
|
703 | - $strongarm = new stdClass; |
|
704 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
705 | - $strongarm->api_version = 1; |
|
706 | - $strongarm->name = 'pathauto_punctuation_quotes'; |
|
707 | - $strongarm->value = 0; |
|
708 | - $export['pathauto_punctuation_quotes'] = $strongarm; |
|
709 | - |
|
710 | - $strongarm = new stdClass; |
|
711 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
712 | - $strongarm->api_version = 1; |
|
713 | - $strongarm->name = 'pathauto_separator'; |
|
714 | - $strongarm->value = '-'; |
|
715 | - $export['pathauto_separator'] = $strongarm; |
|
716 | - |
|
717 | - $strongarm = new stdClass; |
|
718 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
719 | - $strongarm->api_version = 1; |
|
720 | - $strongarm->name = 'pathauto_taxonomy_2_pattern'; |
|
721 | - $strongarm->value = ''; |
|
722 | - $export['pathauto_taxonomy_2_pattern'] = $strongarm; |
|
723 | - |
|
724 | - $strongarm = new stdClass; |
|
725 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
726 | - $strongarm->api_version = 1; |
|
727 | - $strongarm->name = 'pathauto_taxonomy_applytofeeds'; |
|
728 | - $strongarm->value = FALSE; |
|
729 | - $export['pathauto_taxonomy_applytofeeds'] = $strongarm; |
|
730 | - |
|
731 | - $strongarm = new stdClass; |
|
732 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
733 | - $strongarm->api_version = 1; |
|
734 | - $strongarm->name = 'pathauto_taxonomy_bulkupdate'; |
|
735 | - $strongarm->value = FALSE; |
|
736 | - $export['pathauto_taxonomy_bulkupdate'] = $strongarm; |
|
737 | - |
|
738 | - $strongarm = new stdClass; |
|
739 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
740 | - $strongarm->api_version = 1; |
|
741 | - $strongarm->name = 'pathauto_taxonomy_pattern'; |
|
742 | - $strongarm->value = 'category/[vocab-raw]/[catpath-raw]'; |
|
743 | - $export['pathauto_taxonomy_pattern'] = $strongarm; |
|
744 | - |
|
745 | - $strongarm = new stdClass; |
|
746 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
747 | - $strongarm->api_version = 1; |
|
748 | - $strongarm->name = 'pathauto_taxonomy_supportsfeeds'; |
|
749 | - $strongarm->value = '0/feed'; |
|
750 | - $export['pathauto_taxonomy_supportsfeeds'] = $strongarm; |
|
751 | - |
|
752 | - $strongarm = new stdClass; |
|
753 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
754 | - $strongarm->api_version = 1; |
|
755 | - $strongarm->name = 'pathauto_update_action'; |
|
756 | - $strongarm->value = '2'; |
|
757 | - $export['pathauto_update_action'] = $strongarm; |
|
758 | - |
|
759 | - $strongarm = new stdClass; |
|
760 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
761 | - $strongarm->api_version = 1; |
|
762 | - $strongarm->name = 'pathauto_user_bulkupdate'; |
|
763 | - $strongarm->value = FALSE; |
|
764 | - $export['pathauto_user_bulkupdate'] = $strongarm; |
|
765 | - |
|
766 | - $strongarm = new stdClass; |
|
767 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
768 | - $strongarm->api_version = 1; |
|
769 | - $strongarm->name = 'pathauto_user_pattern'; |
|
770 | - $strongarm->value = 'users/[user-raw]'; |
|
771 | - $export['pathauto_user_pattern'] = $strongarm; |
|
772 | - |
|
773 | - $strongarm = new stdClass; |
|
774 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
775 | - $strongarm->api_version = 1; |
|
776 | - $strongarm->name = 'pathauto_user_supportsfeeds'; |
|
777 | - $strongarm->value = ''; |
|
778 | - $export['pathauto_user_supportsfeeds'] = $strongarm; |
|
779 | - |
|
780 | - $strongarm = new stdClass; |
|
781 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
782 | - $strongarm->api_version = 1; |
|
783 | - $strongarm->name = 'pathauto_verbose'; |
|
784 | - $strongarm->value = FALSE; |
|
785 | - $export['pathauto_verbose'] = $strongarm; |
|
786 | - |
|
787 | - $strongarm = new stdClass; |
|
788 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
789 | - $strongarm->api_version = 1; |
|
790 | - $strongarm->name = 'site_frontpage'; |
|
791 | - $strongarm->value = 'home'; |
|
792 | - $export['site_frontpage'] = $strongarm; |
|
793 | - |
|
794 | - $strongarm = new stdClass; |
|
795 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
796 | - $strongarm->api_version = 1; |
|
797 | - $strongarm->name = 'tableofcontents_allowed_tags_4'; |
|
798 | - $strongarm->value = '<em> <i> <strong> <b> <u> <del> <ins> <sub> <sup> <cite> <strike> <s> <tt> <span> <font> <abbr> <acronym> <dfn> <q> <bdo> <big> <small>'; |
|
799 | - $export['tableofcontents_allowed_tags_4'] = $strongarm; |
|
800 | - |
|
801 | - $strongarm = new stdClass; |
|
802 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
803 | - $strongarm->api_version = 1; |
|
804 | - $strongarm->name = 'tableofcontents_allowed_tags_6'; |
|
805 | - $strongarm->value = '<em> <i> <strong> <b> <u> <del> <ins> <sub> <sup> <cite> <strike> <s> <tt> <span> <font> <abbr> <acronym> <dfn> <q> <bdo> <big> <small>'; |
|
806 | - $export['tableofcontents_allowed_tags_6'] = $strongarm; |
|
807 | - |
|
808 | - $strongarm = new stdClass; |
|
809 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
810 | - $strongarm->api_version = 1; |
|
811 | - $strongarm->name = 'tableofcontents_allow_override_4'; |
|
812 | - $strongarm->value = 1; |
|
813 | - $export['tableofcontents_allow_override_4'] = $strongarm; |
|
814 | - |
|
815 | - $strongarm = new stdClass; |
|
816 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
817 | - $strongarm->api_version = 1; |
|
818 | - $strongarm->name = 'tableofcontents_allow_override_6'; |
|
819 | - $strongarm->value = 1; |
|
820 | - $export['tableofcontents_allow_override_6'] = $strongarm; |
|
821 | - |
|
822 | - $strongarm = new stdClass; |
|
823 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
824 | - $strongarm->api_version = 1; |
|
825 | - $strongarm->name = 'tableofcontents_attachments_4'; |
|
826 | - $strongarm->value = 0; |
|
827 | - $export['tableofcontents_attachments_4'] = $strongarm; |
|
828 | - |
|
829 | - $strongarm = new stdClass; |
|
830 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
831 | - $strongarm->api_version = 1; |
|
832 | - $strongarm->name = 'tableofcontents_automatic_4'; |
|
833 | - $strongarm->value = '0'; |
|
834 | - $export['tableofcontents_automatic_4'] = $strongarm; |
|
835 | - |
|
836 | - $strongarm = new stdClass; |
|
837 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
838 | - $strongarm->api_version = 1; |
|
839 | - $strongarm->name = 'tableofcontents_automatic_6'; |
|
840 | - $strongarm->value = '0'; |
|
841 | - $export['tableofcontents_automatic_6'] = $strongarm; |
|
842 | - |
|
843 | - $strongarm = new stdClass; |
|
844 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
845 | - $strongarm->api_version = 1; |
|
846 | - $strongarm->name = 'tableofcontents_back_to_top_4'; |
|
847 | - $strongarm->value = ''; |
|
848 | - $export['tableofcontents_back_to_top_4'] = $strongarm; |
|
849 | - |
|
850 | - $strongarm = new stdClass; |
|
851 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
852 | - $strongarm->api_version = 1; |
|
853 | - $strongarm->name = 'tableofcontents_back_to_top_6'; |
|
854 | - $strongarm->value = ''; |
|
855 | - $export['tableofcontents_back_to_top_6'] = $strongarm; |
|
856 | - |
|
857 | - $strongarm = new stdClass; |
|
858 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
859 | - $strongarm->api_version = 1; |
|
860 | - $strongarm->name = 'tableofcontents_back_to_top_anchor_4'; |
|
861 | - $strongarm->value = 'toc'; |
|
862 | - $export['tableofcontents_back_to_top_anchor_4'] = $strongarm; |
|
863 | - |
|
864 | - $strongarm = new stdClass; |
|
865 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
866 | - $strongarm->api_version = 1; |
|
867 | - $strongarm->name = 'tableofcontents_back_to_top_anchor_6'; |
|
868 | - $strongarm->value = 'toc'; |
|
869 | - $export['tableofcontents_back_to_top_anchor_6'] = $strongarm; |
|
870 | - |
|
871 | - $strongarm = new stdClass; |
|
872 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
873 | - $strongarm->api_version = 1; |
|
874 | - $strongarm->name = 'tableofcontents_back_to_top_location_4'; |
|
875 | - $strongarm->value = 'bottom'; |
|
876 | - $export['tableofcontents_back_to_top_location_4'] = $strongarm; |
|
877 | - |
|
878 | - $strongarm = new stdClass; |
|
879 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
880 | - $strongarm->api_version = 1; |
|
881 | - $strongarm->name = 'tableofcontents_back_to_top_location_6'; |
|
882 | - $strongarm->value = 'bottom'; |
|
883 | - $export['tableofcontents_back_to_top_location_6'] = $strongarm; |
|
884 | - |
|
885 | - $strongarm = new stdClass; |
|
886 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
887 | - $strongarm->api_version = 1; |
|
888 | - $strongarm->name = 'tableofcontents_back_to_top_maxlevel_4'; |
|
889 | - $strongarm->value = '4'; |
|
890 | - $export['tableofcontents_back_to_top_maxlevel_4'] = $strongarm; |
|
891 | - |
|
892 | - $strongarm = new stdClass; |
|
893 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
894 | - $strongarm->api_version = 1; |
|
895 | - $strongarm->name = 'tableofcontents_back_to_top_maxlevel_6'; |
|
896 | - $strongarm->value = '4'; |
|
897 | - $export['tableofcontents_back_to_top_maxlevel_6'] = $strongarm; |
|
898 | - |
|
899 | - $strongarm = new stdClass; |
|
900 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
901 | - $strongarm->api_version = 1; |
|
902 | - $strongarm->name = 'tableofcontents_back_to_top_minlevel_4'; |
|
903 | - $strongarm->value = '2'; |
|
904 | - $export['tableofcontents_back_to_top_minlevel_4'] = $strongarm; |
|
905 | - |
|
906 | - $strongarm = new stdClass; |
|
907 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
908 | - $strongarm->api_version = 1; |
|
909 | - $strongarm->name = 'tableofcontents_back_to_top_minlevel_6'; |
|
910 | - $strongarm->value = '2'; |
|
911 | - $export['tableofcontents_back_to_top_minlevel_6'] = $strongarm; |
|
912 | - |
|
913 | - $strongarm = new stdClass; |
|
914 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
915 | - $strongarm->api_version = 1; |
|
916 | - $strongarm->name = 'tableofcontents_collapsed_4'; |
|
917 | - $strongarm->value = 0; |
|
918 | - $export['tableofcontents_collapsed_4'] = $strongarm; |
|
919 | - |
|
920 | - $strongarm = new stdClass; |
|
921 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
922 | - $strongarm->api_version = 1; |
|
923 | - $strongarm->name = 'tableofcontents_collapsed_6'; |
|
924 | - $strongarm->value = 0; |
|
925 | - $export['tableofcontents_collapsed_6'] = $strongarm; |
|
926 | - |
|
927 | - $strongarm = new stdClass; |
|
928 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
929 | - $strongarm->api_version = 1; |
|
930 | - $strongarm->name = 'tableofcontents_comments_4'; |
|
931 | - $strongarm->value = 0; |
|
932 | - $export['tableofcontents_comments_4'] = $strongarm; |
|
933 | - |
|
934 | - $strongarm = new stdClass; |
|
935 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
936 | - $strongarm->api_version = 1; |
|
937 | - $strongarm->name = 'tableofcontents_comments_6'; |
|
938 | - $strongarm->value = 0; |
|
939 | - $export['tableofcontents_comments_6'] = $strongarm; |
|
940 | - |
|
941 | - $strongarm = new stdClass; |
|
942 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
943 | - $strongarm->api_version = 1; |
|
944 | - $strongarm->name = 'tableofcontents_comments_level_4'; |
|
945 | - $strongarm->value = '3'; |
|
946 | - $export['tableofcontents_comments_level_4'] = $strongarm; |
|
947 | - |
|
948 | - $strongarm = new stdClass; |
|
949 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
950 | - $strongarm->api_version = 1; |
|
951 | - $strongarm->name = 'tableofcontents_comments_level_6'; |
|
952 | - $strongarm->value = '3'; |
|
953 | - $export['tableofcontents_comments_level_6'] = $strongarm; |
|
954 | - |
|
955 | - $strongarm = new stdClass; |
|
956 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
957 | - $strongarm->api_version = 1; |
|
958 | - $strongarm->name = 'tableofcontents_hide_show_4'; |
|
959 | - $strongarm->value = 1; |
|
960 | - $export['tableofcontents_hide_show_4'] = $strongarm; |
|
961 | - |
|
962 | - $strongarm = new stdClass; |
|
963 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
964 | - $strongarm->api_version = 1; |
|
965 | - $strongarm->name = 'tableofcontents_hide_show_6'; |
|
966 | - $strongarm->value = 1; |
|
967 | - $export['tableofcontents_hide_show_6'] = $strongarm; |
|
968 | - |
|
969 | - $strongarm = new stdClass; |
|
970 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
971 | - $strongarm->api_version = 1; |
|
972 | - $strongarm->name = 'tableofcontents_hide_table_4'; |
|
973 | - $strongarm->value = 0; |
|
974 | - $export['tableofcontents_hide_table_4'] = $strongarm; |
|
975 | - |
|
976 | - $strongarm = new stdClass; |
|
977 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
978 | - $strongarm->api_version = 1; |
|
979 | - $strongarm->name = 'tableofcontents_hide_table_6'; |
|
980 | - $strongarm->value = 0; |
|
981 | - $export['tableofcontents_hide_table_6'] = $strongarm; |
|
982 | - |
|
983 | - $strongarm = new stdClass; |
|
984 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
985 | - $strongarm->api_version = 1; |
|
986 | - $strongarm->name = 'tableofcontents_identifier_introducer_4'; |
|
987 | - $strongarm->value = 'header'; |
|
988 | - $export['tableofcontents_identifier_introducer_4'] = $strongarm; |
|
989 | - |
|
990 | - $strongarm = new stdClass; |
|
991 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
992 | - $strongarm->api_version = 1; |
|
993 | - $strongarm->name = 'tableofcontents_identifier_introducer_6'; |
|
994 | - $strongarm->value = 'header'; |
|
995 | - $export['tableofcontents_identifier_introducer_6'] = $strongarm; |
|
996 | - |
|
997 | - $strongarm = new stdClass; |
|
998 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
999 | - $strongarm->api_version = 1; |
|
1000 | - $strongarm->name = 'tableofcontents_id_generator_4'; |
|
1001 | - $strongarm->value = 'title'; |
|
1002 | - $export['tableofcontents_id_generator_4'] = $strongarm; |
|
1003 | - |
|
1004 | - $strongarm = new stdClass; |
|
1005 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1006 | - $strongarm->api_version = 1; |
|
1007 | - $strongarm->name = 'tableofcontents_id_generator_6'; |
|
1008 | - $strongarm->value = 'title'; |
|
1009 | - $export['tableofcontents_id_generator_6'] = $strongarm; |
|
1010 | - |
|
1011 | - $strongarm = new stdClass; |
|
1012 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1013 | - $strongarm->api_version = 1; |
|
1014 | - $strongarm->name = 'tableofcontents_id_separator_4'; |
|
1015 | - $strongarm->value = '-'; |
|
1016 | - $export['tableofcontents_id_separator_4'] = $strongarm; |
|
1017 | - |
|
1018 | - $strongarm = new stdClass; |
|
1019 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1020 | - $strongarm->api_version = 1; |
|
1021 | - $strongarm->name = 'tableofcontents_id_separator_6'; |
|
1022 | - $strongarm->value = '-'; |
|
1023 | - $export['tableofcontents_id_separator_6'] = $strongarm; |
|
1024 | - |
|
1025 | - $strongarm = new stdClass; |
|
1026 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1027 | - $strongarm->api_version = 1; |
|
1028 | - $strongarm->name = 'tableofcontents_id_stripping_4'; |
|
1029 | - $strongarm->value = array( |
|
651 | + ); |
|
652 | + $export['pathauto_modulelist'] = $strongarm; |
|
653 | + |
|
654 | + $strongarm = new stdClass; |
|
655 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
656 | + $strongarm->api_version = 1; |
|
657 | + $strongarm->name = 'pathauto_node_applytofeeds'; |
|
658 | + $strongarm->value = ''; |
|
659 | + $export['pathauto_node_applytofeeds'] = $strongarm; |
|
660 | + |
|
661 | + $strongarm = new stdClass; |
|
662 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
663 | + $strongarm->api_version = 1; |
|
664 | + $strongarm->name = 'pathauto_node_bulkupdate'; |
|
665 | + $strongarm->value = FALSE; |
|
666 | + $export['pathauto_node_bulkupdate'] = $strongarm; |
|
667 | + |
|
668 | + $strongarm = new stdClass; |
|
669 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
670 | + $strongarm->api_version = 1; |
|
671 | + $strongarm->name = 'pathauto_node_image_pattern'; |
|
672 | + $strongarm->value = ''; |
|
673 | + $export['pathauto_node_image_pattern'] = $strongarm; |
|
674 | + |
|
675 | + $strongarm = new stdClass; |
|
676 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
677 | + $strongarm->api_version = 1; |
|
678 | + $strongarm->name = 'pathauto_node_page_pattern'; |
|
679 | + $strongarm->value = ''; |
|
680 | + $export['pathauto_node_page_pattern'] = $strongarm; |
|
681 | + |
|
682 | + $strongarm = new stdClass; |
|
683 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
684 | + $strongarm->api_version = 1; |
|
685 | + $strongarm->name = 'pathauto_node_pattern'; |
|
686 | + $strongarm->value = 'content/[title-raw]'; |
|
687 | + $export['pathauto_node_pattern'] = $strongarm; |
|
688 | + |
|
689 | + $strongarm = new stdClass; |
|
690 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
691 | + $strongarm->api_version = 1; |
|
692 | + $strongarm->name = 'pathauto_node_story_pattern'; |
|
693 | + $strongarm->value = ''; |
|
694 | + $export['pathauto_node_story_pattern'] = $strongarm; |
|
695 | + |
|
696 | + $strongarm = new stdClass; |
|
697 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
698 | + $strongarm->api_version = 1; |
|
699 | + $strongarm->name = 'pathauto_punctuation_hyphen'; |
|
700 | + $strongarm->value = 1; |
|
701 | + $export['pathauto_punctuation_hyphen'] = $strongarm; |
|
702 | + |
|
703 | + $strongarm = new stdClass; |
|
704 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
705 | + $strongarm->api_version = 1; |
|
706 | + $strongarm->name = 'pathauto_punctuation_quotes'; |
|
707 | + $strongarm->value = 0; |
|
708 | + $export['pathauto_punctuation_quotes'] = $strongarm; |
|
709 | + |
|
710 | + $strongarm = new stdClass; |
|
711 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
712 | + $strongarm->api_version = 1; |
|
713 | + $strongarm->name = 'pathauto_separator'; |
|
714 | + $strongarm->value = '-'; |
|
715 | + $export['pathauto_separator'] = $strongarm; |
|
716 | + |
|
717 | + $strongarm = new stdClass; |
|
718 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
719 | + $strongarm->api_version = 1; |
|
720 | + $strongarm->name = 'pathauto_taxonomy_2_pattern'; |
|
721 | + $strongarm->value = ''; |
|
722 | + $export['pathauto_taxonomy_2_pattern'] = $strongarm; |
|
723 | + |
|
724 | + $strongarm = new stdClass; |
|
725 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
726 | + $strongarm->api_version = 1; |
|
727 | + $strongarm->name = 'pathauto_taxonomy_applytofeeds'; |
|
728 | + $strongarm->value = FALSE; |
|
729 | + $export['pathauto_taxonomy_applytofeeds'] = $strongarm; |
|
730 | + |
|
731 | + $strongarm = new stdClass; |
|
732 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
733 | + $strongarm->api_version = 1; |
|
734 | + $strongarm->name = 'pathauto_taxonomy_bulkupdate'; |
|
735 | + $strongarm->value = FALSE; |
|
736 | + $export['pathauto_taxonomy_bulkupdate'] = $strongarm; |
|
737 | + |
|
738 | + $strongarm = new stdClass; |
|
739 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
740 | + $strongarm->api_version = 1; |
|
741 | + $strongarm->name = 'pathauto_taxonomy_pattern'; |
|
742 | + $strongarm->value = 'category/[vocab-raw]/[catpath-raw]'; |
|
743 | + $export['pathauto_taxonomy_pattern'] = $strongarm; |
|
744 | + |
|
745 | + $strongarm = new stdClass; |
|
746 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
747 | + $strongarm->api_version = 1; |
|
748 | + $strongarm->name = 'pathauto_taxonomy_supportsfeeds'; |
|
749 | + $strongarm->value = '0/feed'; |
|
750 | + $export['pathauto_taxonomy_supportsfeeds'] = $strongarm; |
|
751 | + |
|
752 | + $strongarm = new stdClass; |
|
753 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
754 | + $strongarm->api_version = 1; |
|
755 | + $strongarm->name = 'pathauto_update_action'; |
|
756 | + $strongarm->value = '2'; |
|
757 | + $export['pathauto_update_action'] = $strongarm; |
|
758 | + |
|
759 | + $strongarm = new stdClass; |
|
760 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
761 | + $strongarm->api_version = 1; |
|
762 | + $strongarm->name = 'pathauto_user_bulkupdate'; |
|
763 | + $strongarm->value = FALSE; |
|
764 | + $export['pathauto_user_bulkupdate'] = $strongarm; |
|
765 | + |
|
766 | + $strongarm = new stdClass; |
|
767 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
768 | + $strongarm->api_version = 1; |
|
769 | + $strongarm->name = 'pathauto_user_pattern'; |
|
770 | + $strongarm->value = 'users/[user-raw]'; |
|
771 | + $export['pathauto_user_pattern'] = $strongarm; |
|
772 | + |
|
773 | + $strongarm = new stdClass; |
|
774 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
775 | + $strongarm->api_version = 1; |
|
776 | + $strongarm->name = 'pathauto_user_supportsfeeds'; |
|
777 | + $strongarm->value = ''; |
|
778 | + $export['pathauto_user_supportsfeeds'] = $strongarm; |
|
779 | + |
|
780 | + $strongarm = new stdClass; |
|
781 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
782 | + $strongarm->api_version = 1; |
|
783 | + $strongarm->name = 'pathauto_verbose'; |
|
784 | + $strongarm->value = FALSE; |
|
785 | + $export['pathauto_verbose'] = $strongarm; |
|
786 | + |
|
787 | + $strongarm = new stdClass; |
|
788 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
789 | + $strongarm->api_version = 1; |
|
790 | + $strongarm->name = 'site_frontpage'; |
|
791 | + $strongarm->value = 'home'; |
|
792 | + $export['site_frontpage'] = $strongarm; |
|
793 | + |
|
794 | + $strongarm = new stdClass; |
|
795 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
796 | + $strongarm->api_version = 1; |
|
797 | + $strongarm->name = 'tableofcontents_allowed_tags_4'; |
|
798 | + $strongarm->value = '<em> <i> <strong> <b> <u> <del> <ins> <sub> <sup> <cite> <strike> <s> <tt> <span> <font> <abbr> <acronym> <dfn> <q> <bdo> <big> <small>'; |
|
799 | + $export['tableofcontents_allowed_tags_4'] = $strongarm; |
|
800 | + |
|
801 | + $strongarm = new stdClass; |
|
802 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
803 | + $strongarm->api_version = 1; |
|
804 | + $strongarm->name = 'tableofcontents_allowed_tags_6'; |
|
805 | + $strongarm->value = '<em> <i> <strong> <b> <u> <del> <ins> <sub> <sup> <cite> <strike> <s> <tt> <span> <font> <abbr> <acronym> <dfn> <q> <bdo> <big> <small>'; |
|
806 | + $export['tableofcontents_allowed_tags_6'] = $strongarm; |
|
807 | + |
|
808 | + $strongarm = new stdClass; |
|
809 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
810 | + $strongarm->api_version = 1; |
|
811 | + $strongarm->name = 'tableofcontents_allow_override_4'; |
|
812 | + $strongarm->value = 1; |
|
813 | + $export['tableofcontents_allow_override_4'] = $strongarm; |
|
814 | + |
|
815 | + $strongarm = new stdClass; |
|
816 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
817 | + $strongarm->api_version = 1; |
|
818 | + $strongarm->name = 'tableofcontents_allow_override_6'; |
|
819 | + $strongarm->value = 1; |
|
820 | + $export['tableofcontents_allow_override_6'] = $strongarm; |
|
821 | + |
|
822 | + $strongarm = new stdClass; |
|
823 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
824 | + $strongarm->api_version = 1; |
|
825 | + $strongarm->name = 'tableofcontents_attachments_4'; |
|
826 | + $strongarm->value = 0; |
|
827 | + $export['tableofcontents_attachments_4'] = $strongarm; |
|
828 | + |
|
829 | + $strongarm = new stdClass; |
|
830 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
831 | + $strongarm->api_version = 1; |
|
832 | + $strongarm->name = 'tableofcontents_automatic_4'; |
|
833 | + $strongarm->value = '0'; |
|
834 | + $export['tableofcontents_automatic_4'] = $strongarm; |
|
835 | + |
|
836 | + $strongarm = new stdClass; |
|
837 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
838 | + $strongarm->api_version = 1; |
|
839 | + $strongarm->name = 'tableofcontents_automatic_6'; |
|
840 | + $strongarm->value = '0'; |
|
841 | + $export['tableofcontents_automatic_6'] = $strongarm; |
|
842 | + |
|
843 | + $strongarm = new stdClass; |
|
844 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
845 | + $strongarm->api_version = 1; |
|
846 | + $strongarm->name = 'tableofcontents_back_to_top_4'; |
|
847 | + $strongarm->value = ''; |
|
848 | + $export['tableofcontents_back_to_top_4'] = $strongarm; |
|
849 | + |
|
850 | + $strongarm = new stdClass; |
|
851 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
852 | + $strongarm->api_version = 1; |
|
853 | + $strongarm->name = 'tableofcontents_back_to_top_6'; |
|
854 | + $strongarm->value = ''; |
|
855 | + $export['tableofcontents_back_to_top_6'] = $strongarm; |
|
856 | + |
|
857 | + $strongarm = new stdClass; |
|
858 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
859 | + $strongarm->api_version = 1; |
|
860 | + $strongarm->name = 'tableofcontents_back_to_top_anchor_4'; |
|
861 | + $strongarm->value = 'toc'; |
|
862 | + $export['tableofcontents_back_to_top_anchor_4'] = $strongarm; |
|
863 | + |
|
864 | + $strongarm = new stdClass; |
|
865 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
866 | + $strongarm->api_version = 1; |
|
867 | + $strongarm->name = 'tableofcontents_back_to_top_anchor_6'; |
|
868 | + $strongarm->value = 'toc'; |
|
869 | + $export['tableofcontents_back_to_top_anchor_6'] = $strongarm; |
|
870 | + |
|
871 | + $strongarm = new stdClass; |
|
872 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
873 | + $strongarm->api_version = 1; |
|
874 | + $strongarm->name = 'tableofcontents_back_to_top_location_4'; |
|
875 | + $strongarm->value = 'bottom'; |
|
876 | + $export['tableofcontents_back_to_top_location_4'] = $strongarm; |
|
877 | + |
|
878 | + $strongarm = new stdClass; |
|
879 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
880 | + $strongarm->api_version = 1; |
|
881 | + $strongarm->name = 'tableofcontents_back_to_top_location_6'; |
|
882 | + $strongarm->value = 'bottom'; |
|
883 | + $export['tableofcontents_back_to_top_location_6'] = $strongarm; |
|
884 | + |
|
885 | + $strongarm = new stdClass; |
|
886 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
887 | + $strongarm->api_version = 1; |
|
888 | + $strongarm->name = 'tableofcontents_back_to_top_maxlevel_4'; |
|
889 | + $strongarm->value = '4'; |
|
890 | + $export['tableofcontents_back_to_top_maxlevel_4'] = $strongarm; |
|
891 | + |
|
892 | + $strongarm = new stdClass; |
|
893 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
894 | + $strongarm->api_version = 1; |
|
895 | + $strongarm->name = 'tableofcontents_back_to_top_maxlevel_6'; |
|
896 | + $strongarm->value = '4'; |
|
897 | + $export['tableofcontents_back_to_top_maxlevel_6'] = $strongarm; |
|
898 | + |
|
899 | + $strongarm = new stdClass; |
|
900 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
901 | + $strongarm->api_version = 1; |
|
902 | + $strongarm->name = 'tableofcontents_back_to_top_minlevel_4'; |
|
903 | + $strongarm->value = '2'; |
|
904 | + $export['tableofcontents_back_to_top_minlevel_4'] = $strongarm; |
|
905 | + |
|
906 | + $strongarm = new stdClass; |
|
907 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
908 | + $strongarm->api_version = 1; |
|
909 | + $strongarm->name = 'tableofcontents_back_to_top_minlevel_6'; |
|
910 | + $strongarm->value = '2'; |
|
911 | + $export['tableofcontents_back_to_top_minlevel_6'] = $strongarm; |
|
912 | + |
|
913 | + $strongarm = new stdClass; |
|
914 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
915 | + $strongarm->api_version = 1; |
|
916 | + $strongarm->name = 'tableofcontents_collapsed_4'; |
|
917 | + $strongarm->value = 0; |
|
918 | + $export['tableofcontents_collapsed_4'] = $strongarm; |
|
919 | + |
|
920 | + $strongarm = new stdClass; |
|
921 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
922 | + $strongarm->api_version = 1; |
|
923 | + $strongarm->name = 'tableofcontents_collapsed_6'; |
|
924 | + $strongarm->value = 0; |
|
925 | + $export['tableofcontents_collapsed_6'] = $strongarm; |
|
926 | + |
|
927 | + $strongarm = new stdClass; |
|
928 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
929 | + $strongarm->api_version = 1; |
|
930 | + $strongarm->name = 'tableofcontents_comments_4'; |
|
931 | + $strongarm->value = 0; |
|
932 | + $export['tableofcontents_comments_4'] = $strongarm; |
|
933 | + |
|
934 | + $strongarm = new stdClass; |
|
935 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
936 | + $strongarm->api_version = 1; |
|
937 | + $strongarm->name = 'tableofcontents_comments_6'; |
|
938 | + $strongarm->value = 0; |
|
939 | + $export['tableofcontents_comments_6'] = $strongarm; |
|
940 | + |
|
941 | + $strongarm = new stdClass; |
|
942 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
943 | + $strongarm->api_version = 1; |
|
944 | + $strongarm->name = 'tableofcontents_comments_level_4'; |
|
945 | + $strongarm->value = '3'; |
|
946 | + $export['tableofcontents_comments_level_4'] = $strongarm; |
|
947 | + |
|
948 | + $strongarm = new stdClass; |
|
949 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
950 | + $strongarm->api_version = 1; |
|
951 | + $strongarm->name = 'tableofcontents_comments_level_6'; |
|
952 | + $strongarm->value = '3'; |
|
953 | + $export['tableofcontents_comments_level_6'] = $strongarm; |
|
954 | + |
|
955 | + $strongarm = new stdClass; |
|
956 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
957 | + $strongarm->api_version = 1; |
|
958 | + $strongarm->name = 'tableofcontents_hide_show_4'; |
|
959 | + $strongarm->value = 1; |
|
960 | + $export['tableofcontents_hide_show_4'] = $strongarm; |
|
961 | + |
|
962 | + $strongarm = new stdClass; |
|
963 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
964 | + $strongarm->api_version = 1; |
|
965 | + $strongarm->name = 'tableofcontents_hide_show_6'; |
|
966 | + $strongarm->value = 1; |
|
967 | + $export['tableofcontents_hide_show_6'] = $strongarm; |
|
968 | + |
|
969 | + $strongarm = new stdClass; |
|
970 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
971 | + $strongarm->api_version = 1; |
|
972 | + $strongarm->name = 'tableofcontents_hide_table_4'; |
|
973 | + $strongarm->value = 0; |
|
974 | + $export['tableofcontents_hide_table_4'] = $strongarm; |
|
975 | + |
|
976 | + $strongarm = new stdClass; |
|
977 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
978 | + $strongarm->api_version = 1; |
|
979 | + $strongarm->name = 'tableofcontents_hide_table_6'; |
|
980 | + $strongarm->value = 0; |
|
981 | + $export['tableofcontents_hide_table_6'] = $strongarm; |
|
982 | + |
|
983 | + $strongarm = new stdClass; |
|
984 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
985 | + $strongarm->api_version = 1; |
|
986 | + $strongarm->name = 'tableofcontents_identifier_introducer_4'; |
|
987 | + $strongarm->value = 'header'; |
|
988 | + $export['tableofcontents_identifier_introducer_4'] = $strongarm; |
|
989 | + |
|
990 | + $strongarm = new stdClass; |
|
991 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
992 | + $strongarm->api_version = 1; |
|
993 | + $strongarm->name = 'tableofcontents_identifier_introducer_6'; |
|
994 | + $strongarm->value = 'header'; |
|
995 | + $export['tableofcontents_identifier_introducer_6'] = $strongarm; |
|
996 | + |
|
997 | + $strongarm = new stdClass; |
|
998 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
999 | + $strongarm->api_version = 1; |
|
1000 | + $strongarm->name = 'tableofcontents_id_generator_4'; |
|
1001 | + $strongarm->value = 'title'; |
|
1002 | + $export['tableofcontents_id_generator_4'] = $strongarm; |
|
1003 | + |
|
1004 | + $strongarm = new stdClass; |
|
1005 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1006 | + $strongarm->api_version = 1; |
|
1007 | + $strongarm->name = 'tableofcontents_id_generator_6'; |
|
1008 | + $strongarm->value = 'title'; |
|
1009 | + $export['tableofcontents_id_generator_6'] = $strongarm; |
|
1010 | + |
|
1011 | + $strongarm = new stdClass; |
|
1012 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1013 | + $strongarm->api_version = 1; |
|
1014 | + $strongarm->name = 'tableofcontents_id_separator_4'; |
|
1015 | + $strongarm->value = '-'; |
|
1016 | + $export['tableofcontents_id_separator_4'] = $strongarm; |
|
1017 | + |
|
1018 | + $strongarm = new stdClass; |
|
1019 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1020 | + $strongarm->api_version = 1; |
|
1021 | + $strongarm->name = 'tableofcontents_id_separator_6'; |
|
1022 | + $strongarm->value = '-'; |
|
1023 | + $export['tableofcontents_id_separator_6'] = $strongarm; |
|
1024 | + |
|
1025 | + $strongarm = new stdClass; |
|
1026 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1027 | + $strongarm->api_version = 1; |
|
1028 | + $strongarm->name = 'tableofcontents_id_stripping_4'; |
|
1029 | + $strongarm->value = array( |
|
1030 | 1030 | 'digits' => 0, |
1031 | 1031 | 'dashes' => 0, |
1032 | 1032 | 'periods' => 0, |
1033 | 1033 | 'underscores' => 0, |
1034 | 1034 | 'colons' => 0, |
1035 | - ); |
|
1036 | - $export['tableofcontents_id_stripping_4'] = $strongarm; |
|
1037 | - |
|
1038 | - $strongarm = new stdClass; |
|
1039 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1040 | - $strongarm->api_version = 1; |
|
1041 | - $strongarm->name = 'tableofcontents_id_stripping_6'; |
|
1042 | - $strongarm->value = array( |
|
1035 | + ); |
|
1036 | + $export['tableofcontents_id_stripping_4'] = $strongarm; |
|
1037 | + |
|
1038 | + $strongarm = new stdClass; |
|
1039 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1040 | + $strongarm->api_version = 1; |
|
1041 | + $strongarm->name = 'tableofcontents_id_stripping_6'; |
|
1042 | + $strongarm->value = array( |
|
1043 | 1043 | 'digits' => 0, |
1044 | 1044 | 'dashes' => 0, |
1045 | 1045 | 'periods' => 0, |
1046 | 1046 | 'underscores' => 0, |
1047 | 1047 | 'colons' => 0, |
1048 | - ); |
|
1049 | - $export['tableofcontents_id_stripping_6'] = $strongarm; |
|
1050 | - |
|
1051 | - $strongarm = new stdClass; |
|
1052 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1053 | - $strongarm->api_version = 1; |
|
1054 | - $strongarm->name = 'tableofcontents_maxlevel_4'; |
|
1055 | - $strongarm->value = '3'; |
|
1056 | - $export['tableofcontents_maxlevel_4'] = $strongarm; |
|
1057 | - |
|
1058 | - $strongarm = new stdClass; |
|
1059 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1060 | - $strongarm->api_version = 1; |
|
1061 | - $strongarm->name = 'tableofcontents_maxlevel_6'; |
|
1062 | - $strongarm->value = '3'; |
|
1063 | - $export['tableofcontents_maxlevel_6'] = $strongarm; |
|
1064 | - |
|
1065 | - $strongarm = new stdClass; |
|
1066 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1067 | - $strongarm->api_version = 1; |
|
1068 | - $strongarm->name = 'tableofcontents_minlevel_4'; |
|
1069 | - $strongarm->value = '2'; |
|
1070 | - $export['tableofcontents_minlevel_4'] = $strongarm; |
|
1071 | - |
|
1072 | - $strongarm = new stdClass; |
|
1073 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1074 | - $strongarm->api_version = 1; |
|
1075 | - $strongarm->name = 'tableofcontents_minlevel_6'; |
|
1076 | - $strongarm->value = '2'; |
|
1077 | - $export['tableofcontents_minlevel_6'] = $strongarm; |
|
1078 | - |
|
1079 | - $strongarm = new stdClass; |
|
1080 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1081 | - $strongarm->api_version = 1; |
|
1082 | - $strongarm->name = 'tableofcontents_min_limit_4'; |
|
1083 | - $strongarm->value = '5'; |
|
1084 | - $export['tableofcontents_min_limit_4'] = $strongarm; |
|
1085 | - |
|
1086 | - $strongarm = new stdClass; |
|
1087 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1088 | - $strongarm->api_version = 1; |
|
1089 | - $strongarm->name = 'tableofcontents_min_limit_6'; |
|
1090 | - $strongarm->value = '5'; |
|
1091 | - $export['tableofcontents_min_limit_6'] = $strongarm; |
|
1092 | - |
|
1093 | - $strongarm = new stdClass; |
|
1094 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1095 | - $strongarm->api_version = 1; |
|
1096 | - $strongarm->name = 'tableofcontents_nodetype_toc_automatic_'; |
|
1097 | - $strongarm->value = '0'; |
|
1098 | - $export['tableofcontents_nodetype_toc_automatic_'] = $strongarm; |
|
1099 | - |
|
1100 | - $strongarm = new stdClass; |
|
1101 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1102 | - $strongarm->api_version = 1; |
|
1103 | - $strongarm->name = 'tableofcontents_nodetype_toc_automatic_forum'; |
|
1104 | - $strongarm->value = '0'; |
|
1105 | - $export['tableofcontents_nodetype_toc_automatic_forum'] = $strongarm; |
|
1106 | - |
|
1107 | - $strongarm = new stdClass; |
|
1108 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1109 | - $strongarm->api_version = 1; |
|
1110 | - $strongarm->name = 'tableofcontents_nodetype_toc_automatic_profile'; |
|
1111 | - $strongarm->value = '0'; |
|
1112 | - $export['tableofcontents_nodetype_toc_automatic_profile'] = $strongarm; |
|
1113 | - |
|
1114 | - $strongarm = new stdClass; |
|
1115 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1116 | - $strongarm->api_version = 1; |
|
1117 | - $strongarm->name = 'tableofcontents_nodetype_toc_automatic_team'; |
|
1118 | - $strongarm->value = '0'; |
|
1119 | - $export['tableofcontents_nodetype_toc_automatic_team'] = $strongarm; |
|
1120 | - |
|
1121 | - $strongarm = new stdClass; |
|
1122 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1123 | - $strongarm->api_version = 1; |
|
1124 | - $strongarm->name = 'tableofcontents_nodetype_toc_automatic_team_forum'; |
|
1125 | - $strongarm->value = '0'; |
|
1126 | - $export['tableofcontents_nodetype_toc_automatic_team_forum'] = $strongarm; |
|
1127 | - |
|
1128 | - $strongarm = new stdClass; |
|
1129 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1130 | - $strongarm->api_version = 1; |
|
1131 | - $strongarm->name = 'tableofcontents_nodetype_toc_remove_from_teaser_'; |
|
1132 | - $strongarm->value = 1; |
|
1133 | - $export['tableofcontents_nodetype_toc_remove_from_teaser_'] = $strongarm; |
|
1134 | - |
|
1135 | - $strongarm = new stdClass; |
|
1136 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1137 | - $strongarm->api_version = 1; |
|
1138 | - $strongarm->name = 'tableofcontents_nodetype_toc_remove_from_teaser_forum'; |
|
1139 | - $strongarm->value = 1; |
|
1140 | - $export['tableofcontents_nodetype_toc_remove_from_teaser_forum'] = $strongarm; |
|
1141 | - |
|
1142 | - $strongarm = new stdClass; |
|
1143 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1144 | - $strongarm->api_version = 1; |
|
1145 | - $strongarm->name = 'tableofcontents_nodetype_toc_remove_from_teaser_profile'; |
|
1146 | - $strongarm->value = 1; |
|
1147 | - $export['tableofcontents_nodetype_toc_remove_from_teaser_profile'] = $strongarm; |
|
1148 | - |
|
1149 | - $strongarm = new stdClass; |
|
1150 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1151 | - $strongarm->api_version = 1; |
|
1152 | - $strongarm->name = 'tableofcontents_nodetype_toc_remove_from_teaser_team'; |
|
1153 | - $strongarm->value = 1; |
|
1154 | - $export['tableofcontents_nodetype_toc_remove_from_teaser_team'] = $strongarm; |
|
1155 | - |
|
1156 | - $strongarm = new stdClass; |
|
1157 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1158 | - $strongarm->api_version = 1; |
|
1159 | - $strongarm->name = 'tableofcontents_nodetype_toc_remove_from_teaser_team_forum'; |
|
1160 | - $strongarm->value = 1; |
|
1161 | - $export['tableofcontents_nodetype_toc_remove_from_teaser_team_forum'] = $strongarm; |
|
1162 | - |
|
1163 | - $strongarm = new stdClass; |
|
1164 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1165 | - $strongarm->api_version = 1; |
|
1166 | - $strongarm->name = 'tableofcontents_nodetype_toc_vtoc_'; |
|
1167 | - $strongarm->value = 0; |
|
1168 | - $export['tableofcontents_nodetype_toc_vtoc_'] = $strongarm; |
|
1169 | - |
|
1170 | - $strongarm = new stdClass; |
|
1171 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1172 | - $strongarm->api_version = 1; |
|
1173 | - $strongarm->name = 'tableofcontents_nodetype_toc_vtoc_forum'; |
|
1174 | - $strongarm->value = 0; |
|
1175 | - $export['tableofcontents_nodetype_toc_vtoc_forum'] = $strongarm; |
|
1176 | - |
|
1177 | - $strongarm = new stdClass; |
|
1178 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1179 | - $strongarm->api_version = 1; |
|
1180 | - $strongarm->name = 'tableofcontents_nodetype_toc_vtoc_profile'; |
|
1181 | - $strongarm->value = 0; |
|
1182 | - $export['tableofcontents_nodetype_toc_vtoc_profile'] = $strongarm; |
|
1183 | - |
|
1184 | - $strongarm = new stdClass; |
|
1185 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1186 | - $strongarm->api_version = 1; |
|
1187 | - $strongarm->name = 'tableofcontents_nodetype_toc_vtoc_team'; |
|
1188 | - $strongarm->value = 0; |
|
1189 | - $export['tableofcontents_nodetype_toc_vtoc_team'] = $strongarm; |
|
1190 | - |
|
1191 | - $strongarm = new stdClass; |
|
1192 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1193 | - $strongarm->api_version = 1; |
|
1194 | - $strongarm->name = 'tableofcontents_nodetype_toc_vtoc_team_forum'; |
|
1195 | - $strongarm->value = 0; |
|
1196 | - $export['tableofcontents_nodetype_toc_vtoc_team_forum'] = $strongarm; |
|
1197 | - |
|
1198 | - $strongarm = new stdClass; |
|
1199 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1200 | - $strongarm->api_version = 1; |
|
1201 | - $strongarm->name = 'tableofcontents_numbering_4'; |
|
1202 | - $strongarm->value = '0'; |
|
1203 | - $export['tableofcontents_numbering_4'] = $strongarm; |
|
1204 | - |
|
1205 | - $strongarm = new stdClass; |
|
1206 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1207 | - $strongarm->api_version = 1; |
|
1208 | - $strongarm->name = 'tableofcontents_numbering_6'; |
|
1209 | - $strongarm->value = '0'; |
|
1210 | - $export['tableofcontents_numbering_6'] = $strongarm; |
|
1211 | - |
|
1212 | - $strongarm = new stdClass; |
|
1213 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1214 | - $strongarm->api_version = 1; |
|
1215 | - $strongarm->name = 'tableofcontents_number_end_letter_4'; |
|
1216 | - $strongarm->value = '.'; |
|
1217 | - $export['tableofcontents_number_end_letter_4'] = $strongarm; |
|
1218 | - |
|
1219 | - $strongarm = new stdClass; |
|
1220 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1221 | - $strongarm->api_version = 1; |
|
1222 | - $strongarm->name = 'tableofcontents_number_end_letter_6'; |
|
1223 | - $strongarm->value = '.'; |
|
1224 | - $export['tableofcontents_number_end_letter_6'] = $strongarm; |
|
1225 | - |
|
1226 | - $strongarm = new stdClass; |
|
1227 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1228 | - $strongarm->api_version = 1; |
|
1229 | - $strongarm->name = 'tableofcontents_number_headers_4'; |
|
1230 | - $strongarm->value = 0; |
|
1231 | - $export['tableofcontents_number_headers_4'] = $strongarm; |
|
1232 | - |
|
1233 | - $strongarm = new stdClass; |
|
1234 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1235 | - $strongarm->api_version = 1; |
|
1236 | - $strongarm->name = 'tableofcontents_number_headers_6'; |
|
1237 | - $strongarm->value = 0; |
|
1238 | - $export['tableofcontents_number_headers_6'] = $strongarm; |
|
1239 | - |
|
1240 | - $strongarm = new stdClass; |
|
1241 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1242 | - $strongarm->api_version = 1; |
|
1243 | - $strongarm->name = 'tableofcontents_number_mode_4'; |
|
1244 | - $strongarm->value = '0'; |
|
1245 | - $export['tableofcontents_number_mode_4'] = $strongarm; |
|
1246 | - |
|
1247 | - $strongarm = new stdClass; |
|
1248 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1249 | - $strongarm->api_version = 1; |
|
1250 | - $strongarm->name = 'tableofcontents_number_mode_6'; |
|
1251 | - $strongarm->value = '0'; |
|
1252 | - $export['tableofcontents_number_mode_6'] = $strongarm; |
|
1253 | - |
|
1254 | - $strongarm = new stdClass; |
|
1255 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1256 | - $strongarm->api_version = 1; |
|
1257 | - $strongarm->name = 'tableofcontents_number_separator_4'; |
|
1258 | - $strongarm->value = '.'; |
|
1259 | - $export['tableofcontents_number_separator_4'] = $strongarm; |
|
1260 | - |
|
1261 | - $strongarm = new stdClass; |
|
1262 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1263 | - $strongarm->api_version = 1; |
|
1264 | - $strongarm->name = 'tableofcontents_number_separator_6'; |
|
1265 | - $strongarm->value = '.'; |
|
1266 | - $export['tableofcontents_number_separator_6'] = $strongarm; |
|
1267 | - |
|
1268 | - $strongarm = new stdClass; |
|
1269 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1270 | - $strongarm->api_version = 1; |
|
1271 | - $strongarm->name = 'tableofcontents_number_start_letter_4'; |
|
1272 | - $strongarm->value = ''; |
|
1273 | - $export['tableofcontents_number_start_letter_4'] = $strongarm; |
|
1274 | - |
|
1275 | - $strongarm = new stdClass; |
|
1276 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1277 | - $strongarm->api_version = 1; |
|
1278 | - $strongarm->name = 'tableofcontents_number_start_letter_6'; |
|
1279 | - $strongarm->value = ''; |
|
1280 | - $export['tableofcontents_number_start_letter_6'] = $strongarm; |
|
1281 | - |
|
1282 | - $strongarm = new stdClass; |
|
1283 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1284 | - $strongarm->api_version = 1; |
|
1285 | - $strongarm->name = 'tableofcontents_remove_from_teaser_admin_forum'; |
|
1286 | - $strongarm->value = 1; |
|
1287 | - $export['tableofcontents_remove_from_teaser_admin_forum'] = $strongarm; |
|
1288 | - |
|
1289 | - $strongarm = new stdClass; |
|
1290 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1291 | - $strongarm->api_version = 1; |
|
1292 | - $strongarm->name = 'tableofcontents_remove_from_teaser_forum'; |
|
1293 | - $strongarm->value = 1; |
|
1294 | - $export['tableofcontents_remove_from_teaser_forum'] = $strongarm; |
|
1295 | - |
|
1296 | - $strongarm = new stdClass; |
|
1297 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1298 | - $strongarm->api_version = 1; |
|
1299 | - $strongarm->name = 'tableofcontents_remove_from_teaser_profile'; |
|
1300 | - $strongarm->value = 1; |
|
1301 | - $export['tableofcontents_remove_from_teaser_profile'] = $strongarm; |
|
1302 | - |
|
1303 | - $strongarm = new stdClass; |
|
1304 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1305 | - $strongarm->api_version = 1; |
|
1306 | - $strongarm->name = 'tableofcontents_remove_from_teaser_team'; |
|
1307 | - $strongarm->value = 1; |
|
1308 | - $export['tableofcontents_remove_from_teaser_team'] = $strongarm; |
|
1309 | - |
|
1310 | - $strongarm = new stdClass; |
|
1311 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1312 | - $strongarm->api_version = 1; |
|
1313 | - $strongarm->name = 'tableofcontents_remove_from_teaser_team_forum'; |
|
1314 | - $strongarm->value = 1; |
|
1315 | - $export['tableofcontents_remove_from_teaser_team_forum'] = $strongarm; |
|
1316 | - |
|
1317 | - $strongarm = new stdClass; |
|
1318 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1319 | - $strongarm->api_version = 1; |
|
1320 | - $strongarm->name = 'tableofcontents_remove_teaser_4'; |
|
1321 | - $strongarm->value = 1; |
|
1322 | - $export['tableofcontents_remove_teaser_4'] = $strongarm; |
|
1323 | - |
|
1324 | - $strongarm = new stdClass; |
|
1325 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1326 | - $strongarm->api_version = 1; |
|
1327 | - $strongarm->name = 'tableofcontents_remove_teaser_6'; |
|
1328 | - $strongarm->value = 1; |
|
1329 | - $export['tableofcontents_remove_teaser_6'] = $strongarm; |
|
1330 | - |
|
1331 | - $strongarm = new stdClass; |
|
1332 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1333 | - $strongarm->api_version = 1; |
|
1334 | - $strongarm->name = 'tableofcontents_safe_title_4'; |
|
1335 | - $strongarm->value = 1; |
|
1336 | - $export['tableofcontents_safe_title_4'] = $strongarm; |
|
1337 | - |
|
1338 | - $strongarm = new stdClass; |
|
1339 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1340 | - $strongarm->api_version = 1; |
|
1341 | - $strongarm->name = 'tableofcontents_safe_title_6'; |
|
1342 | - $strongarm->value = 1; |
|
1343 | - $export['tableofcontents_safe_title_6'] = $strongarm; |
|
1344 | - |
|
1345 | - $strongarm = new stdClass; |
|
1346 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1347 | - $strongarm->api_version = 1; |
|
1348 | - $strongarm->name = 'tableofcontents_scroll_back_to_top_4'; |
|
1349 | - $strongarm->value = 0; |
|
1350 | - $export['tableofcontents_scroll_back_to_top_4'] = $strongarm; |
|
1351 | - |
|
1352 | - $strongarm = new stdClass; |
|
1353 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1354 | - $strongarm->api_version = 1; |
|
1355 | - $strongarm->name = 'tableofcontents_scroll_back_to_top_6'; |
|
1356 | - $strongarm->value = 0; |
|
1357 | - $export['tableofcontents_scroll_back_to_top_6'] = $strongarm; |
|
1358 | - |
|
1359 | - $strongarm = new stdClass; |
|
1360 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1361 | - $strongarm->api_version = 1; |
|
1362 | - $strongarm->name = 'tableofcontents_title_4'; |
|
1363 | - $strongarm->value = 'Table of Contents'; |
|
1364 | - $export['tableofcontents_title_4'] = $strongarm; |
|
1365 | - |
|
1366 | - $strongarm = new stdClass; |
|
1367 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1368 | - $strongarm->api_version = 1; |
|
1369 | - $strongarm->name = 'tableofcontents_title_6'; |
|
1370 | - $strongarm->value = 'Table of Contents'; |
|
1371 | - $export['tableofcontents_title_6'] = $strongarm; |
|
1372 | - |
|
1373 | - $strongarm = new stdClass; |
|
1374 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1375 | - $strongarm->api_version = 1; |
|
1376 | - $strongarm->name = 'tableofcontents_toc_automatic_admin_forum'; |
|
1377 | - $strongarm->value = '0'; |
|
1378 | - $export['tableofcontents_toc_automatic_admin_forum'] = $strongarm; |
|
1379 | - |
|
1380 | - $strongarm = new stdClass; |
|
1381 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1382 | - $strongarm->api_version = 1; |
|
1383 | - $strongarm->name = 'tableofcontents_toc_automatic_forum'; |
|
1384 | - $strongarm->value = '0'; |
|
1385 | - $export['tableofcontents_toc_automatic_forum'] = $strongarm; |
|
1386 | - |
|
1387 | - $strongarm = new stdClass; |
|
1388 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1389 | - $strongarm->api_version = 1; |
|
1390 | - $strongarm->name = 'tableofcontents_toc_automatic_profile'; |
|
1391 | - $strongarm->value = '0'; |
|
1392 | - $export['tableofcontents_toc_automatic_profile'] = $strongarm; |
|
1393 | - |
|
1394 | - $strongarm = new stdClass; |
|
1395 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1396 | - $strongarm->api_version = 1; |
|
1397 | - $strongarm->name = 'tableofcontents_toc_automatic_team'; |
|
1398 | - $strongarm->value = '0'; |
|
1399 | - $export['tableofcontents_toc_automatic_team'] = $strongarm; |
|
1400 | - |
|
1401 | - $strongarm = new stdClass; |
|
1402 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1403 | - $strongarm->api_version = 1; |
|
1404 | - $strongarm->name = 'tableofcontents_toc_automatic_team_forum'; |
|
1405 | - $strongarm->value = '0'; |
|
1406 | - $export['tableofcontents_toc_automatic_team_forum'] = $strongarm; |
|
1407 | - |
|
1408 | - $strongarm = new stdClass; |
|
1409 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1410 | - $strongarm->api_version = 1; |
|
1411 | - $strongarm->name = 'tableofcontents_vtoc_admin_forum'; |
|
1412 | - $strongarm->value = 0; |
|
1413 | - $export['tableofcontents_vtoc_admin_forum'] = $strongarm; |
|
1414 | - |
|
1415 | - $strongarm = new stdClass; |
|
1416 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1417 | - $strongarm->api_version = 1; |
|
1418 | - $strongarm->name = 'tableofcontents_vtoc_forum'; |
|
1419 | - $strongarm->value = 0; |
|
1420 | - $export['tableofcontents_vtoc_forum'] = $strongarm; |
|
1421 | - |
|
1422 | - $strongarm = new stdClass; |
|
1423 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1424 | - $strongarm->api_version = 1; |
|
1425 | - $strongarm->name = 'tableofcontents_vtoc_profile'; |
|
1426 | - $strongarm->value = 0; |
|
1427 | - $export['tableofcontents_vtoc_profile'] = $strongarm; |
|
1428 | - |
|
1429 | - $strongarm = new stdClass; |
|
1430 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1431 | - $strongarm->api_version = 1; |
|
1432 | - $strongarm->name = 'tableofcontents_vtoc_team'; |
|
1433 | - $strongarm->value = 0; |
|
1434 | - $export['tableofcontents_vtoc_team'] = $strongarm; |
|
1435 | - |
|
1436 | - $strongarm = new stdClass; |
|
1437 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1438 | - $strongarm->api_version = 1; |
|
1439 | - $strongarm->name = 'tableofcontents_vtoc_team_forum'; |
|
1440 | - $strongarm->value = 0; |
|
1441 | - $export['tableofcontents_vtoc_team_forum'] = $strongarm; |
|
1442 | - |
|
1443 | - $strongarm = new stdClass; |
|
1444 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1445 | - $strongarm->api_version = 1; |
|
1446 | - $strongarm->name = 'tabtamer_tab_settings'; |
|
1447 | - $strongarm->value = array( |
|
1048 | + ); |
|
1049 | + $export['tableofcontents_id_stripping_6'] = $strongarm; |
|
1050 | + |
|
1051 | + $strongarm = new stdClass; |
|
1052 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1053 | + $strongarm->api_version = 1; |
|
1054 | + $strongarm->name = 'tableofcontents_maxlevel_4'; |
|
1055 | + $strongarm->value = '3'; |
|
1056 | + $export['tableofcontents_maxlevel_4'] = $strongarm; |
|
1057 | + |
|
1058 | + $strongarm = new stdClass; |
|
1059 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1060 | + $strongarm->api_version = 1; |
|
1061 | + $strongarm->name = 'tableofcontents_maxlevel_6'; |
|
1062 | + $strongarm->value = '3'; |
|
1063 | + $export['tableofcontents_maxlevel_6'] = $strongarm; |
|
1064 | + |
|
1065 | + $strongarm = new stdClass; |
|
1066 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1067 | + $strongarm->api_version = 1; |
|
1068 | + $strongarm->name = 'tableofcontents_minlevel_4'; |
|
1069 | + $strongarm->value = '2'; |
|
1070 | + $export['tableofcontents_minlevel_4'] = $strongarm; |
|
1071 | + |
|
1072 | + $strongarm = new stdClass; |
|
1073 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1074 | + $strongarm->api_version = 1; |
|
1075 | + $strongarm->name = 'tableofcontents_minlevel_6'; |
|
1076 | + $strongarm->value = '2'; |
|
1077 | + $export['tableofcontents_minlevel_6'] = $strongarm; |
|
1078 | + |
|
1079 | + $strongarm = new stdClass; |
|
1080 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1081 | + $strongarm->api_version = 1; |
|
1082 | + $strongarm->name = 'tableofcontents_min_limit_4'; |
|
1083 | + $strongarm->value = '5'; |
|
1084 | + $export['tableofcontents_min_limit_4'] = $strongarm; |
|
1085 | + |
|
1086 | + $strongarm = new stdClass; |
|
1087 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1088 | + $strongarm->api_version = 1; |
|
1089 | + $strongarm->name = 'tableofcontents_min_limit_6'; |
|
1090 | + $strongarm->value = '5'; |
|
1091 | + $export['tableofcontents_min_limit_6'] = $strongarm; |
|
1092 | + |
|
1093 | + $strongarm = new stdClass; |
|
1094 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1095 | + $strongarm->api_version = 1; |
|
1096 | + $strongarm->name = 'tableofcontents_nodetype_toc_automatic_'; |
|
1097 | + $strongarm->value = '0'; |
|
1098 | + $export['tableofcontents_nodetype_toc_automatic_'] = $strongarm; |
|
1099 | + |
|
1100 | + $strongarm = new stdClass; |
|
1101 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1102 | + $strongarm->api_version = 1; |
|
1103 | + $strongarm->name = 'tableofcontents_nodetype_toc_automatic_forum'; |
|
1104 | + $strongarm->value = '0'; |
|
1105 | + $export['tableofcontents_nodetype_toc_automatic_forum'] = $strongarm; |
|
1106 | + |
|
1107 | + $strongarm = new stdClass; |
|
1108 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1109 | + $strongarm->api_version = 1; |
|
1110 | + $strongarm->name = 'tableofcontents_nodetype_toc_automatic_profile'; |
|
1111 | + $strongarm->value = '0'; |
|
1112 | + $export['tableofcontents_nodetype_toc_automatic_profile'] = $strongarm; |
|
1113 | + |
|
1114 | + $strongarm = new stdClass; |
|
1115 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1116 | + $strongarm->api_version = 1; |
|
1117 | + $strongarm->name = 'tableofcontents_nodetype_toc_automatic_team'; |
|
1118 | + $strongarm->value = '0'; |
|
1119 | + $export['tableofcontents_nodetype_toc_automatic_team'] = $strongarm; |
|
1120 | + |
|
1121 | + $strongarm = new stdClass; |
|
1122 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1123 | + $strongarm->api_version = 1; |
|
1124 | + $strongarm->name = 'tableofcontents_nodetype_toc_automatic_team_forum'; |
|
1125 | + $strongarm->value = '0'; |
|
1126 | + $export['tableofcontents_nodetype_toc_automatic_team_forum'] = $strongarm; |
|
1127 | + |
|
1128 | + $strongarm = new stdClass; |
|
1129 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1130 | + $strongarm->api_version = 1; |
|
1131 | + $strongarm->name = 'tableofcontents_nodetype_toc_remove_from_teaser_'; |
|
1132 | + $strongarm->value = 1; |
|
1133 | + $export['tableofcontents_nodetype_toc_remove_from_teaser_'] = $strongarm; |
|
1134 | + |
|
1135 | + $strongarm = new stdClass; |
|
1136 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1137 | + $strongarm->api_version = 1; |
|
1138 | + $strongarm->name = 'tableofcontents_nodetype_toc_remove_from_teaser_forum'; |
|
1139 | + $strongarm->value = 1; |
|
1140 | + $export['tableofcontents_nodetype_toc_remove_from_teaser_forum'] = $strongarm; |
|
1141 | + |
|
1142 | + $strongarm = new stdClass; |
|
1143 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1144 | + $strongarm->api_version = 1; |
|
1145 | + $strongarm->name = 'tableofcontents_nodetype_toc_remove_from_teaser_profile'; |
|
1146 | + $strongarm->value = 1; |
|
1147 | + $export['tableofcontents_nodetype_toc_remove_from_teaser_profile'] = $strongarm; |
|
1148 | + |
|
1149 | + $strongarm = new stdClass; |
|
1150 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1151 | + $strongarm->api_version = 1; |
|
1152 | + $strongarm->name = 'tableofcontents_nodetype_toc_remove_from_teaser_team'; |
|
1153 | + $strongarm->value = 1; |
|
1154 | + $export['tableofcontents_nodetype_toc_remove_from_teaser_team'] = $strongarm; |
|
1155 | + |
|
1156 | + $strongarm = new stdClass; |
|
1157 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1158 | + $strongarm->api_version = 1; |
|
1159 | + $strongarm->name = 'tableofcontents_nodetype_toc_remove_from_teaser_team_forum'; |
|
1160 | + $strongarm->value = 1; |
|
1161 | + $export['tableofcontents_nodetype_toc_remove_from_teaser_team_forum'] = $strongarm; |
|
1162 | + |
|
1163 | + $strongarm = new stdClass; |
|
1164 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1165 | + $strongarm->api_version = 1; |
|
1166 | + $strongarm->name = 'tableofcontents_nodetype_toc_vtoc_'; |
|
1167 | + $strongarm->value = 0; |
|
1168 | + $export['tableofcontents_nodetype_toc_vtoc_'] = $strongarm; |
|
1169 | + |
|
1170 | + $strongarm = new stdClass; |
|
1171 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1172 | + $strongarm->api_version = 1; |
|
1173 | + $strongarm->name = 'tableofcontents_nodetype_toc_vtoc_forum'; |
|
1174 | + $strongarm->value = 0; |
|
1175 | + $export['tableofcontents_nodetype_toc_vtoc_forum'] = $strongarm; |
|
1176 | + |
|
1177 | + $strongarm = new stdClass; |
|
1178 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1179 | + $strongarm->api_version = 1; |
|
1180 | + $strongarm->name = 'tableofcontents_nodetype_toc_vtoc_profile'; |
|
1181 | + $strongarm->value = 0; |
|
1182 | + $export['tableofcontents_nodetype_toc_vtoc_profile'] = $strongarm; |
|
1183 | + |
|
1184 | + $strongarm = new stdClass; |
|
1185 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1186 | + $strongarm->api_version = 1; |
|
1187 | + $strongarm->name = 'tableofcontents_nodetype_toc_vtoc_team'; |
|
1188 | + $strongarm->value = 0; |
|
1189 | + $export['tableofcontents_nodetype_toc_vtoc_team'] = $strongarm; |
|
1190 | + |
|
1191 | + $strongarm = new stdClass; |
|
1192 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1193 | + $strongarm->api_version = 1; |
|
1194 | + $strongarm->name = 'tableofcontents_nodetype_toc_vtoc_team_forum'; |
|
1195 | + $strongarm->value = 0; |
|
1196 | + $export['tableofcontents_nodetype_toc_vtoc_team_forum'] = $strongarm; |
|
1197 | + |
|
1198 | + $strongarm = new stdClass; |
|
1199 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1200 | + $strongarm->api_version = 1; |
|
1201 | + $strongarm->name = 'tableofcontents_numbering_4'; |
|
1202 | + $strongarm->value = '0'; |
|
1203 | + $export['tableofcontents_numbering_4'] = $strongarm; |
|
1204 | + |
|
1205 | + $strongarm = new stdClass; |
|
1206 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1207 | + $strongarm->api_version = 1; |
|
1208 | + $strongarm->name = 'tableofcontents_numbering_6'; |
|
1209 | + $strongarm->value = '0'; |
|
1210 | + $export['tableofcontents_numbering_6'] = $strongarm; |
|
1211 | + |
|
1212 | + $strongarm = new stdClass; |
|
1213 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1214 | + $strongarm->api_version = 1; |
|
1215 | + $strongarm->name = 'tableofcontents_number_end_letter_4'; |
|
1216 | + $strongarm->value = '.'; |
|
1217 | + $export['tableofcontents_number_end_letter_4'] = $strongarm; |
|
1218 | + |
|
1219 | + $strongarm = new stdClass; |
|
1220 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1221 | + $strongarm->api_version = 1; |
|
1222 | + $strongarm->name = 'tableofcontents_number_end_letter_6'; |
|
1223 | + $strongarm->value = '.'; |
|
1224 | + $export['tableofcontents_number_end_letter_6'] = $strongarm; |
|
1225 | + |
|
1226 | + $strongarm = new stdClass; |
|
1227 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1228 | + $strongarm->api_version = 1; |
|
1229 | + $strongarm->name = 'tableofcontents_number_headers_4'; |
|
1230 | + $strongarm->value = 0; |
|
1231 | + $export['tableofcontents_number_headers_4'] = $strongarm; |
|
1232 | + |
|
1233 | + $strongarm = new stdClass; |
|
1234 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1235 | + $strongarm->api_version = 1; |
|
1236 | + $strongarm->name = 'tableofcontents_number_headers_6'; |
|
1237 | + $strongarm->value = 0; |
|
1238 | + $export['tableofcontents_number_headers_6'] = $strongarm; |
|
1239 | + |
|
1240 | + $strongarm = new stdClass; |
|
1241 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1242 | + $strongarm->api_version = 1; |
|
1243 | + $strongarm->name = 'tableofcontents_number_mode_4'; |
|
1244 | + $strongarm->value = '0'; |
|
1245 | + $export['tableofcontents_number_mode_4'] = $strongarm; |
|
1246 | + |
|
1247 | + $strongarm = new stdClass; |
|
1248 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1249 | + $strongarm->api_version = 1; |
|
1250 | + $strongarm->name = 'tableofcontents_number_mode_6'; |
|
1251 | + $strongarm->value = '0'; |
|
1252 | + $export['tableofcontents_number_mode_6'] = $strongarm; |
|
1253 | + |
|
1254 | + $strongarm = new stdClass; |
|
1255 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1256 | + $strongarm->api_version = 1; |
|
1257 | + $strongarm->name = 'tableofcontents_number_separator_4'; |
|
1258 | + $strongarm->value = '.'; |
|
1259 | + $export['tableofcontents_number_separator_4'] = $strongarm; |
|
1260 | + |
|
1261 | + $strongarm = new stdClass; |
|
1262 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1263 | + $strongarm->api_version = 1; |
|
1264 | + $strongarm->name = 'tableofcontents_number_separator_6'; |
|
1265 | + $strongarm->value = '.'; |
|
1266 | + $export['tableofcontents_number_separator_6'] = $strongarm; |
|
1267 | + |
|
1268 | + $strongarm = new stdClass; |
|
1269 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1270 | + $strongarm->api_version = 1; |
|
1271 | + $strongarm->name = 'tableofcontents_number_start_letter_4'; |
|
1272 | + $strongarm->value = ''; |
|
1273 | + $export['tableofcontents_number_start_letter_4'] = $strongarm; |
|
1274 | + |
|
1275 | + $strongarm = new stdClass; |
|
1276 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1277 | + $strongarm->api_version = 1; |
|
1278 | + $strongarm->name = 'tableofcontents_number_start_letter_6'; |
|
1279 | + $strongarm->value = ''; |
|
1280 | + $export['tableofcontents_number_start_letter_6'] = $strongarm; |
|
1281 | + |
|
1282 | + $strongarm = new stdClass; |
|
1283 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1284 | + $strongarm->api_version = 1; |
|
1285 | + $strongarm->name = 'tableofcontents_remove_from_teaser_admin_forum'; |
|
1286 | + $strongarm->value = 1; |
|
1287 | + $export['tableofcontents_remove_from_teaser_admin_forum'] = $strongarm; |
|
1288 | + |
|
1289 | + $strongarm = new stdClass; |
|
1290 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1291 | + $strongarm->api_version = 1; |
|
1292 | + $strongarm->name = 'tableofcontents_remove_from_teaser_forum'; |
|
1293 | + $strongarm->value = 1; |
|
1294 | + $export['tableofcontents_remove_from_teaser_forum'] = $strongarm; |
|
1295 | + |
|
1296 | + $strongarm = new stdClass; |
|
1297 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1298 | + $strongarm->api_version = 1; |
|
1299 | + $strongarm->name = 'tableofcontents_remove_from_teaser_profile'; |
|
1300 | + $strongarm->value = 1; |
|
1301 | + $export['tableofcontents_remove_from_teaser_profile'] = $strongarm; |
|
1302 | + |
|
1303 | + $strongarm = new stdClass; |
|
1304 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1305 | + $strongarm->api_version = 1; |
|
1306 | + $strongarm->name = 'tableofcontents_remove_from_teaser_team'; |
|
1307 | + $strongarm->value = 1; |
|
1308 | + $export['tableofcontents_remove_from_teaser_team'] = $strongarm; |
|
1309 | + |
|
1310 | + $strongarm = new stdClass; |
|
1311 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1312 | + $strongarm->api_version = 1; |
|
1313 | + $strongarm->name = 'tableofcontents_remove_from_teaser_team_forum'; |
|
1314 | + $strongarm->value = 1; |
|
1315 | + $export['tableofcontents_remove_from_teaser_team_forum'] = $strongarm; |
|
1316 | + |
|
1317 | + $strongarm = new stdClass; |
|
1318 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1319 | + $strongarm->api_version = 1; |
|
1320 | + $strongarm->name = 'tableofcontents_remove_teaser_4'; |
|
1321 | + $strongarm->value = 1; |
|
1322 | + $export['tableofcontents_remove_teaser_4'] = $strongarm; |
|
1323 | + |
|
1324 | + $strongarm = new stdClass; |
|
1325 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1326 | + $strongarm->api_version = 1; |
|
1327 | + $strongarm->name = 'tableofcontents_remove_teaser_6'; |
|
1328 | + $strongarm->value = 1; |
|
1329 | + $export['tableofcontents_remove_teaser_6'] = $strongarm; |
|
1330 | + |
|
1331 | + $strongarm = new stdClass; |
|
1332 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1333 | + $strongarm->api_version = 1; |
|
1334 | + $strongarm->name = 'tableofcontents_safe_title_4'; |
|
1335 | + $strongarm->value = 1; |
|
1336 | + $export['tableofcontents_safe_title_4'] = $strongarm; |
|
1337 | + |
|
1338 | + $strongarm = new stdClass; |
|
1339 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1340 | + $strongarm->api_version = 1; |
|
1341 | + $strongarm->name = 'tableofcontents_safe_title_6'; |
|
1342 | + $strongarm->value = 1; |
|
1343 | + $export['tableofcontents_safe_title_6'] = $strongarm; |
|
1344 | + |
|
1345 | + $strongarm = new stdClass; |
|
1346 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1347 | + $strongarm->api_version = 1; |
|
1348 | + $strongarm->name = 'tableofcontents_scroll_back_to_top_4'; |
|
1349 | + $strongarm->value = 0; |
|
1350 | + $export['tableofcontents_scroll_back_to_top_4'] = $strongarm; |
|
1351 | + |
|
1352 | + $strongarm = new stdClass; |
|
1353 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1354 | + $strongarm->api_version = 1; |
|
1355 | + $strongarm->name = 'tableofcontents_scroll_back_to_top_6'; |
|
1356 | + $strongarm->value = 0; |
|
1357 | + $export['tableofcontents_scroll_back_to_top_6'] = $strongarm; |
|
1358 | + |
|
1359 | + $strongarm = new stdClass; |
|
1360 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1361 | + $strongarm->api_version = 1; |
|
1362 | + $strongarm->name = 'tableofcontents_title_4'; |
|
1363 | + $strongarm->value = 'Table of Contents'; |
|
1364 | + $export['tableofcontents_title_4'] = $strongarm; |
|
1365 | + |
|
1366 | + $strongarm = new stdClass; |
|
1367 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1368 | + $strongarm->api_version = 1; |
|
1369 | + $strongarm->name = 'tableofcontents_title_6'; |
|
1370 | + $strongarm->value = 'Table of Contents'; |
|
1371 | + $export['tableofcontents_title_6'] = $strongarm; |
|
1372 | + |
|
1373 | + $strongarm = new stdClass; |
|
1374 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1375 | + $strongarm->api_version = 1; |
|
1376 | + $strongarm->name = 'tableofcontents_toc_automatic_admin_forum'; |
|
1377 | + $strongarm->value = '0'; |
|
1378 | + $export['tableofcontents_toc_automatic_admin_forum'] = $strongarm; |
|
1379 | + |
|
1380 | + $strongarm = new stdClass; |
|
1381 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1382 | + $strongarm->api_version = 1; |
|
1383 | + $strongarm->name = 'tableofcontents_toc_automatic_forum'; |
|
1384 | + $strongarm->value = '0'; |
|
1385 | + $export['tableofcontents_toc_automatic_forum'] = $strongarm; |
|
1386 | + |
|
1387 | + $strongarm = new stdClass; |
|
1388 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1389 | + $strongarm->api_version = 1; |
|
1390 | + $strongarm->name = 'tableofcontents_toc_automatic_profile'; |
|
1391 | + $strongarm->value = '0'; |
|
1392 | + $export['tableofcontents_toc_automatic_profile'] = $strongarm; |
|
1393 | + |
|
1394 | + $strongarm = new stdClass; |
|
1395 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1396 | + $strongarm->api_version = 1; |
|
1397 | + $strongarm->name = 'tableofcontents_toc_automatic_team'; |
|
1398 | + $strongarm->value = '0'; |
|
1399 | + $export['tableofcontents_toc_automatic_team'] = $strongarm; |
|
1400 | + |
|
1401 | + $strongarm = new stdClass; |
|
1402 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1403 | + $strongarm->api_version = 1; |
|
1404 | + $strongarm->name = 'tableofcontents_toc_automatic_team_forum'; |
|
1405 | + $strongarm->value = '0'; |
|
1406 | + $export['tableofcontents_toc_automatic_team_forum'] = $strongarm; |
|
1407 | + |
|
1408 | + $strongarm = new stdClass; |
|
1409 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1410 | + $strongarm->api_version = 1; |
|
1411 | + $strongarm->name = 'tableofcontents_vtoc_admin_forum'; |
|
1412 | + $strongarm->value = 0; |
|
1413 | + $export['tableofcontents_vtoc_admin_forum'] = $strongarm; |
|
1414 | + |
|
1415 | + $strongarm = new stdClass; |
|
1416 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1417 | + $strongarm->api_version = 1; |
|
1418 | + $strongarm->name = 'tableofcontents_vtoc_forum'; |
|
1419 | + $strongarm->value = 0; |
|
1420 | + $export['tableofcontents_vtoc_forum'] = $strongarm; |
|
1421 | + |
|
1422 | + $strongarm = new stdClass; |
|
1423 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1424 | + $strongarm->api_version = 1; |
|
1425 | + $strongarm->name = 'tableofcontents_vtoc_profile'; |
|
1426 | + $strongarm->value = 0; |
|
1427 | + $export['tableofcontents_vtoc_profile'] = $strongarm; |
|
1428 | + |
|
1429 | + $strongarm = new stdClass; |
|
1430 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1431 | + $strongarm->api_version = 1; |
|
1432 | + $strongarm->name = 'tableofcontents_vtoc_team'; |
|
1433 | + $strongarm->value = 0; |
|
1434 | + $export['tableofcontents_vtoc_team'] = $strongarm; |
|
1435 | + |
|
1436 | + $strongarm = new stdClass; |
|
1437 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1438 | + $strongarm->api_version = 1; |
|
1439 | + $strongarm->name = 'tableofcontents_vtoc_team_forum'; |
|
1440 | + $strongarm->value = 0; |
|
1441 | + $export['tableofcontents_vtoc_team_forum'] = $strongarm; |
|
1442 | + |
|
1443 | + $strongarm = new stdClass; |
|
1444 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1445 | + $strongarm->api_version = 1; |
|
1446 | + $strongarm->name = 'tabtamer_tab_settings'; |
|
1447 | + $strongarm->value = array( |
|
1448 | 1448 | 'node/%/view' => array( |
1449 | - 'weight' => '-10', |
|
1450 | - 'action' => 'enabled', |
|
1451 | - 'tabtamer_original_path' => 'node/%node/view', |
|
1452 | - 'tabtamer_title' => '', |
|
1449 | + 'weight' => '-10', |
|
1450 | + 'action' => 'enabled', |
|
1451 | + 'tabtamer_original_path' => 'node/%node/view', |
|
1452 | + 'tabtamer_title' => '', |
|
1453 | 1453 | ), |
1454 | 1454 | 'node/%/edit' => array( |
1455 | - 'weight' => '1', |
|
1456 | - 'action' => 'enabled', |
|
1457 | - 'tabtamer_original_path' => 'node/%node/edit', |
|
1458 | - 'tabtamer_title' => '', |
|
1455 | + 'weight' => '1', |
|
1456 | + 'action' => 'enabled', |
|
1457 | + 'tabtamer_original_path' => 'node/%node/edit', |
|
1458 | + 'tabtamer_title' => '', |
|
1459 | 1459 | ), |
1460 | 1460 | 'node/%/revisions' => array( |
1461 | - 'weight' => '2', |
|
1462 | - 'action' => 'enabled', |
|
1463 | - 'tabtamer_original_path' => 'node/%node/revisions', |
|
1464 | - 'tabtamer_title' => '', |
|
1461 | + 'weight' => '2', |
|
1462 | + 'action' => 'enabled', |
|
1463 | + 'tabtamer_original_path' => 'node/%node/revisions', |
|
1464 | + 'tabtamer_title' => '', |
|
1465 | 1465 | ), |
1466 | 1466 | 'node/%/panel_layout' => array( |
1467 | - 'weight' => '2', |
|
1468 | - 'action' => 'enabled', |
|
1469 | - 'tabtamer_original_path' => 'node/%node/panel_layout', |
|
1470 | - 'tabtamer_title' => '', |
|
1467 | + 'weight' => '2', |
|
1468 | + 'action' => 'enabled', |
|
1469 | + 'tabtamer_original_path' => 'node/%node/panel_layout', |
|
1470 | + 'tabtamer_title' => '', |
|
1471 | 1471 | ), |
1472 | 1472 | 'node/%/panel_content' => array( |
1473 | - 'weight' => '3', |
|
1474 | - 'action' => 'enabled', |
|
1475 | - 'tabtamer_original_path' => 'node/%node/panel_content', |
|
1476 | - 'tabtamer_title' => '', |
|
1473 | + 'weight' => '3', |
|
1474 | + 'action' => 'enabled', |
|
1475 | + 'tabtamer_original_path' => 'node/%node/panel_content', |
|
1476 | + 'tabtamer_title' => '', |
|
1477 | 1477 | ), |
1478 | 1478 | 'node/%/revisions/list' => array( |
1479 | - 'weight' => '0', |
|
1480 | - 'action' => 'enabled', |
|
1481 | - 'tabtamer_original_path' => 'node/%node/revisions/list', |
|
1482 | - 'tabtamer_title' => '', |
|
1479 | + 'weight' => '0', |
|
1480 | + 'action' => 'enabled', |
|
1481 | + 'tabtamer_original_path' => 'node/%node/revisions/list', |
|
1482 | + 'tabtamer_title' => '', |
|
1483 | 1483 | ), |
1484 | 1484 | 'node/%/revisions/view/%/%' => array( |
1485 | - 'weight' => '0', |
|
1486 | - 'action' => 'enabled', |
|
1487 | - 'tabtamer_original_path' => 'node/%node/revisions/view/%/%', |
|
1488 | - 'tabtamer_title' => '', |
|
1485 | + 'weight' => '0', |
|
1486 | + 'action' => 'enabled', |
|
1487 | + 'tabtamer_original_path' => 'node/%node/revisions/view/%/%', |
|
1488 | + 'tabtamer_title' => '', |
|
1489 | 1489 | ), |
1490 | 1490 | 'node/%/revisions/view/latest' => array( |
1491 | - 'weight' => '0', |
|
1492 | - 'action' => 'enabled', |
|
1493 | - 'tabtamer_original_path' => 'node/%node/revisions/view/latest', |
|
1494 | - 'tabtamer_title' => '', |
|
1491 | + 'weight' => '0', |
|
1492 | + 'action' => 'enabled', |
|
1493 | + 'tabtamer_original_path' => 'node/%node/revisions/view/latest', |
|
1494 | + 'tabtamer_title' => '', |
|
1495 | 1495 | ), |
1496 | 1496 | 'search/node/%' => array( |
1497 | - 'weight' => '0', |
|
1498 | - 'action' => 'enabled', |
|
1499 | - 'tabtamer_original_path' => 'search/node/%menu_tail', |
|
1500 | - 'tabtamer_title' => '', |
|
1497 | + 'weight' => '0', |
|
1498 | + 'action' => 'enabled', |
|
1499 | + 'tabtamer_original_path' => 'search/node/%menu_tail', |
|
1500 | + 'tabtamer_title' => '', |
|
1501 | 1501 | ), |
1502 | 1502 | 'search/user/%' => array( |
1503 | - 'weight' => '0', |
|
1504 | - 'action' => 'enabled', |
|
1505 | - 'tabtamer_original_path' => 'search/user/%menu_tail', |
|
1506 | - 'tabtamer_title' => '', |
|
1503 | + 'weight' => '0', |
|
1504 | + 'action' => 'enabled', |
|
1505 | + 'tabtamer_original_path' => 'search/user/%menu_tail', |
|
1506 | + 'tabtamer_title' => '', |
|
1507 | 1507 | ), |
1508 | 1508 | 'user/login' => array( |
1509 | - 'weight' => '0', |
|
1510 | - 'action' => 'enabled', |
|
1511 | - 'tabtamer_original_path' => 'user/login', |
|
1512 | - 'tabtamer_title' => '', |
|
1509 | + 'weight' => '0', |
|
1510 | + 'action' => 'enabled', |
|
1511 | + 'tabtamer_original_path' => 'user/login', |
|
1512 | + 'tabtamer_title' => '', |
|
1513 | 1513 | ), |
1514 | 1514 | 'user/register' => array( |
1515 | - 'weight' => '0', |
|
1516 | - 'action' => 'enabled', |
|
1517 | - 'tabtamer_original_path' => 'user/register', |
|
1518 | - 'tabtamer_title' => '', |
|
1515 | + 'weight' => '0', |
|
1516 | + 'action' => 'enabled', |
|
1517 | + 'tabtamer_original_path' => 'user/register', |
|
1518 | + 'tabtamer_title' => '', |
|
1519 | 1519 | ), |
1520 | 1520 | 'user/password' => array( |
1521 | - 'weight' => '0', |
|
1522 | - 'action' => 'enabled', |
|
1523 | - 'tabtamer_original_path' => 'user/password', |
|
1524 | - 'tabtamer_title' => '', |
|
1521 | + 'weight' => '0', |
|
1522 | + 'action' => 'enabled', |
|
1523 | + 'tabtamer_original_path' => 'user/password', |
|
1524 | + 'tabtamer_title' => '', |
|
1525 | 1525 | ), |
1526 | 1526 | 'user/%/view' => array( |
1527 | - 'weight' => '-10', |
|
1528 | - 'action' => 'hidden', |
|
1529 | - 'tabtamer_original_path' => 'user/%user/view', |
|
1530 | - 'tabtamer_title' => '', |
|
1527 | + 'weight' => '-10', |
|
1528 | + 'action' => 'hidden', |
|
1529 | + 'tabtamer_original_path' => 'user/%user/view', |
|
1530 | + 'tabtamer_title' => '', |
|
1531 | 1531 | ), |
1532 | 1532 | 'user/%/edit' => array( |
1533 | - 'weight' => '0', |
|
1534 | - 'action' => 'hidden', |
|
1535 | - 'tabtamer_original_path' => 'user/%user_category/edit', |
|
1536 | - 'tabtamer_title' => '', |
|
1533 | + 'weight' => '0', |
|
1534 | + 'action' => 'hidden', |
|
1535 | + 'tabtamer_original_path' => 'user/%user_category/edit', |
|
1536 | + 'tabtamer_title' => '', |
|
1537 | 1537 | ), |
1538 | 1538 | 'user/%/imce' => array( |
1539 | - 'weight' => '10', |
|
1540 | - 'action' => 'hidden', |
|
1541 | - 'tabtamer_original_path' => 'user/%user/imce', |
|
1542 | - 'tabtamer_title' => '', |
|
1539 | + 'weight' => '10', |
|
1540 | + 'action' => 'hidden', |
|
1541 | + 'tabtamer_original_path' => 'user/%user/imce', |
|
1542 | + 'tabtamer_title' => '', |
|
1543 | 1543 | ), |
1544 | 1544 | 'user/%/roles' => array( |
1545 | - 'weight' => '0', |
|
1546 | - 'action' => 'enabled', |
|
1547 | - 'tabtamer_original_path' => 'user/%user/roles', |
|
1548 | - 'tabtamer_title' => '', |
|
1545 | + 'weight' => '0', |
|
1546 | + 'action' => 'enabled', |
|
1547 | + 'tabtamer_original_path' => 'user/%user/roles', |
|
1548 | + 'tabtamer_title' => '', |
|
1549 | 1549 | ), |
1550 | 1550 | 'user/%/messages' => array( |
1551 | - 'weight' => '0', |
|
1552 | - 'action' => 'hidden', |
|
1553 | - 'tabtamer_original_path' => 'user/%/messages', |
|
1554 | - 'tabtamer_title' => '', |
|
1551 | + 'weight' => '0', |
|
1552 | + 'action' => 'hidden', |
|
1553 | + 'tabtamer_original_path' => 'user/%/messages', |
|
1554 | + 'tabtamer_title' => '', |
|
1555 | 1555 | ), |
1556 | 1556 | 'user/%/friends' => array( |
1557 | - 'weight' => '0', |
|
1558 | - 'action' => 'hidden', |
|
1559 | - 'tabtamer_original_path' => 'user/%/friends', |
|
1560 | - 'tabtamer_title' => '', |
|
1557 | + 'weight' => '0', |
|
1558 | + 'action' => 'hidden', |
|
1559 | + 'tabtamer_original_path' => 'user/%/friends', |
|
1560 | + 'tabtamer_title' => '', |
|
1561 | 1561 | ), |
1562 | 1562 | 'user/%/edit/account' => array( |
1563 | - 'weight' => '0', |
|
1564 | - 'action' => 'enabled', |
|
1565 | - 'tabtamer_original_path' => 'user/%user_category/edit/account', |
|
1566 | - 'tabtamer_title' => '', |
|
1563 | + 'weight' => '0', |
|
1564 | + 'action' => 'enabled', |
|
1565 | + 'tabtamer_original_path' => 'user/%user_category/edit/account', |
|
1566 | + 'tabtamer_title' => '', |
|
1567 | 1567 | ), |
1568 | 1568 | 'user/%/edit/profile' => array( |
1569 | - 'weight' => '1', |
|
1570 | - 'action' => 'hidden', |
|
1571 | - 'tabtamer_original_path' => 'user/%user_category/edit/profile', |
|
1572 | - 'tabtamer_title' => '', |
|
1569 | + 'weight' => '1', |
|
1570 | + 'action' => 'hidden', |
|
1571 | + 'tabtamer_original_path' => 'user/%user_category/edit/profile', |
|
1572 | + 'tabtamer_title' => '', |
|
1573 | 1573 | ), |
1574 | 1574 | 'user/%/friends/pending' => array( |
1575 | - 'weight' => '0', |
|
1576 | - 'action' => 'enabled', |
|
1577 | - 'tabtamer_original_path' => 'user/%views_arg/friends/pending', |
|
1578 | - 'tabtamer_title' => '', |
|
1575 | + 'weight' => '0', |
|
1576 | + 'action' => 'enabled', |
|
1577 | + 'tabtamer_original_path' => 'user/%views_arg/friends/pending', |
|
1578 | + 'tabtamer_title' => '', |
|
1579 | 1579 | ), |
1580 | 1580 | 'user/%/friends/flagged' => array( |
1581 | - 'weight' => '0', |
|
1582 | - 'action' => 'enabled', |
|
1583 | - 'tabtamer_original_path' => 'user/%views_arg/friends/flagged', |
|
1584 | - 'tabtamer_title' => '', |
|
1581 | + 'weight' => '0', |
|
1582 | + 'action' => 'enabled', |
|
1583 | + 'tabtamer_original_path' => 'user/%views_arg/friends/flagged', |
|
1584 | + 'tabtamer_title' => '', |
|
1585 | 1585 | ), |
1586 | 1586 | 'account/profile/view' => array( |
1587 | - 'weight' => '0', |
|
1588 | - 'action' => 'enabled', |
|
1589 | - 'tabtamer_original_path' => 'account/profile/view', |
|
1590 | - 'tabtamer_title' => '', |
|
1587 | + 'weight' => '0', |
|
1588 | + 'action' => 'enabled', |
|
1589 | + 'tabtamer_original_path' => 'account/profile/view', |
|
1590 | + 'tabtamer_title' => '', |
|
1591 | 1591 | ), |
1592 | 1592 | 'account/profile/edit' => array( |
1593 | - 'weight' => '5', |
|
1594 | - 'action' => 'enabled', |
|
1595 | - 'tabtamer_original_path' => 'account/profile/edit', |
|
1596 | - 'tabtamer_title' => '', |
|
1593 | + 'weight' => '5', |
|
1594 | + 'action' => 'enabled', |
|
1595 | + 'tabtamer_original_path' => 'account/profile/edit', |
|
1596 | + 'tabtamer_title' => '', |
|
1597 | 1597 | ), |
1598 | 1598 | 'account/prefs/computing' => array( |
1599 | - 'weight' => '0', |
|
1600 | - 'action' => 'enabled', |
|
1601 | - 'tabtamer_original_path' => 'account/prefs/computing', |
|
1602 | - 'tabtamer_title' => '', |
|
1599 | + 'weight' => '0', |
|
1600 | + 'action' => 'enabled', |
|
1601 | + 'tabtamer_original_path' => 'account/prefs/computing', |
|
1602 | + 'tabtamer_title' => '', |
|
1603 | 1603 | ), |
1604 | 1604 | 'account/prefs/project' => array( |
1605 | - 'weight' => '5', |
|
1606 | - 'action' => 'enabled', |
|
1607 | - 'tabtamer_original_path' => 'account/prefs/project', |
|
1608 | - 'tabtamer_title' => '', |
|
1605 | + 'weight' => '5', |
|
1606 | + 'action' => 'enabled', |
|
1607 | + 'tabtamer_original_path' => 'account/prefs/project', |
|
1608 | + 'tabtamer_title' => '', |
|
1609 | 1609 | ), |
1610 | 1610 | 'account/prefs/community' => array( |
1611 | - 'weight' => '10', |
|
1612 | - 'action' => 'enabled', |
|
1613 | - 'tabtamer_original_path' => 'account/prefs/community', |
|
1614 | - 'tabtamer_title' => '', |
|
1611 | + 'weight' => '10', |
|
1612 | + 'action' => 'enabled', |
|
1613 | + 'tabtamer_original_path' => 'account/prefs/community', |
|
1614 | + 'tabtamer_title' => '', |
|
1615 | 1615 | ), |
1616 | 1616 | 'account/prefs/privacy' => array( |
1617 | - 'weight' => '15', |
|
1618 | - 'action' => 'enabled', |
|
1619 | - 'tabtamer_original_path' => 'account/prefs/privacy', |
|
1620 | - 'tabtamer_title' => '', |
|
1617 | + 'weight' => '15', |
|
1618 | + 'action' => 'enabled', |
|
1619 | + 'tabtamer_original_path' => 'account/prefs/privacy', |
|
1620 | + 'tabtamer_title' => '', |
|
1621 | 1621 | ), |
1622 | 1622 | 'account/obsolete' => array( |
1623 | - 'weight' => '0', |
|
1624 | - 'action' => 'enabled', |
|
1625 | - 'tabtamer_original_path' => 'account/obsolete', |
|
1626 | - 'tabtamer_title' => '', |
|
1623 | + 'weight' => '0', |
|
1624 | + 'action' => 'enabled', |
|
1625 | + 'tabtamer_original_path' => 'account/obsolete', |
|
1626 | + 'tabtamer_title' => '', |
|
1627 | 1627 | ), |
1628 | 1628 | 'account/tasks/all' => array( |
1629 | - 'weight' => '0', |
|
1630 | - 'action' => 'enabled', |
|
1631 | - 'tabtamer_original_path' => 'account/tasks/all', |
|
1632 | - 'tabtamer_title' => '', |
|
1629 | + 'weight' => '0', |
|
1630 | + 'action' => 'enabled', |
|
1631 | + 'tabtamer_original_path' => 'account/tasks/all', |
|
1632 | + 'tabtamer_title' => '', |
|
1633 | 1633 | ), |
1634 | 1634 | 'account/tasks/error' => array( |
1635 | - 'weight' => '5', |
|
1636 | - 'action' => 'enabled', |
|
1637 | - 'tabtamer_original_path' => 'account/tasks/error', |
|
1638 | - 'tabtamer_title' => '', |
|
1635 | + 'weight' => '5', |
|
1636 | + 'action' => 'enabled', |
|
1637 | + 'tabtamer_original_path' => 'account/tasks/error', |
|
1638 | + 'tabtamer_title' => '', |
|
1639 | 1639 | ), |
1640 | 1640 | 'account/tasks/active' => array( |
1641 | - 'weight' => '1', |
|
1642 | - 'action' => 'enabled', |
|
1643 | - 'tabtamer_original_path' => 'account/tasks/active', |
|
1644 | - 'tabtamer_title' => '', |
|
1641 | + 'weight' => '1', |
|
1642 | + 'action' => 'enabled', |
|
1643 | + 'tabtamer_original_path' => 'account/tasks/active', |
|
1644 | + 'tabtamer_title' => '', |
|
1645 | 1645 | ), |
1646 | 1646 | 'account/tasks/invalid' => array( |
1647 | - 'weight' => '4', |
|
1648 | - 'action' => 'enabled', |
|
1649 | - 'tabtamer_original_path' => 'account/tasks/invalid', |
|
1650 | - 'tabtamer_title' => '', |
|
1647 | + 'weight' => '4', |
|
1648 | + 'action' => 'enabled', |
|
1649 | + 'tabtamer_original_path' => 'account/tasks/invalid', |
|
1650 | + 'tabtamer_title' => '', |
|
1651 | 1651 | ), |
1652 | 1652 | 'account/tasks/pending' => array( |
1653 | - 'weight' => '2', |
|
1654 | - 'action' => 'enabled', |
|
1655 | - 'tabtamer_original_path' => 'account/tasks/pending', |
|
1656 | - 'tabtamer_title' => '', |
|
1653 | + 'weight' => '2', |
|
1654 | + 'action' => 'enabled', |
|
1655 | + 'tabtamer_original_path' => 'account/tasks/pending', |
|
1656 | + 'tabtamer_title' => '', |
|
1657 | 1657 | ), |
1658 | 1658 | 'account/tasks/valid' => array( |
1659 | - 'weight' => '3', |
|
1660 | - 'action' => 'enabled', |
|
1661 | - 'tabtamer_original_path' => 'account/tasks/valid', |
|
1662 | - 'tabtamer_title' => '', |
|
1659 | + 'weight' => '3', |
|
1660 | + 'action' => 'enabled', |
|
1661 | + 'tabtamer_original_path' => 'account/tasks/valid', |
|
1662 | + 'tabtamer_title' => '', |
|
1663 | 1663 | ), |
1664 | 1664 | 'account/computers/all' => array( |
1665 | - 'weight' => '1', |
|
1666 | - 'action' => 'enabled', |
|
1667 | - 'tabtamer_original_path' => 'account/computers/all', |
|
1668 | - 'tabtamer_title' => '', |
|
1665 | + 'weight' => '1', |
|
1666 | + 'action' => 'enabled', |
|
1667 | + 'tabtamer_original_path' => 'account/computers/all', |
|
1668 | + 'tabtamer_title' => '', |
|
1669 | 1669 | ), |
1670 | 1670 | 'account/computers/active' => array( |
1671 | - 'weight' => '0', |
|
1672 | - 'action' => 'enabled', |
|
1673 | - 'tabtamer_original_path' => 'account/computers/active', |
|
1674 | - 'tabtamer_title' => '', |
|
1671 | + 'weight' => '0', |
|
1672 | + 'action' => 'enabled', |
|
1673 | + 'tabtamer_original_path' => 'account/computers/active', |
|
1674 | + 'tabtamer_title' => '', |
|
1675 | 1675 | ), |
1676 | 1676 | 'account/%/computers' => array( |
1677 | - 'weight' => '0', |
|
1678 | - 'action' => 'hidden', |
|
1679 | - 'tabtamer_original_path' => 'account/%views_arg/computers', |
|
1680 | - 'tabtamer_title' => '', |
|
1677 | + 'weight' => '0', |
|
1678 | + 'action' => 'hidden', |
|
1679 | + 'tabtamer_original_path' => 'account/%views_arg/computers', |
|
1680 | + 'tabtamer_title' => '', |
|
1681 | 1681 | ), |
1682 | 1682 | 'account/%/computers/all' => array( |
1683 | - 'weight' => '1', |
|
1684 | - 'action' => 'enabled', |
|
1685 | - 'tabtamer_original_path' => 'account/%views_arg/computers/all', |
|
1686 | - 'tabtamer_title' => '', |
|
1683 | + 'weight' => '1', |
|
1684 | + 'action' => 'enabled', |
|
1685 | + 'tabtamer_original_path' => 'account/%views_arg/computers/all', |
|
1686 | + 'tabtamer_title' => '', |
|
1687 | 1687 | ), |
1688 | 1688 | 'account/%/friends/all' => array( |
1689 | - 'weight' => '-10', |
|
1690 | - 'action' => 'enabled', |
|
1691 | - 'tabtamer_original_path' => 'account/%/friends/all', |
|
1692 | - 'tabtamer_title' => '', |
|
1689 | + 'weight' => '-10', |
|
1690 | + 'action' => 'enabled', |
|
1691 | + 'tabtamer_original_path' => 'account/%/friends/all', |
|
1692 | + 'tabtamer_title' => '', |
|
1693 | 1693 | ), |
1694 | 1694 | 'account/%/friends/pending' => array( |
1695 | - 'weight' => '0', |
|
1696 | - 'action' => 'enabled', |
|
1697 | - 'tabtamer_original_path' => 'account/%views_arg/friends/pending', |
|
1698 | - 'tabtamer_title' => '', |
|
1695 | + 'weight' => '0', |
|
1696 | + 'action' => 'enabled', |
|
1697 | + 'tabtamer_original_path' => 'account/%views_arg/friends/pending', |
|
1698 | + 'tabtamer_title' => '', |
|
1699 | 1699 | ), |
1700 | 1700 | 'account/%/friends/flagged' => array( |
1701 | - 'weight' => '0', |
|
1702 | - 'action' => 'enabled', |
|
1703 | - 'tabtamer_original_path' => 'account/%views_arg/friends/flagged', |
|
1704 | - 'tabtamer_title' => '', |
|
1701 | + 'weight' => '0', |
|
1702 | + 'action' => 'enabled', |
|
1703 | + 'tabtamer_original_path' => 'account/%views_arg/friends/flagged', |
|
1704 | + 'tabtamer_title' => '', |
|
1705 | 1705 | ), |
1706 | 1706 | 'join/new' => array( |
1707 | - 'weight' => '0', |
|
1708 | - 'action' => 'enabled', |
|
1709 | - 'tabtamer_original_path' => 'join/new', |
|
1710 | - 'tabtamer_title' => '', |
|
1707 | + 'weight' => '0', |
|
1708 | + 'action' => 'enabled', |
|
1709 | + 'tabtamer_original_path' => 'join/new', |
|
1710 | + 'tabtamer_title' => '', |
|
1711 | 1711 | ), |
1712 | 1712 | 'join/boinc' => array( |
1713 | - 'weight' => '5', |
|
1714 | - 'action' => 'enabled', |
|
1715 | - 'tabtamer_original_path' => 'join/boinc', |
|
1716 | - 'tabtamer_title' => '', |
|
1713 | + 'weight' => '5', |
|
1714 | + 'action' => 'enabled', |
|
1715 | + 'tabtamer_original_path' => 'join/boinc', |
|
1716 | + 'tabtamer_title' => '', |
|
1717 | 1717 | ), |
1718 | 1718 | 'messages/list' => array( |
1719 | - 'weight' => '-10', |
|
1720 | - 'action' => 'enabled', |
|
1721 | - 'tabtamer_original_path' => 'messages/list', |
|
1722 | - 'tabtamer_title' => '', |
|
1719 | + 'weight' => '-10', |
|
1720 | + 'action' => 'enabled', |
|
1721 | + 'tabtamer_original_path' => 'messages/list', |
|
1722 | + 'tabtamer_title' => '', |
|
1723 | 1723 | ), |
1724 | 1724 | 'messages/view/%' => array( |
1725 | - 'weight' => '-5', |
|
1726 | - 'action' => 'enabled', |
|
1727 | - 'tabtamer_original_path' => 'messages/view/%privatemsg_thread', |
|
1728 | - 'tabtamer_title' => '', |
|
1725 | + 'weight' => '-5', |
|
1726 | + 'action' => 'enabled', |
|
1727 | + 'tabtamer_original_path' => 'messages/view/%privatemsg_thread', |
|
1728 | + 'tabtamer_title' => '', |
|
1729 | 1729 | ), |
1730 | 1730 | 'messages/new' => array( |
1731 | - 'weight' => '-3', |
|
1732 | - 'action' => 'enabled', |
|
1733 | - 'tabtamer_original_path' => 'messages/new', |
|
1734 | - 'tabtamer_title' => '', |
|
1731 | + 'weight' => '-3', |
|
1732 | + 'action' => 'enabled', |
|
1733 | + 'tabtamer_original_path' => 'messages/new', |
|
1734 | + 'tabtamer_title' => '', |
|
1735 | 1735 | ), |
1736 | 1736 | 'news' => array( |
1737 | - 'weight' => 0, |
|
1738 | - 'action' => 'enabled', |
|
1739 | - 'tabtamer_original_path' => 'news', |
|
1740 | - 'tabtamer_title' => '', |
|
1737 | + 'weight' => 0, |
|
1738 | + 'action' => 'enabled', |
|
1739 | + 'tabtamer_original_path' => 'news', |
|
1740 | + 'tabtamer_title' => '', |
|
1741 | 1741 | ), |
1742 | 1742 | 'workunit/%/tasks' => array( |
1743 | - 'weight' => '0', |
|
1744 | - 'action' => 'enabled', |
|
1745 | - 'tabtamer_original_path' => 'workunit/%views_arg/tasks', |
|
1746 | - 'tabtamer_title' => '', |
|
1743 | + 'weight' => '0', |
|
1744 | + 'action' => 'enabled', |
|
1745 | + 'tabtamer_original_path' => 'workunit/%views_arg/tasks', |
|
1746 | + 'tabtamer_title' => '', |
|
1747 | 1747 | ), |
1748 | 1748 | 'workunit/%/tasks/error' => array( |
1749 | - 'weight' => '5', |
|
1750 | - 'action' => 'enabled', |
|
1751 | - 'tabtamer_original_path' => 'workunit/%views_arg/tasks/error', |
|
1752 | - 'tabtamer_title' => '', |
|
1749 | + 'weight' => '5', |
|
1750 | + 'action' => 'enabled', |
|
1751 | + 'tabtamer_original_path' => 'workunit/%views_arg/tasks/error', |
|
1752 | + 'tabtamer_title' => '', |
|
1753 | 1753 | ), |
1754 | 1754 | 'workunit/%/tasks/active' => array( |
1755 | - 'weight' => '1', |
|
1756 | - 'action' => 'enabled', |
|
1757 | - 'tabtamer_original_path' => 'workunit/%views_arg/tasks/active', |
|
1758 | - 'tabtamer_title' => '', |
|
1755 | + 'weight' => '1', |
|
1756 | + 'action' => 'enabled', |
|
1757 | + 'tabtamer_original_path' => 'workunit/%views_arg/tasks/active', |
|
1758 | + 'tabtamer_title' => '', |
|
1759 | 1759 | ), |
1760 | 1760 | 'workunit/%/tasks/invalid' => array( |
1761 | - 'weight' => '4', |
|
1762 | - 'action' => 'enabled', |
|
1763 | - 'tabtamer_original_path' => 'workunit/%views_arg/tasks/invalid', |
|
1764 | - 'tabtamer_title' => '', |
|
1761 | + 'weight' => '4', |
|
1762 | + 'action' => 'enabled', |
|
1763 | + 'tabtamer_original_path' => 'workunit/%views_arg/tasks/invalid', |
|
1764 | + 'tabtamer_title' => '', |
|
1765 | 1765 | ), |
1766 | 1766 | 'workunit/%/tasks/pending' => array( |
1767 | - 'weight' => '2', |
|
1768 | - 'action' => 'enabled', |
|
1769 | - 'tabtamer_original_path' => 'workunit/%views_arg/tasks/pending', |
|
1770 | - 'tabtamer_title' => '', |
|
1767 | + 'weight' => '2', |
|
1768 | + 'action' => 'enabled', |
|
1769 | + 'tabtamer_original_path' => 'workunit/%views_arg/tasks/pending', |
|
1770 | + 'tabtamer_title' => '', |
|
1771 | 1771 | ), |
1772 | 1772 | 'workunit/%/tasks/valid' => array( |
1773 | - 'weight' => '3', |
|
1774 | - 'action' => 'enabled', |
|
1775 | - 'tabtamer_original_path' => 'workunit/%views_arg/tasks/valid', |
|
1776 | - 'tabtamer_title' => '', |
|
1773 | + 'weight' => '3', |
|
1774 | + 'action' => 'enabled', |
|
1775 | + 'tabtamer_original_path' => 'workunit/%views_arg/tasks/valid', |
|
1776 | + 'tabtamer_title' => '', |
|
1777 | 1777 | ), |
1778 | 1778 | 'host/%/tasks' => array( |
1779 | - 'weight' => '0', |
|
1780 | - 'action' => 'enabled', |
|
1781 | - 'tabtamer_original_path' => 'host/%views_arg/tasks', |
|
1782 | - 'tabtamer_title' => '', |
|
1779 | + 'weight' => '0', |
|
1780 | + 'action' => 'enabled', |
|
1781 | + 'tabtamer_original_path' => 'host/%views_arg/tasks', |
|
1782 | + 'tabtamer_title' => '', |
|
1783 | 1783 | ), |
1784 | 1784 | 'host/%/tasks/error' => array( |
1785 | - 'weight' => '5', |
|
1786 | - 'action' => 'enabled', |
|
1787 | - 'tabtamer_original_path' => 'host/%views_arg/tasks/error', |
|
1788 | - 'tabtamer_title' => '', |
|
1785 | + 'weight' => '5', |
|
1786 | + 'action' => 'enabled', |
|
1787 | + 'tabtamer_original_path' => 'host/%views_arg/tasks/error', |
|
1788 | + 'tabtamer_title' => '', |
|
1789 | 1789 | ), |
1790 | 1790 | 'host/%/tasks/active' => array( |
1791 | - 'weight' => '1', |
|
1792 | - 'action' => 'enabled', |
|
1793 | - 'tabtamer_original_path' => 'host/%views_arg/tasks/active', |
|
1794 | - 'tabtamer_title' => '', |
|
1791 | + 'weight' => '1', |
|
1792 | + 'action' => 'enabled', |
|
1793 | + 'tabtamer_original_path' => 'host/%views_arg/tasks/active', |
|
1794 | + 'tabtamer_title' => '', |
|
1795 | 1795 | ), |
1796 | 1796 | 'host/%/tasks/invalid' => array( |
1797 | - 'weight' => '4', |
|
1798 | - 'action' => 'enabled', |
|
1799 | - 'tabtamer_original_path' => 'host/%views_arg/tasks/invalid', |
|
1800 | - 'tabtamer_title' => '', |
|
1797 | + 'weight' => '4', |
|
1798 | + 'action' => 'enabled', |
|
1799 | + 'tabtamer_original_path' => 'host/%views_arg/tasks/invalid', |
|
1800 | + 'tabtamer_title' => '', |
|
1801 | 1801 | ), |
1802 | 1802 | 'host/%/tasks/pending' => array( |
1803 | - 'weight' => '2', |
|
1804 | - 'action' => 'enabled', |
|
1805 | - 'tabtamer_original_path' => 'host/%views_arg/tasks/pending', |
|
1806 | - 'tabtamer_title' => '', |
|
1803 | + 'weight' => '2', |
|
1804 | + 'action' => 'enabled', |
|
1805 | + 'tabtamer_original_path' => 'host/%views_arg/tasks/pending', |
|
1806 | + 'tabtamer_title' => '', |
|
1807 | 1807 | ), |
1808 | 1808 | 'host/%/tasks/valid' => array( |
1809 | - 'weight' => '3', |
|
1810 | - 'action' => 'enabled', |
|
1811 | - 'tabtamer_original_path' => 'host/%views_arg/tasks/valid', |
|
1812 | - 'tabtamer_title' => '', |
|
1813 | - ), |
|
1814 | - ); |
|
1815 | - $export['tabtamer_tab_settings'] = $strongarm; |
|
1816 | - |
|
1817 | - $strongarm = new stdClass; |
|
1818 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1819 | - $strongarm->api_version = 1; |
|
1820 | - $strongarm->name = 'theme_boinc_settings'; |
|
1821 | - $strongarm->value = array( |
|
1809 | + 'weight' => '3', |
|
1810 | + 'action' => 'enabled', |
|
1811 | + 'tabtamer_original_path' => 'host/%views_arg/tasks/valid', |
|
1812 | + 'tabtamer_title' => '', |
|
1813 | + ), |
|
1814 | + ); |
|
1815 | + $export['tabtamer_tab_settings'] = $strongarm; |
|
1816 | + |
|
1817 | + $strongarm = new stdClass; |
|
1818 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1819 | + $strongarm->api_version = 1; |
|
1820 | + $strongarm->name = 'theme_boinc_settings'; |
|
1821 | + $strongarm->value = array( |
|
1822 | 1822 | 'zen_block_editing' => 1, |
1823 | 1823 | 'zen_breadcrumb' => 'yes', |
1824 | 1824 | 'zen_breadcrumb_separator' => ' › ', |
@@ -1845,21 +1845,21 @@ discard block |
||
1845 | 1845 | 'default_favicon' => 1, |
1846 | 1846 | 'favicon_path' => '', |
1847 | 1847 | 'favicon_upload' => '', |
1848 | - ); |
|
1849 | - $export['theme_boinc_settings'] = $strongarm; |
|
1850 | - |
|
1851 | - $strongarm = new stdClass; |
|
1852 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1853 | - $strongarm->api_version = 1; |
|
1854 | - $strongarm->name = 'theme_default'; |
|
1855 | - $strongarm->value = 'einstein'; |
|
1856 | - $export['theme_default'] = $strongarm; |
|
1857 | - |
|
1858 | - $strongarm = new stdClass; |
|
1859 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1860 | - $strongarm->api_version = 1; |
|
1861 | - $strongarm->name = 'theme_einstein_settings'; |
|
1862 | - $strongarm->value = array( |
|
1848 | + ); |
|
1849 | + $export['theme_boinc_settings'] = $strongarm; |
|
1850 | + |
|
1851 | + $strongarm = new stdClass; |
|
1852 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1853 | + $strongarm->api_version = 1; |
|
1854 | + $strongarm->name = 'theme_default'; |
|
1855 | + $strongarm->value = 'einstein'; |
|
1856 | + $export['theme_default'] = $strongarm; |
|
1857 | + |
|
1858 | + $strongarm = new stdClass; |
|
1859 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1860 | + $strongarm->api_version = 1; |
|
1861 | + $strongarm->name = 'theme_einstein_settings'; |
|
1862 | + $strongarm->value = array( |
|
1863 | 1863 | 'zen_block_editing' => 1, |
1864 | 1864 | 'zen_breadcrumb' => 'yes', |
1865 | 1865 | 'zen_breadcrumb_separator' => ' › ', |
@@ -1886,23 +1886,23 @@ discard block |
||
1886 | 1886 | 'favicon_upload' => '', |
1887 | 1887 | 'boinc_stats_chart_color' => '#009CDB', |
1888 | 1888 | 'boinc_stats_chart_bcolor' => '#EEEEEE', |
1889 | - ); |
|
1890 | - $export['theme_einstein_settings'] = $strongarm; |
|
1891 | - |
|
1892 | - $strongarm = new stdClass; |
|
1893 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1894 | - $strongarm->api_version = 1; |
|
1895 | - $strongarm->name = 'theme_settings'; |
|
1896 | - $strongarm->value = array( |
|
1889 | + ); |
|
1890 | + $export['theme_einstein_settings'] = $strongarm; |
|
1891 | + |
|
1892 | + $strongarm = new stdClass; |
|
1893 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1894 | + $strongarm->api_version = 1; |
|
1895 | + $strongarm->name = 'theme_settings'; |
|
1896 | + $strongarm->value = array( |
|
1897 | 1897 | 'toggle_node_info_page' => FALSE, |
1898 | - ); |
|
1899 | - $export['theme_settings'] = $strongarm; |
|
1900 | - |
|
1901 | - $strongarm = new stdClass; |
|
1902 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1903 | - $strongarm->api_version = 1; |
|
1904 | - $strongarm->name = 'theme_zen_settings'; |
|
1905 | - $strongarm->value = array( |
|
1898 | + ); |
|
1899 | + $export['theme_settings'] = $strongarm; |
|
1900 | + |
|
1901 | + $strongarm = new stdClass; |
|
1902 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1903 | + $strongarm->api_version = 1; |
|
1904 | + $strongarm->name = 'theme_zen_settings'; |
|
1905 | + $strongarm->value = array( |
|
1906 | 1906 | 'zen_block_editing' => '1', |
1907 | 1907 | 'zen_breadcrumb' => 'yes', |
1908 | 1908 | 'zen_breadcrumb_separator' => ' › ', |
@@ -1912,105 +1912,105 @@ discard block |
||
1912 | 1912 | 'zen_layout' => 'zen-columns-liquid', |
1913 | 1913 | 'zen_rebuild_registry' => '0', |
1914 | 1914 | 'zen_wireframes' => '0', |
1915 | - ); |
|
1916 | - $export['theme_zen_settings'] = $strongarm; |
|
1917 | - |
|
1918 | - $strongarm = new stdClass; |
|
1919 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1920 | - $strongarm->api_version = 1; |
|
1921 | - $strongarm->name = 'upload_extensions_2938987599'; |
|
1922 | - $strongarm->value = 'jpg jpeg gif png txt doc xls pdf ppt pps odt ods odp'; |
|
1923 | - $export['upload_extensions_2938987599'] = $strongarm; |
|
1924 | - |
|
1925 | - $strongarm = new stdClass; |
|
1926 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1927 | - $strongarm->api_version = 1; |
|
1928 | - $strongarm->name = 'upload_extensions_3519698132'; |
|
1929 | - $strongarm->value = 'jpg jpeg gif png txt doc xls pdf ppt pps odt ods odp'; |
|
1930 | - $export['upload_extensions_3519698132'] = $strongarm; |
|
1931 | - |
|
1932 | - $strongarm = new stdClass; |
|
1933 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1934 | - $strongarm->api_version = 1; |
|
1935 | - $strongarm->name = 'upload_extensions_default'; |
|
1936 | - $strongarm->value = 'jpg jpeg gif png txt pdf'; |
|
1937 | - $export['upload_extensions_default'] = $strongarm; |
|
1938 | - |
|
1939 | - $strongarm = new stdClass; |
|
1940 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1941 | - $strongarm->api_version = 1; |
|
1942 | - $strongarm->name = 'upload_forum'; |
|
1943 | - $strongarm->value = '0'; |
|
1944 | - $export['upload_forum'] = $strongarm; |
|
1945 | - |
|
1946 | - $strongarm = new stdClass; |
|
1947 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1948 | - $strongarm->api_version = 1; |
|
1949 | - $strongarm->name = 'upload_list_default'; |
|
1950 | - $strongarm->value = '0'; |
|
1951 | - $export['upload_list_default'] = $strongarm; |
|
1952 | - |
|
1953 | - $strongarm = new stdClass; |
|
1954 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1955 | - $strongarm->api_version = 1; |
|
1956 | - $strongarm->name = 'upload_max_resolution'; |
|
1957 | - $strongarm->value = '0'; |
|
1958 | - $export['upload_max_resolution'] = $strongarm; |
|
1959 | - |
|
1960 | - $strongarm = new stdClass; |
|
1961 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1962 | - $strongarm->api_version = 1; |
|
1963 | - $strongarm->name = 'upload_uploadsize_2938987599'; |
|
1964 | - $strongarm->value = '2'; |
|
1965 | - $export['upload_uploadsize_2938987599'] = $strongarm; |
|
1966 | - |
|
1967 | - $strongarm = new stdClass; |
|
1968 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1969 | - $strongarm->api_version = 1; |
|
1970 | - $strongarm->name = 'upload_uploadsize_3519698132'; |
|
1971 | - $strongarm->value = '2'; |
|
1972 | - $export['upload_uploadsize_3519698132'] = $strongarm; |
|
1973 | - |
|
1974 | - $strongarm = new stdClass; |
|
1975 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1976 | - $strongarm->api_version = 1; |
|
1977 | - $strongarm->name = 'upload_uploadsize_default'; |
|
1978 | - $strongarm->value = '2'; |
|
1979 | - $export['upload_uploadsize_default'] = $strongarm; |
|
1980 | - |
|
1981 | - $strongarm = new stdClass; |
|
1982 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1983 | - $strongarm->api_version = 1; |
|
1984 | - $strongarm->name = 'upload_usersize_2938987599'; |
|
1985 | - $strongarm->value = '1000'; |
|
1986 | - $export['upload_usersize_2938987599'] = $strongarm; |
|
1987 | - |
|
1988 | - $strongarm = new stdClass; |
|
1989 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1990 | - $strongarm->api_version = 1; |
|
1991 | - $strongarm->name = 'upload_usersize_3519698132'; |
|
1992 | - $strongarm->value = '1000'; |
|
1993 | - $export['upload_usersize_3519698132'] = $strongarm; |
|
1994 | - |
|
1995 | - $strongarm = new stdClass; |
|
1996 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1997 | - $strongarm->api_version = 1; |
|
1998 | - $strongarm->name = 'upload_usersize_default'; |
|
1999 | - $strongarm->value = '10'; |
|
2000 | - $export['upload_usersize_default'] = $strongarm; |
|
2001 | - |
|
2002 | - $strongarm = new stdClass; |
|
2003 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2004 | - $strongarm->api_version = 1; |
|
2005 | - $strongarm->name = 'user_email_verification'; |
|
2006 | - $strongarm->value = 1; |
|
2007 | - $export['user_email_verification'] = $strongarm; |
|
2008 | - |
|
2009 | - $strongarm = new stdClass; |
|
2010 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2011 | - $strongarm->api_version = 1; |
|
2012 | - $strongarm->name = 'user_mail_password_reset_body'; |
|
2013 | - $strongarm->value = 'Hello, |
|
1915 | + ); |
|
1916 | + $export['theme_zen_settings'] = $strongarm; |
|
1917 | + |
|
1918 | + $strongarm = new stdClass; |
|
1919 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1920 | + $strongarm->api_version = 1; |
|
1921 | + $strongarm->name = 'upload_extensions_2938987599'; |
|
1922 | + $strongarm->value = 'jpg jpeg gif png txt doc xls pdf ppt pps odt ods odp'; |
|
1923 | + $export['upload_extensions_2938987599'] = $strongarm; |
|
1924 | + |
|
1925 | + $strongarm = new stdClass; |
|
1926 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1927 | + $strongarm->api_version = 1; |
|
1928 | + $strongarm->name = 'upload_extensions_3519698132'; |
|
1929 | + $strongarm->value = 'jpg jpeg gif png txt doc xls pdf ppt pps odt ods odp'; |
|
1930 | + $export['upload_extensions_3519698132'] = $strongarm; |
|
1931 | + |
|
1932 | + $strongarm = new stdClass; |
|
1933 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1934 | + $strongarm->api_version = 1; |
|
1935 | + $strongarm->name = 'upload_extensions_default'; |
|
1936 | + $strongarm->value = 'jpg jpeg gif png txt pdf'; |
|
1937 | + $export['upload_extensions_default'] = $strongarm; |
|
1938 | + |
|
1939 | + $strongarm = new stdClass; |
|
1940 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1941 | + $strongarm->api_version = 1; |
|
1942 | + $strongarm->name = 'upload_forum'; |
|
1943 | + $strongarm->value = '0'; |
|
1944 | + $export['upload_forum'] = $strongarm; |
|
1945 | + |
|
1946 | + $strongarm = new stdClass; |
|
1947 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1948 | + $strongarm->api_version = 1; |
|
1949 | + $strongarm->name = 'upload_list_default'; |
|
1950 | + $strongarm->value = '0'; |
|
1951 | + $export['upload_list_default'] = $strongarm; |
|
1952 | + |
|
1953 | + $strongarm = new stdClass; |
|
1954 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1955 | + $strongarm->api_version = 1; |
|
1956 | + $strongarm->name = 'upload_max_resolution'; |
|
1957 | + $strongarm->value = '0'; |
|
1958 | + $export['upload_max_resolution'] = $strongarm; |
|
1959 | + |
|
1960 | + $strongarm = new stdClass; |
|
1961 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1962 | + $strongarm->api_version = 1; |
|
1963 | + $strongarm->name = 'upload_uploadsize_2938987599'; |
|
1964 | + $strongarm->value = '2'; |
|
1965 | + $export['upload_uploadsize_2938987599'] = $strongarm; |
|
1966 | + |
|
1967 | + $strongarm = new stdClass; |
|
1968 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1969 | + $strongarm->api_version = 1; |
|
1970 | + $strongarm->name = 'upload_uploadsize_3519698132'; |
|
1971 | + $strongarm->value = '2'; |
|
1972 | + $export['upload_uploadsize_3519698132'] = $strongarm; |
|
1973 | + |
|
1974 | + $strongarm = new stdClass; |
|
1975 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1976 | + $strongarm->api_version = 1; |
|
1977 | + $strongarm->name = 'upload_uploadsize_default'; |
|
1978 | + $strongarm->value = '2'; |
|
1979 | + $export['upload_uploadsize_default'] = $strongarm; |
|
1980 | + |
|
1981 | + $strongarm = new stdClass; |
|
1982 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1983 | + $strongarm->api_version = 1; |
|
1984 | + $strongarm->name = 'upload_usersize_2938987599'; |
|
1985 | + $strongarm->value = '1000'; |
|
1986 | + $export['upload_usersize_2938987599'] = $strongarm; |
|
1987 | + |
|
1988 | + $strongarm = new stdClass; |
|
1989 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1990 | + $strongarm->api_version = 1; |
|
1991 | + $strongarm->name = 'upload_usersize_3519698132'; |
|
1992 | + $strongarm->value = '1000'; |
|
1993 | + $export['upload_usersize_3519698132'] = $strongarm; |
|
1994 | + |
|
1995 | + $strongarm = new stdClass; |
|
1996 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
1997 | + $strongarm->api_version = 1; |
|
1998 | + $strongarm->name = 'upload_usersize_default'; |
|
1999 | + $strongarm->value = '10'; |
|
2000 | + $export['upload_usersize_default'] = $strongarm; |
|
2001 | + |
|
2002 | + $strongarm = new stdClass; |
|
2003 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2004 | + $strongarm->api_version = 1; |
|
2005 | + $strongarm->name = 'user_email_verification'; |
|
2006 | + $strongarm->value = 1; |
|
2007 | + $export['user_email_verification'] = $strongarm; |
|
2008 | + |
|
2009 | + $strongarm = new stdClass; |
|
2010 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2011 | + $strongarm->api_version = 1; |
|
2012 | + $strongarm->name = 'user_mail_password_reset_body'; |
|
2013 | + $strongarm->value = 'Hello, |
|
2014 | 2014 | |
2015 | 2015 | A request to reset the password for your account has been made at !site. |
2016 | 2016 | |
@@ -2023,20 +2023,20 @@ discard block |
||
2023 | 2023 | After logging in, you will be redirected to !edit_uri so you can change your password. |
2024 | 2024 | |
2025 | 2025 | -- !site team'; |
2026 | - $export['user_mail_password_reset_body'] = $strongarm; |
|
2026 | + $export['user_mail_password_reset_body'] = $strongarm; |
|
2027 | 2027 | |
2028 | - $strongarm = new stdClass; |
|
2029 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2030 | - $strongarm->api_version = 1; |
|
2031 | - $strongarm->name = 'user_mail_password_reset_subject'; |
|
2032 | - $strongarm->value = 'Replacement login information for !mailto at !site'; |
|
2033 | - $export['user_mail_password_reset_subject'] = $strongarm; |
|
2028 | + $strongarm = new stdClass; |
|
2029 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2030 | + $strongarm->api_version = 1; |
|
2031 | + $strongarm->name = 'user_mail_password_reset_subject'; |
|
2032 | + $strongarm->value = 'Replacement login information for !mailto at !site'; |
|
2033 | + $export['user_mail_password_reset_subject'] = $strongarm; |
|
2034 | 2034 | |
2035 | - $strongarm = new stdClass; |
|
2036 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2037 | - $strongarm->api_version = 1; |
|
2038 | - $strongarm->name = 'user_mail_register_admin_created_body'; |
|
2039 | - $strongarm->value = 'Hello, |
|
2035 | + $strongarm = new stdClass; |
|
2036 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2037 | + $strongarm->api_version = 1; |
|
2038 | + $strongarm->name = 'user_mail_register_admin_created_body'; |
|
2039 | + $strongarm->value = 'Hello, |
|
2040 | 2040 | |
2041 | 2041 | A site administrator at !site has created an account for you. You may now log in to !login_uri using your email and your passphrase. |
2042 | 2042 | |
@@ -2049,20 +2049,20 @@ discard block |
||
2049 | 2049 | After logging in, you will be redirected to !edit_uri so you can change your password. |
2050 | 2050 | |
2051 | 2051 | -- !site team'; |
2052 | - $export['user_mail_register_admin_created_body'] = $strongarm; |
|
2052 | + $export['user_mail_register_admin_created_body'] = $strongarm; |
|
2053 | 2053 | |
2054 | - $strongarm = new stdClass; |
|
2055 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2056 | - $strongarm->api_version = 1; |
|
2057 | - $strongarm->name = 'user_mail_register_admin_created_subject'; |
|
2058 | - $strongarm->value = 'An administrator created an account for you at !site'; |
|
2059 | - $export['user_mail_register_admin_created_subject'] = $strongarm; |
|
2054 | + $strongarm = new stdClass; |
|
2055 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2056 | + $strongarm->api_version = 1; |
|
2057 | + $strongarm->name = 'user_mail_register_admin_created_subject'; |
|
2058 | + $strongarm->value = 'An administrator created an account for you at !site'; |
|
2059 | + $export['user_mail_register_admin_created_subject'] = $strongarm; |
|
2060 | 2060 | |
2061 | - $strongarm = new stdClass; |
|
2062 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2063 | - $strongarm->api_version = 1; |
|
2064 | - $strongarm->name = 'user_mail_register_no_approval_required_body'; |
|
2065 | - $strongarm->value = 'Hello, |
|
2061 | + $strongarm = new stdClass; |
|
2062 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2063 | + $strongarm->api_version = 1; |
|
2064 | + $strongarm->name = 'user_mail_register_no_approval_required_body'; |
|
2065 | + $strongarm->value = 'Hello, |
|
2066 | 2066 | |
2067 | 2067 | Thank you for registering at !site. You may now log in to !uri_brief by clicking on this link or copying and pasting it in your browser: |
2068 | 2068 | |
@@ -2073,38 +2073,38 @@ discard block |
||
2073 | 2073 | After logging in, you will be redirected to !edit_uri, where you can choose your password. |
2074 | 2074 | |
2075 | 2075 | -- !site team'; |
2076 | - $export['user_mail_register_no_approval_required_body'] = $strongarm; |
|
2076 | + $export['user_mail_register_no_approval_required_body'] = $strongarm; |
|
2077 | 2077 | |
2078 | - $strongarm = new stdClass; |
|
2079 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2080 | - $strongarm->api_version = 1; |
|
2081 | - $strongarm->name = 'user_mail_register_no_approval_required_subject'; |
|
2082 | - $strongarm->value = 'Account details for !mailto at !site'; |
|
2083 | - $export['user_mail_register_no_approval_required_subject'] = $strongarm; |
|
2078 | + $strongarm = new stdClass; |
|
2079 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2080 | + $strongarm->api_version = 1; |
|
2081 | + $strongarm->name = 'user_mail_register_no_approval_required_subject'; |
|
2082 | + $strongarm->value = 'Account details for !mailto at !site'; |
|
2083 | + $export['user_mail_register_no_approval_required_subject'] = $strongarm; |
|
2084 | 2084 | |
2085 | - $strongarm = new stdClass; |
|
2086 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2087 | - $strongarm->api_version = 1; |
|
2088 | - $strongarm->name = 'user_mail_register_pending_approval_body'; |
|
2089 | - $strongarm->value = 'Hello, |
|
2085 | + $strongarm = new stdClass; |
|
2086 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2087 | + $strongarm->api_version = 1; |
|
2088 | + $strongarm->name = 'user_mail_register_pending_approval_body'; |
|
2089 | + $strongarm->value = 'Hello, |
|
2090 | 2090 | |
2091 | 2091 | Thank you for registering at !site. Your application for an account is currently pending approval. Once it has been approved, you will receive another e-mail containing information about how to log in, set your password, and other details. |
2092 | 2092 | |
2093 | 2093 | -- !site team'; |
2094 | - $export['user_mail_register_pending_approval_body'] = $strongarm; |
|
2094 | + $export['user_mail_register_pending_approval_body'] = $strongarm; |
|
2095 | 2095 | |
2096 | - $strongarm = new stdClass; |
|
2097 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2098 | - $strongarm->api_version = 1; |
|
2099 | - $strongarm->name = 'user_mail_register_pending_approval_subject'; |
|
2100 | - $strongarm->value = 'Account details for !mailto at !site (pending admin approval)'; |
|
2101 | - $export['user_mail_register_pending_approval_subject'] = $strongarm; |
|
2096 | + $strongarm = new stdClass; |
|
2097 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2098 | + $strongarm->api_version = 1; |
|
2099 | + $strongarm->name = 'user_mail_register_pending_approval_subject'; |
|
2100 | + $strongarm->value = 'Account details for !mailto at !site (pending admin approval)'; |
|
2101 | + $export['user_mail_register_pending_approval_subject'] = $strongarm; |
|
2102 | 2102 | |
2103 | - $strongarm = new stdClass; |
|
2104 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2105 | - $strongarm->api_version = 1; |
|
2106 | - $strongarm->name = 'user_mail_status_activated_body'; |
|
2107 | - $strongarm->value = 'Hello, |
|
2103 | + $strongarm = new stdClass; |
|
2104 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2105 | + $strongarm->api_version = 1; |
|
2106 | + $strongarm->name = 'user_mail_status_activated_body'; |
|
2107 | + $strongarm->value = 'Hello, |
|
2108 | 2108 | |
2109 | 2109 | Your account at !site has been activated. |
2110 | 2110 | |
@@ -2118,134 +2118,134 @@ discard block |
||
2118 | 2118 | |
2119 | 2119 | -- !site team |
2120 | 2120 | '; |
2121 | - $export['user_mail_status_activated_body'] = $strongarm; |
|
2122 | - |
|
2123 | - $strongarm = new stdClass; |
|
2124 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2125 | - $strongarm->api_version = 1; |
|
2126 | - $strongarm->name = 'user_mail_status_activated_notify'; |
|
2127 | - $strongarm->value = 1; |
|
2128 | - $export['user_mail_status_activated_notify'] = $strongarm; |
|
2129 | - |
|
2130 | - $strongarm = new stdClass; |
|
2131 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2132 | - $strongarm->api_version = 1; |
|
2133 | - $strongarm->name = 'user_mail_status_activated_subject'; |
|
2134 | - $strongarm->value = 'Account details for !mailto at !site (approved)'; |
|
2135 | - $export['user_mail_status_activated_subject'] = $strongarm; |
|
2136 | - |
|
2137 | - $strongarm = new stdClass; |
|
2138 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2139 | - $strongarm->api_version = 1; |
|
2140 | - $strongarm->name = 'user_mail_status_blocked_body'; |
|
2141 | - $strongarm->value = 'Hello, |
|
2121 | + $export['user_mail_status_activated_body'] = $strongarm; |
|
2122 | + |
|
2123 | + $strongarm = new stdClass; |
|
2124 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2125 | + $strongarm->api_version = 1; |
|
2126 | + $strongarm->name = 'user_mail_status_activated_notify'; |
|
2127 | + $strongarm->value = 1; |
|
2128 | + $export['user_mail_status_activated_notify'] = $strongarm; |
|
2129 | + |
|
2130 | + $strongarm = new stdClass; |
|
2131 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2132 | + $strongarm->api_version = 1; |
|
2133 | + $strongarm->name = 'user_mail_status_activated_subject'; |
|
2134 | + $strongarm->value = 'Account details for !mailto at !site (approved)'; |
|
2135 | + $export['user_mail_status_activated_subject'] = $strongarm; |
|
2136 | + |
|
2137 | + $strongarm = new stdClass; |
|
2138 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2139 | + $strongarm->api_version = 1; |
|
2140 | + $strongarm->name = 'user_mail_status_blocked_body'; |
|
2141 | + $strongarm->value = 'Hello, |
|
2142 | 2142 | |
2143 | 2143 | Your account on !site has been blocked. |
2144 | 2144 | |
2145 | 2145 | -- !site team'; |
2146 | - $export['user_mail_status_blocked_body'] = $strongarm; |
|
2147 | - |
|
2148 | - $strongarm = new stdClass; |
|
2149 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2150 | - $strongarm->api_version = 1; |
|
2151 | - $strongarm->name = 'user_mail_status_blocked_notify'; |
|
2152 | - $strongarm->value = 0; |
|
2153 | - $export['user_mail_status_blocked_notify'] = $strongarm; |
|
2154 | - |
|
2155 | - $strongarm = new stdClass; |
|
2156 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2157 | - $strongarm->api_version = 1; |
|
2158 | - $strongarm->name = 'user_mail_status_blocked_subject'; |
|
2159 | - $strongarm->value = 'Account details for !mailto at !site (blocked)'; |
|
2160 | - $export['user_mail_status_blocked_subject'] = $strongarm; |
|
2161 | - |
|
2162 | - $strongarm = new stdClass; |
|
2163 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2164 | - $strongarm->api_version = 1; |
|
2165 | - $strongarm->name = 'user_mail_status_deleted_body'; |
|
2166 | - $strongarm->value = 'Hello, |
|
2146 | + $export['user_mail_status_blocked_body'] = $strongarm; |
|
2147 | + |
|
2148 | + $strongarm = new stdClass; |
|
2149 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2150 | + $strongarm->api_version = 1; |
|
2151 | + $strongarm->name = 'user_mail_status_blocked_notify'; |
|
2152 | + $strongarm->value = 0; |
|
2153 | + $export['user_mail_status_blocked_notify'] = $strongarm; |
|
2154 | + |
|
2155 | + $strongarm = new stdClass; |
|
2156 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2157 | + $strongarm->api_version = 1; |
|
2158 | + $strongarm->name = 'user_mail_status_blocked_subject'; |
|
2159 | + $strongarm->value = 'Account details for !mailto at !site (blocked)'; |
|
2160 | + $export['user_mail_status_blocked_subject'] = $strongarm; |
|
2161 | + |
|
2162 | + $strongarm = new stdClass; |
|
2163 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2164 | + $strongarm->api_version = 1; |
|
2165 | + $strongarm->name = 'user_mail_status_deleted_body'; |
|
2166 | + $strongarm->value = 'Hello, |
|
2167 | 2167 | |
2168 | 2168 | Your account on !site has been deleted. |
2169 | 2169 | |
2170 | 2170 | -- !site team'; |
2171 | - $export['user_mail_status_deleted_body'] = $strongarm; |
|
2172 | - |
|
2173 | - $strongarm = new stdClass; |
|
2174 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2175 | - $strongarm->api_version = 1; |
|
2176 | - $strongarm->name = 'user_mail_status_deleted_notify'; |
|
2177 | - $strongarm->value = 0; |
|
2178 | - $export['user_mail_status_deleted_notify'] = $strongarm; |
|
2179 | - |
|
2180 | - $strongarm = new stdClass; |
|
2181 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2182 | - $strongarm->api_version = 1; |
|
2183 | - $strongarm->name = 'user_mail_status_deleted_subject'; |
|
2184 | - $strongarm->value = 'Account details for !mailto at !site (deleted)'; |
|
2185 | - $export['user_mail_status_deleted_subject'] = $strongarm; |
|
2186 | - |
|
2187 | - $strongarm = new stdClass; |
|
2188 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2189 | - $strongarm->api_version = 1; |
|
2190 | - $strongarm->name = 'user_pictures'; |
|
2191 | - $strongarm->value = '1'; |
|
2192 | - $export['user_pictures'] = $strongarm; |
|
2193 | - |
|
2194 | - $strongarm = new stdClass; |
|
2195 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2196 | - $strongarm->api_version = 1; |
|
2197 | - $strongarm->name = 'user_picture_default'; |
|
2198 | - $strongarm->value = ''; |
|
2199 | - $export['user_picture_default'] = $strongarm; |
|
2200 | - |
|
2201 | - $strongarm = new stdClass; |
|
2202 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2203 | - $strongarm->api_version = 1; |
|
2204 | - $strongarm->name = 'user_picture_dimensions'; |
|
2205 | - $strongarm->value = '85x85'; |
|
2206 | - $export['user_picture_dimensions'] = $strongarm; |
|
2207 | - |
|
2208 | - $strongarm = new stdClass; |
|
2209 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2210 | - $strongarm->api_version = 1; |
|
2211 | - $strongarm->name = 'user_picture_file_size'; |
|
2212 | - $strongarm->value = '30'; |
|
2213 | - $export['user_picture_file_size'] = $strongarm; |
|
2214 | - |
|
2215 | - $strongarm = new stdClass; |
|
2216 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2217 | - $strongarm->api_version = 1; |
|
2218 | - $strongarm->name = 'user_picture_guidelines'; |
|
2219 | - $strongarm->value = ''; |
|
2220 | - $export['user_picture_guidelines'] = $strongarm; |
|
2221 | - |
|
2222 | - $strongarm = new stdClass; |
|
2223 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2224 | - $strongarm->api_version = 1; |
|
2225 | - $strongarm->name = 'user_picture_path'; |
|
2226 | - $strongarm->value = 'pictures'; |
|
2227 | - $export['user_picture_path'] = $strongarm; |
|
2228 | - |
|
2229 | - $strongarm = new stdClass; |
|
2230 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2231 | - $strongarm->api_version = 1; |
|
2232 | - $strongarm->name = 'user_register'; |
|
2233 | - $strongarm->value = '1'; |
|
2234 | - $export['user_register'] = $strongarm; |
|
2235 | - |
|
2236 | - $strongarm = new stdClass; |
|
2237 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2238 | - $strongarm->api_version = 1; |
|
2239 | - $strongarm->name = 'user_registration_help'; |
|
2240 | - $strongarm->value = ''; |
|
2241 | - $export['user_registration_help'] = $strongarm; |
|
2242 | - |
|
2243 | - $strongarm = new stdClass; |
|
2244 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2245 | - $strongarm->api_version = 1; |
|
2246 | - $strongarm->name = 'user_signatures'; |
|
2247 | - $strongarm->value = '1'; |
|
2248 | - $export['user_signatures'] = $strongarm; |
|
2249 | - |
|
2250 | - return $export; |
|
2171 | + $export['user_mail_status_deleted_body'] = $strongarm; |
|
2172 | + |
|
2173 | + $strongarm = new stdClass; |
|
2174 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2175 | + $strongarm->api_version = 1; |
|
2176 | + $strongarm->name = 'user_mail_status_deleted_notify'; |
|
2177 | + $strongarm->value = 0; |
|
2178 | + $export['user_mail_status_deleted_notify'] = $strongarm; |
|
2179 | + |
|
2180 | + $strongarm = new stdClass; |
|
2181 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2182 | + $strongarm->api_version = 1; |
|
2183 | + $strongarm->name = 'user_mail_status_deleted_subject'; |
|
2184 | + $strongarm->value = 'Account details for !mailto at !site (deleted)'; |
|
2185 | + $export['user_mail_status_deleted_subject'] = $strongarm; |
|
2186 | + |
|
2187 | + $strongarm = new stdClass; |
|
2188 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2189 | + $strongarm->api_version = 1; |
|
2190 | + $strongarm->name = 'user_pictures'; |
|
2191 | + $strongarm->value = '1'; |
|
2192 | + $export['user_pictures'] = $strongarm; |
|
2193 | + |
|
2194 | + $strongarm = new stdClass; |
|
2195 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2196 | + $strongarm->api_version = 1; |
|
2197 | + $strongarm->name = 'user_picture_default'; |
|
2198 | + $strongarm->value = ''; |
|
2199 | + $export['user_picture_default'] = $strongarm; |
|
2200 | + |
|
2201 | + $strongarm = new stdClass; |
|
2202 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2203 | + $strongarm->api_version = 1; |
|
2204 | + $strongarm->name = 'user_picture_dimensions'; |
|
2205 | + $strongarm->value = '85x85'; |
|
2206 | + $export['user_picture_dimensions'] = $strongarm; |
|
2207 | + |
|
2208 | + $strongarm = new stdClass; |
|
2209 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2210 | + $strongarm->api_version = 1; |
|
2211 | + $strongarm->name = 'user_picture_file_size'; |
|
2212 | + $strongarm->value = '30'; |
|
2213 | + $export['user_picture_file_size'] = $strongarm; |
|
2214 | + |
|
2215 | + $strongarm = new stdClass; |
|
2216 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2217 | + $strongarm->api_version = 1; |
|
2218 | + $strongarm->name = 'user_picture_guidelines'; |
|
2219 | + $strongarm->value = ''; |
|
2220 | + $export['user_picture_guidelines'] = $strongarm; |
|
2221 | + |
|
2222 | + $strongarm = new stdClass; |
|
2223 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2224 | + $strongarm->api_version = 1; |
|
2225 | + $strongarm->name = 'user_picture_path'; |
|
2226 | + $strongarm->value = 'pictures'; |
|
2227 | + $export['user_picture_path'] = $strongarm; |
|
2228 | + |
|
2229 | + $strongarm = new stdClass; |
|
2230 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2231 | + $strongarm->api_version = 1; |
|
2232 | + $strongarm->name = 'user_register'; |
|
2233 | + $strongarm->value = '1'; |
|
2234 | + $export['user_register'] = $strongarm; |
|
2235 | + |
|
2236 | + $strongarm = new stdClass; |
|
2237 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2238 | + $strongarm->api_version = 1; |
|
2239 | + $strongarm->name = 'user_registration_help'; |
|
2240 | + $strongarm->value = ''; |
|
2241 | + $export['user_registration_help'] = $strongarm; |
|
2242 | + |
|
2243 | + $strongarm = new stdClass; |
|
2244 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
2245 | + $strongarm->api_version = 1; |
|
2246 | + $strongarm->name = 'user_signatures'; |
|
2247 | + $strongarm->value = '1'; |
|
2248 | + $export['user_signatures'] = $strongarm; |
|
2249 | + |
|
2250 | + return $export; |
|
2251 | 2251 | } |
@@ -29,22 +29,22 @@ discard block |
||
29 | 29 | * with defined URL paths |
30 | 30 | */ |
31 | 31 | function boinccore_menu() { |
32 | - $items['node_control'] = array( |
|
32 | + $items['node_control'] = array( |
|
33 | 33 | 'page callback' => 'boinccore_node_control', |
34 | 34 | 'access arguments' => array('access content'), |
35 | 35 | 'type' => MENU_CALLBACK |
36 | - ); |
|
37 | - $items['comment_control'] = array( |
|
36 | + ); |
|
37 | + $items['comment_control'] = array( |
|
38 | 38 | 'page callback' => 'boinccore_comment_control', |
39 | 39 | 'access arguments' => array('administer comments'), |
40 | 40 | 'type' => MENU_CALLBACK |
41 | - ); |
|
42 | - $items['goto'] = array( |
|
41 | + ); |
|
42 | + $items['goto'] = array( |
|
43 | 43 | 'page callback' => 'boinccore_url_pagination_handler', |
44 | 44 | 'access arguments' => array('access content'), |
45 | 45 | 'type' => MENU_CALLBACK |
46 | - ); |
|
47 | - $items['admin/boinc/community'] = array( |
|
46 | + ); |
|
47 | + $items['admin/boinc/community'] = array( |
|
48 | 48 | 'title' => 'Community', |
49 | 49 | 'description' => 'Global settings for community interaction.', |
50 | 50 | 'page callback' => 'drupal_get_form', |
@@ -52,8 +52,8 @@ discard block |
||
52 | 52 | 'access arguments' => array('administer site configuration'), |
53 | 53 | 'type' => MENU_NORMAL_ITEM, |
54 | 54 | 'file' => 'boinccore.admin.inc' |
55 | - ); |
|
56 | - $items['admin/boinc/standard-content-generator'] = array( |
|
55 | + ); |
|
56 | + $items['admin/boinc/standard-content-generator'] = array( |
|
57 | 57 | 'title' => 'Standard page generator', |
58 | 58 | 'description' => 'Regenerate standard site content (e.g. Help and About Us |
59 | 59 | pages).', |
@@ -62,172 +62,172 @@ discard block |
||
62 | 62 | 'access arguments' => array('administer site configuration'), |
63 | 63 | 'type' => MENU_NORMAL_ITEM, |
64 | 64 | 'file' => 'boinccore.admin.inc' |
65 | - ); |
|
65 | + ); |
|
66 | 66 | |
67 | - // BOINC RPC wrappers |
|
68 | - $items['lookup_account.php'] = array( |
|
67 | + // BOINC RPC wrappers |
|
68 | + $items['lookup_account.php'] = array( |
|
69 | 69 | 'title' => 'Look up account RPC', |
70 | 70 | 'description' => 'RPC for getting the authenticator for a user account.', |
71 | 71 | 'page callback' => 'boinccore_lookup_account', |
72 | 72 | 'access callback' => TRUE, |
73 | 73 | 'type' => MENU_CALLBACK |
74 | - ); |
|
75 | - $items['am_get_info.php'] = array( |
|
74 | + ); |
|
75 | + $items['am_get_info.php'] = array( |
|
76 | 76 | 'title' => 'Account manager get info RPC', |
77 | 77 | 'description' => 'RPC for getting assorted details of a user account.', |
78 | 78 | 'page callback' => 'boinccore_am_get_info', |
79 | 79 | 'access callback' => TRUE, |
80 | 80 | 'type' => MENU_CALLBACK |
81 | - ); |
|
82 | - $items['am_set_info.php'] = array( |
|
81 | + ); |
|
82 | + $items['am_set_info.php'] = array( |
|
83 | 83 | 'title' => 'Account manager set info RPC', |
84 | 84 | 'description' => 'RPC for updating assorted details of a user account.', |
85 | 85 | 'page callback' => 'boinccore_am_set_info', |
86 | 86 | 'access callback' => TRUE, |
87 | 87 | 'type' => MENU_CALLBACK |
88 | - ); |
|
89 | - $items['am_set_host_info.php'] = array( |
|
88 | + ); |
|
89 | + $items['am_set_host_info.php'] = array( |
|
90 | 90 | 'title' => 'Account manager set host info RPC', |
91 | 91 | 'description' => 'RPC for updating the venue for a given host.', |
92 | 92 | 'page callback' => 'boinccore_am_set_host_info', |
93 | 93 | 'access callback' => TRUE, |
94 | 94 | 'type' => MENU_CALLBACK |
95 | - ); |
|
96 | - $items['show_user.php'] = array( |
|
95 | + ); |
|
96 | + $items['show_user.php'] = array( |
|
97 | 97 | 'title' => 'Show user RPC', |
98 | 98 | 'description' => 'RPC for getting assorted details of a user account.', |
99 | 99 | 'page callback' => 'boinccore_show_user', |
100 | 100 | 'access callback' => TRUE, |
101 | 101 | 'type' => MENU_CALLBACK |
102 | - ); |
|
103 | - $items['pending.php'] = array( |
|
102 | + ); |
|
103 | + $items['pending.php'] = array( |
|
104 | 104 | 'title' => 'Pending credit RPC', |
105 | 105 | 'description' => 'RPC for getting pending credit for a given account.', |
106 | 106 | 'page callback' => 'boinccore_pending_credit', |
107 | 107 | 'access callback' => TRUE, |
108 | 108 | 'type' => MENU_CALLBACK |
109 | - ); |
|
110 | - $items['create_team.php'] = array( |
|
109 | + ); |
|
110 | + $items['create_team.php'] = array( |
|
111 | 111 | 'title' => 'Create team RPC', |
112 | 112 | 'description' => 'RPC for creating a new team.', |
113 | 113 | 'page callback' => 'boinccore_create_team', |
114 | 114 | 'access callback' => TRUE, |
115 | 115 | 'type' => MENU_CALLBACK |
116 | - ); |
|
117 | - $items['team_lookup.php'] = array( |
|
116 | + ); |
|
117 | + $items['team_lookup.php'] = array( |
|
118 | 118 | 'title' => 'Team lookup RPC', |
119 | 119 | 'description' => 'RPC for getting info on a team or matching teams.', |
120 | 120 | 'page callback' => 'boinccore_team_lookup', |
121 | 121 | 'access callback' => TRUE, |
122 | 122 | 'type' => MENU_CALLBACK |
123 | - ); |
|
124 | - $items['team_email_list.php'] = array( |
|
123 | + ); |
|
124 | + $items['team_email_list.php'] = array( |
|
125 | 125 | 'title' => 'Get team member list RPC', |
126 | 126 | 'description' => 'RPC for getting a list of members of a given team.', |
127 | 127 | 'page callback' => 'boinccore_team_email_list', |
128 | 128 | 'access callback' => TRUE, |
129 | 129 | 'type' => MENU_CALLBACK |
130 | - ); |
|
131 | - $items['edit_forum_preferences_action.php'] = array( |
|
130 | + ); |
|
131 | + $items['edit_forum_preferences_action.php'] = array( |
|
132 | 132 | 'title' => 'Forum preferences RPC', |
133 | 133 | 'description' => 'RPC for setting forum preferences for a given user.', |
134 | 134 | 'page callback' => 'boinccore_edit_forum_preferences', |
135 | 135 | 'access callback' => TRUE, |
136 | 136 | 'type' => MENU_CALLBACK |
137 | - ); |
|
138 | - $items['forum_get_data.php'] = array( |
|
137 | + ); |
|
138 | + $items['forum_get_data.php'] = array( |
|
139 | 139 | 'title' => 'Forum get data RPC', |
140 | 140 | 'description' => 'RPC for getting recent forum activity for a given user.', |
141 | 141 | 'page callback' => 'boinccore_forum_get_data', |
142 | 142 | 'access callback' => TRUE, |
143 | 143 | 'type' => MENU_CALLBACK |
144 | - ); |
|
145 | - $items['apps.php'] = array( |
|
144 | + ); |
|
145 | + $items['apps.php'] = array( |
|
146 | 146 | 'title' => 'Apps RPC', |
147 | 147 | 'description' => 'RPC for getting the applications in the system.', |
148 | 148 | 'page callback' => 'boinccore_apps', |
149 | 149 | 'access callback' => TRUE, |
150 | 150 | 'type' => MENU_CALLBACK |
151 | - ); |
|
151 | + ); |
|
152 | 152 | |
153 | - return $items; |
|
153 | + return $items; |
|
154 | 154 | } |
155 | 155 | |
156 | 156 | /** |
157 | 157 | * Implementation of hook_menu_alter() |
158 | 158 | */ |
159 | 159 | function boinccore_menu_alter(&$items) { |
160 | - // If using Solr search and not core Drupal search, disable core search! |
|
161 | - if (module_exists('global_search_solr') AND !module_exists('global_search')) { |
|
160 | + // If using Solr search and not core Drupal search, disable core search! |
|
161 | + if (module_exists('global_search_solr') AND !module_exists('global_search')) { |
|
162 | 162 | // Add permission to user search. |
163 | 163 | $check = array( |
164 | - 'search/node/%menu_tail', |
|
165 | - 'search/user/%menu_tail', |
|
166 | - 'user/autocomplete' |
|
164 | + 'search/node/%menu_tail', |
|
165 | + 'search/user/%menu_tail', |
|
166 | + 'user/autocomplete' |
|
167 | 167 | ); |
168 | 168 | foreach ($check as $path) { |
169 | - if (isset($items[$path])) { |
|
169 | + if (isset($items[$path])) { |
|
170 | 170 | $items[$path]['access callback'] = FALSE; |
171 | - } |
|
171 | + } |
|
172 | 172 | } |
173 | - } |
|
174 | - // If using content profile module (for user profiles) setup special |
|
175 | - // delete page. |
|
176 | - if (module_exists('content_profile')) { |
|
173 | + } |
|
174 | + // If using content profile module (for user profiles) setup special |
|
175 | + // delete page. |
|
176 | + if (module_exists('content_profile')) { |
|
177 | 177 | $items['node/%node/delete'] = array( |
178 | - 'title' => 'Delete', |
|
179 | - 'page callback' => 'drupal_get_form', |
|
180 | - 'page arguments' => array('boinccore_delete_confirm', 1), |
|
181 | - 'access callback' => 'node_access', |
|
182 | - 'access arguments' => array('delete', 1), |
|
183 | - 'module' => 'boinccore', |
|
184 | - 'file' => 'includes/boinccore.forms.inc', |
|
185 | - 'weight' => 1, |
|
186 | - 'type' => MENU_CALLBACK, |
|
178 | + 'title' => 'Delete', |
|
179 | + 'page callback' => 'drupal_get_form', |
|
180 | + 'page arguments' => array('boinccore_delete_confirm', 1), |
|
181 | + 'access callback' => 'node_access', |
|
182 | + 'access arguments' => array('delete', 1), |
|
183 | + 'module' => 'boinccore', |
|
184 | + 'file' => 'includes/boinccore.forms.inc', |
|
185 | + 'weight' => 1, |
|
186 | + 'type' => MENU_CALLBACK, |
|
187 | 187 | ); |
188 | - } |
|
188 | + } |
|
189 | 189 | |
190 | - // 'Remove' menu paths for ignore_user and privatemsg |
|
191 | - // (pm_block_user) module which we have 'overridden' with |
|
192 | - // boincwork's own functions. |
|
193 | - if (module_exists('ignore_user')) { |
|
190 | + // 'Remove' menu paths for ignore_user and privatemsg |
|
191 | + // (pm_block_user) module which we have 'overridden' with |
|
192 | + // boincwork's own functions. |
|
193 | + if (module_exists('ignore_user')) { |
|
194 | 194 | $check = array( |
195 | - 'ignore_user/add', |
|
196 | - 'ignore_user/remove', |
|
195 | + 'ignore_user/add', |
|
196 | + 'ignore_user/remove', |
|
197 | 197 | ); |
198 | 198 | foreach ($check as $path) { |
199 | - if (isset($items[$path])) { |
|
199 | + if (isset($items[$path])) { |
|
200 | 200 | $items[$path]['access callback'] = FALSE; |
201 | - } |
|
201 | + } |
|
202 | 202 | } |
203 | 203 | |
204 | 204 | // Redirect user to privacy prefs page. |
205 | 205 | $path1 = 'ignore_user/list'; |
206 | 206 | if (isset($items[$path1])) { |
207 | - $items[$path1]['page callback'] = 'drupal_goto'; |
|
208 | - $items[$path1]['page arguments'] = array('account/prefs/privacy'); |
|
207 | + $items[$path1]['page callback'] = 'drupal_goto'; |
|
208 | + $items[$path1]['page arguments'] = array('account/prefs/privacy'); |
|
209 | + } |
|
209 | 210 | } |
210 | - } |
|
211 | 211 | |
212 | - if (module_exists('pm_block_user')) { |
|
212 | + if (module_exists('pm_block_user')) { |
|
213 | 213 | $check = array( |
214 | - 'messages/block/%user', |
|
214 | + 'messages/block/%user', |
|
215 | 215 | ); |
216 | 216 | foreach ($check as $path) { |
217 | - if (isset($items[$path])) { |
|
217 | + if (isset($items[$path])) { |
|
218 | 218 | $items[$path]['access callback'] = FALSE; |
219 | - } |
|
219 | + } |
|
220 | + } |
|
220 | 221 | } |
221 | - } |
|
222 | 222 | } |
223 | 223 | |
224 | 224 | /** |
225 | 225 | * Implementation of hook_enable() |
226 | 226 | */ |
227 | 227 | function boinccore_enable() { |
228 | - // Automatically try to establish standard site content when this module is |
|
229 | - // enabled (e.g. Help and About Us pages) |
|
230 | - boinccore_admin_default_content_generate(); |
|
228 | + // Automatically try to establish standard site content when this module is |
|
229 | + // enabled (e.g. Help and About Us pages) |
|
230 | + boinccore_admin_default_content_generate(); |
|
231 | 231 | } |
232 | 232 | |
233 | 233 | /** |
@@ -240,14 +240,14 @@ discard block |
||
240 | 240 | * See: https://www.drupal.org/node/339958#comment-3012662 |
241 | 241 | */ |
242 | 242 | function boinccore_boot() { |
243 | - global $user, $language; |
|
244 | - $cache = variable_get('cache', CACHE_DISABLED); |
|
245 | - $language_negotiation = variable_get('language_negotiation', LANGUAGE_NEGOTIATION_NONE); |
|
246 | - |
|
247 | - // If we have an anonymous user, page cache is enabled, the URL has no prefix |
|
248 | - // and browser language negotiation is set, we perform a redirect to the |
|
249 | - // prefixed URL. |
|
250 | - if (empty($user->uid) && $cache != CACHE_DISABLED && $language_negotiation == LANGUAGE_NEGOTIATION_PATH) { |
|
243 | + global $user, $language; |
|
244 | + $cache = variable_get('cache', CACHE_DISABLED); |
|
245 | + $language_negotiation = variable_get('language_negotiation', LANGUAGE_NEGOTIATION_NONE); |
|
246 | + |
|
247 | + // If we have an anonymous user, page cache is enabled, the URL has no prefix |
|
248 | + // and browser language negotiation is set, we perform a redirect to the |
|
249 | + // prefixed URL. |
|
250 | + if (empty($user->uid) && $cache != CACHE_DISABLED && $language_negotiation == LANGUAGE_NEGOTIATION_PATH) { |
|
251 | 251 | $args = isset($_GET['q']) ? explode('/', $_GET['q']) : array(); |
252 | 252 | $prefix = array_shift($args); |
253 | 253 | |
@@ -259,24 +259,24 @@ discard block |
||
259 | 259 | // so call this backported Drupal 7 language negotation function, which |
260 | 260 | // does both case insensitive and longest prefix matching |
261 | 261 | if (function_exists('locale_language_from_browser')) { |
262 | - $language = locale_language_from_browser(); |
|
262 | + $language = locale_language_from_browser(); |
|
263 | 263 | } |
264 | 264 | |
265 | 265 | if (!empty($language->prefix) && $prefix != $language->prefix) { |
266 | - // We need full path support to perform the redirect. |
|
267 | - drupal_bootstrap(DRUPAL_BOOTSTRAP_PATH); |
|
268 | - |
|
269 | - require_once './includes/common.inc'; |
|
270 | - $url = url($_GET['q'], array('query' => drupal_query_string_encode($_GET, array('q')))); |
|
271 | - $code = variable_get('locale_redirect_http_code', 302); |
|
272 | - |
|
273 | - // Since we are in a hook_boot() implementation cache mode is normal, so |
|
274 | - // we can safely call hook_exit(). |
|
275 | - bootstrap_invoke_all('exit'); |
|
276 | - header("Location: $url", TRUE, $code); |
|
277 | - exit; |
|
266 | + // We need full path support to perform the redirect. |
|
267 | + drupal_bootstrap(DRUPAL_BOOTSTRAP_PATH); |
|
268 | + |
|
269 | + require_once './includes/common.inc'; |
|
270 | + $url = url($_GET['q'], array('query' => drupal_query_string_encode($_GET, array('q')))); |
|
271 | + $code = variable_get('locale_redirect_http_code', 302); |
|
272 | + |
|
273 | + // Since we are in a hook_boot() implementation cache mode is normal, so |
|
274 | + // we can safely call hook_exit(). |
|
275 | + bootstrap_invoke_all('exit'); |
|
276 | + header("Location: $url", TRUE, $code); |
|
277 | + exit; |
|
278 | + } |
|
278 | 279 | } |
279 | - } |
|
280 | 280 | } |
281 | 281 | |
282 | 282 | |
@@ -289,9 +289,9 @@ discard block |
||
289 | 289 | * |
290 | 290 | * Obsolete in Drupal 7... |
291 | 291 | */ |
292 | - function locale_language_from_browser() { |
|
292 | + function locale_language_from_browser() { |
|
293 | 293 | if (empty($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { |
294 | - return FALSE; |
|
294 | + return FALSE; |
|
295 | 295 | } |
296 | 296 | |
297 | 297 | $languages = language_list('enabled'); |
@@ -306,14 +306,14 @@ discard block |
||
306 | 306 | // Samples: "hu, en-us;q=0.66, en;q=0.33", "hu,en-us;q=0.5" |
307 | 307 | $browser_langcodes = array(); |
308 | 308 | if (preg_match_all('@(?<=[, ]|^)([a-zA-Z-]+|\*)(?:;q=([0-9.]+))?(?:$|\s*,\s*)@', trim($_SERVER['HTTP_ACCEPT_LANGUAGE']), $matches, PREG_SET_ORDER)) { |
309 | - foreach ($matches as $match) { |
|
309 | + foreach ($matches as $match) { |
|
310 | 310 | // We can safely use strtolower() here, tags are ASCII. |
311 | 311 | // RFC2616 mandates that the decimal part is no more than three digits, |
312 | 312 | // so we multiply the qvalue by 1000 to avoid floating point comparisons. |
313 | 313 | $langcode = strtolower($match[1]); |
314 | 314 | $qvalue = isset($match[2]) ? (float) $match[2] : 1; |
315 | 315 | $browser_langcodes[$langcode] = (int) ($qvalue * 1000); |
316 | - } |
|
316 | + } |
|
317 | 317 | } |
318 | 318 | |
319 | 319 | // We should take pristine values from the HTTP headers, but Internet Explorer |
@@ -325,10 +325,10 @@ discard block |
||
325 | 325 | // http://blogs.msdn.com/b/ie/archive/2006/10/17/accept-language-header-for-internet-explorer-7.aspx |
326 | 326 | asort($browser_langcodes); |
327 | 327 | foreach ($browser_langcodes as $langcode => $qvalue) { |
328 | - $generic_tag = strtok($langcode, '-'); |
|
329 | - if (!isset($browser_langcodes[$generic_tag])) { |
|
328 | + $generic_tag = strtok($langcode, '-'); |
|
329 | + if (!isset($browser_langcodes[$generic_tag])) { |
|
330 | 330 | $browser_langcodes[$generic_tag] = $qvalue; |
331 | - } |
|
331 | + } |
|
332 | 332 | } |
333 | 333 | |
334 | 334 | // Find the enabled language with the greatest qvalue, following the rules |
@@ -337,156 +337,156 @@ discard block |
||
337 | 337 | $best_match_language = FALSE; |
338 | 338 | $max_qvalue = 0; |
339 | 339 | foreach ($languages as $langcode => $language) { |
340 | - // Language tags are case insensitive (RFC2616, sec 3.10). |
|
341 | - $langcode = strtolower($langcode); |
|
340 | + // Language tags are case insensitive (RFC2616, sec 3.10). |
|
341 | + $langcode = strtolower($langcode); |
|
342 | 342 | |
343 | - // If nothing matches below, the default qvalue is the one of the wildcard |
|
344 | - // language, if set, or is 0 (which will never match). |
|
345 | - $qvalue = isset($browser_langcodes['*']) ? $browser_langcodes['*'] : 0; |
|
343 | + // If nothing matches below, the default qvalue is the one of the wildcard |
|
344 | + // language, if set, or is 0 (which will never match). |
|
345 | + $qvalue = isset($browser_langcodes['*']) ? $browser_langcodes['*'] : 0; |
|
346 | 346 | |
347 | - // Find the longest possible prefix of the browser-supplied language |
|
348 | - // ('the language-range') that matches this site language ('the language tag'). |
|
349 | - $prefix = $langcode; |
|
350 | - do { |
|
347 | + // Find the longest possible prefix of the browser-supplied language |
|
348 | + // ('the language-range') that matches this site language ('the language tag'). |
|
349 | + $prefix = $langcode; |
|
350 | + do { |
|
351 | 351 | if (isset($browser_langcodes[$prefix])) { |
352 | - $qvalue = $browser_langcodes[$prefix]; |
|
353 | - break; |
|
352 | + $qvalue = $browser_langcodes[$prefix]; |
|
353 | + break; |
|
354 | 354 | } |
355 | - } |
|
356 | - while ($prefix = substr($prefix, 0, strrpos($prefix, '-'))); |
|
355 | + } |
|
356 | + while ($prefix = substr($prefix, 0, strrpos($prefix, '-'))); |
|
357 | 357 | |
358 | - // Find the best match. |
|
359 | - if ($qvalue > $max_qvalue) { |
|
358 | + // Find the best match. |
|
359 | + if ($qvalue > $max_qvalue) { |
|
360 | 360 | $best_match_language = $language; |
361 | 361 | $max_qvalue = $qvalue; |
362 | - } |
|
362 | + } |
|
363 | 363 | } |
364 | 364 | |
365 | 365 | return $best_match_language; |
366 | - } |
|
366 | + } |
|
367 | 367 | } |
368 | 368 | |
369 | 369 | /** |
370 | 370 | * Implementation of hook_cron() |
371 | 371 | */ |
372 | 372 | function boinccore_cron() { |
373 | - // Notify moderators if there is site content that requires moderator action |
|
374 | - $items_in_queue = boincuser_moderation_queue_count('cron'); |
|
375 | - $last_notification = variable_get('boinccore_last_content_moderation_reminder', 0); |
|
376 | - if ($items_in_queue AND $last_notification < time() - 24*60*60) { |
|
373 | + // Notify moderators if there is site content that requires moderator action |
|
374 | + $items_in_queue = boincuser_moderation_queue_count('cron'); |
|
375 | + $last_notification = variable_get('boinccore_last_content_moderation_reminder', 0); |
|
376 | + if ($items_in_queue AND $last_notification < time() - 24*60*60) { |
|
377 | 377 | global $base_url; |
378 | 378 | global $base_path; |
379 | 379 | $site_name = variable_get('site_name', 'Drupal-BOINC'); |
380 | 380 | $site_url = $base_url . $base_path; |
381 | 381 | $settings = array( |
382 | - 'from' => '', |
|
383 | - 'subject' => "Content at {$site_name} is awaiting moderation", |
|
384 | - 'message' => '' |
|
385 | - . "Please visit the moderation queue page to review content that " |
|
386 | - . "requires moderator action: \n" |
|
387 | - . "\n" |
|
388 | - . "{$site_url}moderate", |
|
382 | + 'from' => '', |
|
383 | + 'subject' => "Content at {$site_name} is awaiting moderation", |
|
384 | + 'message' => '' |
|
385 | + . "Please visit the moderation queue page to review content that " |
|
386 | + . "requires moderator action: \n" |
|
387 | + . "\n" |
|
388 | + . "{$site_url}moderate", |
|
389 | 389 | ); |
390 | 390 | boinccore_rules_action_mail_to_moderators($settings); |
391 | 391 | variable_set('boinccore_last_content_moderation_reminder', time()); |
392 | - } |
|
392 | + } |
|
393 | 393 | |
394 | - // Delete expired tokens in BOINC DB |
|
395 | - _boinccore_delete_expired_tokens(); |
|
394 | + // Delete expired tokens in BOINC DB |
|
395 | + _boinccore_delete_expired_tokens(); |
|
396 | 396 | } |
397 | 397 | |
398 | 398 | /** |
399 | 399 | * Implementation of hook_rules_action_info(). |
400 | 400 | */ |
401 | 401 | function boinccore_rules_action_info() { |
402 | - return array( |
|
402 | + return array( |
|
403 | 403 | 'boinccore_rules_action_mail_to_moderators' => array( |
404 | - 'label' => t('Notify moderators via email'), |
|
405 | - 'module' => 'BOINC core', |
|
406 | - 'eval input' => array('subject', 'message', 'from'), |
|
404 | + 'label' => t('Notify moderators via email'), |
|
405 | + 'module' => 'BOINC core', |
|
406 | + 'eval input' => array('subject', 'message', 'from'), |
|
407 | 407 | ), |
408 | 408 | 'boinccore_rules_action_mark_content_for_moderation' => array( |
409 | - 'label' => t('Mark content for moderation'), |
|
410 | - 'arguments' => array( |
|
409 | + 'label' => t('Mark content for moderation'), |
|
410 | + 'arguments' => array( |
|
411 | 411 | 'node' => array('type' => 'node', 'label' => t('Content')), |
412 | - ), |
|
413 | - 'module' => 'BOINC core', |
|
412 | + ), |
|
413 | + 'module' => 'BOINC core', |
|
414 | 414 | ), |
415 | 415 | 'boinccore_rules_action_mail_to_admins' => array( |
416 | - 'label' => t('Notify admins via email'), |
|
417 | - 'module' => 'BOINC core', |
|
418 | - 'eval input' => array('subject', 'message', 'from'), |
|
416 | + 'label' => t('Notify admins via email'), |
|
417 | + 'module' => 'BOINC core', |
|
418 | + 'eval input' => array('subject', 'message', 'from'), |
|
419 | 419 | ), |
420 | - ); |
|
420 | + ); |
|
421 | 421 | } |
422 | 422 | |
423 | 423 | /** |
424 | 424 | * Implementation of hook_form_alter() |
425 | 425 | */ |
426 | 426 | function boinccore_form_alter(&$form, $form_state, $form_id) { |
427 | - global $user; |
|
428 | - $account = user_load($user->uid); |
|
429 | - switch ($form_id) { |
|
430 | - // Comment form |
|
431 | - case 'comment_form': |
|
427 | + global $user; |
|
428 | + $account = user_load($user->uid); |
|
429 | + switch ($form_id) { |
|
430 | + // Comment form |
|
431 | + case 'comment_form': |
|
432 | 432 | $user_image = boincuser_get_user_profile_image($user->uid); |
433 | 433 | $user_info = '<div class="user">'; |
434 | 434 | if ($user_image) { |
435 | - $user_info .= ' <div class="picture">'; |
|
436 | - if (is_array($user_image) AND $user_image['image']['filepath']) { |
|
435 | + $user_info .= ' <div class="picture">'; |
|
436 | + if (is_array($user_image) AND $user_image['image']['filepath']) { |
|
437 | 437 | $user_info .= theme('imagefield_image', $user_image['image'], $user_image['alt'], $user_image['alt'], array(), false); |
438 | - } |
|
439 | - elseif (is_string($user_image)) { |
|
438 | + } |
|
439 | + elseif (is_string($user_image)) { |
|
440 | 440 | $user_info .= '<img src="' . $user_image . '"/>'; |
441 | - } |
|
442 | - $user_info .= ' </div>'; |
|
441 | + } |
|
442 | + $user_info .= ' </div>'; |
|
443 | 443 | } |
444 | 444 | $user_info .= ' <div class="name">' . theme('username', $account) . '</div>'; |
445 | 445 | if ($account->uid) { |
446 | - //$user_info .= ' <div class="join-date">Joined: ' . date('j M y', $account->created) . '</div>'; |
|
447 | - //$user_info .= ' <div class="post-count">Posts: ' . $account->post_count . '</div>'; |
|
448 | - //$user_info .= ' <div class="credit">Credit: ' . $account->boincuser_total_credit . '</div>'; |
|
449 | - //$user_info .= ' <div class="rac">RAC: ' . $account->boincuser_expavg_credit . '</div>'; |
|
446 | + //$user_info .= ' <div class="join-date">Joined: ' . date('j M y', $account->created) . '</div>'; |
|
447 | + //$user_info .= ' <div class="post-count">Posts: ' . $account->post_count . '</div>'; |
|
448 | + //$user_info .= ' <div class="credit">Credit: ' . $account->boincuser_total_credit . '</div>'; |
|
449 | + //$user_info .= ' <div class="rac">RAC: ' . $account->boincuser_expavg_credit . '</div>'; |
|
450 | 450 | } |
451 | 451 | $user_info .= '</div>'; |
452 | 452 | array_unshift($form, array( |
453 | - 'user_info' => array( |
|
453 | + 'user_info' => array( |
|
454 | 454 | '#value' => $user_info, |
455 | - ), |
|
456 | - 'comment_form_prefix' => array( |
|
455 | + ), |
|
456 | + 'comment_form_prefix' => array( |
|
457 | 457 | '#value' => '<div class="form-body">', |
458 | - ), |
|
458 | + ), |
|
459 | 459 | )); |
460 | 460 | $form['comment_form_suffix'] = array( |
461 | - '#value' => '</div>', |
|
461 | + '#value' => '</div>', |
|
462 | 462 | ); |
463 | 463 | |
464 | 464 | module_load_include('inc', 'bbcode', 'bbcode-help'); |
465 | 465 | $form['bbcode_help'] = array( |
466 | - '#title' => bts('BBcode help', array(), NULL, 'boinc:help-with-user-input-with-BBCode'), |
|
467 | - '#type' => 'fieldset', |
|
468 | - '#attributes' => array( |
|
466 | + '#title' => bts('BBcode help', array(), NULL, 'boinc:help-with-user-input-with-BBCode'), |
|
467 | + '#type' => 'fieldset', |
|
468 | + '#attributes' => array( |
|
469 | 469 | 'class' => 'bbcode_help', |
470 | - ), |
|
471 | - '#collapsible' => TRUE, |
|
472 | - '#collapsed' => TRUE, |
|
473 | - 'content' => array( |
|
470 | + ), |
|
471 | + '#collapsible' => TRUE, |
|
472 | + '#collapsed' => TRUE, |
|
473 | + 'content' => array( |
|
474 | 474 | '#value' => _bbcode_filter_tip(), |
475 | - ), |
|
475 | + ), |
|
476 | 476 | ); |
477 | 477 | |
478 | 478 | // If a specific comment is being referenced, go back to it on cancel |
479 | 479 | if ($comment_ref = $form['pid']['#value']) { |
480 | - $cancel_url = "goto/comment/{$comment_ref}"; |
|
480 | + $cancel_url = "goto/comment/{$comment_ref}"; |
|
481 | 481 | } |
482 | 482 | else { |
483 | - $cancel_url = "node/{$form['nid']['#value']}"; |
|
483 | + $cancel_url = "node/{$form['nid']['#value']}"; |
|
484 | 484 | } |
485 | 485 | |
486 | 486 | // Wrap action buttons for styling consistency |
487 | 487 | $form['buttons']['form control tabs prefix'] = array( |
488 | - '#value' => '<ul class="form-control tab-list">', |
|
489 | - '#weight' => 1001, |
|
488 | + '#value' => '<ul class="form-control tab-list">', |
|
489 | + '#weight' => 1001, |
|
490 | 490 | ); |
491 | 491 | $form['buttons']['submit'] = $form['submit']; |
492 | 492 | unset($form['submit']); |
@@ -505,12 +505,12 @@ discard block |
||
505 | 505 | $form['buttons']['preview']['#suffix'] = '</li>'; |
506 | 506 | $form['buttons']['preview']['#weight'] = 1003; |
507 | 507 | $form['buttons']['cancel'] = array( |
508 | - '#value' => '<li class="tab">' . l(bts('Cancel', array(), NULL, 'boinc:form-cancel'), $cancel_url) . '</li>', |
|
509 | - '#weight' => 1004, |
|
508 | + '#value' => '<li class="tab">' . l(bts('Cancel', array(), NULL, 'boinc:form-cancel'), $cancel_url) . '</li>', |
|
509 | + '#weight' => 1004, |
|
510 | 510 | ); |
511 | 511 | $form['buttons']['form control tabs suffix'] = array( |
512 | - '#value' => '</ul>', |
|
513 | - '#weight' => 1010, |
|
512 | + '#value' => '</ul>', |
|
513 | + '#weight' => 1010, |
|
514 | 514 | ); |
515 | 515 | |
516 | 516 | // Remove redundant name field |
@@ -526,38 +526,38 @@ discard block |
||
526 | 526 | $community_role = array_search('community member', user_roles(true)); |
527 | 527 | $unrestricted_role = array_search('verified contributor', user_roles(true)); |
528 | 528 | if ( (isset($account->roles[$community_role])) and (!isset($account->roles[$unrestricted_role])) ) { |
529 | - if ($node->type == 'forum') { |
|
529 | + if ($node->type == 'forum') { |
|
530 | 530 | if (module_exists('captcha')) { |
531 | - $form['comment_captcha'] = array( |
|
531 | + $form['comment_captcha'] = array( |
|
532 | 532 | '#type' => 'captcha', |
533 | 533 | '#weight' => 1000, |
534 | - ); |
|
534 | + ); |
|
535 | 535 | } |
536 | - } |
|
537 | - else { |
|
536 | + } |
|
537 | + else { |
|
538 | 538 | $form = NULL; |
539 | 539 | $form['from'] = array( |
540 | - '#type' => 'item', |
|
541 | - '#value' => 'You do not have permission to post comments in this forum.', |
|
540 | + '#type' => 'item', |
|
541 | + '#value' => 'You do not have permission to post comments in this forum.', |
|
542 | 542 | ); |
543 | - } |
|
543 | + } |
|
544 | 544 | } |
545 | 545 | |
546 | 546 | break; |
547 | 547 | |
548 | - // Forum node form |
|
549 | - case 'forum_node_form': |
|
548 | + // Forum node form |
|
549 | + case 'forum_node_form': |
|
550 | 550 | case 'team_forum_node_form': |
551 | 551 | $forum_id = key($form['#node']->taxonomy); |
552 | 552 | $form['buttons']['separator_bottom'] = array( |
553 | - '#value' => '<div class="separator buttons"></div>', |
|
554 | - '#weight' => 999, |
|
553 | + '#value' => '<div class="separator buttons"></div>', |
|
554 | + '#weight' => 999, |
|
555 | 555 | ); |
556 | 556 | |
557 | 557 | // Wrap action buttons for styling consistency |
558 | 558 | $form['buttons']['form control tabs prefix'] = array( |
559 | - '#value' => '<ul class="form-control tab-list">', |
|
560 | - '#weight' => 1001, |
|
559 | + '#value' => '<ul class="form-control tab-list">', |
|
560 | + '#weight' => 1001, |
|
561 | 561 | ); |
562 | 562 | $form['buttons']['submit']['#prefix'] = '<li class="first tab">'; |
563 | 563 | $form['buttons']['submit']['#value'] = bts('Post topic', array(), NULL, 'boinc:post-forum-comment'); |
@@ -570,28 +570,28 @@ discard block |
||
570 | 570 | $form['buttons']['preview_changes']['#suffix'] = '</li>'; |
571 | 571 | $form['buttons']['preview_changes']['#weight'] = 1004; |
572 | 572 | $form['buttons']['cancel'] = array( |
573 | - '#value' => '<li class="tab">' . l(bts('Cancel', array(), NULL, 'boinc:form-cancel'), "community/forum/{$forum_id}") . '</li>', |
|
574 | - '#weight' => 1005, |
|
573 | + '#value' => '<li class="tab">' . l(bts('Cancel', array(), NULL, 'boinc:form-cancel'), "community/forum/{$forum_id}") . '</li>', |
|
574 | + '#weight' => 1005, |
|
575 | 575 | ); |
576 | 576 | $form['buttons']['form control tabs suffix'] = array( |
577 | - '#value' => '</ul>', |
|
578 | - '#weight' => 1010, |
|
577 | + '#value' => '</ul>', |
|
578 | + '#weight' => 1010, |
|
579 | 579 | ); |
580 | 580 | |
581 | 581 | // Add captcha for role='community member' |
582 | 582 | $community_role = array_search('community member', user_roles(true)); |
583 | 583 | $unrestricted_role = array_search('verified contributor', user_roles(true)); |
584 | 584 | if ( (isset($account->roles[$community_role])) and (!isset($account->roles[$unrestricted_role])) ) { |
585 | - if (module_exists('captcha')) { |
|
585 | + if (module_exists('captcha')) { |
|
586 | 586 | $form['comment_captcha'] = array( |
587 | - '#type' => 'captcha', |
|
588 | - '#weight' => 1000, |
|
587 | + '#type' => 'captcha', |
|
588 | + '#weight' => 1000, |
|
589 | 589 | ); |
590 | - } |
|
590 | + } |
|
591 | 591 | } |
592 | 592 | |
593 | 593 | break; |
594 | - case 'boinccore_delete_confirm': |
|
594 | + case 'boinccore_delete_confirm': |
|
595 | 595 | // Wrap action buttons for styling consistency |
596 | 596 | $form['actions']['#prefix'] = '<ul class="form-control tab-list">'; |
597 | 597 | $form['actions']['#suffix'] = '</ul>'; |
@@ -601,7 +601,7 @@ discard block |
||
601 | 601 | $form['actions']['cancel']['#prefix'] = '<li class="tab">'; |
602 | 602 | $form['actions']['cancel']['#suffix'] = '</li>'; |
603 | 603 | break; |
604 | - default: |
|
604 | + default: |
|
605 | 605 | } |
606 | 606 | } |
607 | 607 | |
@@ -609,61 +609,61 @@ discard block |
||
609 | 609 | * Implementation of hook_link_alter() |
610 | 610 | */ |
611 | 611 | function boinccore_link_alter(&$links, $node, $comment = NULL) { |
612 | - //echo '<pre>' . print_r($links, true) . '</pre>'; |
|
613 | - foreach ($links as $module => $link) { |
|
612 | + //echo '<pre>' . print_r($links, true) . '</pre>'; |
|
613 | + foreach ($links as $module => $link) { |
|
614 | 614 | // Remove the ignore user link |
615 | 615 | if (strstr($module, 'ignore_user')) { |
616 | - unset($links[$module]); |
|
616 | + unset($links[$module]); |
|
617 | 617 | } |
618 | - } |
|
619 | - // Node first, then comment: to be consistent with boinccore_link() function |
|
620 | - if (!($comment)) { |
|
618 | + } |
|
619 | + // Node first, then comment: to be consistent with boinccore_link() function |
|
620 | + if (!($comment)) { |
|
621 | 621 | // modify the comment_add link |
622 | 622 | if (isset($links['comment_add'])) { |
623 | - $links['comment_add']['title'] = bts('reply', array(), NULL, 'boinc:forum-reply-to-comment'); |
|
624 | - $links['comment_add']['attributes'] = array( |
|
625 | - 'title' => bts('Reply to this comment', array(), NULL, 'boinc:forum-reply-to-comment') |
|
626 | - ); |
|
623 | + $links['comment_add']['title'] = bts('reply', array(), NULL, 'boinc:forum-reply-to-comment'); |
|
624 | + $links['comment_add']['attributes'] = array( |
|
625 | + 'title' => bts('Reply to this comment', array(), NULL, 'boinc:forum-reply-to-comment') |
|
626 | + ); |
|
627 | 627 | } |
628 | 628 | // modify quote link |
629 | 629 | if (isset($links['quote'])) { |
630 | - $links['quote']['attributes'] = array( |
|
631 | - 'title' => bts('Reply to this topic with a quote', array(), NULL, 'boinc:forum-reply-to-comment') |
|
632 | - ); |
|
630 | + $links['quote']['attributes'] = array( |
|
631 | + 'title' => bts('Reply to this topic with a quote', array(), NULL, 'boinc:forum-reply-to-comment') |
|
632 | + ); |
|
633 | 633 | } |
634 | - } |
|
635 | - else { |
|
634 | + } |
|
635 | + else { |
|
636 | 636 | // Standard EDIT, DELETE, and REPLY links are created by Drupal, but we want to alter them |
637 | 637 | if (isset($links['comment_delete'])) { |
638 | - $links['comment_delete']['attributes'] = array( |
|
639 | - 'title' => bts('Delete this comment', array(), NULL, 'boinc:forum-delete-comment') |
|
640 | - ); |
|
638 | + $links['comment_delete']['attributes'] = array( |
|
639 | + 'title' => bts('Delete this comment', array(), NULL, 'boinc:forum-delete-comment') |
|
640 | + ); |
|
641 | 641 | } |
642 | 642 | if (isset($links['comment_edit'])) { |
643 | - $links['comment_edit']['attributes'] = array( |
|
644 | - 'title' => bts('Edit this comment', array(), NULL, 'boinc:forum-edit-comment') |
|
645 | - ); |
|
643 | + $links['comment_edit']['attributes'] = array( |
|
644 | + 'title' => bts('Edit this comment', array(), NULL, 'boinc:forum-edit-comment') |
|
645 | + ); |
|
646 | 646 | } |
647 | 647 | if (isset($links['comment_reply'])) { |
648 | - $links['comment_reply']['attributes'] = array( |
|
649 | - 'title' => bts('Reply to this comment', array(), NULL, 'boinc:forum-reply-to-comment') |
|
650 | - ); |
|
648 | + $links['comment_reply']['attributes'] = array( |
|
649 | + 'title' => bts('Reply to this comment', array(), NULL, 'boinc:forum-reply-to-comment') |
|
650 | + ); |
|
651 | 651 | } |
652 | - }// if !$comment |
|
652 | + }// if !$comment |
|
653 | 653 | } |
654 | 654 | |
655 | 655 | /** |
656 | 656 | * Implementation of hook_locale(). |
657 | 657 | */ |
658 | 658 | function boinccore_locale($op = 'groups', $group = NULL) { |
659 | - switch ($op) { |
|
659 | + switch ($op) { |
|
660 | 660 | case 'groups': |
661 | 661 | return array('boinc' => 'BOINC'); |
662 | 662 | case 'info': |
663 | 663 | //$info['boinc']['refresh callback'] = 'boinccore_locale_refresh'; |
664 | 664 | $info['boinc']['format'] = FALSE; |
665 | - return $info; |
|
666 | - } |
|
665 | + return $info; |
|
666 | + } |
|
667 | 667 | } |
668 | 668 | |
669 | 669 | |
@@ -671,71 +671,71 @@ discard block |
||
671 | 671 | * Implementation of hook_link() |
672 | 672 | */ |
673 | 673 | function boinccore_link($type, $object, $teaser = FALSE) { |
674 | - // Add custom links with this hook |
|
674 | + // Add custom links with this hook |
|
675 | 675 | |
676 | - if ($type=='node') { |
|
676 | + if ($type=='node') { |
|
677 | 677 | if ( ($object->type=='forum') OR ($object->type=='team_forum') ) { |
678 | - // Add topic moderator controls |
|
679 | - if (user_access('edit any forum topic')) { |
|
678 | + // Add topic moderator controls |
|
679 | + if (user_access('edit any forum topic')) { |
|
680 | 680 | $node_control = "node_control/{$object->nid}"; |
681 | 681 | if ($object->sticky) { |
682 | - $links['make_unsticky'] = array( |
|
683 | - 'title' => bts('Make unsticky', array(), NULL, 'boinc:forum-unsticky-comment'), |
|
684 | - 'href' => "{$node_control}/unsticky", |
|
685 | - 'attributes' => array( |
|
686 | - 'title' => bts('Remove sticky status from this topic', array(), NULL, 'boinc:forum-unsticky-comment') |
|
687 | - ) |
|
688 | - ); |
|
682 | + $links['make_unsticky'] = array( |
|
683 | + 'title' => bts('Make unsticky', array(), NULL, 'boinc:forum-unsticky-comment'), |
|
684 | + 'href' => "{$node_control}/unsticky", |
|
685 | + 'attributes' => array( |
|
686 | + 'title' => bts('Remove sticky status from this topic', array(), NULL, 'boinc:forum-unsticky-comment') |
|
687 | + ) |
|
688 | + ); |
|
689 | 689 | } |
690 | 690 | else { |
691 | - $links['make_sticky'] = array( |
|
692 | - 'title' => bts('Make sticky', array(), NULL, 'boinc:forum-sticky-comment'), |
|
693 | - 'href' => "{$node_control}/sticky", |
|
694 | - 'attributes' => array( |
|
695 | - 'title' => bts('Make this topic sticky', array(), NULL, 'boinc:forum-sticky-comment') |
|
696 | - ) |
|
697 | - ); |
|
691 | + $links['make_sticky'] = array( |
|
692 | + 'title' => bts('Make sticky', array(), NULL, 'boinc:forum-sticky-comment'), |
|
693 | + 'href' => "{$node_control}/sticky", |
|
694 | + 'attributes' => array( |
|
695 | + 'title' => bts('Make this topic sticky', array(), NULL, 'boinc:forum-sticky-comment') |
|
696 | + ) |
|
697 | + ); |
|
698 | 698 | } |
699 | 699 | if ($object->comment == COMMENT_NODE_READ_WRITE) { |
700 | - $links['lock'] = array( |
|
701 | - 'title' => bts('Lock', array(), NULL, 'boinc:forum-lock-comment'), |
|
702 | - 'href' => "{$node_control}/lock", |
|
703 | - 'attributes' => array( |
|
704 | - 'title' => bts('Lock this thread for comments', array(), NULL, 'boinc:forum-lock-comment') |
|
705 | - ) |
|
706 | - ); |
|
700 | + $links['lock'] = array( |
|
701 | + 'title' => bts('Lock', array(), NULL, 'boinc:forum-lock-comment'), |
|
702 | + 'href' => "{$node_control}/lock", |
|
703 | + 'attributes' => array( |
|
704 | + 'title' => bts('Lock this thread for comments', array(), NULL, 'boinc:forum-lock-comment') |
|
705 | + ) |
|
706 | + ); |
|
707 | 707 | } |
708 | 708 | else { |
709 | - $links['unlock'] = array( |
|
710 | - 'title' => bts('Unlock', array(), NULL, 'boinc:forum-unlock-comment'), |
|
711 | - 'href' => "{$node_control}/unlock", |
|
712 | - 'attributes' => array( |
|
713 | - 'title' => bts('Unlock this thread for comments', array(), NULL, 'boinc:forum-unlock-comment') |
|
714 | - ) |
|
715 | - ); |
|
709 | + $links['unlock'] = array( |
|
710 | + 'title' => bts('Unlock', array(), NULL, 'boinc:forum-unlock-comment'), |
|
711 | + 'href' => "{$node_control}/unlock", |
|
712 | + 'attributes' => array( |
|
713 | + 'title' => bts('Unlock this thread for comments', array(), NULL, 'boinc:forum-unlock-comment') |
|
714 | + ) |
|
715 | + ); |
|
716 | 716 | } |
717 | 717 | if ($object->status) { |
718 | - $links['hide'] = array( |
|
719 | - 'title' => bts('Hide', array(), NULL, 'boinc:forum-hide-comment'), |
|
720 | - 'href' => "{$node_control}/hide", |
|
721 | - 'attributes' => array( |
|
722 | - 'title' => bts('Hide this topic', array(), NULL, 'boinc:forum-hide-comment') |
|
723 | - ) |
|
724 | - ); |
|
718 | + $links['hide'] = array( |
|
719 | + 'title' => bts('Hide', array(), NULL, 'boinc:forum-hide-comment'), |
|
720 | + 'href' => "{$node_control}/hide", |
|
721 | + 'attributes' => array( |
|
722 | + 'title' => bts('Hide this topic', array(), NULL, 'boinc:forum-hide-comment') |
|
723 | + ) |
|
724 | + ); |
|
725 | 725 | } |
726 | 726 | else { |
727 | - $links['unhide'] = array( |
|
728 | - 'title' => bts('Unhide', array(), NULL, 'boinc:forum-unhide-comment'), |
|
729 | - 'href' => "{$node_control}/unhide", |
|
730 | - 'attributes' => array( |
|
731 | - 'title' => bts('Unhide this topic', array(), NULL, 'boinc:forum-unhide-comment') |
|
732 | - ) |
|
733 | - ); |
|
727 | + $links['unhide'] = array( |
|
728 | + 'title' => bts('Unhide', array(), NULL, 'boinc:forum-unhide-comment'), |
|
729 | + 'href' => "{$node_control}/unhide", |
|
730 | + 'attributes' => array( |
|
731 | + 'title' => bts('Unhide this topic', array(), NULL, 'boinc:forum-unhide-comment') |
|
732 | + ) |
|
733 | + ); |
|
734 | 734 | } |
735 | - }// if user_access('edit any forum topic') |
|
735 | + }// if user_access('edit any forum topic') |
|
736 | 736 | } |
737 | - } |
|
738 | - else if ($type=='comment') { |
|
737 | + } |
|
738 | + else if ($type=='comment') { |
|
739 | 739 | $node = node_load($object->nid); |
740 | 740 | $nid = $object->nid; |
741 | 741 | $cid = $object->cid; |
@@ -755,10 +755,10 @@ discard block |
||
755 | 755 | // HIDE and COVERT comment |
756 | 756 | // The following are moderator only links |
757 | 757 | if (user_access('administer comments')) { |
758 | - $comment_control = "comment_control/{$cid}"; |
|
759 | - // Add link to convert comment into a new topic |
|
760 | - $reply_count = db_result(db_query(' SELECT COUNT(*) FROM comments WHERE pid = %d', $cid )); |
|
761 | - if ($reply_count == 0) { |
|
758 | + $comment_control = "comment_control/{$cid}"; |
|
759 | + // Add link to convert comment into a new topic |
|
760 | + $reply_count = db_result(db_query(' SELECT COUNT(*) FROM comments WHERE pid = %d', $cid )); |
|
761 | + if ($reply_count == 0) { |
|
762 | 762 | $links['convert'] = array( |
763 | 763 | 'title' => bts('Convert', array(), NULL, 'boinc:forum-convert-comment-to-topic'), |
764 | 764 | 'href' => "{$comment_control}/convert", |
@@ -766,9 +766,9 @@ discard block |
||
766 | 766 | 'title' => bts('Convert this comment to a new topic', array(), NULL, 'boinc:forum-convert-comment-to-topic') |
767 | 767 | ) |
768 | 768 | ); |
769 | - } |
|
770 | - // Add hide link |
|
771 | - if ($object->status == 0) { |
|
769 | + } |
|
770 | + // Add hide link |
|
771 | + if ($object->status == 0) { |
|
772 | 772 | $links['hide'] = array( |
773 | 773 | 'title' => bts('Hide', array(), NULL, 'boinc:forum-hide-comment'), |
774 | 774 | 'href' => "{$comment_control}/hide", |
@@ -776,8 +776,8 @@ discard block |
||
776 | 776 | 'title' => bts('Hide this comment', array(), NULL, 'boinc:forum-hide-comment') |
777 | 777 | ) |
778 | 778 | ); |
779 | - } |
|
780 | - else { |
|
779 | + } |
|
780 | + else { |
|
781 | 781 | $links['unhide'] = array( |
782 | 782 | 'title' => bts('Unhide', array(), NULL, 'boinc:forum-unhide-comment'), |
783 | 783 | 'href' => "{$comment_control}/unhide", |
@@ -785,27 +785,27 @@ discard block |
||
785 | 785 | 'title' => bts('Unhide this comment', array(), NULL, 'boinc:forum-unhide-comment') |
786 | 786 | ) |
787 | 787 | ); |
788 | - } |
|
788 | + } |
|
789 | 789 | }// if user_access('administer comments') |
790 | - }//if $type |
|
790 | + }//if $type |
|
791 | 791 | |
792 | - return $links; |
|
792 | + return $links; |
|
793 | 793 | } |
794 | 794 | |
795 | 795 | /** |
796 | 796 | * Implementation of hook_mail_alter() |
797 | 797 | */ |
798 | 798 | function boinccore_mail_alter(&$message) { |
799 | - /* This code alters the headers for all emails sent by the Drupal Web site to use |
|
799 | + /* This code alters the headers for all emails sent by the Drupal Web site to use |
|
800 | 800 | 'Quote-Printable' as the encoding, both altering the header and modifies the body to the |
801 | 801 | new encoding. |
802 | 802 | */ |
803 | - $message['headers']['Content-Transfer-Encoding'] = 'Quoted-Printable'; |
|
804 | - if (is_array($message['body'])) { |
|
803 | + $message['headers']['Content-Transfer-Encoding'] = 'Quoted-Printable'; |
|
804 | + if (is_array($message['body'])) { |
|
805 | 805 | $message['body'] = array_map( "quoted_printable_encode", $message['body'] ); |
806 | - } else { |
|
806 | + } else { |
|
807 | 807 | $message['body'] = quoted_printable_encode($message['body']); |
808 | - } |
|
808 | + } |
|
809 | 809 | } |
810 | 810 | |
811 | 811 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * |
@@ -818,45 +818,45 @@ discard block |
||
818 | 818 | * link rather than through the node form. |
819 | 819 | */ |
820 | 820 | function boinccore_node_control($nid = NULL, $action = NULL) { |
821 | - if ((!$nid OR !$node = node_load($nid)) OR |
|
821 | + if ((!$nid OR !$node = node_load($nid)) OR |
|
822 | 822 | ($node->type == 'forum' AND !user_access('edit any forum topic')) OR |
823 | 823 | ($node->type != 'forum' AND !user_access('administer nodes'))) { |
824 | 824 | // What are you even doing here... |
825 | 825 | return FALSE; |
826 | - } |
|
827 | - switch ($action) { |
|
828 | - case 'unhide': |
|
826 | + } |
|
827 | + switch ($action) { |
|
828 | + case 'unhide': |
|
829 | 829 | node_publish_action($node); |
830 | 830 | break; |
831 | - case 'hide': |
|
831 | + case 'hide': |
|
832 | 832 | node_unpublish_action($node); |
833 | 833 | break; |
834 | - case 'sticky': |
|
834 | + case 'sticky': |
|
835 | 835 | node_make_sticky_action($node); |
836 | 836 | break; |
837 | - case 'unsticky': |
|
837 | + case 'unsticky': |
|
838 | 838 | node_make_unsticky_action($node); |
839 | 839 | break; |
840 | - case 'lock': |
|
840 | + case 'lock': |
|
841 | 841 | $node->comment = 1; |
842 | 842 | watchdog('action', 'Locked comments on @type %title.', array( |
843 | - '@type' => node_get_types('name', $node), '%title' => $node->title)); |
|
843 | + '@type' => node_get_types('name', $node), '%title' => $node->title)); |
|
844 | 844 | break; |
845 | - case 'unlock': |
|
845 | + case 'unlock': |
|
846 | 846 | $node->comment = 2; |
847 | 847 | watchdog('action', 'Unlocked comments on @type %title.', array( |
848 | - '@type' => node_get_types('name', $node), '%title' => $node->title)); |
|
848 | + '@type' => node_get_types('name', $node), '%title' => $node->title)); |
|
849 | 849 | break; |
850 | - default: |
|
850 | + default: |
|
851 | 851 | } |
852 | - node_save($node); |
|
853 | - // If hiding a forum topic (node) and not an administrator, go to |
|
854 | - // the forum page. Otherwise the user will reach an access-denied |
|
855 | - // page. |
|
856 | - if (($action=="hide") and (!user_access('administer forums'))) { |
|
852 | + node_save($node); |
|
853 | + // If hiding a forum topic (node) and not an administrator, go to |
|
854 | + // the forum page. Otherwise the user will reach an access-denied |
|
855 | + // page. |
|
856 | + if (($action=="hide") and (!user_access('administer forums'))) { |
|
857 | 857 | drupal_goto("community/forum/{$node->tid}"); |
858 | - } |
|
859 | - drupal_goto("node/{$nid}"); |
|
858 | + } |
|
859 | + drupal_goto("node/{$nid}"); |
|
860 | 860 | } |
861 | 861 | |
862 | 862 | /** |
@@ -865,28 +865,28 @@ discard block |
||
865 | 865 | * through the comment edit form. |
866 | 866 | */ |
867 | 867 | function boinccore_comment_control($cid = NULL, $action = NULL) { |
868 | - if (!$cid OR !$comment = _comment_load($cid)) { |
|
868 | + if (!$cid OR !$comment = _comment_load($cid)) { |
|
869 | 869 | // What are you even doing here... |
870 | 870 | return FALSE; |
871 | - } |
|
872 | - $return_path = "node/{$comment->nid}"; |
|
873 | - $return_anchor = "comment-{$cid}"; |
|
874 | - switch ($action) { |
|
875 | - case 'unhide': |
|
871 | + } |
|
872 | + $return_path = "node/{$comment->nid}"; |
|
873 | + $return_anchor = "comment-{$cid}"; |
|
874 | + switch ($action) { |
|
875 | + case 'unhide': |
|
876 | 876 | comment_publish_action($comment); |
877 | 877 | rules_invoke_event('boinccore_comment_unhidden', $comment); |
878 | 878 | if (module_exists("boinc_solr_comments")) { |
879 | - boinc_solr_comments_publish($comment); |
|
879 | + boinc_solr_comments_publish($comment); |
|
880 | 880 | } |
881 | 881 | break; |
882 | - case 'hide': |
|
882 | + case 'hide': |
|
883 | 883 | comment_unpublish_action($comment); |
884 | 884 | rules_invoke_event('comment_unpublish', $comment); |
885 | 885 | if (module_exists("boinc_solr_comments")) { |
886 | - boinc_solr_comments_unpublish($comment); |
|
886 | + boinc_solr_comments_unpublish($comment); |
|
887 | 887 | } |
888 | 888 | break; |
889 | - case 'convert': |
|
889 | + case 'convert': |
|
890 | 890 | $node = new stdClass(); |
891 | 891 | $node->name = $comment->subject; |
892 | 892 | $node->title = $node->name; |
@@ -906,7 +906,7 @@ discard block |
||
906 | 906 | $node->tid = $parent_node->tid; |
907 | 907 | |
908 | 908 | if (filter_access($comment->format)) { |
909 | - $node->format = $comment->format; |
|
909 | + $node->format = $comment->format; |
|
910 | 910 | } |
911 | 911 | |
912 | 912 | // Save the new node |
@@ -922,9 +922,9 @@ discard block |
||
922 | 922 | $return_path = "node/{$node->nid}"; |
923 | 923 | $return_anchor = NULL; |
924 | 924 | break; |
925 | - default: |
|
925 | + default: |
|
926 | 926 | } |
927 | - drupal_goto($return_path, NULL, $return_anchor); |
|
927 | + drupal_goto($return_path, NULL, $return_anchor); |
|
928 | 928 | } |
929 | 929 | |
930 | 930 | /** |
@@ -932,7 +932,7 @@ discard block |
||
932 | 932 | * Get the authenticator for a given account |
933 | 933 | */ |
934 | 934 | function boinccore_lookup_account() { |
935 | - include_boinc('user/lookup_account.php'); |
|
935 | + include_boinc('user/lookup_account.php'); |
|
936 | 936 | } |
937 | 937 | |
938 | 938 | /** |
@@ -940,29 +940,29 @@ discard block |
||
940 | 940 | * Get assorted details for a given account |
941 | 941 | */ |
942 | 942 | function boinccore_am_get_info() { |
943 | - // Remove q from the GET request or BOINC will panic |
|
944 | - unset($_GET['q']); |
|
945 | - // Capture the XML output of the RPC so we can override things |
|
946 | - ob_start(); |
|
947 | - include_boinc('user/am_get_info.php'); |
|
948 | - $xml = ob_get_clean(); |
|
949 | - $xml = load_configuration($xml); |
|
950 | - // See if the account has an approved profile in Drupal |
|
951 | - $uid = !empty($xml['am_get_info_reply']['id']) ? boincuser_lookup_uid($xml['am_get_info_reply']['id']) : 0; |
|
952 | - if ($uid) { |
|
943 | + // Remove q from the GET request or BOINC will panic |
|
944 | + unset($_GET['q']); |
|
945 | + // Capture the XML output of the RPC so we can override things |
|
946 | + ob_start(); |
|
947 | + include_boinc('user/am_get_info.php'); |
|
948 | + $xml = ob_get_clean(); |
|
949 | + $xml = load_configuration($xml); |
|
950 | + // See if the account has an approved profile in Drupal |
|
951 | + $uid = !empty($xml['am_get_info_reply']['id']) ? boincuser_lookup_uid($xml['am_get_info_reply']['id']) : 0; |
|
952 | + if ($uid) { |
|
953 | 953 | $content_profile = content_profile_load('profile', $uid); |
954 | 954 | $profile_is_approved = ($content_profile->status AND !$content_profile->moderate); |
955 | 955 | $country = check_plain($content_profile->field_country[0]['value']); |
956 | 956 | $website = ''; |
957 | 957 | if ($profile_is_approved) { |
958 | - $website = check_plain($content_profile->field_url[0]['value']); |
|
958 | + $website = check_plain($content_profile->field_url[0]['value']); |
|
959 | 959 | } |
960 | 960 | // Override BOINC values with Drupal values as needed |
961 | 961 | $xml['am_get_info_reply']['has_profile']['@value'] = ($profile_is_approved) ? 1 : 0; |
962 | 962 | $xml['am_get_info_reply']['country']['@value'] = $country; |
963 | 963 | $xml['am_get_info_reply']['url']['@value'] = $website; |
964 | - } |
|
965 | - print save_configuration($xml); |
|
964 | + } |
|
965 | + print save_configuration($xml); |
|
966 | 966 | } |
967 | 967 | |
968 | 968 | /** |
@@ -970,75 +970,75 @@ discard block |
||
970 | 970 | * Update assorted details for a given account |
971 | 971 | */ |
972 | 972 | function boinccore_am_set_info() { |
973 | - // Remove q from the GET request or BOINC will panic |
|
974 | - unset($_GET['q']); |
|
975 | - // Validate the XML prefs (in case BOINC does not) |
|
976 | - $global_prefs = !empty($_POST['global_prefs']) ? $_POST['global_prefs'] : (!empty($_GET['global_prefs']) ? $_GET['global_prefs'] : NULL); |
|
977 | - $project_prefs = !empty($_POST['project_prefs']) ? $_POST['project_prefs'] : (!empty($_GET['project_prefs']) ? $_GET['project_prefs'] : NULL); |
|
978 | - libxml_use_internal_errors(true); |
|
979 | - $xml = new DomDocument(); |
|
980 | - if ($global_prefs) { |
|
973 | + // Remove q from the GET request or BOINC will panic |
|
974 | + unset($_GET['q']); |
|
975 | + // Validate the XML prefs (in case BOINC does not) |
|
976 | + $global_prefs = !empty($_POST['global_prefs']) ? $_POST['global_prefs'] : (!empty($_GET['global_prefs']) ? $_GET['global_prefs'] : NULL); |
|
977 | + $project_prefs = !empty($_POST['project_prefs']) ? $_POST['project_prefs'] : (!empty($_GET['project_prefs']) ? $_GET['project_prefs'] : NULL); |
|
978 | + libxml_use_internal_errors(true); |
|
979 | + $xml = new DomDocument(); |
|
980 | + if ($global_prefs) { |
|
981 | 981 | $xml->loadXML($global_prefs, LIBXML_NOBLANKS); |
982 | 982 | if ($errors = libxml_get_errors($xml)) { |
983 | - $lines = explode("\r", $global_prefs); |
|
984 | - watchdog('am_set_info', "XML validation error in global_prefs: {$errors[0]->message} at line {$errors[0]->line}" . |
|
983 | + $lines = explode("\r", $global_prefs); |
|
984 | + watchdog('am_set_info', "XML validation error in global_prefs: {$errors[0]->message} at line {$errors[0]->line}" . |
|
985 | 985 | ': <br/>' . htmlentities($lines[$errors[0]->line - 1]), array(), WATCHDOG_ERROR); |
986 | 986 | } |
987 | - } |
|
988 | - elseif ($project_prefs) { |
|
987 | + } |
|
988 | + elseif ($project_prefs) { |
|
989 | 989 | $xml->loadXML($project_prefs, LIBXML_NOBLANKS); |
990 | 990 | if ($errors = libxml_get_errors($xml)) { |
991 | - $lines = explode("\r", $project_prefs); |
|
992 | - watchdog('am_set_info', "XML validation error in project_prefs: {$errors[0]->message} at line {$errors[0]->line}" . |
|
991 | + $lines = explode("\r", $project_prefs); |
|
992 | + watchdog('am_set_info', "XML validation error in project_prefs: {$errors[0]->message} at line {$errors[0]->line}" . |
|
993 | 993 | ': <br/>' . htmlentities($lines[$errors[0]->line - 1]), array(), WATCHDOG_ERROR); |
994 | 994 | } |
995 | - } |
|
996 | - if (!$errors) { |
|
995 | + } |
|
996 | + if (!$errors) { |
|
997 | 997 | // Capture the XML output of the RPC so we can override things |
998 | 998 | ob_start(); |
999 | 999 | include_boinc('user/am_set_info.php'); |
1000 | 1000 | $xml = ob_get_clean(); |
1001 | 1001 | $xml = load_configuration($xml); |
1002 | 1002 | if (isset($xml['am_set_info_reply']['success'])) { |
1003 | - // Find the account in Drupal |
|
1004 | - $boinc_auth = !empty($_POST['account_key']) ? $_POST['account_key'] : $_GET['account_key']; |
|
1005 | - db_set_active('boinc_rw'); |
|
1006 | - $boinc_id = db_result(db_query(" |
|
1003 | + // Find the account in Drupal |
|
1004 | + $boinc_auth = !empty($_POST['account_key']) ? $_POST['account_key'] : $_GET['account_key']; |
|
1005 | + db_set_active('boinc_rw'); |
|
1006 | + $boinc_id = db_result(db_query(" |
|
1007 | 1007 | SELECT id |
1008 | 1008 | FROM {user} |
1009 | 1009 | WHERE authenticator = '%s'", |
1010 | 1010 | $boinc_auth |
1011 | - )); |
|
1012 | - db_set_active('default'); |
|
1013 | - $uid = boincuser_lookup_uid($boinc_id); |
|
1011 | + )); |
|
1012 | + db_set_active('default'); |
|
1013 | + $uid = boincuser_lookup_uid($boinc_id); |
|
1014 | 1014 | |
1015 | - // Apply any relevant updates to the Drupal account, also |
|
1016 | - $country = !empty($_POST['country']) ? $_POST['country'] : (!empty($_GET['country']) ? $_GET['country'] : NULL); |
|
1017 | - $url = !empty($_POST['url']) ? $_POST['url'] : (!empty($_GET['url']) ? $_GET['url'] : NULL); |
|
1018 | - $email_addr = !empty($_POST['email_addr']) ? $_POST['email_addr'] : (!empty($_GET['email_addr']) ? $_GET['email_addr'] : NULL); |
|
1015 | + // Apply any relevant updates to the Drupal account, also |
|
1016 | + $country = !empty($_POST['country']) ? $_POST['country'] : (!empty($_GET['country']) ? $_GET['country'] : NULL); |
|
1017 | + $url = !empty($_POST['url']) ? $_POST['url'] : (!empty($_GET['url']) ? $_GET['url'] : NULL); |
|
1018 | + $email_addr = !empty($_POST['email_addr']) ? $_POST['email_addr'] : (!empty($_GET['email_addr']) ? $_GET['email_addr'] : NULL); |
|
1019 | 1019 | |
1020 | - if ($email_addr) { |
|
1020 | + if ($email_addr) { |
|
1021 | 1021 | $account = user_load($uid); |
1022 | 1022 | user_save($account, array('mail' => $email_addr)); |
1023 | - } |
|
1024 | - if ($country OR $url) { |
|
1023 | + } |
|
1024 | + if ($country OR $url) { |
|
1025 | 1025 | $content_profile = content_profile_load('profile', $uid); |
1026 | 1026 | if ($country) $content_profile->field_country[0]['value'] = $country; |
1027 | 1027 | if ($url) $content_profile->field_url[0]['value'] = $url; |
1028 | 1028 | node_save($content_profile); |
1029 | - } |
|
1029 | + } |
|
1030 | 1030 | } |
1031 | - } |
|
1032 | - else { |
|
1031 | + } |
|
1032 | + else { |
|
1033 | 1033 | $xml = array( |
1034 | - 'error' => array( |
|
1034 | + 'error' => array( |
|
1035 | 1035 | 'error_num' => -112, |
1036 | 1036 | 'error_msg' => "{$errors[0]->message} at line {$errors[0]->line}" . |
1037 | 1037 | ': <br/>' . htmlentities($lines[$errors[0]->line - 1]) |
1038 | - ), |
|
1038 | + ), |
|
1039 | 1039 | ); |
1040 | - } |
|
1041 | - print save_configuration($xml); |
|
1040 | + } |
|
1041 | + print save_configuration($xml); |
|
1042 | 1042 | } |
1043 | 1043 | |
1044 | 1044 | /** |
@@ -1046,17 +1046,17 @@ discard block |
||
1046 | 1046 | * Update the venue for the given host |
1047 | 1047 | */ |
1048 | 1048 | function boinccore_am_set_host_info() { |
1049 | - // Remove q from the GET request or BOINC will panic |
|
1050 | - unset($_GET['q']); |
|
1051 | - // Capture the XML output of the RPC so we can override things |
|
1052 | - ob_start(); |
|
1053 | - include_boinc('user/am_set_host_info.php'); |
|
1054 | - $xml = ob_get_clean(); |
|
1055 | - $xml = load_configuration($xml); |
|
1056 | - if (isset($xml['am_set_host_info_reply']['success'])) { |
|
1049 | + // Remove q from the GET request or BOINC will panic |
|
1050 | + unset($_GET['q']); |
|
1051 | + // Capture the XML output of the RPC so we can override things |
|
1052 | + ob_start(); |
|
1053 | + include_boinc('user/am_set_host_info.php'); |
|
1054 | + $xml = ob_get_clean(); |
|
1055 | + $xml = load_configuration($xml); |
|
1056 | + if (isset($xml['am_set_host_info_reply']['success'])) { |
|
1057 | 1057 | // Override anything that needs overriding |
1058 | - } |
|
1059 | - print save_configuration($xml); |
|
1058 | + } |
|
1059 | + print save_configuration($xml); |
|
1060 | 1060 | } |
1061 | 1061 | |
1062 | 1062 | /** |
@@ -1064,29 +1064,29 @@ discard block |
||
1064 | 1064 | * Get assorted details for a given account |
1065 | 1065 | */ |
1066 | 1066 | function boinccore_show_user() { |
1067 | - // Remove q from the GET request or BOINC will panic |
|
1068 | - unset($_GET['q']); |
|
1069 | - // Capture the XML output of the RPC so we can override things |
|
1070 | - ob_start(); |
|
1071 | - include_boinc('user/show_user.php'); |
|
1072 | - $xml = ob_get_clean(); |
|
1073 | - $xml = load_configuration($xml); |
|
1074 | - // See if the account has an approved profile in Drupal |
|
1075 | - $uid = !empty($xml['user']['id']) ? boincuser_lookup_uid($xml['user']['id']) : 0; |
|
1076 | - if ($uid) { |
|
1067 | + // Remove q from the GET request or BOINC will panic |
|
1068 | + unset($_GET['q']); |
|
1069 | + // Capture the XML output of the RPC so we can override things |
|
1070 | + ob_start(); |
|
1071 | + include_boinc('user/show_user.php'); |
|
1072 | + $xml = ob_get_clean(); |
|
1073 | + $xml = load_configuration($xml); |
|
1074 | + // See if the account has an approved profile in Drupal |
|
1075 | + $uid = !empty($xml['user']['id']) ? boincuser_lookup_uid($xml['user']['id']) : 0; |
|
1076 | + if ($uid) { |
|
1077 | 1077 | $content_profile = content_profile_load('profile', $uid); |
1078 | 1078 | $profile_is_approved = ($content_profile->status AND !$content_profile->moderate); |
1079 | 1079 | $country = check_plain($content_profile->field_country[0]['value']); |
1080 | 1080 | $website = ''; |
1081 | 1081 | if ($profile_is_approved) { |
1082 | - $website = check_plain($content_profile->field_url[0]['value']); |
|
1082 | + $website = check_plain($content_profile->field_url[0]['value']); |
|
1083 | 1083 | } |
1084 | 1084 | // Override BOINC values with Drupal values as needed |
1085 | 1085 | $xml['user']['has_profile']['@value'] = ($profile_is_approved) ? 1 : 0; |
1086 | 1086 | $xml['user']['country']['@value'] = $country; |
1087 | 1087 | $xml['user']['url']['@value'] = $website; |
1088 | - } |
|
1089 | - print save_configuration($xml); |
|
1088 | + } |
|
1089 | + print save_configuration($xml); |
|
1090 | 1090 | } |
1091 | 1091 | |
1092 | 1092 | /** |
@@ -1094,9 +1094,9 @@ discard block |
||
1094 | 1094 | * Get pending credit information for a given account |
1095 | 1095 | */ |
1096 | 1096 | function boinccore_pending_credit() { |
1097 | - // Remove q from the GET request or BOINC will panic |
|
1098 | - unset($_GET['q']); |
|
1099 | - include_boinc('user/pending.php'); |
|
1097 | + // Remove q from the GET request or BOINC will panic |
|
1098 | + unset($_GET['q']); |
|
1099 | + include_boinc('user/pending.php'); |
|
1100 | 1100 | } |
1101 | 1101 | |
1102 | 1102 | /** |
@@ -1105,7 +1105,7 @@ discard block |
||
1105 | 1105 | */ |
1106 | 1106 | function boinccore_create_team() { |
1107 | 1107 | |
1108 | - if (module_exists('boincteam')) { |
|
1108 | + if (module_exists('boincteam')) { |
|
1109 | 1109 | module_load_include('module', 'boincteam', 'boincteam'); |
1110 | 1110 | |
1111 | 1111 | $input_format = !empty($values['format']) ? $values['format'] : 4; |
@@ -1118,9 +1118,9 @@ discard block |
||
1118 | 1118 | $xml = load_configuration($xml); |
1119 | 1119 | |
1120 | 1120 | if (isset($xml['create_team_reply']['success'])) { |
1121 | - $boincteam_id = isset($xml['create_team_reply']['team_id']['@value']) ? $xml['create_team_reply']['team_id']['@value'] : 0; |
|
1121 | + $boincteam_id = isset($xml['create_team_reply']['team_id']['@value']) ? $xml['create_team_reply']['team_id']['@value'] : 0; |
|
1122 | 1122 | |
1123 | - if ($boincteam_id) { |
|
1123 | + if ($boincteam_id) { |
|
1124 | 1124 | |
1125 | 1125 | $boincteam = boincteam_load($boincteam_id); |
1126 | 1126 | $team_owner_uid = boincuser_lookup_uid($boincteam->userid); |
@@ -1128,92 +1128,92 @@ discard block |
||
1128 | 1128 | // Create the team node in Drupal |
1129 | 1129 | |
1130 | 1130 | $values = array( |
1131 | - 'name' => isset($_GET['name']) ? $_GET['name'] : '', |
|
1132 | - 'description' => isset($_GET['description']) ? $_GET['description'] : '', |
|
1133 | - 'type' => isset($_GET['type']) ? $_GET['type'] : '', |
|
1131 | + 'name' => isset($_GET['name']) ? $_GET['name'] : '', |
|
1132 | + 'description' => isset($_GET['description']) ? $_GET['description'] : '', |
|
1133 | + 'type' => isset($_GET['type']) ? $_GET['type'] : '', |
|
1134 | 1134 | ); |
1135 | 1135 | $teaser = node_teaser($values['description']); |
1136 | 1136 | $created_time = time(); |
1137 | 1137 | |
1138 | 1138 | $node = array( |
1139 | - 'type' => 'team', |
|
1140 | - 'title' => $values['name'], |
|
1141 | - 'body' => $values['description'], |
|
1142 | - 'teaser' => $teaser, |
|
1143 | - 'uid' => $team_owner_uid, |
|
1144 | - 'path' => null, |
|
1145 | - 'status' => 1, // published or not - always publish |
|
1146 | - 'promote' => 0, |
|
1147 | - 'created' => $created_time, |
|
1148 | - 'comment' => 0, // comments disabled |
|
1149 | - 'moderate' => 0, |
|
1150 | - 'sticky' => 0, |
|
1151 | - 'format' => $input_format |
|
1139 | + 'type' => 'team', |
|
1140 | + 'title' => $values['name'], |
|
1141 | + 'body' => $values['description'], |
|
1142 | + 'teaser' => $teaser, |
|
1143 | + 'uid' => $team_owner_uid, |
|
1144 | + 'path' => null, |
|
1145 | + 'status' => 1, // published or not - always publish |
|
1146 | + 'promote' => 0, |
|
1147 | + 'created' => $created_time, |
|
1148 | + 'comment' => 0, // comments disabled |
|
1149 | + 'moderate' => 0, |
|
1150 | + 'sticky' => 0, |
|
1151 | + 'format' => $input_format |
|
1152 | 1152 | ); |
1153 | 1153 | |
1154 | 1154 | // Use pathauto function, if available, to clean up the path |
1155 | 1155 | if (module_exists('pathauto')) { |
1156 | - module_load_include('inc', 'pathauto', 'pathauto'); |
|
1157 | - $node['path'] = pathauto_cleanstring($values['name']); |
|
1156 | + module_load_include('inc', 'pathauto', 'pathauto'); |
|
1157 | + $node['path'] = pathauto_cleanstring($values['name']); |
|
1158 | 1158 | |
1159 | - $node = (object) $node; // node_save requires an object form |
|
1160 | - $team_categories = taxonomy_get_term_by_name($values['type']); |
|
1161 | - $node->taxonomy[] = $team_categories[0]; |
|
1159 | + $node = (object) $node; // node_save requires an object form |
|
1160 | + $team_categories = taxonomy_get_term_by_name($values['type']); |
|
1161 | + $node->taxonomy[] = $team_categories[0]; |
|
1162 | 1162 | |
1163 | - // Save the team node |
|
1164 | - node_save($node); |
|
1165 | - // Save the team IDs to a BOINC <--> Drupal reference table. |
|
1166 | - db_query('INSERT INTO {boincteam} (team_id, nid) VALUES (%d, %d)', $boincteam_id, $node->nid); |
|
1163 | + // Save the team node |
|
1164 | + node_save($node); |
|
1165 | + // Save the team IDs to a BOINC <--> Drupal reference table. |
|
1166 | + db_query('INSERT INTO {boincteam} (team_id, nid) VALUES (%d, %d)', $boincteam_id, $node->nid); |
|
1167 | 1167 | } |
1168 | 1168 | else { |
1169 | - $xml['create_team_reply']['warning'] = t( |
|
1169 | + $xml['create_team_reply']['warning'] = t( |
|
1170 | 1170 | 'There was a problem integrating this team into Drupal. Please |
1171 | 1171 | contact @project administrators!', array('@project' => PROJECT) |
1172 | - ); |
|
1173 | - watchdog( |
|
1172 | + ); |
|
1173 | + watchdog( |
|
1174 | 1174 | 'BOINC team', |
1175 | 1175 | 'BOINC teams require the Pathauto module. Team cannot be created in |
1176 | 1176 | Drupal via create_team.php RPC.', |
1177 | 1177 | array(), |
1178 | 1178 | WATCHDOG_ERROR |
1179 | - ); |
|
1180 | - // Delete from the BOINC DB if we can't sync with Drupal |
|
1181 | - $boincteam::delete(); |
|
1179 | + ); |
|
1180 | + // Delete from the BOINC DB if we can't sync with Drupal |
|
1181 | + $boincteam::delete(); |
|
1182 | 1182 | } |
1183 | - } |
|
1184 | - else { |
|
1183 | + } |
|
1184 | + else { |
|
1185 | 1185 | $xml['create_team_reply']['warning'] = t( |
1186 | - 'There was a problem integrating this team into Drupal. Please |
|
1186 | + 'There was a problem integrating this team into Drupal. Please |
|
1187 | 1187 | contact @project administrators!', array('@project' => PROJECT) |
1188 | 1188 | ); |
1189 | 1189 | watchdog( |
1190 | - 'BOINC team', |
|
1191 | - 'Team cannot be created in Drupal via create_team.php RPC because no |
|
1190 | + 'BOINC team', |
|
1191 | + 'Team cannot be created in Drupal via create_team.php RPC because no |
|
1192 | 1192 | BOINC team ID was returned in the XML.', |
1193 | - array(), |
|
1194 | - WATCHDOG_ERROR |
|
1193 | + array(), |
|
1194 | + WATCHDOG_ERROR |
|
1195 | 1195 | ); |
1196 | - } |
|
1196 | + } |
|
1197 | 1197 | } |
1198 | - } |
|
1199 | - else { |
|
1198 | + } |
|
1199 | + else { |
|
1200 | 1200 | $xml = array( |
1201 | - 'error' => array( |
|
1201 | + 'error' => array( |
|
1202 | 1202 | 'error_num' => -1, |
1203 | 1203 | 'error_msg' => t( |
1204 | - 'Teams are not enabled for this project' |
|
1204 | + 'Teams are not enabled for this project' |
|
1205 | + ), |
|
1205 | 1206 | ), |
1206 | - ), |
|
1207 | 1207 | ); |
1208 | 1208 | watchdog( |
1209 | - 'BOINC team', |
|
1210 | - 'Team cannot be created in Drupal via create_team.php RPC because the |
|
1209 | + 'BOINC team', |
|
1210 | + 'Team cannot be created in Drupal via create_team.php RPC because the |
|
1211 | 1211 | BOINC team module is not enabled.', |
1212 | - array(), |
|
1213 | - WATCHDOG_ERROR |
|
1212 | + array(), |
|
1213 | + WATCHDOG_ERROR |
|
1214 | 1214 | ); |
1215 | - } |
|
1216 | - print save_configuration($xml); |
|
1215 | + } |
|
1216 | + print save_configuration($xml); |
|
1217 | 1217 | } |
1218 | 1218 | |
1219 | 1219 | /** |
@@ -1221,9 +1221,9 @@ discard block |
||
1221 | 1221 | * Get info on a team by ID or a list of teams that match a given name |
1222 | 1222 | */ |
1223 | 1223 | function boinccore_team_lookup() { |
1224 | - // Remove q from the GET request or BOINC will panic |
|
1225 | - unset($_GET['q']); |
|
1226 | - include_boinc('user/team_lookup.php'); |
|
1224 | + // Remove q from the GET request or BOINC will panic |
|
1225 | + unset($_GET['q']); |
|
1226 | + include_boinc('user/team_lookup.php'); |
|
1227 | 1227 | } |
1228 | 1228 | |
1229 | 1229 | /** |
@@ -1231,72 +1231,72 @@ discard block |
||
1231 | 1231 | * Get members of a given team |
1232 | 1232 | */ |
1233 | 1233 | function boinccore_team_email_list() { |
1234 | - // See if the account has an approved profile in Drupal |
|
1235 | - $boincteam_id = !empty($_POST['teamid']) ? $_POST['teamid'] : $_GET['teamid']; |
|
1236 | - $credit_only = !empty($_POST['creditonly']) ? $_POST['creditonly'] : $_GET['creditonly']; |
|
1237 | - $show_xml = !empty($_POST['xml']) ? $_POST['xml'] : $_GET['xml']; |
|
1238 | - if (!$show_xml) { |
|
1239 | - // creditonly does not affect non xml output in BOINC |
|
1240 | - $credit_only = FALSE; |
|
1241 | - } |
|
1242 | - $xml = array(); |
|
1234 | + // See if the account has an approved profile in Drupal |
|
1235 | + $boincteam_id = !empty($_POST['teamid']) ? $_POST['teamid'] : $_GET['teamid']; |
|
1236 | + $credit_only = !empty($_POST['creditonly']) ? $_POST['creditonly'] : $_GET['creditonly']; |
|
1237 | + $show_xml = !empty($_POST['xml']) ? $_POST['xml'] : $_GET['xml']; |
|
1238 | + if (!$show_xml) { |
|
1239 | + // creditonly does not affect non xml output in BOINC |
|
1240 | + $credit_only = FALSE; |
|
1241 | + } |
|
1242 | + $xml = array(); |
|
1243 | 1243 | |
1244 | - if ($boincteam_id && is_numeric($boincteam_id)) { |
|
1244 | + if ($boincteam_id && is_numeric($boincteam_id)) { |
|
1245 | 1245 | if ($credit_only) { |
1246 | - db_set_active('boinc_rw'); |
|
1247 | - $result = db_query(" |
|
1246 | + db_set_active('boinc_rw'); |
|
1247 | + $result = db_query(" |
|
1248 | 1248 | SELECT |
1249 | 1249 | u.id, u.name, u.cross_project_id, u.email_addr, u.total_credit, u.expavg_credit, u.expavg_time |
1250 | 1250 | FROM {user} u |
1251 | 1251 | WHERE u.teamid = %d and u.total_credit > 0", |
1252 | 1252 | $boincteam_id |
1253 | - ); |
|
1254 | - db_set_active('default'); |
|
1253 | + ); |
|
1254 | + db_set_active('default'); |
|
1255 | 1255 | |
1256 | - $xml = array('users' => array()); |
|
1257 | - while ($member = db_fetch_object($result)) { |
|
1256 | + $xml = array('users' => array()); |
|
1257 | + while ($member = db_fetch_object($result)) { |
|
1258 | 1258 | $team_member = array( |
1259 | - 'id' => $member->id, |
|
1260 | - 'cpid' => md5($member->cross_project_id.$member->email_addr), |
|
1261 | - 'name' => htmlspecialchars($member->name), |
|
1262 | - 'total_credit' => round($member->total_credit), |
|
1263 | - 'expavg_credit' => round($member->expavg_credit), |
|
1264 | - 'expavg_time' => round($member->expavg_time), |
|
1259 | + 'id' => $member->id, |
|
1260 | + 'cpid' => md5($member->cross_project_id.$member->email_addr), |
|
1261 | + 'name' => htmlspecialchars($member->name), |
|
1262 | + 'total_credit' => round($member->total_credit), |
|
1263 | + 'expavg_credit' => round($member->expavg_credit), |
|
1264 | + 'expavg_time' => round($member->expavg_time), |
|
1265 | 1265 | ); |
1266 | 1266 | $xml['users']['user'][] = $team_member; |
1267 | - } |
|
1267 | + } |
|
1268 | 1268 | } |
1269 | 1269 | else { |
1270 | - // Query BOINC database user table |
|
1271 | - db_set_active('boinc_rw'); |
|
1272 | - $result = db_query(" |
|
1270 | + // Query BOINC database user table |
|
1271 | + db_set_active('boinc_rw'); |
|
1272 | + $result = db_query(" |
|
1273 | 1273 | SELECT |
1274 | 1274 | u.id, u.name, u.cross_project_id, u.create_time, u.email_addr, u.total_credit, u.expavg_credit, u.expavg_time |
1275 | 1275 | FROM {user} u |
1276 | 1276 | WHERE u.teamid = %d ORDER BY u.email_addr ASC", |
1277 | 1277 | $boincteam_id |
1278 | - ); |
|
1279 | - db_set_active('default'); |
|
1278 | + ); |
|
1279 | + db_set_active('default'); |
|
1280 | 1280 | |
1281 | - // Extract information from BOINC database for team members. |
|
1282 | - $team_members = array(); |
|
1283 | - while ($member = db_fetch_object($result)) { |
|
1281 | + // Extract information from BOINC database for team members. |
|
1282 | + $team_members = array(); |
|
1283 | + while ($member = db_fetch_object($result)) { |
|
1284 | 1284 | $team_members[$member->id] = array( |
1285 | - 'id' => $member->id, |
|
1286 | - 'cpid' => md5($member->cross_project_id.$member->email_addr), |
|
1287 | - 'create_time' => $member->create_time, |
|
1288 | - 'name' => htmlspecialchars($member->name), |
|
1289 | - 'country' => NULL, |
|
1290 | - 'total_credit' => round($member->total_credit), |
|
1291 | - 'expavg_credit' => round($member->expavg_credit), |
|
1292 | - 'expavg_time' => round($member->expavg_time), |
|
1293 | - 'url' => NULL, |
|
1294 | - 'has_profile' => 0, |
|
1285 | + 'id' => $member->id, |
|
1286 | + 'cpid' => md5($member->cross_project_id.$member->email_addr), |
|
1287 | + 'create_time' => $member->create_time, |
|
1288 | + 'name' => htmlspecialchars($member->name), |
|
1289 | + 'country' => NULL, |
|
1290 | + 'total_credit' => round($member->total_credit), |
|
1291 | + 'expavg_credit' => round($member->expavg_credit), |
|
1292 | + 'expavg_time' => round($member->expavg_time), |
|
1293 | + 'url' => NULL, |
|
1294 | + 'has_profile' => 0, |
|
1295 | 1295 | ); |
1296 | - } |
|
1296 | + } |
|
1297 | 1297 | |
1298 | - // Query Drupal database, multiple tables |
|
1299 | - $sql1 = " |
|
1298 | + // Query Drupal database, multiple tables |
|
1299 | + $sql1 = " |
|
1300 | 1300 | SELECT |
1301 | 1301 | bu.boinc_id, du.uid, du.name, n.nid, n.type, n.field_country_value, n.field_url_value |
1302 | 1302 | FROM {boincuser} AS bu |
@@ -1307,28 +1307,28 @@ discard block |
||
1307 | 1307 | INNER JOIN {content_type_profile} AS p ON node.nid=p.nid |
1308 | 1308 | WHERE node.type='profile' ) n ON du.uid=n.uid |
1309 | 1309 | WHERE bu.boinc_id IN (%s)"; |
1310 | - $member_id_list = implode(',', array_keys($team_members)); |
|
1311 | - if (!$member_id_list) { |
|
1310 | + $member_id_list = implode(',', array_keys($team_members)); |
|
1311 | + if (!$member_id_list) { |
|
1312 | 1312 | $member_id_list = '-1'; |
1313 | - } |
|
1314 | - $result = db_query($sql1, $member_id_list); |
|
1315 | - while ($member = db_fetch_object($result)) { |
|
1313 | + } |
|
1314 | + $result = db_query($sql1, $member_id_list); |
|
1315 | + while ($member = db_fetch_object($result)) { |
|
1316 | 1316 | $team_members[$member->boinc_id]['country'] = $member->field_country_value; |
1317 | 1317 | $team_members[$member->boinc_id]['url'] = $member->field_url_value; |
1318 | 1318 | $team_members[$member->boinc_id]['has_profile'] = isset($member->nid) ? 1: 0; |
1319 | 1319 | $xml['users']['user'][] = $team_members[$member->boinc_id]; |
1320 | - } |
|
1320 | + } |
|
1321 | 1321 | } // end if credit_only |
1322 | - } |
|
1323 | - else { |
|
1322 | + } |
|
1323 | + else { |
|
1324 | 1324 | $xml = array( |
1325 | - 'error' => array( |
|
1325 | + 'error' => array( |
|
1326 | 1326 | 'error_num' => -136, |
1327 | 1327 | 'error_msg' => 'Not found', |
1328 | - ), |
|
1328 | + ), |
|
1329 | 1329 | ); |
1330 | - } // end if boincteam_id |
|
1331 | - print xml_to_text(array_to_xml($xml), TRUE, TRUE); |
|
1330 | + } // end if boincteam_id |
|
1331 | + print xml_to_text(array_to_xml($xml), TRUE, TRUE); |
|
1332 | 1332 | } |
1333 | 1333 | |
1334 | 1334 | /** |
@@ -1336,114 +1336,114 @@ discard block |
||
1336 | 1336 | * Edit the forum preferences for a given user |
1337 | 1337 | */ |
1338 | 1338 | function boinccore_edit_forum_preferences() { |
1339 | - // Do not pass through to BOINC in this case as BOINC forums are no longer |
|
1340 | - // relevant -- use Drupal data only |
|
1339 | + // Do not pass through to BOINC in this case as BOINC forums are no longer |
|
1340 | + // relevant -- use Drupal data only |
|
1341 | 1341 | |
1342 | - $account_key = !empty($_POST['account_key']) ? $_POST['account_key'] : (!empty($_GET['account_key']) ? $_GET['account_key'] : NULL); |
|
1342 | + $account_key = !empty($_POST['account_key']) ? $_POST['account_key'] : (!empty($_GET['account_key']) ? $_GET['account_key'] : NULL); |
|
1343 | 1343 | |
1344 | - require_boinc('boinc_db'); |
|
1345 | - $boincuser = BoincUser::lookup_auth($account_key); |
|
1346 | - if ($boincuser) { |
|
1344 | + require_boinc('boinc_db'); |
|
1345 | + $boincuser = BoincUser::lookup_auth($account_key); |
|
1346 | + if ($boincuser) { |
|
1347 | 1347 | $uid = boincuser_lookup_uid($boincuser->id); |
1348 | 1348 | if ($uid AND $account = user_load($uid)) { |
1349 | - // Currently supported preferences |
|
1350 | - $avatar_url = isset($_POST['avatar_url']) ? $_POST['avatar_url'] : (isset($_GET['avatar_url']) ? $_GET['avatar_url'] : NULL); |
|
1351 | - $hide_signatures = isset($_POST['forum_hide_signatures']) ? $_POST['forum_hide_signatures'] : (isset($_GET['forum_hide_signatures']) ? $_GET['forum_hide_signatures'] : NULL); |
|
1352 | - $signature = isset($_POST['signature']) ? $_POST['signature'] : (isset($_GET['signature']) ? $_GET['signature'] : NULL); |
|
1353 | - $post_order = isset($_POST['thread_sort']) ? $_POST['thread_sort'] : (isset($_GET['thread_sort']) ? $_GET['thread_sort'] : NULL); |
|
1354 | - // Update preferences as needed |
|
1355 | - if ($avatar_url) { |
|
1349 | + // Currently supported preferences |
|
1350 | + $avatar_url = isset($_POST['avatar_url']) ? $_POST['avatar_url'] : (isset($_GET['avatar_url']) ? $_GET['avatar_url'] : NULL); |
|
1351 | + $hide_signatures = isset($_POST['forum_hide_signatures']) ? $_POST['forum_hide_signatures'] : (isset($_GET['forum_hide_signatures']) ? $_GET['forum_hide_signatures'] : NULL); |
|
1352 | + $signature = isset($_POST['signature']) ? $_POST['signature'] : (isset($_GET['signature']) ? $_GET['signature'] : NULL); |
|
1353 | + $post_order = isset($_POST['thread_sort']) ? $_POST['thread_sort'] : (isset($_GET['thread_sort']) ? $_GET['thread_sort'] : NULL); |
|
1354 | + // Update preferences as needed |
|
1355 | + if ($avatar_url) { |
|
1356 | 1356 | $avatar_image = file_get_contents($avatar_url); |
1357 | 1357 | if ($avatar_image) { |
1358 | - $image_dir = 'profiles'; |
|
1359 | - $image_path = "{$image_dir}/{$boincuser->id}_avatar.jpg"; |
|
1360 | - $file = file_save_data($avatar_image, $image_path, FILE_EXISTS_REPLACE); |
|
1361 | - if ($file) { |
|
1358 | + $image_dir = 'profiles'; |
|
1359 | + $image_path = "{$image_dir}/{$boincuser->id}_avatar.jpg"; |
|
1360 | + $file = file_save_data($avatar_image, $image_path, FILE_EXISTS_REPLACE); |
|
1361 | + if ($file) { |
|
1362 | 1362 | $profile = new stdClass(); |
1363 | 1363 | $profile->type = 'profile'; |
1364 | 1364 | $profile->language = NULL; |
1365 | 1365 | if ($profile_nid = content_profile_profile_exists($profile, $account->uid)) { |
1366 | - $profile_node = node_load($profile_nid); |
|
1367 | - if ($profile_node) { |
|
1366 | + $profile_node = node_load($profile_nid); |
|
1367 | + if ($profile_node) { |
|
1368 | 1368 | $avatar_image = get_cck_image_object(file_directory_path() . '/' . $image_path, 'field_image', 'profile', TRUE); |
1369 | 1369 | if ($avatar_image) { |
1370 | - $profile_node->field_image[0] = $avatar_image; |
|
1371 | - node_save($profile_node); |
|
1370 | + $profile_node->field_image[0] = $avatar_image; |
|
1371 | + node_save($profile_node); |
|
1372 | 1372 | } |
1373 | 1373 | else { |
1374 | - $error = 'Error saving avatar to profile'; |
|
1374 | + $error = 'Error saving avatar to profile'; |
|
1375 | + } |
|
1375 | 1376 | } |
1376 | - } |
|
1377 | - else { |
|
1377 | + else { |
|
1378 | 1378 | $error = 'Unable to load user profile'; |
1379 | - } |
|
1379 | + } |
|
1380 | 1380 | } |
1381 | 1381 | else { |
1382 | - $error = 'User has no profile, so avatar could not be added'; |
|
1382 | + $error = 'User has no profile, so avatar could not be added'; |
|
1383 | 1383 | } |
1384 | - } |
|
1385 | - else { |
|
1384 | + } |
|
1385 | + else { |
|
1386 | 1386 | $error = 'Unable to save remote image'; |
1387 | - } |
|
1387 | + } |
|
1388 | 1388 | } |
1389 | 1389 | else { |
1390 | - $error = 'Could not find avatar image at URL'; |
|
1390 | + $error = 'Could not find avatar image at URL'; |
|
1391 | 1391 | } |
1392 | - } |
|
1393 | - if ($hide_signatures !== NULL) { |
|
1392 | + } |
|
1393 | + if ($hide_signatures !== NULL) { |
|
1394 | 1394 | user_save($account, array('hide_signatures' => ($hide_signatures ? 1 : 0))); |
1395 | - } |
|
1396 | - if ($signature !== NULL) { |
|
1395 | + } |
|
1396 | + if ($signature !== NULL) { |
|
1397 | 1397 | $signature = check_markup($signature); |
1398 | 1398 | user_save($account, array('signature' => $signature)); |
1399 | - } |
|
1400 | - if ($post_order) { |
|
1399 | + } |
|
1400 | + if ($post_order) { |
|
1401 | 1401 | require_boinc('forum'); |
1402 | 1402 | $post_order_map = array( |
1403 | - CREATE_TIME_OLD => 2, |
|
1404 | - CREATE_TIME_NEW => 1, |
|
1403 | + CREATE_TIME_OLD => 2, |
|
1404 | + CREATE_TIME_NEW => 1, |
|
1405 | 1405 | ); |
1406 | 1406 | $drupal_post_order = isset($post_order_map[$post_order]) ? $post_order_map[$post_order] : 2; |
1407 | 1407 | user_save($account, array('sort' => $drupal_post_order)); |
1408 | - } |
|
1409 | - if (!$error) { |
|
1408 | + } |
|
1409 | + if (!$error) { |
|
1410 | 1410 | // Success |
1411 | 1411 | $xml = array( |
1412 | - 'edit_forum_preferences' => array( |
|
1412 | + 'edit_forum_preferences' => array( |
|
1413 | 1413 | 'success' => NULL, |
1414 | - ), |
|
1414 | + ), |
|
1415 | 1415 | ); |
1416 | - } |
|
1417 | - else { |
|
1416 | + } |
|
1417 | + else { |
|
1418 | 1418 | // Failure |
1419 | 1419 | $xml = array( |
1420 | - 'error' => array( |
|
1420 | + 'error' => array( |
|
1421 | 1421 | 'error_num' => -1, |
1422 | 1422 | 'error_msg' => $error, |
1423 | - ), |
|
1423 | + ), |
|
1424 | 1424 | ); |
1425 | - } |
|
1425 | + } |
|
1426 | 1426 | } |
1427 | 1427 | else { |
1428 | - // Drupal user not found |
|
1429 | - $xml = array( |
|
1428 | + // Drupal user not found |
|
1429 | + $xml = array( |
|
1430 | 1430 | 'error' => array( |
1431 | - 'error_num' => -1, |
|
1432 | - 'error_msg' => 'Unknown error', |
|
1431 | + 'error_num' => -1, |
|
1432 | + 'error_msg' => 'Unknown error', |
|
1433 | 1433 | ), |
1434 | - ); |
|
1434 | + ); |
|
1435 | 1435 | } |
1436 | - } |
|
1437 | - else { |
|
1436 | + } |
|
1437 | + else { |
|
1438 | 1438 | // BOINC user not found |
1439 | 1439 | $xml = array( |
1440 | - 'error' => array( |
|
1440 | + 'error' => array( |
|
1441 | 1441 | 'error_num' => -136, |
1442 | 1442 | 'error_msg' => 'Not found', |
1443 | - ), |
|
1443 | + ), |
|
1444 | 1444 | ); |
1445 | - } |
|
1446 | - print xml_to_text(array_to_xml($xml), TRUE, TRUE); |
|
1445 | + } |
|
1446 | + print xml_to_text(array_to_xml($xml), TRUE, TRUE); |
|
1447 | 1447 | } |
1448 | 1448 | |
1449 | 1449 | /** |
@@ -1451,14 +1451,14 @@ discard block |
||
1451 | 1451 | * Get the last comments OR threads made by a given user |
1452 | 1452 | */ |
1453 | 1453 | function boinccore_forum_get_data() { |
1454 | - // Do not pass through to BOINC in this case as BOINC forums are no longer |
|
1455 | - // relevant -- use Drupal data only |
|
1454 | + // Do not pass through to BOINC in this case as BOINC forums are no longer |
|
1455 | + // relevant -- use Drupal data only |
|
1456 | 1456 | |
1457 | - $xml = array(); |
|
1458 | - $boinc_id = !empty($_POST['userid']) ? $_POST['userid'] : (!empty($_GET['userid']) ? $_GET['userid'] : NULL); |
|
1459 | - $uid = boincuser_lookup_uid($boinc_id); |
|
1457 | + $xml = array(); |
|
1458 | + $boinc_id = !empty($_POST['userid']) ? $_POST['userid'] : (!empty($_GET['userid']) ? $_GET['userid'] : NULL); |
|
1459 | + $uid = boincuser_lookup_uid($boinc_id); |
|
1460 | 1460 | |
1461 | - if ($uid) { |
|
1461 | + if ($uid) { |
|
1462 | 1462 | $method = !empty($_POST['method']) ? $_POST['method'] : (!empty($_GET['method']) ? $_GET['method'] : NULL); |
1463 | 1463 | $count = !empty($_POST['count']) ? $_POST['count'] : (!empty($_GET['count']) ? $_GET['count'] : NULL); |
1464 | 1464 | if (!$count) $count = 10; |
@@ -1466,7 +1466,7 @@ discard block |
||
1466 | 1466 | switch ($method) { |
1467 | 1467 | case 'user_posts': |
1468 | 1468 | $content_length = !empty($_POST['content_length']) ? $_POST['content_length'] : (!empty($_GET['content_length']) ? $_GET['content_length'] : NULL); |
1469 | - $posts = db_query(" |
|
1469 | + $posts = db_query(" |
|
1470 | 1470 | SELECT |
1471 | 1471 | c.cid, |
1472 | 1472 | n.nid, |
@@ -1480,26 +1480,26 @@ discard block |
||
1480 | 1480 | ORDER BY timestamp DESC |
1481 | 1481 | LIMIT %d", |
1482 | 1482 | $uid, (int) $count |
1483 | - ); |
|
1484 | - $xml = array( |
|
1483 | + ); |
|
1484 | + $xml = array( |
|
1485 | 1485 | 'rpc_response' => array( |
1486 | - 'count' => 0, |
|
1487 | - 'posts' => array(), |
|
1486 | + 'count' => 0, |
|
1487 | + 'posts' => array(), |
|
1488 | 1488 | ), |
1489 | - ); |
|
1490 | - $post_count = 0; |
|
1491 | - while ($post = db_fetch_object($posts)) { |
|
1489 | + ); |
|
1490 | + $post_count = 0; |
|
1491 | + while ($post = db_fetch_object($posts)) { |
|
1492 | 1492 | $xml['rpc_response']['posts']['post'][] = array( |
1493 | - 'id' => $post->cid, |
|
1494 | - 'threadid' => $post->nid, |
|
1495 | - 'threadtitle' => $post->title, |
|
1496 | - 'timestamp' => $post->timestamp, |
|
1497 | - 'content' => ($content_length ? substr($post->comment, 0, $content_length) : $post->comment), |
|
1493 | + 'id' => $post->cid, |
|
1494 | + 'threadid' => $post->nid, |
|
1495 | + 'threadtitle' => $post->title, |
|
1496 | + 'timestamp' => $post->timestamp, |
|
1497 | + 'content' => ($content_length ? substr($post->comment, 0, $content_length) : $post->comment), |
|
1498 | 1498 | ); |
1499 | 1499 | $post_count++; |
1500 | - } |
|
1501 | - $xml['rpc_response']['count'] = $post_count; |
|
1502 | - break; |
|
1500 | + } |
|
1501 | + $xml['rpc_response']['count'] = $post_count; |
|
1502 | + break; |
|
1503 | 1503 | |
1504 | 1504 | case 'user_threads': |
1505 | 1505 | $threads = db_query(" |
@@ -1523,45 +1523,45 @@ discard block |
||
1523 | 1523 | ORDER BY changed DESC |
1524 | 1524 | LIMIT %d", |
1525 | 1525 | $uid, (int) $count |
1526 | - ); |
|
1527 | - $xml = array( |
|
1526 | + ); |
|
1527 | + $xml = array( |
|
1528 | 1528 | 'rpc_response' => array( |
1529 | - 'count' => 0, |
|
1530 | - 'threads' => array(), |
|
1529 | + 'count' => 0, |
|
1530 | + 'threads' => array(), |
|
1531 | 1531 | ), |
1532 | - ); |
|
1533 | - $thread_count = 0; |
|
1534 | - while ($thread = db_fetch_object($threads)) { |
|
1532 | + ); |
|
1533 | + $thread_count = 0; |
|
1534 | + while ($thread = db_fetch_object($threads)) { |
|
1535 | 1535 | $xml['rpc_response']['threads']['thread'][] = array( |
1536 | - 'id' => $thread->nid, |
|
1537 | - 'forumid' => $thread->tid, |
|
1538 | - 'replies' => $thread->replies, |
|
1539 | - 'views' => $thread->views, |
|
1540 | - 'timestamp' => $thread->changed, |
|
1541 | - 'title' => $thread->title, |
|
1536 | + 'id' => $thread->nid, |
|
1537 | + 'forumid' => $thread->tid, |
|
1538 | + 'replies' => $thread->replies, |
|
1539 | + 'views' => $thread->views, |
|
1540 | + 'timestamp' => $thread->changed, |
|
1541 | + 'title' => $thread->title, |
|
1542 | 1542 | ); |
1543 | 1543 | $thread_count++; |
1544 | - } |
|
1545 | - $xml['rpc_response']['count'] = $thread_count; |
|
1546 | - break; |
|
1544 | + } |
|
1545 | + $xml['rpc_response']['count'] = $thread_count; |
|
1546 | + break; |
|
1547 | 1547 | default: |
1548 | 1548 | $xml = array( |
1549 | 1549 | 'error' => array( |
1550 | - 'error_num' => -1, |
|
1551 | - 'error_msg' => 'Unknown error', |
|
1550 | + 'error_num' => -1, |
|
1551 | + 'error_msg' => 'Unknown error', |
|
1552 | 1552 | ), |
1553 | - ); |
|
1553 | + ); |
|
1554 | 1554 | } |
1555 | - } |
|
1556 | - else { |
|
1555 | + } |
|
1556 | + else { |
|
1557 | 1557 | $xml = array( |
1558 | - 'error' => array( |
|
1558 | + 'error' => array( |
|
1559 | 1559 | 'error_num' => -136, |
1560 | 1560 | 'error_msg' => 'Not found', |
1561 | - ), |
|
1561 | + ), |
|
1562 | 1562 | ); |
1563 | - } |
|
1564 | - print xml_to_text(array_to_xml($xml), TRUE, TRUE); |
|
1563 | + } |
|
1564 | + print xml_to_text(array_to_xml($xml), TRUE, TRUE); |
|
1565 | 1565 | } |
1566 | 1566 | |
1567 | 1567 | /** |
@@ -1569,9 +1569,9 @@ discard block |
||
1569 | 1569 | * Get information on applications in the system |
1570 | 1570 | */ |
1571 | 1571 | function boinccore_apps() { |
1572 | - // Remove q from the GET request or BOINC will panic |
|
1573 | - unset($_GET['q']); |
|
1574 | - include_boinc('user/apps.php'); |
|
1572 | + // Remove q from the GET request or BOINC will panic |
|
1573 | + unset($_GET['q']); |
|
1574 | + include_boinc('user/apps.php'); |
|
1575 | 1575 | } |
1576 | 1576 | |
1577 | 1577 | /** |
@@ -1581,147 +1581,147 @@ discard block |
||
1581 | 1581 | * controller function, which can compute the page based on the user's settings |
1582 | 1582 | */ |
1583 | 1583 | function boinccore_url_pagination_handler($type, $object_id = NULL) { |
1584 | - global $user; |
|
1585 | - $path = NULL; |
|
1586 | - $params = array(); |
|
1587 | - switch ($type) { |
|
1588 | - case 'boinc-forum': |
|
1584 | + global $user; |
|
1585 | + $path = NULL; |
|
1586 | + $params = array(); |
|
1587 | + switch ($type) { |
|
1588 | + case 'boinc-forum': |
|
1589 | 1589 | // Redirect requests to a BOINC forum to the Drupal forum |
1590 | 1590 | $forum_id = db_result(db_query(' |
1591 | 1591 | SELECT tid |
1592 | 1592 | FROM {boincimport_temp_forum} |
1593 | 1593 | WHERE forum_id = %d', |
1594 | - $object_id |
|
1594 | + $object_id |
|
1595 | 1595 | )); |
1596 | 1596 | if ($forum_id) { |
1597 | - drupal_goto("community/forum/{$forum_id}"); |
|
1597 | + drupal_goto("community/forum/{$forum_id}"); |
|
1598 | 1598 | } |
1599 | 1599 | break; |
1600 | - case 'boinc-forum-index': |
|
1600 | + case 'boinc-forum-index': |
|
1601 | 1601 | // Redirect requests to the top level BOINC forum to Drupal forums |
1602 | 1602 | drupal_goto("community/forum"); |
1603 | 1603 | break; |
1604 | - case 'boinc-forum-post': |
|
1604 | + case 'boinc-forum-post': |
|
1605 | 1605 | // Redirect requests to a BOINC forum post to the Drupal comment |
1606 | 1606 | $cid = db_result(db_query(' |
1607 | 1607 | SELECT cid |
1608 | 1608 | FROM {boincimport_temp_post} |
1609 | 1609 | WHERE post_id = %d', |
1610 | - $object_id |
|
1610 | + $object_id |
|
1611 | 1611 | )); |
1612 | 1612 | if ($cid) { |
1613 | - drupal_goto("goto/comment/{$cid}"); |
|
1613 | + drupal_goto("goto/comment/{$cid}"); |
|
1614 | 1614 | } |
1615 | 1615 | break; |
1616 | - case 'boinc-forum-topic': |
|
1616 | + case 'boinc-forum-topic': |
|
1617 | 1617 | // Redirect requests to a BOINC forum topic to the Drupal node |
1618 | 1618 | $nid = db_result(db_query(' |
1619 | 1619 | SELECT nid |
1620 | 1620 | FROM {boincimport_temp_topic} |
1621 | 1621 | WHERE topic_id = %d', |
1622 | - $object_id |
|
1622 | + $object_id |
|
1623 | 1623 | )); |
1624 | 1624 | if ($nid) { |
1625 | - drupal_goto("node/{$nid}"); |
|
1625 | + drupal_goto("node/{$nid}"); |
|
1626 | 1626 | } |
1627 | 1627 | break; |
1628 | - case 'boinc-host': |
|
1628 | + case 'boinc-host': |
|
1629 | 1629 | // Redirect requests to BOINC host details to the host page in Drupal |
1630 | 1630 | drupal_goto("host/{$object_id}"); |
1631 | 1631 | break; |
1632 | - case 'boinc-hosts-user': |
|
1632 | + case 'boinc-hosts-user': |
|
1633 | 1633 | // Redirect requests to a BOINC user host list to the host list in Drupal |
1634 | 1634 | $uid = boincuser_lookup_uid($object_id); |
1635 | 1635 | if ($uid) { |
1636 | - drupal_goto("account/{$uid}/computers"); |
|
1636 | + drupal_goto("account/{$uid}/computers"); |
|
1637 | 1637 | } |
1638 | 1638 | break; |
1639 | - case 'boinc-result': |
|
1639 | + case 'boinc-result': |
|
1640 | 1640 | // Redirect requests to BOINC task details to the task page in Drupal |
1641 | 1641 | drupal_goto("task/{$object_id}"); |
1642 | - case 'boinc-results-host': |
|
1642 | + case 'boinc-results-host': |
|
1643 | 1643 | // Redirect requests to BOINC tasks by host to the host task page in Drupal |
1644 | 1644 | drupal_goto("host/{$object_id}/tasks"); |
1645 | 1645 | break; |
1646 | - case 'boinc-results-user': |
|
1646 | + case 'boinc-results-user': |
|
1647 | 1647 | // Redirect requests to a BOINC user's tasks to the Drupal account tasks |
1648 | 1648 | drupal_goto("account/tasks"); |
1649 | 1649 | break; |
1650 | - case 'boinc-user': |
|
1650 | + case 'boinc-user': |
|
1651 | 1651 | // Redirect requests to a BOINC user ID to the Drupal profile |
1652 | 1652 | $uid = boincuser_lookup_uid($object_id); |
1653 | 1653 | if ($uid) { |
1654 | - drupal_goto("account/{$uid}"); |
|
1654 | + drupal_goto("account/{$uid}"); |
|
1655 | 1655 | } |
1656 | 1656 | break; |
1657 | - case 'boinc-workunit': |
|
1657 | + case 'boinc-workunit': |
|
1658 | 1658 | // Redirect requests to BOINC workunits to the workunit page in Drupal |
1659 | 1659 | drupal_goto("workunit/{$object_id}"); |
1660 | 1660 | break; |
1661 | - case 'comment': |
|
1661 | + case 'comment': |
|
1662 | 1662 | $object = _comment_load($object_id); |
1663 | 1663 | if ($object) { |
1664 | - $path = "node/{$object->nid}"; |
|
1665 | - // Get the sort order |
|
1666 | - $gt_lt = '<'; |
|
1667 | - $comment_order = (isset($user->sort)) ? $user->sort : variable_get('comment_default_order_forum', 2); |
|
1668 | - if ($comment_order == COMMENT_ORDER_NEWEST_FIRST) { |
|
1664 | + $path = "node/{$object->nid}"; |
|
1665 | + // Get the sort order |
|
1666 | + $gt_lt = '<'; |
|
1667 | + $comment_order = (isset($user->sort)) ? $user->sort : variable_get('comment_default_order_forum', 2); |
|
1668 | + if ($comment_order == COMMENT_ORDER_NEWEST_FIRST) { |
|
1669 | 1669 | $gt_lt = '>'; |
1670 | - } |
|
1671 | - // don't filter hidden comments for admins/mods |
|
1672 | - $include_hidden = ''; |
|
1673 | - if (in_array('administrator', array_values($user->roles)) || |
|
1670 | + } |
|
1671 | + // don't filter hidden comments for admins/mods |
|
1672 | + $include_hidden = ''; |
|
1673 | + if (in_array('administrator', array_values($user->roles)) || |
|
1674 | 1674 | in_array('moderator', array_values($user->roles))) { |
1675 | 1675 | $include_hidden = 'OR status = 1'; |
1676 | - } |
|
1677 | - // See how many comments there are before (or after) this comment... |
|
1678 | - $comment_offset = db_result(db_query(' |
|
1676 | + } |
|
1677 | + // See how many comments there are before (or after) this comment... |
|
1678 | + $comment_offset = db_result(db_query(' |
|
1679 | 1679 | SELECT COUNT(*) FROM {comments} |
1680 | 1680 | WHERE nid = %d AND (status = 0 %s) AND timestamp %s %d', |
1681 | 1681 | $object->nid, $include_hidden, $gt_lt, $object->timestamp)); |
1682 | - if ($comment_offset) { |
|
1682 | + if ($comment_offset) { |
|
1683 | 1683 | // Get the number of comments per page |
1684 | 1684 | if ($user->comments_per_page) { |
1685 | - $comments_per_page = $user->comments_per_page; |
|
1685 | + $comments_per_page = $user->comments_per_page; |
|
1686 | 1686 | } |
1687 | 1687 | else { |
1688 | - $node = node_load($object->nid); |
|
1689 | - $comments_per_page = variable_get( |
|
1688 | + $node = node_load($object->nid); |
|
1689 | + $comments_per_page = variable_get( |
|
1690 | 1690 | "comment_default_per_page_{$node->type}", 50 |
1691 | - ); |
|
1691 | + ); |
|
1692 | 1692 | } |
1693 | 1693 | // Determine which page to display in order to show the given comment |
1694 | 1694 | $page = floor($comment_offset / $comments_per_page); |
1695 | 1695 | if ($page) { |
1696 | - $params = array('page' => $page); |
|
1696 | + $params = array('page' => $page); |
|
1697 | + } |
|
1697 | 1698 | } |
1698 | - } |
|
1699 | 1699 | } |
1700 | 1700 | if ($path) { |
1701 | - drupal_goto($path, $params, "comment-{$object->cid}"); |
|
1701 | + drupal_goto($path, $params, "comment-{$object->cid}"); |
|
1702 | 1702 | } |
1703 | 1703 | break; |
1704 | - case 'friend-requests': |
|
1704 | + case 'friend-requests': |
|
1705 | 1705 | // Check for a login, then redirect to the user's friend requests page |
1706 | 1706 | if ($user->uid) { |
1707 | - drupal_goto("account/{$user->uid}/friends/pending"); |
|
1707 | + drupal_goto("account/{$user->uid}/friends/pending"); |
|
1708 | 1708 | } |
1709 | 1709 | else { |
1710 | - drupal_goto('user/login', array( |
|
1710 | + drupal_goto('user/login', array( |
|
1711 | 1711 | 'destination' => 'goto/friend-requests' |
1712 | - )); |
|
1712 | + )); |
|
1713 | 1713 | } |
1714 | 1714 | break; |
1715 | - default: |
|
1715 | + default: |
|
1716 | 1716 | } |
1717 | - drupal_not_found(); |
|
1717 | + drupal_not_found(); |
|
1718 | 1718 | } |
1719 | 1719 | |
1720 | 1720 | /* |
1721 | 1721 | * Fetch an array of all countries |
1722 | 1722 | */ |
1723 | 1723 | function boinccore_get_country_list() { |
1724 | - return array( |
|
1724 | + return array( |
|
1725 | 1725 | 'None' => 'None', |
1726 | 1726 | 'International' => 'International', |
1727 | 1727 | 'Afghanistan' => 'Afghanistan', |
@@ -1955,7 +1955,7 @@ discard block |
||
1955 | 1955 | 'Yemen' => 'Yemen', |
1956 | 1956 | 'Zambia' => 'Zambia', |
1957 | 1957 | 'Zimbabwe' => 'Zimbabwe', |
1958 | - ); |
|
1958 | + ); |
|
1959 | 1959 | } |
1960 | 1960 | |
1961 | 1961 | |
@@ -1967,46 +1967,46 @@ discard block |
||
1967 | 1967 | * Action: Mark node for moderation |
1968 | 1968 | */ |
1969 | 1969 | function boinccore_rules_action_mark_content_for_moderation($node) { |
1970 | - $node->moderate = 1; |
|
1971 | - return array('node' => $node); |
|
1970 | + $node->moderate = 1; |
|
1971 | + return array('node' => $node); |
|
1972 | 1972 | } |
1973 | 1973 | |
1974 | 1974 | /** |
1975 | 1975 | * Action: Send mail to moderators. |
1976 | 1976 | */ |
1977 | 1977 | function boinccore_rules_action_mail_to_moderators($settings) { |
1978 | - module_load_include('inc', 'rules', 'modules/system.rules'); |
|
1979 | - $mailing_list = variable_get('boinc_moderator_mailing_list', ''); |
|
1980 | - $force_individual_notifications = variable_get('boinc_moderator_force_individual_notifications', 0); |
|
1978 | + module_load_include('inc', 'rules', 'modules/system.rules'); |
|
1979 | + $mailing_list = variable_get('boinc_moderator_mailing_list', ''); |
|
1980 | + $force_individual_notifications = variable_get('boinc_moderator_force_individual_notifications', 0); |
|
1981 | 1981 | |
1982 | - if (!$mailing_list OR $force_individual_notifications) { |
|
1982 | + if (!$mailing_list OR $force_individual_notifications) { |
|
1983 | 1983 | // Send individual emails to all moderators |
1984 | 1984 | $roles = user_roles(); |
1985 | 1985 | $moderator_rid = array_search('moderator', $roles); |
1986 | 1986 | if ($moderator_rid !== FALSE) { |
1987 | - $settings['recipients'] = array($moderator_rid); |
|
1988 | - rules_action_mail_to_users_of_role($settings); |
|
1987 | + $settings['recipients'] = array($moderator_rid); |
|
1988 | + rules_action_mail_to_users_of_role($settings); |
|
1989 | 1989 | } |
1990 | 1990 | else { |
1991 | - watchdog( |
|
1991 | + watchdog( |
|
1992 | 1992 | 'boinccore', |
1993 | 1993 | 'Unable to identify members of the moderator role to send moderator notifications!', |
1994 | 1994 | array(), |
1995 | 1995 | WATCHDOG_ERROR |
1996 | - ); |
|
1996 | + ); |
|
1997 | 1997 | } |
1998 | - } |
|
1999 | - if ($mailing_list) { |
|
1998 | + } |
|
1999 | + if ($mailing_list) { |
|
2000 | 2000 | $settings['to'] = $mailing_list; |
2001 | 2001 | rules_action_mail($settings); |
2002 | - } |
|
2002 | + } |
|
2003 | 2003 | } |
2004 | 2004 | /** |
2005 | 2005 | * Action "Send mail to moderators" configuration form |
2006 | 2006 | */ |
2007 | 2007 | function boinccore_rules_action_mail_to_moderators_form($settings = array(), &$form) { |
2008 | - // Select only non-anonymous user roles because anonymous users won't have emails. |
|
2009 | - rules_action_mail_to_user_form($settings, $form); |
|
2008 | + // Select only non-anonymous user roles because anonymous users won't have emails. |
|
2009 | + rules_action_mail_to_user_form($settings, $form); |
|
2010 | 2010 | } |
2011 | 2011 | |
2012 | 2012 | |
@@ -2014,27 +2014,27 @@ discard block |
||
2014 | 2014 | * Action: Send mail to admins. |
2015 | 2015 | */ |
2016 | 2016 | function boinccore_rules_action_mail_to_admins($settings) { |
2017 | - module_load_include('inc', 'rules', 'modules/system.rules'); |
|
2018 | - $mailing_list = variable_get('boinc_admin_mailing_list', ''); |
|
2019 | - if (empty($mailing_list)) { |
|
2017 | + module_load_include('inc', 'rules', 'modules/system.rules'); |
|
2018 | + $mailing_list = variable_get('boinc_admin_mailing_list', ''); |
|
2019 | + if (empty($mailing_list)) { |
|
2020 | 2020 | $mailing_list = variable_get('site_mail', ''); |
2021 | 2021 | if (empty($mailing_list)) { |
2022 | - watchdog('boinccore', |
|
2022 | + watchdog('boinccore', |
|
2023 | 2023 | 'Attempting to email administrators, but there is no admin email list or site email to send to.', array(), |
2024 | 2024 | WATCHDOG_ERROR |
2025 | - ); |
|
2026 | - return FALSE; |
|
2025 | + ); |
|
2026 | + return FALSE; |
|
2027 | 2027 | } |
2028 | - } |
|
2029 | - $settings['to'] = $mailing_list; |
|
2030 | - rules_action_mail($settings); |
|
2028 | + } |
|
2029 | + $settings['to'] = $mailing_list; |
|
2030 | + rules_action_mail($settings); |
|
2031 | 2031 | } |
2032 | 2032 | |
2033 | 2033 | /** |
2034 | 2034 | * Action "Send mail to admins" configuration form |
2035 | 2035 | */ |
2036 | 2036 | function boinccore_rules_action_mail_to_admins_form($settings = array(), &$form) { |
2037 | - rules_action_mail_to_user_form($settings, $form); |
|
2037 | + rules_action_mail_to_user_form($settings, $form); |
|
2038 | 2038 | } |
2039 | 2039 | |
2040 | 2040 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * |
@@ -2045,33 +2045,33 @@ discard block |
||
2045 | 2045 | * BOINC wrapper for string translation |
2046 | 2046 | */ |
2047 | 2047 | function bts($string, $args = array(), $langcode = NULL, $context = 'boinc: ', $update = TRUE) { |
2048 | - if (function_exists('i18nstrings_ts')) { |
|
2048 | + if (function_exists('i18nstrings_ts')) { |
|
2049 | 2049 | $string = i18nstrings_ts($context, $string, $langcode, $update); |
2050 | - } |
|
2051 | - if (empty($args)) { |
|
2050 | + } |
|
2051 | + if (empty($args)) { |
|
2052 | 2052 | return $string; |
2053 | - } |
|
2054 | - else { |
|
2053 | + } |
|
2054 | + else { |
|
2055 | 2055 | // Transform arguments before inserting them. |
2056 | 2056 | foreach ($args as $key => $value) { |
2057 | - switch ($key [0]) { |
|
2057 | + switch ($key [0]) { |
|
2058 | 2058 | case '@': |
2059 | 2059 | // Escaped only. |
2060 | 2060 | $args [$key] = check_plain($value); |
2061 | - break; |
|
2061 | + break; |
|
2062 | 2062 | |
2063 | 2063 | case '%': |
2064 | 2064 | default: |
2065 | 2065 | // Escaped and placeholder. |
2066 | 2066 | $args [$key] = theme('placeholder', $value); |
2067 | - break; |
|
2067 | + break; |
|
2068 | 2068 | |
2069 | 2069 | case '!': |
2070 | 2070 | // Pass-through. |
2071 | 2071 | } |
2072 | 2072 | } |
2073 | 2073 | return strtr($string, $args); |
2074 | - } |
|
2074 | + } |
|
2075 | 2075 | } |
2076 | 2076 | |
2077 | 2077 | |
@@ -2083,9 +2083,9 @@ discard block |
||
2083 | 2083 | * Overview of moderation queues |
2084 | 2084 | */ |
2085 | 2085 | function boinccore_moderation_overview_panel() { |
2086 | - $output = '<h2 class="pane-title">' . bts('Moderation', array(), NULL, 'boinc:moderate-profiles') . '</h2>'; |
|
2087 | - $output .= '<ul class="tab-list action-list">'; |
|
2088 | - if (module_exists('user_profiles')) { |
|
2086 | + $output = '<h2 class="pane-title">' . bts('Moderation', array(), NULL, 'boinc:moderate-profiles') . '</h2>'; |
|
2087 | + $output .= '<ul class="tab-list action-list">'; |
|
2088 | + if (module_exists('user_profiles')) { |
|
2089 | 2089 | $profile_count = db_result(db_query(" |
2090 | 2090 | SELECT COUNT(DISTINCT(n.nid)) |
2091 | 2091 | FROM {node} n |
@@ -2097,9 +2097,9 @@ discard block |
||
2097 | 2097 | $output .= '<span class="item-count">' . $profile_count . '</span>'; |
2098 | 2098 | $output .= '</div>'; |
2099 | 2099 | $output .= '</li>'; |
2100 | - } |
|
2101 | - $output .= '</ul>'; |
|
2102 | - return $output; |
|
2100 | + } |
|
2101 | + $output .= '</ul>'; |
|
2102 | + return $output; |
|
2103 | 2103 | } |
2104 | 2104 | |
2105 | 2105 | |
@@ -2109,10 +2109,10 @@ discard block |
||
2109 | 2109 | * |
2110 | 2110 | */ |
2111 | 2111 | function _boinccore_delete_expired_tokens() { |
2112 | - require_boinc('boinc_db'); |
|
2112 | + require_boinc('boinc_db'); |
|
2113 | 2113 | |
2114 | - $num_deleted = BoincToken::delete_expired(); |
|
2115 | - if ($num_deleted>0) { |
|
2114 | + $num_deleted = BoincToken::delete_expired(); |
|
2115 | + if ($num_deleted>0) { |
|
2116 | 2116 | watchdog('boinccore', "Deleted ${num_deleted} tokens from table token", WATCHDOG_NOTICE); |
2117 | - } |
|
2117 | + } |
|
2118 | 2118 | } |