PluginProbe
LoginPress | wp-login Custom Login Page Customizer / 3.0.4
LoginPress | wp-login Custom Login Page Customizer v3.0.4
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 3.0.4, at include/customizer-strings.php

190 lines 10.6 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 * @version 1.4.3
6 */
7 $logo_range_control = array( 'customize_logo_width', 'customize_logo_height', 'customize_logo_padding' );
8 $logo_range_default = array( '84', '84', '0' );
9 $logo_range_label = array( __( 'Logo Width:', 'loginpress' ), __( 'Logo Height:', 'loginpress' ), __( 'Space Bottom:', 'loginpress' ) );
10 $logo_range_attrs = array(
11 array( 'min' => 0, 'max' => 500, 'step' => 1, 'suffix' => 'px' ),
12 array( 'min' => 0, 'max' => 500, 'step' => 1, 'suffix' => 'px' ),
13 array( 'min' => 0, 'max' => 100, 'step' => 1, 'suffix' => 'px' )
14 );
15 $logo_range_unit = array( 'px', 'px', 'px' );
16
17 /**
18 * Customizer strings for the grouping control.
19 * @since 1.1.3
20 */
21 $group_control = array( 'login_input_group', 'login_label_group', 'login_form_group', 'footer_form_group', 'footer_back_group', 'footer_group', 'bg_image_group', 'bg_video_group', 'logo_group', 'login_page_meta_group' );
22 $group_label = array(
23 __( 'Input Fields:', 'loginpress'),
24 __( 'Input Field Labels:', 'loginpress'),
25 __( 'Login Form:', 'loginpress'),
26 __( 'Lost Your Password Text', 'loginpress' ),
27 __( 'Back To Site Text', 'loginpress' ),
28 __( 'LoginPress Footer Text', 'loginpress' ),
29 __( 'Background Image', 'loginpress' ),
30 __( 'Background Video', 'loginpress' ),
31 __( 'Form Logo', 'loginpress' ),
32 __( 'Login Page Meta', 'loginpress' )
33 );
34 $group_info = array(
35 __( 'This section helps you to easily Customize the login form input field elements.', 'loginpress' ),
36 __( 'This section helps you to easily Customize the login form input field labels.', 'loginpress' ),
37 __( 'This section helps you to easily Customize the login form elements whether they are form labels, fields or backgrounds.', 'loginpress' ),
38 __( ' Customize the "Lost your password" and "Register" text section under the form.', 'loginpress' ),
39 __( 'Customize the "Back to" text section under the form.', 'loginpress' ),
40 __( 'Customize the copyright note and branding sections at the footer of login page.', 'loginpress' ),
41 __( 'Customize the background Image.', 'loginpress' ),
42 __( 'Customize the background Video.', 'loginpress' ),
43 __( 'Customize the form logo.', 'loginpress' ),
44 __( 'Customize the login page meta tags.', 'loginpress' )
45 );
46 /** ------------------Grouping Control-------------------- */
47
48 /**
49 * [ Customizer strings for the section login form. ]
50 * @since 1.1.3
51 */
52 $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' );
53 $form_range_default = array( '350', '200', '0', '0', '0', '100', '0', '0', '80', '14', '13' );
54 $form_range_label = array(
55 __( 'Form Width:', 'loginpress' ),
56 __( 'Form Minimum Height:', 'loginpress' ),
57 __( 'Form Radius:', 'loginpress' ),
58 __( 'Form Shadow:', 'loginpress' ),
59 __( 'Form Shadow Opacity:', 'loginpress' ),
60 __( 'Input Text Field Width:', 'loginpress' ),
61 __( 'Input Text Field Radius:', 'loginpress' ),
62 __( 'Input Text Field Shadow:', 'loginpress' ),
63 __( 'Input Text Field Shadow Opacity:', 'loginpress' ),
64 __( 'Input Field Label Font Size:', 'loginpress' ),
65 __( 'Remember Me Font Size:', 'loginpress' ) );
66 $form_range_attrs = array(
67 array( 'min' => 320, 'max' => 800, 'step' => 1, 'suffix' => 'px' ), // form width
68 array( 'min' => 0, 'max' => 500, 'step' => 1, 'suffix' => 'px' ), // form height
69 array( 'min' => 0, 'max' => 100, 'step' => 1, 'suffix' => 'px' ), // form radius
70 array( 'min' => 0, 'max' => 30, 'step' => 1, 'suffix' => 'px' ), // form shadow
71 array( 'min' => 0, 'max' => 100, 'step' => 1, 'suffix' => '%' ), // form Opacity
72 array( 'min' => 0, 'max' => 100, 'step' => 1, 'suffix' => '%' ), // textfield width
73 array( 'min' => 0, 'max' => 30, 'step' => 1, 'suffix' => 'px' ), // textfield radius
74 array( 'min' => 0, 'max' => 30, 'step' => 1, 'suffix' => 'px' ), // textfield shadow
75 array( 'min' => 0, 'max' => 100, 'step' => 1, 'suffix' => '%' ), // textfield Opacity
76 array( 'min' => 9, 'max' => 30, 'step' => 1, 'suffix' => 'px' ), // textfield label
77 array( 'min' => 9, 'max' => 30, 'step' => 1, 'suffix' => 'px' ) // readme label
78 );
79 $form_range_unit = array( 'px', 'px', 'px', 'px', '%', '%', 'px', 'px', '%', 'px', 'px' );
80 //--------------------
81 $form_color_control = array( 'form_background_color', 'textfield_background_color', 'textfield_color', 'textfield_label_color', 'remember_me_label_size' );
82 $form_color_default = array( '#FFF', '#FFF', '#333', '#777', '#72777c' );
83 $form_color_label = array(
84 __( 'Form Background Color:', 'loginpress' ),
85 __( 'Input Field Background Color:', 'loginpress' ),
86 __( 'Input Field Text Color:', 'loginpress' ),
87 __( 'Input Field Label Color:', 'loginpress' ),
88 __( 'Remember me Label Color:', 'loginpress' ),
89 );
90 //--------------------
91 $form_control = array( 'customize_form_padding', 'customize_form_border', 'textfield_margin', 'form_username_label', 'form_password_label' );
92 $form_default = array( '', '', '2px 6px 18px 0px', __( 'Username or Email Address', 'loginpress' ), __( 'Password', 'loginpress' ) );
93 $form_label = array(
94 __( 'Form Padding:', 'loginpress' ),
95 __( 'Border (Example: 2px dotted black):', 'loginpress' ),
96 __( 'Input Text Field Margin:', 'loginpress' ),
97 __( 'Username Label:', 'loginpress' ),
98 __( 'Password Label:', 'loginpress' ),
99 );
100 $form_sanitization = array( 'wp_strip_all_tags', 'wp_strip_all_tags', 'wp_strip_all_tags', 'wp_strip_all_tags', 'wp_strip_all_tags' );
101 /** -----------------Section Login Form------------------ */
102
103 /**
104 * [ Customizer strings for the section button beauty. ]
105 * @since 1.1.3
106 * @version 1.4.3
107 */
108 $button_control = array( 'custom_button_color', 'button_border_color', 'button_hover_color', 'button_hover_border', 'custom_button_shadow', 'button_text_color', 'button_hover_text_color' );
109 $button_default = array( '#F6366A', '#F6366A', '#1E8CBE', '#0074A2', '#78C8E6', '#FFF', '#FFF' );
110 $button_label = array(
111 __( 'Button Color:', 'loginpress' ),
112 __( 'Button Border Color:', 'loginpress' ),
113 __( 'Button Color (Hover):', 'loginpress' ),
114 __( 'Button Border (Hover):', 'loginpress' ),
115 __( 'Button Box Shadow:', 'loginpress' ),
116 __( 'Button Text Color:', 'loginpress' ),
117 __( 'Button Text Color (Hover):', 'loginpress' )
118 );
119
120 $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' );
121 $button_range_default = array( '100', '13', '13', '5', '0', '80', '15' );
122 $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' ) );
123 $button_range_attrs = array(
124 array( 'min' => 20, 'max' => 100, 'step' => 1, 'suffix' => '%' ),
125 array( 'min' => 0, 'max' => 30, 'step' => 1, 'suffix' => 'px' ),
126 array( 'min' => 0, 'max' => 30, 'step' => 1, 'suffix' => 'px' ),
127 array( 'min' => 0, 'max' => 50, 'step' => 1, 'suffix' => 'px' ),
128 array( 'min' => 0, 'max' => 30, 'step' => 1, 'suffix' => 'px' ),
129 array( 'min' => 0, 'max' => 100, 'step' => 1, 'suffix' => 'px' ),
130 array( 'min' => 7, 'max' => 35, 'step' => 1, 'suffix' => 'px' ),
131 );
132 $button_range_unit = array( '%', 'px', 'px', 'px', 'px', '%', 'px' );
133 /** -----------------Section Button Beauty------------------ */
134
135 /**
136 * [ Customizer strings for the group close. ]
137 * @since 1.1.3
138 */
139 $close_control = array( 'login_input_br', 'login_label_br', 'login_form_br', 'footer_form_br', 'footer_back_br', 'footer_br' );
140 /** -----------------Section Login Footer------------------ */
141
142 /**
143 * [ Customizer strings for the error messages. ]
144 * @since 1.1.22
145 */
146 $error_control = array( 'incorrect_username', 'incorrect_password', 'empty_username', 'empty_password', 'invalid_email', 'empty_email', 'username_exists', 'email_exists', 'invalidcombo_message','force_email_login', 'password_mismatch' );
147 $error_default = array(
148 sprintf( __( '%1$sError:%2$s Invalid Username.', 'loginpress' ), '<strong>', '</strong>' ), sprintf( __( '%1$sError:%2$s Invalid Password.', 'loginpress' ), '<strong>', '</strong>' ),
149 sprintf( __( '%1$sError:%2$s The username field is empty.', 'loginpress' ), '<strong>', '</strong>' ),
150 sprintf( __( '%1$sError:%2$s The password field is empty.', 'loginpress' ), '<strong>', '</strong>' ),
151 sprintf( __( '%1$sError:%2$s The email address isn\'t correct..', 'loginpress' ), '<strong>', '</strong>' ),
152 sprintf( __( '%1$sError:%2$s Please type your email address.', 'loginpress' ), '<strong>', '</strong>' ),
153 sprintf( __( '%1$sError:%2$s This username is already registered. Please choose another one.', 'loginpress' ), '<strong>', '</strong>' ),
154 sprintf( __( '%1$sError:%2$s This email is already registered, please choose another one.', 'loginpress' ), '<strong>', '</strong>' ),
155 sprintf( __( '%1$sError:%2$s Invalid username or email.', 'loginpress' ), '<strong>', '</strong>' ),
156 sprintf( __( '%1$sError:%2$s Invalid Email Address', 'loginpress' ), '<strong>', '</strong>' ),
157 sprintf( __( '%1$sError:%2$s Passwords Don\'t match.', 'loginpress' ), '<strong>', '</strong>' ),
158 );
159
160 $error_label = array(
161 __( 'Incorrect Username Message:', 'loginpress' ),
162 __( 'Incorrect Password Message:', 'loginpress' ),
163 __( 'Empty Username Message:', 'loginpress' ),
164 __( 'Empty Password Message:', 'loginpress' ),
165 __( 'Invalid Email Message:', 'loginpress' ),
166 __( 'Empty Email Message:', 'loginpress' ),
167 __( 'Username Already Exist Message:','loginpress' ),
168 __( 'Email Already Exist Message:', 'loginpress' ),
169 __( 'Forget Password Message:', 'loginpress' ),
170 __( 'Login with Email Message:', 'loginpress' ),
171 __( 'Passwords Don\'t match:', 'loginpress' ),
172
173 );
174 /** -----------------Error Section------------------ */
175
176 /**
177 * [ Customizer strings for the welcome messages. ]
178 * @since 1.1.22
179 */
180 $welcome_control = array( 'lostpwd_welcome_message', 'welcome_message', 'register_welcome_message', 'logout_message', 'message_background_border' );
181 $welcome_default = array( 'Forgot password?', 'Welcome', 'Register For This Site', 'Logout', '' );
182 $welcome_label = array(
183 __( 'Welcome Message on Lost Password:', 'loginpress' ),
184 __( 'Welcome Message on Login Page:', 'loginpress' ),
185 __( 'Welcome Message on Registration:', 'loginpress' ),
186 __( 'Logout Message:', 'loginpress' ),
187 __( 'Message Field Border: ( Example: 1px solid #00a0d2; )', 'loginpress' ),
188 );
189 $welcome_sanitization = array( 'wp_kses_post', 'wp_kses_post', 'wp_kses_post', 'wp_kses_post', 'wp_strip_all_tags' );
190