@@ -4,16 +4,16 @@ |
||
4 | 4 | * Implementation of hook_captcha_default_points(). |
5 | 5 | */ |
6 | 6 | function spam_controls_captcha_default_points() { |
7 | - return array( |
|
7 | + return array( |
|
8 | 8 | 'edit_profile_node_form' => array( |
9 | - 'form_id' => 'edit_profile_node_form', |
|
10 | - 'module' => NULL, |
|
11 | - 'captcha_type' => NULL, |
|
9 | + 'form_id' => 'edit_profile_node_form', |
|
10 | + 'module' => NULL, |
|
11 | + 'captcha_type' => NULL, |
|
12 | 12 | ), |
13 | 13 | 'user_register' => array( |
14 | - 'form_id' => 'user_register', |
|
15 | - 'module' => NULL, |
|
16 | - 'captcha_type' => NULL, |
|
14 | + 'form_id' => 'user_register', |
|
15 | + 'module' => NULL, |
|
16 | + 'captcha_type' => NULL, |
|
17 | 17 | ), |
18 | - ); |
|
18 | + ); |
|
19 | 19 | } |
@@ -7,13 +7,13 @@ |
||
7 | 7 | return array( |
8 | 8 | 'edit_profile_node_form' => array( |
9 | 9 | 'form_id' => 'edit_profile_node_form', |
10 | - 'module' => NULL, |
|
11 | - 'captcha_type' => NULL, |
|
10 | + 'module' => null, |
|
11 | + 'captcha_type' => null, |
|
12 | 12 | ), |
13 | 13 | 'user_register' => array( |
14 | 14 | 'form_id' => 'user_register', |
15 | - 'module' => NULL, |
|
16 | - 'captcha_type' => NULL, |
|
15 | + 'module' => null, |
|
16 | + 'captcha_type' => null, |
|
17 | 17 | ), |
18 | 18 | ); |
19 | 19 | } |
@@ -4,77 +4,77 @@ |
||
4 | 4 | * Implementation of hook_strongarm(). |
5 | 5 | */ |
6 | 6 | function spam_controls_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 = 'captcha_add_captcha_description'; |
|
13 | - $strongarm->value = 0; |
|
14 | - $export['captcha_add_captcha_description'] = $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 = 'captcha_add_captcha_description'; |
|
13 | + $strongarm->value = 0; |
|
14 | + $export['captcha_add_captcha_description'] = $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 = 'captcha_administration_mode'; |
|
20 | - $strongarm->value = 0; |
|
21 | - $export['captcha_administration_mode'] = $strongarm; |
|
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 = 'captcha_administration_mode'; |
|
20 | + $strongarm->value = 0; |
|
21 | + $export['captcha_administration_mode'] = $strongarm; |
|
22 | 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 = 'captcha_allow_on_admin_pages'; |
|
27 | - $strongarm->value = 0; |
|
28 | - $export['captcha_allow_on_admin_pages'] = $strongarm; |
|
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 = 'captcha_allow_on_admin_pages'; |
|
27 | + $strongarm->value = 0; |
|
28 | + $export['captcha_allow_on_admin_pages'] = $strongarm; |
|
29 | 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 = 'captcha_default_challenge'; |
|
34 | - $strongarm->value = 'recaptcha/reCAPTCHA'; |
|
35 | - $export['captcha_default_challenge'] = $strongarm; |
|
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 = 'captcha_default_challenge'; |
|
34 | + $strongarm->value = 'recaptcha/reCAPTCHA'; |
|
35 | + $export['captcha_default_challenge'] = $strongarm; |
|
36 | 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 = 'captcha_description'; |
|
41 | - $strongarm->value = 'This question is for testing whether you are a human visitor and to prevent automated spam submissions.'; |
|
42 | - $export['captcha_description'] = $strongarm; |
|
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 = 'captcha_description'; |
|
41 | + $strongarm->value = 'This question is for testing whether you are a human visitor and to prevent automated spam submissions.'; |
|
42 | + $export['captcha_description'] = $strongarm; |
|
43 | 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 = 'recaptcha_ajax_api'; |
|
48 | - $strongarm->value = 0; |
|
49 | - $export['recaptcha_ajax_api'] = $strongarm; |
|
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 = 'recaptcha_ajax_api'; |
|
48 | + $strongarm->value = 0; |
|
49 | + $export['recaptcha_ajax_api'] = $strongarm; |
|
50 | 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 = 'recaptcha_private_key'; |
|
55 | - $strongarm->value = '6LcAp9gSAAAAACqDNjbUiryK2BICYWXQP3HvwlIX'; |
|
56 | - $export['recaptcha_private_key'] = $strongarm; |
|
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 = 'recaptcha_private_key'; |
|
55 | + $strongarm->value = '6LcAp9gSAAAAACqDNjbUiryK2BICYWXQP3HvwlIX'; |
|
56 | + $export['recaptcha_private_key'] = $strongarm; |
|
57 | 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 = 'recaptcha_public_key'; |
|
62 | - $strongarm->value = '6LcAp9gSAAAAAK3VyU-clMl_lDf2l-OrSwxMqoZi'; |
|
63 | - $export['recaptcha_public_key'] = $strongarm; |
|
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 = 'recaptcha_public_key'; |
|
62 | + $strongarm->value = '6LcAp9gSAAAAAK3VyU-clMl_lDf2l-OrSwxMqoZi'; |
|
63 | + $export['recaptcha_public_key'] = $strongarm; |
|
64 | 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 = 'recaptcha_secure_connection'; |
|
69 | - $strongarm->value = 1; |
|
70 | - $export['recaptcha_secure_connection'] = $strongarm; |
|
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 = 'recaptcha_secure_connection'; |
|
69 | + $strongarm->value = 1; |
|
70 | + $export['recaptcha_secure_connection'] = $strongarm; |
|
71 | 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 = 'recaptcha_theme'; |
|
76 | - $strongarm->value = 'clean'; |
|
77 | - $export['recaptcha_theme'] = $strongarm; |
|
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 = 'recaptcha_theme'; |
|
76 | + $strongarm->value = 'clean'; |
|
77 | + $export['recaptcha_theme'] = $strongarm; |
|
78 | 78 | |
79 | - return $export; |
|
79 | + return $export; |
|
80 | 80 | } |
@@ -7,70 +7,70 @@ |
||
7 | 7 | $export = array(); |
8 | 8 | |
9 | 9 | $strongarm = new stdClass; |
10 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
10 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
11 | 11 | $strongarm->api_version = 1; |
12 | 12 | $strongarm->name = 'captcha_add_captcha_description'; |
13 | 13 | $strongarm->value = 0; |
14 | 14 | $export['captcha_add_captcha_description'] = $strongarm; |
15 | 15 | |
16 | 16 | $strongarm = new stdClass; |
17 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
17 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
18 | 18 | $strongarm->api_version = 1; |
19 | 19 | $strongarm->name = 'captcha_administration_mode'; |
20 | 20 | $strongarm->value = 0; |
21 | 21 | $export['captcha_administration_mode'] = $strongarm; |
22 | 22 | |
23 | 23 | $strongarm = new stdClass; |
24 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
24 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
25 | 25 | $strongarm->api_version = 1; |
26 | 26 | $strongarm->name = 'captcha_allow_on_admin_pages'; |
27 | 27 | $strongarm->value = 0; |
28 | 28 | $export['captcha_allow_on_admin_pages'] = $strongarm; |
29 | 29 | |
30 | 30 | $strongarm = new stdClass; |
31 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
31 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
32 | 32 | $strongarm->api_version = 1; |
33 | 33 | $strongarm->name = 'captcha_default_challenge'; |
34 | 34 | $strongarm->value = 'recaptcha/reCAPTCHA'; |
35 | 35 | $export['captcha_default_challenge'] = $strongarm; |
36 | 36 | |
37 | 37 | $strongarm = new stdClass; |
38 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
38 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
39 | 39 | $strongarm->api_version = 1; |
40 | 40 | $strongarm->name = 'captcha_description'; |
41 | 41 | $strongarm->value = 'This question is for testing whether you are a human visitor and to prevent automated spam submissions.'; |
42 | 42 | $export['captcha_description'] = $strongarm; |
43 | 43 | |
44 | 44 | $strongarm = new stdClass; |
45 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
45 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
46 | 46 | $strongarm->api_version = 1; |
47 | 47 | $strongarm->name = 'recaptcha_ajax_api'; |
48 | 48 | $strongarm->value = 0; |
49 | 49 | $export['recaptcha_ajax_api'] = $strongarm; |
50 | 50 | |
51 | 51 | $strongarm = new stdClass; |
52 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
52 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
53 | 53 | $strongarm->api_version = 1; |
54 | 54 | $strongarm->name = 'recaptcha_private_key'; |
55 | 55 | $strongarm->value = '6LcAp9gSAAAAACqDNjbUiryK2BICYWXQP3HvwlIX'; |
56 | 56 | $export['recaptcha_private_key'] = $strongarm; |
57 | 57 | |
58 | 58 | $strongarm = new stdClass; |
59 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
59 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
60 | 60 | $strongarm->api_version = 1; |
61 | 61 | $strongarm->name = 'recaptcha_public_key'; |
62 | 62 | $strongarm->value = '6LcAp9gSAAAAAK3VyU-clMl_lDf2l-OrSwxMqoZi'; |
63 | 63 | $export['recaptcha_public_key'] = $strongarm; |
64 | 64 | |
65 | 65 | $strongarm = new stdClass; |
66 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
66 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
67 | 67 | $strongarm->api_version = 1; |
68 | 68 | $strongarm->name = 'recaptcha_secure_connection'; |
69 | 69 | $strongarm->value = 1; |
70 | 70 | $export['recaptcha_secure_connection'] = $strongarm; |
71 | 71 | |
72 | 72 | $strongarm = new stdClass; |
73 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
73 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
74 | 74 | $strongarm->api_version = 1; |
75 | 75 | $strongarm->name = 'recaptcha_theme'; |
76 | 76 | $strongarm->value = 'clean'; |
@@ -4,38 +4,38 @@ |
||
4 | 4 | * Implementation of hook_context_default_contexts(). |
5 | 5 | */ |
6 | 6 | function spam_controls_context_default_contexts() { |
7 | - $export = array(); |
|
7 | + $export = array(); |
|
8 | 8 | |
9 | - $context = new stdClass; |
|
10 | - $context->disabled = FALSE; /* Edit this to true to make a default context disabled initially */ |
|
11 | - $context->api_version = 3; |
|
12 | - $context->name = 'account_info'; |
|
13 | - $context->description = ''; |
|
14 | - $context->tag = 'account'; |
|
15 | - $context->conditions = array( |
|
9 | + $context = new stdClass; |
|
10 | + $context->disabled = FALSE; /* Edit this to true to make a default context disabled initially */ |
|
11 | + $context->api_version = 3; |
|
12 | + $context->name = 'account_info'; |
|
13 | + $context->description = ''; |
|
14 | + $context->tag = 'account'; |
|
15 | + $context->conditions = array( |
|
16 | 16 | 'path' => array( |
17 | - 'values' => array( |
|
17 | + 'values' => array( |
|
18 | 18 | 'account/info/edit/profile' => 'account/info/edit/profile', |
19 | - ), |
|
19 | + ), |
|
20 | 20 | ), |
21 | 21 | 'user_page' => array( |
22 | - 'values' => array( |
|
22 | + 'values' => array( |
|
23 | 23 | 'form' => 'form', |
24 | - ), |
|
25 | - 'options' => array( |
|
24 | + ), |
|
25 | + 'options' => array( |
|
26 | 26 | 'mode' => 'current', |
27 | - ), |
|
27 | + ), |
|
28 | 28 | ), |
29 | - ); |
|
30 | - $context->reactions = array( |
|
29 | + ); |
|
30 | + $context->reactions = array( |
|
31 | 31 | 'menu' => 'user/me/edit', |
32 | - ); |
|
33 | - $context->condition_mode = 0; |
|
32 | + ); |
|
33 | + $context->condition_mode = 0; |
|
34 | 34 | |
35 | - // Translatables |
|
36 | - // Included for use with string extractors like potx. |
|
37 | - t('account'); |
|
38 | - $export['account_info'] = $context; |
|
35 | + // Translatables |
|
36 | + // Included for use with string extractors like potx. |
|
37 | + t('account'); |
|
38 | + $export['account_info'] = $context; |
|
39 | 39 | |
40 | - return $export; |
|
40 | + return $export; |
|
41 | 41 | } |
@@ -7,7 +7,7 @@ |
||
7 | 7 | $export = array(); |
8 | 8 | |
9 | 9 | $context = new stdClass; |
10 | - $context->disabled = FALSE; /* Edit this to true to make a default context disabled initially */ |
|
10 | + $context->disabled = false; /* Edit this to true to make a default context disabled initially */ |
|
11 | 11 | $context->api_version = 3; |
12 | 12 | $context->name = 'account_info'; |
13 | 13 | $context->description = ''; |
@@ -4,11 +4,11 @@ |
||
4 | 4 | * Implementation of hook_ctools_plugin_api(). |
5 | 5 | */ |
6 | 6 | function spam_controls_ctools_plugin_api() { |
7 | - list($module, $api) = func_get_args(); |
|
8 | - if ($module == "context" && $api == "context") { |
|
7 | + list($module, $api) = func_get_args(); |
|
8 | + if ($module == "context" && $api == "context") { |
|
9 | 9 | return array("version" => 3); |
10 | - } |
|
11 | - elseif ($module == "strongarm" && $api == "strongarm") { |
|
10 | + } |
|
11 | + elseif ($module == "strongarm" && $api == "strongarm") { |
|
12 | 12 | return array("version" => 1); |
13 | - } |
|
13 | + } |
|
14 | 14 | } |
@@ -7,8 +7,7 @@ |
||
7 | 7 | list($module, $api) = func_get_args(); |
8 | 8 | if ($module == "context" && $api == "context") { |
9 | 9 | return array("version" => 3); |
10 | - } |
|
11 | - elseif ($module == "strongarm" && $api == "strongarm") { |
|
10 | + } elseif ($module == "strongarm" && $api == "strongarm") { |
|
12 | 11 | return array("version" => 1); |
13 | 12 | } |
14 | 13 | } |
@@ -4,37 +4,37 @@ |
||
4 | 4 | * Implementation of hook_user_default_permissions(). |
5 | 5 | */ |
6 | 6 | function spam_controls_user_default_permissions() { |
7 | - $permissions = array(); |
|
7 | + $permissions = array(); |
|
8 | 8 | |
9 | - // Exported permission: administer CAPTCHA settings |
|
10 | - $permissions['administer CAPTCHA settings'] = array( |
|
9 | + // Exported permission: administer CAPTCHA settings |
|
10 | + $permissions['administer CAPTCHA settings'] = array( |
|
11 | 11 | 'name' => 'administer CAPTCHA settings', |
12 | 12 | 'roles' => array( |
13 | - '0' => 'administrator', |
|
13 | + '0' => 'administrator', |
|
14 | 14 | ), |
15 | - ); |
|
15 | + ); |
|
16 | 16 | |
17 | - // Exported permission: administer recaptcha |
|
18 | - $permissions['administer recaptcha'] = array( |
|
17 | + // Exported permission: administer recaptcha |
|
18 | + $permissions['administer recaptcha'] = array( |
|
19 | 19 | 'name' => 'administer recaptcha', |
20 | 20 | 'roles' => array( |
21 | - '0' => 'administrator', |
|
21 | + '0' => 'administrator', |
|
22 | 22 | ), |
23 | - ); |
|
23 | + ); |
|
24 | 24 | |
25 | - // Exported permission: administer spamicide |
|
26 | - $permissions['administer spamicide'] = array( |
|
25 | + // Exported permission: administer spamicide |
|
26 | + $permissions['administer spamicide'] = array( |
|
27 | 27 | 'name' => 'administer spamicide', |
28 | 28 | 'roles' => array( |
29 | - '0' => 'administrator', |
|
29 | + '0' => 'administrator', |
|
30 | 30 | ), |
31 | - ); |
|
31 | + ); |
|
32 | 32 | |
33 | - // Exported permission: skip CAPTCHA |
|
34 | - $permissions['skip CAPTCHA'] = array( |
|
33 | + // Exported permission: skip CAPTCHA |
|
34 | + $permissions['skip CAPTCHA'] = array( |
|
35 | 35 | 'name' => 'skip CAPTCHA', |
36 | 36 | 'roles' => array(), |
37 | - ); |
|
37 | + ); |
|
38 | 38 | |
39 | - return $permissions; |
|
39 | + return $permissions; |
|
40 | 40 | } |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | * Implements hook_panels_layouts(). |
4 | 4 | */ |
5 | 5 | function zen_one_sidebar_second_panels_layouts() { |
6 | - $items['one_sidebar_second'] = array( |
|
6 | + $items['one_sidebar_second'] = array( |
|
7 | 7 | 'title' => t('Zen Layout: one sidebar after content'), |
8 | 8 | 'icon' => 'one-sidebar-second.png', |
9 | 9 | 'theme' => 'zen_one_sidebar_second', |
@@ -11,10 +11,10 @@ discard block |
||
11 | 11 | 'css' => 'one-sidebar-second.css', |
12 | 12 | 'admin css' => 'one-sidebar-second-admin.css', |
13 | 13 | 'panels' => array( |
14 | - 'content' => t('Content'), |
|
15 | - 'sidebar_first' => t('First sidebar'), |
|
14 | + 'content' => t('Content'), |
|
15 | + 'sidebar_first' => t('First sidebar'), |
|
16 | 16 | ), |
17 | - ); |
|
17 | + ); |
|
18 | 18 | |
19 | - return $items; |
|
19 | + return $items; |
|
20 | 20 | } |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | * Implements hook_panels_layouts(). |
4 | 4 | */ |
5 | 5 | function zen_two_sidebars_panels_layouts() { |
6 | - $items['two_sidebars'] = array( |
|
6 | + $items['two_sidebars'] = array( |
|
7 | 7 | 'title' => t('Zen Layout: two sidebars with content'), |
8 | 8 | 'icon' => 'two-sidebars.png', |
9 | 9 | 'theme' => 'zen_two_sidebars', |
@@ -11,11 +11,11 @@ discard block |
||
11 | 11 | 'css' => 'two-sidebars.css', |
12 | 12 | 'admin css' => 'two-sidebars-admin.css', |
13 | 13 | 'panels' => array( |
14 | - 'content' => t('Content'), |
|
15 | - 'sidebar_first' => t('First sidebar'), |
|
16 | - 'sidebar_second' => t('Second sidebar'), |
|
14 | + 'content' => t('Content'), |
|
15 | + 'sidebar_first' => t('First sidebar'), |
|
16 | + 'sidebar_second' => t('Second sidebar'), |
|
17 | 17 | ), |
18 | - ); |
|
18 | + ); |
|
19 | 19 | |
20 | - return $items; |
|
20 | + return $items; |
|
21 | 21 | } |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | * Implements hook_panels_layouts(). |
4 | 4 | */ |
5 | 5 | function zen_two_sidebars_second_panels_layouts() { |
6 | - $items['two_sidebars_second'] = array( |
|
6 | + $items['two_sidebars_second'] = array( |
|
7 | 7 | 'title' => t('Zen Layout: two sidebars after content'), |
8 | 8 | 'icon' => 'two-sidebars-second.png', |
9 | 9 | 'theme' => 'zen_two_sidebars_second', |
@@ -11,11 +11,11 @@ discard block |
||
11 | 11 | 'css' => 'two-sidebars-second.css', |
12 | 12 | 'admin css' => 'two-sidebars-second-admin.css', |
13 | 13 | 'panels' => array( |
14 | - 'content' => t('Content'), |
|
15 | - 'sidebar_first' => t('First sidebar'), |
|
16 | - 'sidebar_second' => t('Second sidebar'), |
|
14 | + 'content' => t('Content'), |
|
15 | + 'sidebar_first' => t('First sidebar'), |
|
16 | + 'sidebar_second' => t('Second sidebar'), |
|
17 | 17 | ), |
18 | - ); |
|
18 | + ); |
|
19 | 19 | |
20 | - return $items; |
|
20 | + return $items; |
|
21 | 21 | } |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | * Implements hook_panels_layouts(). |
4 | 4 | */ |
5 | 5 | function zen_one_sidebar_first_panels_layouts() { |
6 | - $items['one_sidebar_first'] = array( |
|
6 | + $items['one_sidebar_first'] = array( |
|
7 | 7 | 'title' => t('Zen Layout: one sidebar before content'), |
8 | 8 | 'icon' => 'one-sidebar-first.png', |
9 | 9 | 'theme' => 'zen_one_sidebar_first', |
@@ -11,10 +11,10 @@ discard block |
||
11 | 11 | 'css' => 'one-sidebar-first.css', |
12 | 12 | 'admin css' => 'one-sidebar-first-admin.css', |
13 | 13 | 'panels' => array( |
14 | - 'content' => t('Content'), |
|
15 | - 'sidebar_first' => t('First sidebar'), |
|
14 | + 'content' => t('Content'), |
|
15 | + 'sidebar_first' => t('First sidebar'), |
|
16 | 16 | ), |
17 | - ); |
|
17 | + ); |
|
18 | 18 | |
19 | - return $items; |
|
19 | + return $items; |
|
20 | 20 | } |