PluginProbe
LoginPress | wp-login Custom Login Page Customizer / 1.1.3
LoginPress | wp-login Custom Login Page Customizer v1.1.3
6.2.5 6.2.4 6.2.3 6.2.2 6.2.1 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 1.0.2 1.0.20 1.0.21 1.0.22 1.0.23 1.0.3 1.0.4 All 118 releases
loginpress / include / customizer-strings.php

customizer-strings.php in LoginPress | wp-login Custom Login Page Customizer 1.1.3, at include/customizer-strings.php

126 lines 7.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Customizer strings for the logo control.
4 * @since 1.1.3
5 */
6 $logo_range_control = array( 'customize_logo_width', 'customize_logo_height', 'customize_logo_padding' );
7 $logo_range_default = array( '84', '84', '0' );
8 $logo_range_label = array( __( 'Logo Width:', 'loginpress' ), __( 'Logo Height:', 'loginpress' ), __( 'Space Bottom:', 'loginpress' ) );
9 $logo_range_attrs = array(
10 array( 'min' => 0, 'max' => 500, 'step' => 1, 'suffix' => 'px' ),
11 array( 'min' => 0, 'max' => 500, 'step' => 1, 'suffix' => 'px' ),
12 array( 'min' => 0, 'max' => 100, 'step' => 1, 'suffix' => 'px' )
13 );
14 $logo_range_unit = array( 'px', 'px', 'px' );
15
16 /**
17 * Customizer strings for the grouping control.
18 * @since 1.1.3
19 */
20 $group_control = array( 'login_input_group', 'login_label_group', 'login_form_group', 'footer_form_group', 'footer_back_group', 'footer_group' );
21 $group_label = array(
22 __( 'Input Fields:', 'loginpress'),
23 __( 'Input Field Labels:', 'loginpress'),
24 __( 'Login Form:', 'loginpress'),
25 __( 'Lost Your Password Text', 'loginpress' ),
26 __( 'Back To Site Text', 'loginpress' ),
27 __( 'LoginPress Footer Text', 'loginpress' ) );
28 $group_info = array(
29 __( 'This section helps you to easily Customize the login form input field elements.', 'loginpress' ),
30 __( 'This section helps you to easily Customize the login form input field labels.', 'loginpress' ),
31 __( 'This section helps you to easily Customize the login form elements whether they are form lables, fields or backgrounds.', 'loginpress' ),
32 __( ' Customize the "Lost your password" and "Register" text section under the form.', 'loginpress' ),
33 __( 'Customize the "Back to" text section under the form.', 'loginpress' ),
34 __( 'Customize the copyright note and branding sections at the footer of login page.', 'loginpress' ) );
35 /** ------------------Grouping Control-------------------- */
36
37 /**
38 * [ Customizer strings for the section login form. ]
39 * @since 1.1.3
40 */
41 $form_range_control = array( 'customize_form_width', 'customize_form_height', 'customize_form_radius', 'customize_form_shadow', 'customize_form_opacity', 'textfield_width', 'textfield_radius', 'textfield_shadow', 'textfield_shadow_opacity', 'customize_form_label', 'remember_me_font_size' );
42 $form_range_default = array( '350', '200', '0', '0', '0', '100', '0', '0', '80', '14', '13' );
43 $form_range_label = array(
44 __( 'Form Width:', 'loginpress' ),
45 __( 'Form Minimum Height:', 'loginpress' ),
46 __( 'Form Radius:', 'loginpress' ),
47 __( 'Form Shadow:', 'loginpress' ),
48 __( 'Form Shadow Opacity:', 'loginpress' ),
49 __( 'Input Text Field Width:', 'loginpress' ),
50 __( 'Input Text Field Radius:', 'loginpress' ),
51 __( 'Input Text Field Shadow:', 'loginpress' ),
52 __( 'Input Text Field Shadow Opacity:', 'loginpress' ),
53 __( 'Input Field Label Font Size:', 'loginpress' ),
54 __( 'Remember Me Font Size:', 'loginpress' ) );
55 $form_range_attrs = array(
56 array( 'min' => 320, 'max' => 800, 'step' => 1, 'suffix' => 'px' ), // form width
57 array( 'min' => 0, 'max' => 500, 'step' => 1, 'suffix' => 'px' ), // form height
58 array( 'min' => 0, 'max' => 100, 'step' => 1, 'suffix' => 'px' ), // form radius
59 array( 'min' => 0, 'max' => 30, 'step' => 1, 'suffix' => 'px' ), // form shadow
60 array( 'min' => 0, 'max' => 100, 'step' => 1, 'suffix' => '%' ), // form Opacity
61 array( 'min' => 0, 'max' => 100, 'step' => 1, 'suffix' => '%' ), // textfield width
62 array( 'min' => 0, 'max' => 30, 'step' => 1, 'suffix' => 'px' ), // textfield radius
63 array( 'min' => 0, 'max' => 30, 'step' => 1, 'suffix' => 'px' ), // textfield shadow
64 array( 'min' => 0, 'max' => 100, 'step' => 1, 'suffix' => '%' ), // textfield Opacity
65 array( 'min' => 9, 'max' => 30, 'step' => 1, 'suffix' => 'px' ), // testfield label
66 array( 'min' => 9, 'max' => 30, 'step' => 1, 'suffix' => 'px' ) // readme label
67 );
68 $form_range_unit = array( 'px', 'px', 'px', 'px', '%', '%', 'px', 'px', '%', 'px', 'px' );
69 //--------------------
70 $form_color_control = array( 'form_background_color', 'textfield_background_color', 'textfield_color', 'textfield_label_color', 'remember_me_label_size' );
71 $form_color_default = array( '#FFF', '#FFF', '#333', '#777', '#72777c' );
72 $form_color_label = array(
73 __( 'Form Background Color:', 'loginpress' ),
74 __( 'Input Field Background Color:', 'loginpress' ),
75 __( 'Input Field Text Color:', 'loginpress' ),
76 __( 'Input Field Label Color:', 'loginpress' ),
77 __( 'Remember me Label Color:', 'loginpress' ),
78 );
79 //--------------------
80 $form_control = array( 'customize_form_padding', 'customize_form_border', 'textfield_margin', 'form_username_label', 'form_password_label' );
81 $form_default = array( '0 24px 12px', '', '2px 6px 18px 0px', __( 'Username or Email Address', 'loginpress' ), __( 'Password', 'loginpress' ) );
82 $form_label = array(
83 __( 'Form Padding:', 'loginpress' ),
84 __( 'Border (Example: 2px dotted black):', 'loginpress' ),
85 __( 'Input Text Field Margin:', 'loginpress' ),
86 __( 'Username Label:', 'loginpress' ),
87 __( 'Password Label:', 'loginpress' ),
88 );
89 /** -----------------Sectin Login Form------------------ */
90
91 /**
92 * [ Customizer strings for the section button beauty. ]
93 * @since 1.1.3
94 */
95 $button_control = array( 'custom_button_color', 'button_border_color', 'button_hover_color', 'button_hover_border', 'custom_button_shadow', 'button_text_color' );
96 $button_default = array( '#2EA2CC', '#0074A2', '#1E8CBE', '#0074A2', '#78C8E6', '#FFF' );
97 $button_label = array(
98 __( 'Button Color:', 'loginpress' ),
99 __( 'Button Border Color:', 'loginpress' ),
100 __( 'Button Color (Hover):', 'loginpress' ),
101 __( 'Button Border (Hover):', 'loginpress' ),
102 __( 'Button Box Shadow:', 'loginpress' ),
103 __( 'Button Text Color:', 'loginpress' )
104 );
105
106 $button_range_control = array( 'login_button_size', 'login_button_top', 'login_button_bottom', 'login_button_radius', 'login_button_shadow', 'login_button_shadow_opacity', 'login_button_text_size' );
107 $button_range_default = array( '100', '13', '13', '5', '0', '80', '15' );
108 $button_range_label = array( __( 'Button Size:', 'loginpress' ), __( 'Button Top Padding:', 'loginpress' ), __( 'Button Bottom Padding:', 'loginpress' ), __( 'Radius:', 'loginpress' ), __( 'Shadow:', 'loginpress' ), __( 'Shadow Opacity:', 'loginpress' ), __( 'Text Size:', 'loginpress' ) );
109 $button_range_attrs = array(
110 array( 'min' => 20, 'max' => 100, 'step' => 1, 'suffix' => '%' ),
111 array( 'min' => 0, 'max' => 30, 'step' => 1, 'suffix' => 'px' ),
112 array( 'min' => 0, 'max' => 30, 'step' => 1, 'suffix' => 'px' ),
113 array( 'min' => 0, 'max' => 50, 'step' => 1, 'suffix' => 'px' ),
114 array( 'min' => 0, 'max' => 30, 'step' => 1, 'suffix' => 'px' ),
115 array( 'min' => 0, 'max' => 100, 'step' => 1, 'suffix' => 'px' ),
116 array( 'min' => 7, 'max' => 35, 'step' => 1, 'suffix' => 'px' ),
117 );
118 $button_range_unit = array( '%', 'px', 'px', 'px', 'px', '%', 'px' );
119 /** -----------------Sectin Button Beauty------------------ */
120
121 /**
122 * [ Customizer strings for the group close. ]
123 * @since 1.1.3
124 */
125 $close_control = array( 'login_input_br', 'login_label_br', 'login_form_br', 'footer_form_br', 'footer_back_br', 'footer_br' );
126