mirror of https://github.com/BOINC/boinc.git
Drupal: Modified boinc_standard Feature to include new bbcode parameter.
Set defaults of bbcode parameters to rewrite email addresses, and not encode them.
This commit is contained in:
parent
2858e3f98d
commit
7e5d228786
|
@ -179,6 +179,8 @@ features[variable][] = "bbcode_make_links_4"
|
|||
features[variable][] = "bbcode_make_links_6"
|
||||
features[variable][] = "bbcode_paragraph_breaks_4"
|
||||
features[variable][] = "bbcode_paragraph_breaks_6"
|
||||
features[variable][] = "bbcode_rewrite_email_4"
|
||||
features[variable][] = "bbcode_rewrite_email_6"
|
||||
features[variable][] = "boinctranslate_filter_debug_4"
|
||||
features[variable][] = "boinctranslate_filter_nodetypes"
|
||||
features[variable][] = "comment_anonymous_page"
|
||||
|
|
|
@ -111,7 +111,9 @@ function boinc_standard_input_formats() {
|
|||
// Spam link deterrent
|
||||
'bbcode_filter_nofollow' => '0',
|
||||
// Email address encoding
|
||||
'bbcode_encode_mailto' => '1',
|
||||
'bbcode_encode_mailto' => '0',
|
||||
// Email address rewrite
|
||||
'bbcode_rewrite_email' => '1',
|
||||
// Smart paragraph and line breaks
|
||||
'bbcode_paragraph_breaks' => '2',
|
||||
// Print debugging info
|
||||
|
|
|
@ -31,14 +31,14 @@ function boinc_standard_strongarm() {
|
|||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'bbcode_encode_mailto_4';
|
||||
$strongarm->value = '1';
|
||||
$strongarm->value = '0';
|
||||
$export['bbcode_encode_mailto_4'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass;
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'bbcode_encode_mailto_6';
|
||||
$strongarm->value = '1';
|
||||
$strongarm->value = '0';
|
||||
$export['bbcode_encode_mailto_6'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass;
|
||||
|
@ -83,6 +83,20 @@ function boinc_standard_strongarm() {
|
|||
$strongarm->value = '2';
|
||||
$export['bbcode_paragraph_breaks_6'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass;
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'bbcode_rewrite_email_4';
|
||||
$strongarm->value = '1';
|
||||
$export['bbcode_rewrite_email_4'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass;
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'bbcode_rewrite_email_6';
|
||||
$strongarm->value = '1';
|
||||
$export['bbcode_rewrite_email_6'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass;
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
|
|
Loading…
Reference in New Issue