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

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