Version Description
- Added Login Screen Background size Property
Download this release
Release Info
Developer | libinvbabu |
Plugin | Erident Custom Login and Dashboard |
Version | 2.1.0 |
Comparing to | |
See all releases |
Code changes from version 2.0.1 to 2.1.0
- er-custom-login.php +20 -7
- readme.txt +10 -8
er-custom-login.php
CHANGED
@@ -3,13 +3,13 @@
|
|
3 |
Plugin Name: Erident Custom Login and Dashboard
|
4 |
Plugin URI: http://www.eridenttech.com/wp-plugins/erident-custom-login-and-dashboard
|
5 |
Description: Customize completely your WordPress Login Screen and Dashboard. Add your company logo to login screen, change background colors, styles etc. Customize your Dashboard footer text also for complete branding.
|
6 |
-
Version: 2.0
|
7 |
Author: Libin V Babu
|
8 |
Author URI: http://www.libin.in/
|
9 |
License: GPL
|
10 |
*/
|
11 |
|
12 |
-
/* Copyright
|
13 |
|
14 |
This program is free software; you can redistribute it and/or modify
|
15 |
it under the terms of the GNU General Public License, version 2, as
|
@@ -99,7 +99,8 @@ function er_login_logo() {
|
|
99 |
$er_top_bg_repeat = get_option('wp_erident_top_bg_repeat');
|
100 |
$er_top_bg_xpos = get_option('wp_erident_top_bg_xpos');
|
101 |
$er_top_bg_ypos = get_option('wp_erident_top_bg_ypos');
|
102 |
-
|
|
|
103 |
$er_login_bg_image = get_option('wp_erident_login_bg_image');
|
104 |
$er_login_bg_repeat = get_option('wp_erident_login_bg_repeat');
|
105 |
$er_login_bg_xpos = get_option('wp_erident_login_bg_xpos');
|
@@ -108,6 +109,7 @@ function er_login_logo() {
|
|
108 |
<style type="text/css">
|
109 |
body.login {
|
110 |
background: <?php echo $er_top_bg_color ?> url(<?php echo $er_top_bg_image ?>) <?php echo $er_top_bg_repeat ?> <?php echo $er_top_bg_xpos ?> <?php echo $er_top_bg_ypos ?>;
|
|
|
111 |
}
|
112 |
body.login div#login h1 a {
|
113 |
background-image: url(<?php echo $er_logo ?>);
|
@@ -168,7 +170,7 @@ register_deactivation_hook( __FILE__, 'wp_erident_dashboard_remove' );
|
|
168 |
function wp_erident_dashboard_install() {
|
169 |
/* Creates new database field */
|
170 |
add_option("wp_erident_dashboard_data_left", 'Powered by www.libin.in', '', 'yes');
|
171 |
-
add_option("wp_erident_dashboard_data_right", '©
|
172 |
add_option("wp_erident_dashboard_image_logo", plugins_url('images/default-logo.png', __FILE__), '', 'yes');
|
173 |
add_option("wp_erident_dashboard_image_logo_width", '274', '', 'yes');
|
174 |
add_option("wp_erident_dashboard_image_logo_height", '63', '', 'yes');
|
@@ -200,6 +202,7 @@ add_option("wp_erident_login_bg_image", plugins_url('images/form_bg.jpg', __FILE
|
|
200 |
add_option("wp_erident_login_bg_repeat", 'repeat', '', 'yes');
|
201 |
add_option("wp_erident_login_bg_xpos", 'top', '', 'yes');
|
202 |
add_option("wp_erident_login_bg_ypos", 'left', '', 'yes');
|
|
|
203 |
|
204 |
add_option("wp_erident_dashboard_delete_db", 'No', '', 'yes');
|
205 |
}
|
@@ -240,6 +243,7 @@ delete_option('wp_erident_login_bg_image');
|
|
240 |
delete_option('wp_erident_login_bg_repeat');
|
241 |
delete_option('wp_erident_login_bg_xpos');
|
242 |
delete_option('wp_erident_login_bg_ypos');
|
|
|
243 |
|
244 |
delete_option('wp_erident_dashboard_delete_db');
|
245 |
}
|
@@ -395,6 +399,15 @@ value="<?php echo get_option('wp_erident_top_bg_ypos'); ?>" />
|
|
395 |
</td>
|
396 |
</tr>
|
397 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
398 |
</table>
|
399 |
</div><!-- end inside -->
|
400 |
</div><!-- end postbox -->
|
@@ -741,7 +754,7 @@ value="<?php echo get_option('wp_erident_login_bg_ypos'); ?>" />
|
|
741 |
|
742 |
|
743 |
<input type="hidden" name="action" value="update" />
|
744 |
-
<input type="hidden" name="page_options" value="wp_erident_dashboard_data_left,wp_erident_dashboard_data_right,wp_erident_dashboard_image_logo,wp_erident_dashboard_image_logo_width,wp_erident_dashboard_image_logo_height,wp_erident_dashboard_power_text,wp_erident_dashboard_login_width,wp_erident_dashboard_login_radius,wp_erident_dashboard_login_border,wp_erident_dashboard_border_thick,wp_erident_dashboard_border_color,wp_erident_dashboard_login_bg,wp_erident_dashboard_text_color,wp_erident_dashboard_delete_db,wp_erident_top_bg_color,wp_erident_top_bg_image,wp_erident_top_bg_repeat,wp_erident_login_bg_image,wp_erident_login_bg_repeat,wp_erident_dashboard_link_color,wp_erident_dashboard_link_shadow,wp_erident_dashboard_check_shadow,wp_erident_dashboard_form_shadow,wp_erident_dashboard_check_form_shadow,wp_erident_top_bg_xpos,wp_erident_top_bg_ypos,wp_erident_login_bg_xpos,wp_erident_login_bg_ypos,wp_erident_dashboard_input_text_color,wp_erident_dashboard_label_text_size,wp_erident_dashboard_input_text_size" />
|
745 |
|
746 |
<p>
|
747 |
<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
|
@@ -759,8 +772,8 @@ value="<?php echo get_option('wp_erident_login_bg_ypos'); ?>" />
|
|
759 |
</ul>
|
760 |
</div><!-- end .er_notice2 -->
|
761 |
<div class="er_notice">
|
762 |
-
<h3>
|
763 |
-
<p>
|
764 |
</div><!-- end .er_notice -->
|
765 |
|
766 |
</div>
|
3 |
Plugin Name: Erident Custom Login and Dashboard
|
4 |
Plugin URI: http://www.eridenttech.com/wp-plugins/erident-custom-login-and-dashboard
|
5 |
Description: Customize completely your WordPress Login Screen and Dashboard. Add your company logo to login screen, change background colors, styles etc. Customize your Dashboard footer text also for complete branding.
|
6 |
+
Version: 2.1.0
|
7 |
Author: Libin V Babu
|
8 |
Author URI: http://www.libin.in/
|
9 |
License: GPL
|
10 |
*/
|
11 |
|
12 |
+
/* Copyright 2014 Libin V Babu (email : libin@libin.in)
|
13 |
|
14 |
This program is free software; you can redistribute it and/or modify
|
15 |
it under the terms of the GNU General Public License, version 2, as
|
99 |
$er_top_bg_repeat = get_option('wp_erident_top_bg_repeat');
|
100 |
$er_top_bg_xpos = get_option('wp_erident_top_bg_xpos');
|
101 |
$er_top_bg_ypos = get_option('wp_erident_top_bg_ypos');
|
102 |
+
$er_top_bg_size = get_option('wp_erident_top_bg_size');
|
103 |
+
|
104 |
$er_login_bg_image = get_option('wp_erident_login_bg_image');
|
105 |
$er_login_bg_repeat = get_option('wp_erident_login_bg_repeat');
|
106 |
$er_login_bg_xpos = get_option('wp_erident_login_bg_xpos');
|
109 |
<style type="text/css">
|
110 |
body.login {
|
111 |
background: <?php echo $er_top_bg_color ?> url(<?php echo $er_top_bg_image ?>) <?php echo $er_top_bg_repeat ?> <?php echo $er_top_bg_xpos ?> <?php echo $er_top_bg_ypos ?>;
|
112 |
+
background-size: <?php echo $er_top_bg_size ?>;
|
113 |
}
|
114 |
body.login div#login h1 a {
|
115 |
background-image: url(<?php echo $er_logo ?>);
|
170 |
function wp_erident_dashboard_install() {
|
171 |
/* Creates new database field */
|
172 |
add_option("wp_erident_dashboard_data_left", 'Powered by www.libin.in', '', 'yes');
|
173 |
+
add_option("wp_erident_dashboard_data_right", '© 2014 All Rights Reserved', '', 'yes');
|
174 |
add_option("wp_erident_dashboard_image_logo", plugins_url('images/default-logo.png', __FILE__), '', 'yes');
|
175 |
add_option("wp_erident_dashboard_image_logo_width", '274', '', 'yes');
|
176 |
add_option("wp_erident_dashboard_image_logo_height", '63', '', 'yes');
|
202 |
add_option("wp_erident_login_bg_repeat", 'repeat', '', 'yes');
|
203 |
add_option("wp_erident_login_bg_xpos", 'top', '', 'yes');
|
204 |
add_option("wp_erident_login_bg_ypos", 'left', '', 'yes');
|
205 |
+
add_option("wp_erident_top_bg_size", 'auto', '', 'yes');
|
206 |
|
207 |
add_option("wp_erident_dashboard_delete_db", 'No', '', 'yes');
|
208 |
}
|
243 |
delete_option('wp_erident_login_bg_repeat');
|
244 |
delete_option('wp_erident_login_bg_xpos');
|
245 |
delete_option('wp_erident_login_bg_ypos');
|
246 |
+
delete_option('wp_erident_top_bg_size');
|
247 |
|
248 |
delete_option('wp_erident_dashboard_delete_db');
|
249 |
}
|
399 |
</td>
|
400 |
</tr>
|
401 |
|
402 |
+
<tr valign="top">
|
403 |
+
<th scope="row">Background Size:</th>
|
404 |
+
<td><input class="er-textfield-small" name="wp_erident_top_bg_size" type="text" id="wp_erident_top_bg_size"
|
405 |
+
value="<?php echo get_option('wp_erident_top_bg_size'); ?>" />
|
406 |
+
<br />
|
407 |
+
<span class="description">The background-size property specifies the size of a background image. If you entering the value in "pixels" or "percentage", add "px" or "%" at the end of value. Possible values: auto, length, percentage, cover, contain. <a href="http://www.w3schools.com/cssref/css3_pr_background-size.asp" target="_blank">More Info</a></span>
|
408 |
+
</td>
|
409 |
+
</tr>
|
410 |
+
|
411 |
</table>
|
412 |
</div><!-- end inside -->
|
413 |
</div><!-- end postbox -->
|
754 |
|
755 |
|
756 |
<input type="hidden" name="action" value="update" />
|
757 |
+
<input type="hidden" name="page_options" value="wp_erident_dashboard_data_left,wp_erident_dashboard_data_right,wp_erident_dashboard_image_logo,wp_erident_dashboard_image_logo_width,wp_erident_dashboard_image_logo_height,wp_erident_dashboard_power_text,wp_erident_dashboard_login_width,wp_erident_dashboard_login_radius,wp_erident_dashboard_login_border,wp_erident_dashboard_border_thick,wp_erident_dashboard_border_color,wp_erident_dashboard_login_bg,wp_erident_dashboard_text_color,wp_erident_dashboard_delete_db,wp_erident_top_bg_color,wp_erident_top_bg_image,wp_erident_top_bg_repeat,wp_erident_login_bg_image,wp_erident_login_bg_repeat,wp_erident_dashboard_link_color,wp_erident_dashboard_link_shadow,wp_erident_dashboard_check_shadow,wp_erident_dashboard_form_shadow,wp_erident_dashboard_check_form_shadow,wp_erident_top_bg_xpos,wp_erident_top_bg_ypos,wp_erident_login_bg_xpos,wp_erident_login_bg_ypos,wp_erident_dashboard_input_text_color,wp_erident_dashboard_label_text_size,wp_erident_dashboard_input_text_size,wp_erident_top_bg_size" />
|
758 |
|
759 |
<p>
|
760 |
<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
|
772 |
</ul>
|
773 |
</div><!-- end .er_notice2 -->
|
774 |
<div class="er_notice">
|
775 |
+
<h3>Hire Me</h3>
|
776 |
+
<p>Hey, I'm Libin, a professional Front End Engineer/WordPress Developer. You can hire me for freelancing projects.<br/><br/>Email me: <a href="mailto:libin@libin.in">libin@libin.in</a> <br/>Online Portfolio: <a href="http://www.libin.in" target="_blank">www.libin.in</a></p>
|
777 |
</div><!-- end .er_notice -->
|
778 |
|
779 |
</div>
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: libinvbabu
|
|
3 |
Donate link: http://www.libin.in
|
4 |
Tags: login, customisation, admin, dashboard, customise, erident, custom, form, logo, customize, branding
|
5 |
Requires at least: 3.0.0
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 2.0
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -14,11 +14,9 @@ Dashboard footer etc.
|
|
14 |
|
15 |
== Description ==
|
16 |
|
17 |
-
TOP RATED PLUGIN for Login Page Customization
|
18 |
|
19 |
-
Dashboard easily. Add your company logo to login screen, change background images, colors, styles etc. Customize your Dashboard footer
|
20 |
-
|
21 |
-
text also for complete branding.
|
22 |
|
23 |
Fastest support for the plugin. If you have any queries,
|
24 |
visit the WordPress [support forum](http://wordpress.org/support/plugin/erident-custom-login-and-dashboard).
|
@@ -53,6 +51,7 @@ visit the WordPress [support forum](http://wordpress.org/support/plugin/erident-
|
|
53 |
* Login Screen Background Color/Image
|
54 |
* Login Screen Background Repeat
|
55 |
* Login Screen Background Position
|
|
|
56 |
* Logo Url
|
57 |
* Logo width
|
58 |
* Logo height
|
@@ -113,6 +112,9 @@ make sure to backup your changes before updating. Or inform us [Suggestions/requ
|
|
113 |
|
114 |
== Changelog ==
|
115 |
|
|
|
|
|
|
|
116 |
= 2.0.1 =
|
117 |
* Bug Fix
|
118 |
|
@@ -148,5 +150,5 @@ make sure to backup your changes before updating. Or inform us [Suggestions/requ
|
|
148 |
|
149 |
== Upgrade Notice ==
|
150 |
|
151 |
-
= 2.0
|
152 |
-
|
3 |
Donate link: http://www.libin.in
|
4 |
Tags: login, customisation, admin, dashboard, customise, erident, custom, form, logo, customize, branding
|
5 |
Requires at least: 3.0.0
|
6 |
+
Tested up to: 3.8.1
|
7 |
+
Stable tag: 2.1.0
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
14 |
|
15 |
== Description ==
|
16 |
|
17 |
+
TOP RATED PLUGIN for Login Page Customization!!! Customize completely your WordPress Login Screen and
|
18 |
|
19 |
+
Dashboard easily. Add your company logo to login screen, change background images, colors, styles etc. Customize your Dashboard footer text also for complete branding.
|
|
|
|
|
20 |
|
21 |
Fastest support for the plugin. If you have any queries,
|
22 |
visit the WordPress [support forum](http://wordpress.org/support/plugin/erident-custom-login-and-dashboard).
|
51 |
* Login Screen Background Color/Image
|
52 |
* Login Screen Background Repeat
|
53 |
* Login Screen Background Position
|
54 |
+
* Login Screen Background Size
|
55 |
* Logo Url
|
56 |
* Logo width
|
57 |
* Logo height
|
112 |
|
113 |
== Changelog ==
|
114 |
|
115 |
+
= 2.1.0 =
|
116 |
+
* Added Login Screen Background size Property
|
117 |
+
|
118 |
= 2.0.1 =
|
119 |
* Bug Fix
|
120 |
|
150 |
|
151 |
== Upgrade Notice ==
|
152 |
|
153 |
+
= 2.1.0 =
|
154 |
+
Added new feature.
|