Completed
Push — master ( 39c101...9585a5 )
by Christian
09:45
created
drupal/sites/default/boinc/themes/boinc/theme-settings.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -15,42 +15,42 @@
 block discarded – undo
15 15
  */
16 16
 function boinc_settings($saved_settings) {
17 17
 
18
-  // Get the default values from the .info file.
19
-  $defaults = zen_theme_get_default_settings('boinc');
18
+    // Get the default values from the .info file.
19
+    $defaults = zen_theme_get_default_settings('boinc');
20 20
 
21
-  // Merge the saved variables and their default values.
22
-  $settings = array_merge($defaults, $saved_settings);
21
+    // Merge the saved variables and their default values.
22
+    $settings = array_merge($defaults, $saved_settings);
23 23
 
24
-  /*
24
+    /*
25 25
    * Create the form using Forms API: http://api.drupal.org/api/6
26 26
    */
27
-  $form = array();
28
-  $form['boinc_stats_charts'] = array(
27
+    $form = array();
28
+    $form['boinc_stats_charts'] = array(
29 29
     '#type' => 'fieldset',
30 30
     '#title' => t('Chart settings'),
31 31
     '#attributes' => array(
32
-      'class' => 'zen-settings',
32
+        'class' => 'zen-settings',
33 33
     ),
34
-  );
35
-  $form['boinc_stats_charts']['boinc_stats_chart_color'] = array(
34
+    );
35
+    $form['boinc_stats_charts']['boinc_stats_chart_color'] = array(
36 36
     '#type'          => 'textfield',
37 37
     '#title'         => t('Chart color'),
38 38
     '#default_value' => $settings['boinc_stats_chart_color'],
39 39
     '#description'   => t('The primary color of the stats chart in hex format (e.g. #FAA341).'),
40
-  );
41
-  $form['boinc_stats_charts']['boinc_stats_chart_bcolor'] = array(
40
+    );
41
+    $form['boinc_stats_charts']['boinc_stats_chart_bcolor'] = array(
42 42
     '#type'          => 'textfield',
43 43
     '#title'         => t('Chart background color'),
44 44
     '#default_value' => $settings['boinc_stats_chart_bcolor'],
45 45
     '#description'   => t('The background color of the stats chart in hex format (e.g. #FFFFFF).'),
46
-  );
46
+    );
47 47
 
48
-  // Add the base theme's settings.
49
-  $form += zen_settings($saved_settings, $defaults);
48
+    // Add the base theme's settings.
49
+    $form += zen_settings($saved_settings, $defaults);
50 50
 
51
-  // Remove some of the base theme's settings.
52
-  unset($form['themedev']['zen_layout']); // We don't need to select the base stylesheet.
51
+    // Remove some of the base theme's settings.
52
+    unset($form['themedev']['zen_layout']); // We don't need to select the base stylesheet.
53 53
 
54
-  // Return the form
55
-  return $form;
54
+    // Return the form
55
+    return $form;
56 56
 }
Please login to merge, or discard this patch.
sites/all/features/internationalization/internationalization.strongarm.inc 1 patch
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -4,34 +4,34 @@
 block discarded – undo
4 4
  * Implementation of hook_strongarm().
5 5
  */
6 6
 function internationalization_strongarm() {
7
-  $export = array();
7
+    $export = array();
8 8
 
9
-  $strongarm = new stdClass;
10
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
11
-  $strongarm->api_version = 1;
12
-  $strongarm->name = 'i18nstrings_allowed_formats';
13
-  $strongarm->value = array(
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 = 'i18nstrings_allowed_formats';
13
+    $strongarm->value = array(
14 14
     0 => 4,
15 15
     1 => 5,
16
-  );
17
-  $export['i18nstrings_allowed_formats'] = $strongarm;
16
+    );
17
+    $export['i18nstrings_allowed_formats'] = $strongarm;
18 18
 
19
-  $strongarm = new stdClass;
20
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
21
-  $strongarm->api_version = 1;
22
-  $strongarm->name = 'i18ntaxonomy_vocabulary';
23
-  $strongarm->value = array(
19
+    $strongarm = new stdClass;
20
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
21
+    $strongarm->api_version = 1;
22
+    $strongarm->name = 'i18ntaxonomy_vocabulary';
23
+    $strongarm->value = array(
24 24
     2 => '1',
25 25
     1 => '0',
26
-  );
27
-  $export['i18ntaxonomy_vocabulary'] = $strongarm;
26
+    );
27
+    $export['i18ntaxonomy_vocabulary'] = $strongarm;
28 28
 
29
-  $strongarm = new stdClass;
30
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
31
-  $strongarm->api_version = 1;
32
-  $strongarm->name = 'language_negotiation';
33
-  $strongarm->value = '2';
34
-  $export['language_negotiation'] = $strongarm;
29
+    $strongarm = new stdClass;
30
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
31
+    $strongarm->api_version = 1;
32
+    $strongarm->name = 'language_negotiation';
33
+    $strongarm->value = '2';
34
+    $export['language_negotiation'] = $strongarm;
35 35
 
36
-  return $export;
36
+    return $export;
37 37
 }
Please login to merge, or discard this patch.
internationalization/internationalization.features.user_permission.inc 1 patch
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -4,47 +4,47 @@
 block discarded – undo
4 4
  * Implementation of hook_user_default_permissions().
5 5
  */
6 6
 function internationalization_user_default_permissions() {
7
-  $permissions = array();
7
+    $permissions = array();
8 8
 
9
-  // Exported permission: administer all languages
10
-  $permissions['administer all languages'] = array(
9
+    // Exported permission: administer all languages
10
+    $permissions['administer all languages'] = array(
11 11
     'name' => 'administer all languages',
12 12
     'roles' => array(
13
-      '0' => 'administrator',
13
+        '0' => 'administrator',
14 14
     ),
15
-  );
15
+    );
16 16
 
17
-  // Exported permission: administer languages
18
-  $permissions['administer languages'] = array(
17
+    // Exported permission: administer languages
18
+    $permissions['administer languages'] = array(
19 19
     'name' => 'administer languages',
20 20
     'roles' => array(
21
-      '0' => 'administrator',
21
+        '0' => 'administrator',
22 22
     ),
23
-  );
23
+    );
24 24
 
25
-  // Exported permission: administer translations
26
-  $permissions['administer translations'] = array(
25
+    // Exported permission: administer translations
26
+    $permissions['administer translations'] = array(
27 27
     'name' => 'administer translations',
28 28
     'roles' => array(
29
-      '0' => 'administrator',
29
+        '0' => 'administrator',
30 30
     ),
31
-  );
31
+    );
32 32
 
33
-  // Exported permission: translate content
34
-  $permissions['translate content'] = array(
33
+    // Exported permission: translate content
34
+    $permissions['translate content'] = array(
35 35
     'name' => 'translate content',
36 36
     'roles' => array(
37
-      '0' => 'administrator',
37
+        '0' => 'administrator',
38 38
     ),
39
-  );
39
+    );
40 40
 
41
-  // Exported permission: translate interface
42
-  $permissions['translate interface'] = array(
41
+    // Exported permission: translate interface
42
+    $permissions['translate interface'] = array(
43 43
     'name' => 'translate interface',
44 44
     'roles' => array(
45
-      '0' => 'administrator',
45
+        '0' => 'administrator',
46 46
     ),
47
-  );
47
+    );
48 48
 
49
-  return $permissions;
49
+    return $permissions;
50 50
 }
Please login to merge, or discard this patch.
sites/all/features/internationalization/internationalization.features.inc 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
  * Implementation of hook_ctools_plugin_api().
5 5
  */
6 6
 function internationalization_ctools_plugin_api() {
7
-  list($module, $api) = func_get_args();
8
-  if ($module == "strongarm" && $api == "strongarm") {
7
+    list($module, $api) = func_get_args();
8
+    if ($module == "strongarm" && $api == "strongarm") {
9 9
     return array("version" => 1);
10
-  }
10
+    }
11 11
 }
Please login to merge, or discard this patch.
all/features/global_search_teams_solr/global_search_teams_solr.features.inc 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
  * Implementation of hook_ctools_plugin_api().
5 5
  */
6 6
 function global_search_teams_solr_ctools_plugin_api() {
7
-  list($module, $api) = func_get_args();
8
-  if ($module == "apachesolr_search" && $api == "apachesolr_search_defaults") {
7
+    list($module, $api) = func_get_args();
8
+    if ($module == "apachesolr_search" && $api == "apachesolr_search_defaults") {
9 9
     return array("version" => 3);
10
-  }
10
+    }
11 11
 }
Please login to merge, or discard this patch.
global_search_teams_solr.apachesolr_search_defaults.inc 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -4,20 +4,20 @@  discard block
 block discarded – undo
4 4
  * Implementation of hook_apachesolr_search_default_searchers().
5 5
  */
6 6
 function global_search_teams_solr_apachesolr_search_default_searchers() {
7
-  $export = array();
7
+    $export = array();
8 8
 
9
-  $searcher = new stdClass;
10
-  $searcher->disabled = FALSE; /* Edit this to true to make a default searcher disabled initially */
11
-  $searcher->api_version = 3;
12
-  $searcher->page_id = 'team_search';
13
-  $searcher->label = 'Team search';
14
-  $searcher->description = '';
15
-  $searcher->search_path = 'search/team';
16
-  $searcher->page_title = 'Search teams';
17
-  $searcher->env_id = 'solr';
18
-  $searcher->settings = array(
9
+    $searcher = new stdClass;
10
+    $searcher->disabled = FALSE; /* Edit this to true to make a default searcher disabled initially */
11
+    $searcher->api_version = 3;
12
+    $searcher->page_id = 'team_search';
13
+    $searcher->label = 'Team search';
14
+    $searcher->description = '';
15
+    $searcher->search_path = 'search/team';
16
+    $searcher->page_title = 'Search teams';
17
+    $searcher->env_id = 'solr';
18
+    $searcher->settings = array(
19 19
     'fq' => array(
20
-      0 => 'bundle:team',
20
+        0 => 'bundle:team',
21 21
     ),
22 22
     'apachesolr_search_custom_enable' => 1,
23 23
     'apachesolr_search_search_type' => 'custom',
@@ -26,8 +26,8 @@  discard block
 block discarded – undo
26 26
     'apachesolr_search_browse' => 'none',
27 27
     'apachesolr_search_spellcheck' => 1,
28 28
     'apachesolr_search_allow_user_input' => 0,
29
-  );
30
-  $export['team_search'] = $searcher;
29
+    );
30
+    $export['team_search'] = $searcher;
31 31
 
32
-  return $export;
32
+    return $export;
33 33
 }
Please login to merge, or discard this patch.
all/features/user_account_host_list/user_account_host_list.features.inc 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  * Implementation of hook_views_api().
5 5
  */
6 6
 function user_account_host_list_views_api() {
7
-  return array(
7
+    return array(
8 8
     'api' => '2',
9
-  );
9
+    );
10 10
 }
Please login to merge, or discard this patch.
features/global_search_solr/global_search_solr.features.user_permission.inc 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -4,33 +4,33 @@
 block discarded – undo
4 4
  * Implementation of hook_user_default_permissions().
5 5
  */
6 6
 function global_search_solr_user_default_permissions() {
7
-  $permissions = array();
7
+    $permissions = array();
8 8
 
9
-  // Exported permission: administer search
10
-  $permissions['administer search'] = array(
9
+    // Exported permission: administer search
10
+    $permissions['administer search'] = array(
11 11
     'name' => 'administer search',
12 12
     'roles' => array(
13
-      '0' => 'administrator',
13
+        '0' => 'administrator',
14 14
     ),
15
-  );
15
+    );
16 16
 
17
-  // Exported permission: search content
18
-  $permissions['search content'] = array(
17
+    // Exported permission: search content
18
+    $permissions['search content'] = array(
19 19
     'name' => 'search content',
20 20
     'roles' => array(
21
-      '0' => 'anonymous user',
22
-      '1' => 'authenticated user',
21
+        '0' => 'anonymous user',
22
+        '1' => 'authenticated user',
23 23
     ),
24
-  );
24
+    );
25 25
 
26
-  // Exported permission: use advanced search
27
-  $permissions['use advanced search'] = array(
26
+    // Exported permission: use advanced search
27
+    $permissions['use advanced search'] = array(
28 28
     'name' => 'use advanced search',
29 29
     'roles' => array(
30
-      '0' => 'anonymous user',
31
-      '1' => 'authenticated user',
30
+        '0' => 'anonymous user',
31
+        '1' => 'authenticated user',
32 32
     ),
33
-  );
33
+    );
34 34
 
35
-  return $permissions;
35
+    return $permissions;
36 36
 }
Please login to merge, or discard this patch.
drupal/sites/all/features/global_search_solr/global_search_solr.module 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@
 block discarded – undo
5 5
 // Hackish... but there doesn't seem to be a non-hackish way to change the
6 6
 // label on the search form!? Need a custom module to call hook_form_alter()...
7 7
 function global_search_solr_form_alter(&$form, &$form_state, $form_id) {
8
-  if ($form_id == 'apachesolr_search_custom_page_search_form') {
8
+    if ($form_id == 'apachesolr_search_custom_page_search_form') {
9 9
     $form['basic']['keys']['#title'] = t('Search'); 
10 10
     $form['basic']['keys']['#size'] = 40;
11
-  }
11
+    }
12 12
 }
Please login to merge, or discard this patch.