@@ -4,14 +4,14 @@ |
||
4 | 4 | * Implementation of hook_strongarm(). |
5 | 5 | */ |
6 | 6 | function boinc_server_migration_strongarm() { |
7 | - $export = array(); |
|
7 | + $export = array(); |
|
8 | 8 | |
9 | - $strongarm = new stdClass; |
|
10 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
11 | - $strongarm->api_version = 1; |
|
12 | - $strongarm->name = 'boincimport_input_format'; |
|
13 | - $strongarm->value = '4'; |
|
14 | - $export['boincimport_input_format'] = $strongarm; |
|
9 | + $strongarm = new stdClass; |
|
10 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
11 | + $strongarm->api_version = 1; |
|
12 | + $strongarm->name = 'boincimport_input_format'; |
|
13 | + $strongarm->value = '4'; |
|
14 | + $export['boincimport_input_format'] = $strongarm; |
|
15 | 15 | |
16 | - return $export; |
|
16 | + return $export; |
|
17 | 17 | } |
@@ -4,8 +4,8 @@ |
||
4 | 4 | * Implementation of hook_ctools_plugin_api(). |
5 | 5 | */ |
6 | 6 | function boinc_server_migration_ctools_plugin_api() { |
7 | - list($module, $api) = func_get_args(); |
|
8 | - if ($module == "strongarm" && $api == "strongarm") { |
|
7 | + list($module, $api) = func_get_args(); |
|
8 | + if ($module == "strongarm" && $api == "strongarm") { |
|
9 | 9 | return array("version" => 1); |
10 | - } |
|
10 | + } |
|
11 | 11 | } |
@@ -4,55 +4,55 @@ |
||
4 | 4 | * Implementation of hook_strongarm(). |
5 | 5 | */ |
6 | 6 | function global_search_strongarm() { |
7 | - $export = array(); |
|
7 | + $export = array(); |
|
8 | 8 | |
9 | - $strongarm = new stdClass; |
|
10 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
11 | - $strongarm->api_version = 1; |
|
12 | - $strongarm->name = 'search404_page_title'; |
|
13 | - $strongarm->value = 'Page not found'; |
|
14 | - $export['search404_page_title'] = $strongarm; |
|
9 | + $strongarm = new stdClass; |
|
10 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
11 | + $strongarm->api_version = 1; |
|
12 | + $strongarm->name = 'search404_page_title'; |
|
13 | + $strongarm->value = 'Page not found'; |
|
14 | + $export['search404_page_title'] = $strongarm; |
|
15 | 15 | |
16 | - $strongarm = new stdClass; |
|
17 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
18 | - $strongarm->api_version = 1; |
|
19 | - $strongarm->name = 'search_by_page_settings'; |
|
20 | - $strongarm->value = array( |
|
16 | + $strongarm = new stdClass; |
|
17 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
18 | + $strongarm->api_version = 1; |
|
19 | + $strongarm->name = 'search_by_page_settings'; |
|
20 | + $strongarm->value = array( |
|
21 | 21 | 1 => array( |
22 | - 'environment_name' => 'general', |
|
23 | - 'page_title' => '', |
|
24 | - 'block_title' => 'Search', |
|
25 | - 'field_label' => 'Search', |
|
26 | - 'button_label' => 'Search', |
|
27 | - 'page_path' => 'find', |
|
28 | - 'exclude_tags' => '', |
|
29 | - 'sbp_nodes_types_indexed' => array( |
|
22 | + 'environment_name' => 'general', |
|
23 | + 'page_title' => '', |
|
24 | + 'block_title' => 'Search', |
|
25 | + 'field_label' => 'Search', |
|
26 | + 'button_label' => 'Search', |
|
27 | + 'page_path' => 'find', |
|
28 | + 'exclude_tags' => '', |
|
29 | + 'sbp_nodes_types_indexed' => array( |
|
30 | 30 | 'forum' => 'forum', |
31 | 31 | 'page' => 'page', |
32 | 32 | 'panel' => 'panel', |
33 | 33 | 'profile' => 'profile', |
34 | 34 | 'story' => 'story', |
35 | - ), |
|
36 | - 'sbp_nodes_display_type' => 'excerpts', |
|
37 | - 'sbp_nodes_role' => '1', |
|
38 | - 'sbp_nodes_min_time' => '1', |
|
39 | - 'sbp_nodes_max_time' => '0', |
|
40 | - 'sbp_paths_min_time' => '1', |
|
41 | - 'sbp_paths_max_time' => '0', |
|
42 | - 'sbp_users_roles_indexed' => array( |
|
35 | + ), |
|
36 | + 'sbp_nodes_display_type' => 'excerpts', |
|
37 | + 'sbp_nodes_role' => '1', |
|
38 | + 'sbp_nodes_min_time' => '1', |
|
39 | + 'sbp_nodes_max_time' => '0', |
|
40 | + 'sbp_paths_min_time' => '1', |
|
41 | + 'sbp_paths_max_time' => '0', |
|
42 | + 'sbp_users_roles_indexed' => array( |
|
43 | 43 | 2 => 2, |
44 | 44 | 4 => 0, |
45 | 45 | 5 => 0, |
46 | 46 | 3 => 0, |
47 | 47 | 6 => 0, |
48 | - ), |
|
49 | - 'sbp_users_role' => '1', |
|
50 | - 'sbp_users_min_time' => '1', |
|
51 | - 'sbp_users_max_time' => '0', |
|
52 | - 'op' => 'Save configuration', |
|
48 | + ), |
|
49 | + 'sbp_users_role' => '1', |
|
50 | + 'sbp_users_min_time' => '1', |
|
51 | + 'sbp_users_max_time' => '0', |
|
52 | + 'op' => 'Save configuration', |
|
53 | 53 | ), |
54 | - ); |
|
55 | - $export['search_by_page_settings'] = $strongarm; |
|
54 | + ); |
|
55 | + $export['search_by_page_settings'] = $strongarm; |
|
56 | 56 | |
57 | - return $export; |
|
57 | + return $export; |
|
58 | 58 | } |
@@ -4,33 +4,33 @@ |
||
4 | 4 | * Implementation of hook_user_default_permissions(). |
5 | 5 | */ |
6 | 6 | function global_search_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 | } |
@@ -4,8 +4,8 @@ |
||
4 | 4 | * Implementation of hook_ctools_plugin_api(). |
5 | 5 | */ |
6 | 6 | function global_search_ctools_plugin_api() { |
7 | - list($module, $api) = func_get_args(); |
|
8 | - if ($module == "strongarm" && $api == "strongarm") { |
|
7 | + list($module, $api) = func_get_args(); |
|
8 | + if ($module == "strongarm" && $api == "strongarm") { |
|
9 | 9 | return array("version" => 1); |
10 | - } |
|
10 | + } |
|
11 | 11 | } |
@@ -4,17 +4,17 @@ |
||
4 | 4 | * Implementation of hook_ctools_plugin_api(). |
5 | 5 | */ |
6 | 6 | function stats_charts_ctools_plugin_api() { |
7 | - list($module, $api) = func_get_args(); |
|
8 | - if ($module == "panels_mini" && $api == "panels_default") { |
|
7 | + list($module, $api) = func_get_args(); |
|
8 | + if ($module == "panels_mini" && $api == "panels_default") { |
|
9 | 9 | return array("version" => 1); |
10 | - } |
|
10 | + } |
|
11 | 11 | } |
12 | 12 | |
13 | 13 | /** |
14 | 14 | * Implementation of hook_views_api(). |
15 | 15 | */ |
16 | 16 | function stats_charts_views_api() { |
17 | - return array( |
|
17 | + return array( |
|
18 | 18 | 'api' => '2', |
19 | - ); |
|
19 | + ); |
|
20 | 20 | } |
@@ -4,8 +4,8 @@ |
||
4 | 4 | * Implementation of hook_ctools_plugin_api(). |
5 | 5 | */ |
6 | 6 | function mobilemenu_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 | } |
@@ -4,12 +4,12 @@ discard block |
||
4 | 4 | * Implementation of hook_default_fe_block_settings(). |
5 | 5 | */ |
6 | 6 | function mobilemenu_default_fe_block_settings() { |
7 | - $export = array(); |
|
7 | + $export = array(); |
|
8 | 8 | |
9 | - // boinc |
|
10 | - $theme = array(); |
|
9 | + // boinc |
|
10 | + $theme = array(); |
|
11 | 11 | |
12 | - $theme['mobile_menu_toggle-0'] = array( |
|
12 | + $theme['mobile_menu_toggle-0'] = array( |
|
13 | 13 | 'module' => 'mobile_menu_toggle', |
14 | 14 | 'delta' => '0', |
15 | 15 | 'theme' => 'boinc', |
@@ -22,14 +22,14 @@ discard block |
||
22 | 22 | 'pages' => '', |
23 | 23 | 'title' => '<none>', |
24 | 24 | 'cache' => '1', |
25 | - ); |
|
25 | + ); |
|
26 | 26 | |
27 | - $export['boinc'] = $theme; |
|
27 | + $export['boinc'] = $theme; |
|
28 | 28 | |
29 | - // einstein |
|
30 | - $theme = array(); |
|
29 | + // einstein |
|
30 | + $theme = array(); |
|
31 | 31 | |
32 | - $theme['mobile_menu_toggle-0'] = array( |
|
32 | + $theme['mobile_menu_toggle-0'] = array( |
|
33 | 33 | 'module' => 'mobile_menu_toggle', |
34 | 34 | 'delta' => '0', |
35 | 35 | 'theme' => 'einstein', |
@@ -42,14 +42,14 @@ discard block |
||
42 | 42 | 'pages' => '', |
43 | 43 | 'title' => '<none>', |
44 | 44 | 'cache' => '1', |
45 | - ); |
|
45 | + ); |
|
46 | 46 | |
47 | - $export['einstein'] = $theme; |
|
47 | + $export['einstein'] = $theme; |
|
48 | 48 | |
49 | - // garland |
|
50 | - $theme = array(); |
|
49 | + // garland |
|
50 | + $theme = array(); |
|
51 | 51 | |
52 | - $theme['mobile_menu_toggle-0'] = array( |
|
52 | + $theme['mobile_menu_toggle-0'] = array( |
|
53 | 53 | 'module' => 'mobile_menu_toggle', |
54 | 54 | 'delta' => '0', |
55 | 55 | 'theme' => 'garland', |
@@ -62,16 +62,16 @@ discard block |
||
62 | 62 | 'pages' => '', |
63 | 63 | 'title' => '<none>', |
64 | 64 | 'cache' => '1', |
65 | - ); |
|
65 | + ); |
|
66 | 66 | |
67 | - $export['garland'] = $theme; |
|
67 | + $export['garland'] = $theme; |
|
68 | 68 | |
69 | - $theme_default = variable_get('theme_default', 'garland'); |
|
70 | - $themes = list_themes(); |
|
71 | - foreach ($export as $theme_key => $settings) { |
|
69 | + $theme_default = variable_get('theme_default', 'garland'); |
|
70 | + $themes = list_themes(); |
|
71 | + foreach ($export as $theme_key => $settings) { |
|
72 | 72 | if ($theme_key != $theme_default && empty($themes[$theme_key]->status)) { |
73 | - unset($export[$theme_key]); |
|
73 | + unset($export[$theme_key]); |
|
74 | 74 | } |
75 | - } |
|
76 | - return $export; |
|
75 | + } |
|
76 | + return $export; |
|
77 | 77 | } |
@@ -4,79 +4,79 @@ |
||
4 | 4 | * Implementation of hook_strongarm(). |
5 | 5 | */ |
6 | 6 | function mobilemenu_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 = 'dhtml_menu_settings'; |
|
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 = 'dhtml_menu_settings'; |
|
13 | + $strongarm->value = array( |
|
14 | 14 | 'nav' => 'none', |
15 | 15 | 'animation' => array( |
16 | - 'effects' => array( |
|
16 | + 'effects' => array( |
|
17 | 17 | 'height' => 'height', |
18 | 18 | 'opacity' => 'opacity', |
19 | 19 | 'width' => 0, |
20 | - ), |
|
21 | - 'speed' => '500', |
|
20 | + ), |
|
21 | + 'speed' => '500', |
|
22 | 22 | ), |
23 | 23 | 'effects' => array( |
24 | - 'siblings' => 'close-same-tree', |
|
25 | - 'children' => 'none', |
|
26 | - 'remember' => '0', |
|
24 | + 'siblings' => 'close-same-tree', |
|
25 | + 'children' => 'none', |
|
26 | + 'remember' => '0', |
|
27 | 27 | ), |
28 | 28 | 'filter' => array( |
29 | - 'type' => 'whitelist', |
|
30 | - 'list' => array( |
|
29 | + 'type' => 'whitelist', |
|
30 | + 'list' => array( |
|
31 | 31 | 'primary-links' => 'primary-links', |
32 | 32 | 'devel' => 0, |
33 | 33 | 'menu-footer-links' => 0, |
34 | 34 | 'navigation' => 0, |
35 | - ), |
|
35 | + ), |
|
36 | 36 | ), |
37 | - ); |
|
38 | - $export['dhtml_menu_settings'] = $strongarm; |
|
37 | + ); |
|
38 | + $export['dhtml_menu_settings'] = $strongarm; |
|
39 | 39 | |
40 | - $strongarm = new stdClass; |
|
41 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
42 | - $strongarm->api_version = 1; |
|
43 | - $strongarm->name = 'dhtml_menu_theme'; |
|
44 | - $strongarm->value = array( |
|
40 | + $strongarm = new stdClass; |
|
41 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
42 | + $strongarm->api_version = 1; |
|
43 | + $strongarm->name = 'dhtml_menu_theme'; |
|
44 | + $strongarm->value = array( |
|
45 | 45 | 'garland' => array( |
46 | - 'menu_item' => 'theme_menu_item', |
|
47 | - 'menu_item_link' => 'theme_menu_item_link', |
|
46 | + 'menu_item' => 'theme_menu_item', |
|
47 | + 'menu_item_link' => 'theme_menu_item_link', |
|
48 | 48 | ), |
49 | 49 | 'einstein' => array( |
50 | - 'menu_item' => 'theme_menu_item', |
|
51 | - 'menu_item_link' => 'zen_menu_item_link', |
|
50 | + 'menu_item' => 'theme_menu_item', |
|
51 | + 'menu_item_link' => 'zen_menu_item_link', |
|
52 | 52 | ), |
53 | 53 | 'boinc' => array( |
54 | - 'menu_item' => 'theme_menu_item', |
|
55 | - 'menu_item_link' => 'zen_menu_item_link', |
|
54 | + 'menu_item' => 'theme_menu_item', |
|
55 | + 'menu_item_link' => 'zen_menu_item_link', |
|
56 | 56 | ), |
57 | - ); |
|
58 | - $export['dhtml_menu_theme'] = $strongarm; |
|
57 | + ); |
|
58 | + $export['dhtml_menu_theme'] = $strongarm; |
|
59 | 59 | |
60 | - $strongarm = new stdClass; |
|
61 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
62 | - $strongarm->api_version = 1; |
|
63 | - $strongarm->name = 'mobile_menu_block'; |
|
64 | - $strongarm->value = 0; |
|
65 | - $export['mobile_menu_block'] = $strongarm; |
|
60 | + $strongarm = new stdClass; |
|
61 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
62 | + $strongarm->api_version = 1; |
|
63 | + $strongarm->name = 'mobile_menu_block'; |
|
64 | + $strongarm->value = 0; |
|
65 | + $export['mobile_menu_block'] = $strongarm; |
|
66 | 66 | |
67 | - $strongarm = new stdClass; |
|
68 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
69 | - $strongarm->api_version = 1; |
|
70 | - $strongarm->name = 'mobile_menu_css'; |
|
71 | - $strongarm->value = '#navigation-mmt'; |
|
72 | - $export['mobile_menu_css'] = $strongarm; |
|
67 | + $strongarm = new stdClass; |
|
68 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
69 | + $strongarm->api_version = 1; |
|
70 | + $strongarm->name = 'mobile_menu_css'; |
|
71 | + $strongarm->value = '#navigation-mmt'; |
|
72 | + $export['mobile_menu_css'] = $strongarm; |
|
73 | 73 | |
74 | - $strongarm = new stdClass; |
|
75 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
76 | - $strongarm->api_version = 1; |
|
77 | - $strongarm->name = 'mobile_menu_menu'; |
|
78 | - $strongarm->value = 'primary-links'; |
|
79 | - $export['mobile_menu_menu'] = $strongarm; |
|
74 | + $strongarm = new stdClass; |
|
75 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
76 | + $strongarm->api_version = 1; |
|
77 | + $strongarm->name = 'mobile_menu_menu'; |
|
78 | + $strongarm->value = 'primary-links'; |
|
79 | + $export['mobile_menu_menu'] = $strongarm; |
|
80 | 80 | |
81 | - return $export; |
|
81 | + return $export; |
|
82 | 82 | } |