Commit ca67b654 authored by Oliver Bock's avatar Oliver Bock

Normalized line breaks (CRLF->LF)

parent ee3e7e0e
......@@ -892,16 +892,16 @@ function boinc_standard_strongarm() {
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'user_mail_password_reset_body';
$strongarm->value = '!username,
A request to reset the password for your account has been made at !site.
You may now log in to !uri_brief by clicking on this link or copying and pasting it in your browser:
!login_url
This is a one-time login, so it can be used only once. It expires after one day and nothing will happen if it\'s not used.
$strongarm->value = '!username,
A request to reset the password for your account has been made at !site.
You may now log in to !uri_brief by clicking on this link or copying and pasting it in your browser:
!login_url
This is a one-time login, so it can be used only once. It expires after one day and nothing will happen if it\'s not used.
After logging in, you will be redirected to !edit_uri so you can change your password.';
$export['user_mail_password_reset_body'] = $strongarm;
......@@ -916,22 +916,22 @@ After logging in, you will be redirected to !edit_uri so you can change your pas
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'user_mail_register_admin_created_body';
$strongarm->value = '!username,
A site administrator at !site has created an account for you. You may now log in to !login_uri using the following username and password:
username: !username
password: !password
You may also log in by clicking on this link or copying and pasting it in your browser:
!login_url
This is a one-time login, so it can be used only once.
After logging in, you will be redirected to !edit_uri so you can change your password.
$strongarm->value = '!username,
A site administrator at !site has created an account for you. You may now log in to !login_uri using the following username and password:
username: !username
password: !password
You may also log in by clicking on this link or copying and pasting it in your browser:
!login_url
This is a one-time login, so it can be used only once.
After logging in, you will be redirected to !edit_uri so you can change your password.
-- !site team';
$export['user_mail_register_admin_created_body'] = $strongarm;
......@@ -946,22 +946,22 @@ After logging in, you will be redirected to !edit_uri so you can change your pas
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'user_mail_register_no_approval_required_body';
$strongarm->value = '!username,
Thank you for registering at !site. You may now log in to !login_uri using the following username and password:
username: !username
password: !password
You may also log in by clicking on this link or copying and pasting it in your browser:
!login_url
This is a one-time login, so it can be used only once.
After logging in, you will be redirected to !edit_uri so you can change your password.
$strongarm->value = '!username,
Thank you for registering at !site. You may now log in to !login_uri using the following username and password:
username: !username
password: !password
You may also log in by clicking on this link or copying and pasting it in your browser:
!login_url
This is a one-time login, so it can be used only once.
After logging in, you will be redirected to !edit_uri so you can change your password.
-- !site team';
$export['user_mail_register_no_approval_required_body'] = $strongarm;
......@@ -976,11 +976,11 @@ After logging in, you will be redirected to !edit_uri so you can change your pas
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'user_mail_register_pending_approval_body';
$strongarm->value = '!username,
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.
$strongarm->value = '!username,
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.
-- !site team';
$export['user_mail_register_pending_approval_body'] = $strongarm;
......@@ -995,21 +995,21 @@ Thank you for registering at !site. Your application for an account is currently
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'user_mail_status_activated_body';
$strongarm->value = '!username,
Your account at !site has been activated.
You may now log in by clicking on this link or copying and pasting it in your browser:
!login_url
This is a one-time login, so it can be used only once.
After logging in, you will be redirected to !edit_uri so you can change your password.
Once you have set your own password, you will be able to log in to !login_uri in the future using:
username: !username
$strongarm->value = '!username,
Your account at !site has been activated.
You may now log in by clicking on this link or copying and pasting it in your browser:
!login_url
This is a one-time login, so it can be used only once.
After logging in, you will be redirected to !edit_uri so you can change your password.
Once you have set your own password, you will be able to log in to !login_uri in the future using:
username: !username
';
$export['user_mail_status_activated_body'] = $strongarm;
......@@ -1031,8 +1031,8 @@ username: !username
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'user_mail_status_blocked_body';
$strongarm->value = '!username,
$strongarm->value = '!username,
Your account on !site has been blocked.';
$export['user_mail_status_blocked_body'] = $strongarm;
......@@ -1054,8 +1054,8 @@ Your account on !site has been blocked.';
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'user_mail_status_deleted_body';
$strongarm->value = '!username,
$strongarm->value = '!username,
Your account on !site has been deleted.';
$export['user_mail_status_deleted_body'] = $strongarm;
......
......@@ -19,26 +19,26 @@ function discussion_forums_default_fe_block_settings() {
'custom' => '0',
'throttle' => '0',
'visibility' => '2',
'pages' => '<?php
// Only show if $match is true
$match = FALSE;
// Which node types
$types = array(\'forum\', \'team_forum\');
// Match current node type with array of types
if (arg(0) == \'node\' && is_numeric(arg(1))) {
$nid = arg(1);
$node = node_load(array(\'nid\' => $nid));
$type = $node->type;
$match |= in_array($type, $types);
// Don\'t show if comments aren\'t enabled...
if ($node->comment != 2) {
$match = FALSE;
}
}
return $match;
'pages' => '<?php
// Only show if $match is true
$match = FALSE;
// Which node types
$types = array(\'forum\', \'team_forum\');
// Match current node type with array of types
if (arg(0) == \'node\' && is_numeric(arg(1))) {
$nid = arg(1);
$node = node_load(array(\'nid\' => $nid));
$type = $node->type;
$match |= in_array($type, $types);
// Don\'t show if comments aren\'t enabled...
if ($node->comment != 2) {
$match = FALSE;
}
}
return $match;
?>',
'title' => '',
'cache' => '1',
......@@ -59,26 +59,26 @@ function discussion_forums_default_fe_block_settings() {
'custom' => '0',
'throttle' => '0',
'visibility' => '2',
'pages' => '<?php
// Only show if $match is true
$match = FALSE;
// Which node types
$types = array(\'forum\', \'team_forum\');
// Match current node type with array of types
if (arg(0) == \'node\' && is_numeric(arg(1))) {
$nid = arg(1);
$node = node_load(array(\'nid\' => $nid));
$type = $node->type;
$match |= in_array($type, $types);
// Don\'t show if comments aren\'t enabled...
if ($node->comment != 2) {
$match = FALSE;
}
}
return $match;
'pages' => '<?php
// Only show if $match is true
$match = FALSE;
// Which node types
$types = array(\'forum\', \'team_forum\');
// Match current node type with array of types
if (arg(0) == \'node\' && is_numeric(arg(1))) {
$nid = arg(1);
$node = node_load(array(\'nid\' => $nid));
$type = $node->type;
$match |= in_array($type, $types);
// Don\'t show if comments aren\'t enabled...
if ($node->comment != 2) {
$match = FALSE;
}
}
return $match;
?>',
'title' => '',
'cache' => '1',
......@@ -99,26 +99,26 @@ function discussion_forums_default_fe_block_settings() {
'custom' => '0',
'throttle' => '0',
'visibility' => '2',
'pages' => '<?php
// Only show if $match is true
$match = FALSE;
// Which node types
$types = array(\'forum\', \'team_forum\');
// Match current node type with array of types
if (arg(0) == \'node\' && is_numeric(arg(1))) {
$nid = arg(1);
$node = node_load(array(\'nid\' => $nid));
$type = $node->type;
$match |= in_array($type, $types);
// Don\'t show if comments aren\'t enabled...
if ($node->comment != 2) {
$match = FALSE;
}
}
return $match;
'pages' => '<?php
// Only show if $match is true
$match = FALSE;
// Which node types
$types = array(\'forum\', \'team_forum\');
// Match current node type with array of types
if (arg(0) == \'node\' && is_numeric(arg(1))) {
$nid = arg(1);
$node = node_load(array(\'nid\' => $nid));
$type = $node->type;
$match |= in_array($type, $types);
// Don\'t show if comments aren\'t enabled...
if ($node->comment != 2) {
$match = FALSE;
}
}
return $match;
?>',
'title' => '',
'cache' => '1',
......
......@@ -19,22 +19,22 @@ function news_default_fe_block_settings() {
'custom' => '0',
'throttle' => '0',
'visibility' => '2',
'pages' => '<?php
// Only show if $match is true
$match = FALSE;
// Which node types
$types = array(\'news\');
// Match current node type with array of types
if (arg(0) == \'node\' && is_numeric(arg(1))) {
$nid = arg(1);
$node = node_load(array(\'nid\' => $nid));
$type = $node->type;
$match |= in_array($type, $types);
}
return $match;
'pages' => '<?php
// Only show if $match is true
$match = FALSE;
// Which node types
$types = array(\'news\');
// Match current node type with array of types
if (arg(0) == \'node\' && is_numeric(arg(1))) {
$nid = arg(1);
$node = node_load(array(\'nid\' => $nid));
$type = $node->type;
$match |= in_array($type, $types);
}
return $match;
?>',
'title' => '',
'cache' => '1',
......@@ -55,22 +55,22 @@ function news_default_fe_block_settings() {
'custom' => '0',
'throttle' => '0',
'visibility' => '2',
'pages' => '<?php
// Only show if $match is true
$match = FALSE;
// Which node types
$types = array(\'news\');
// Match current node type with array of types
if (arg(0) == \'node\' && is_numeric(arg(1))) {
$nid = arg(1);
$node = node_load(array(\'nid\' => $nid));
$type = $node->type;
$match |= in_array($type, $types);
}
return $match;
'pages' => '<?php
// Only show if $match is true
$match = FALSE;
// Which node types
$types = array(\'news\');
// Match current node type with array of types
if (arg(0) == \'node\' && is_numeric(arg(1))) {
$nid = arg(1);
$node = node_load(array(\'nid\' => $nid));
$type = $node->type;
$match |= in_array($type, $types);
}
return $match;
?>',
'title' => '',
'cache' => '1',
......@@ -91,22 +91,22 @@ function news_default_fe_block_settings() {
'custom' => '0',
'throttle' => '0',
'visibility' => '2',
'pages' => '<?php
// Only show if $match is true
$match = FALSE;
// Which node types
$types = array(\'news\');
// Match current node type with array of types
if (arg(0) == \'node\' && is_numeric(arg(1))) {
$nid = arg(1);
$node = node_load(array(\'nid\' => $nid));
$type = $node->type;
$match |= in_array($type, $types);
}
return $match;
'pages' => '<?php
// Only show if $match is true
$match = FALSE;
// Which node types
$types = array(\'news\');
// Match current node type with array of types
if (arg(0) == \'node\' && is_numeric(arg(1))) {
$nid = arg(1);
$node = node_load(array(\'nid\' => $nid));
$type = $node->type;
$match |= in_array($type, $types);
}
return $match;
?>',
'title' => '',
'cache' => '1',
......
......@@ -349,8 +349,8 @@ function teams_views_default_views() {
'hide_empty' => 0,
'empty_zero' => 0,
'hide_alter_empty' => 1,
'value' => '<?php
echo boincuser_lookup_uid($data->id);
'value' => '<?php
echo boincuser_lookup_uid($data->id);
?>',
'exclude' => 1,
'id' => 'phpcode',
......@@ -820,8 +820,8 @@ function teams_views_default_views() {
'hide_empty' => 0,
'empty_zero' => 0,
'hide_alter_empty' => 1,
'value' => '<?php
echo boincuser_lookup_uid($data->id);
'value' => '<?php
echo boincuser_lookup_uid($data->id);
?>',
'exclude' => 1,
'id' => 'phpcode_2',
......
......@@ -152,18 +152,18 @@ function user_account_host_list_views_default_views() {
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'value' => '<?php
require_boinc(\'stats_sites\');
global $host_sites;
$x = "";
foreach ($host_sites as $h) {
$url = $h[0];
$name = $h[1];
$img = $h[2];
$site_img = theme_image("sites/all/themes/einstein/shared/{$img}", $name, $name);
$x .= l($site_img, $url . $data->host_host_cpid, array(\'html\' => TRUE));
}
echo "Cross-project stats: {$x}";
'value' => '<?php
require_boinc(\'stats_sites\');
global $host_sites;
$x = "";
foreach ($host_sites as $h) {
$url = $h[0];
$name = $h[1];
$img = $h[2];
$site_img = theme_image("sites/all/themes/einstein/shared/{$img}", $name, $name);
$x .= l($site_img, $url . $data->host_host_cpid, array(\'html\' => TRUE));
}
echo "Cross-project stats: {$x}";
?>',
'exclude' => 0,
'id' => 'phpcode_4',
......@@ -366,9 +366,9 @@ function user_account_host_list_views_default_views() {
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'value' => '<?php
require_boinc(\'host\');
echo boinc_version($data->host_serialnum);
'value' => '<?php
require_boinc(\'host\');
echo boinc_version($data->host_serialnum);
?>',
'exclude' => 0,
'id' => 'phpcode',
......@@ -486,9 +486,9 @@ function user_account_host_list_views_default_views() {
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'value' => '<?php
require_boinc(\'host\');
echo gpu_desc($data->host_serialnum);
'value' => '<?php
require_boinc(\'host\');
echo gpu_desc($data->host_serialnum);
?>',
'exclude' => 0,
'id' => 'phpcode_1',
......@@ -1443,10 +1443,10 @@ function user_account_host_list_views_default_views() {
),
'default_argument_user' => 0,
'default_argument_fixed' => '',
'default_argument_php' => 'if (arg(0) == \'account\' AND arg(1) == \'prefs\') {
$venue = arg(4);
if ($venue == \'default\') $venue = null;
}
'default_argument_php' => 'if (arg(0) == \'account\' AND arg(1) == \'prefs\') {
$venue = arg(4);
if ($venue == \'default\') $venue = null;
}
return $venue;',
'validate_argument_node_type' => array(
'forum' => 0,
......
......@@ -110,238 +110,238 @@ function user_profiles_content_default_fields() {
'active' => '1',
'text_processing' => '0',
'max_length' => '',
'allowed_values' => 'None|None
International|International
Afghanistan|Afghanistan
Albania|Albania
Algeria|Algeria
American Samoa|American Samoa
Andorra|Andorra
Angola|Angola
Anguilla|Anguilla
Antarctica|Antarctica
Antigua and Barbuda|Antigua and Barbuda
Argentina|Argentina
Armenia|Armenia
Aruba|Aruba
Australia|Australia
Austria|Austria
Azerbaijan|Azerbaijan
Bahamas, The|Bahamas, The
Bahrain|Bahrain
Bangladesh|Bangladesh
Barbados|Barbados
Belarus|Belarus
Belgium|Belgium
Belize|Belize
Benin|Benin
Bermuda|Bermuda
Bhutan|Bhutan
Bolivia|Bolivia
Bosnia and Herzegovina|Bosnia and Herzegovina
Botswana|Botswana
Brazil|Brazil
British Virgin Islands|British Virgin Islands
Brunei|Brunei
Bulgaria|Bulgaria
Burkina Faso|Burkina Faso
Burma|Burma
Burundi|Burundi
Cambodia|Cambodia
Cameroon|Cameroon
Canada|Canada
Cape Verde|Cape Verde
Cayman Islands|Cayman Islands
Central African Republic|Central African Republic
Chad|Chad
Channel Islands|Channel Islands
Chile|Chile
China|China
Colombia|Colombia
Comoros|Comoros
Congo, Democratic Republic of the|Congo, Democratic Republic of the
Congo, Republic of the|Congo, Republic of the
Cook Islands|Cook Islands
Costa Rica|Costa Rica
Cote d\'Ivoire|Cote d\'Ivoire
Croatia|Croatia
Cuba|Cuba
Cyprus|Cyprus
Czech Republic|Czech Republic
Denmark|Denmark
Djibouti|Djibouti
Dominica|Dominica
Dominican Republic|Dominican Republic
East Timor|East Timor
Ecuador|Ecuador
Egypt|Egypt
El Salvador|El Salvador
Equatorial Guinea|Equatorial Guinea
Eritrea|Eritrea
Estonia|Estonia
Ethiopia|Ethiopia
Falkland Islands|Falkland Islands
Faroe Islands|Faroe Islands
Fiji|Fiji
Finland|Finland
France|France
French Guiana|French Guiana
French Polynesia|French Polynesia
Gabon|Gabon
Gambia, The|Gambia, The
Gaza Strip|Gaza Strip
Georgia|Georgia
Germany|Germany
Ghana|Ghana
Gibraltar|Gibraltar
Greece|Greece
Greenland|Greenland