Erident Custom Login and Dashboard - Version 1.5

Version Description

Download this release

Release Info

Developer libinvbabu
Plugin Icon 128x128 Erident Custom Login and Dashboard
Version 1.5
Comparing to
See all releases

Code changes from version 1.3 to 1.5

Files changed (4) hide show
  1. er-admin.css +5 -2
  2. er-custom-login.php +57 -20
  3. readme.txt +13 -7
  4. screenshot-1.png +0 -0
er-admin.css CHANGED
@@ -22,7 +22,7 @@
22
  .wp-erident-dashboard table {
23
 
24
  }
25
- #ilctabscolorpicker, #ilctabscolorpicker2, #ilctabscolorpicker3, #ilctabscolorpicker4, #ilctabscolorpicker5, #ilctabscolorpicker6, #ilctabscolorpicker7 {
26
  margin-left:210px;
27
  position:absolute;
28
  }
@@ -39,7 +39,7 @@
39
  margin-top:-160px;
40
  }
41
  #ilctabscolorpicker5 {
42
- margin-top:-110px;
43
  }
44
  #ilctabscolorpicker6 {
45
  margin-top:-160px;
@@ -47,6 +47,9 @@
47
  #ilctabscolorpicker7 {
48
  margin-top:-170px;
49
  }
 
 
 
50
  .er_notice {
51
  padding: 10px 20px;
52
  -moz-border-radius: 3px;
22
  .wp-erident-dashboard table {
23
 
24
  }
25
+ #ilctabscolorpicker, #ilctabscolorpicker2, #ilctabscolorpicker3, #ilctabscolorpicker4, #ilctabscolorpicker5, #ilctabscolorpicker6, #ilctabscolorpicker7, #ilctabscolorpicker8 {
26
  margin-left:210px;
27
  position:absolute;
28
  }
39
  margin-top:-160px;
40
  }
41
  #ilctabscolorpicker5 {
42
+ margin-top:-55px;
43
  }
44
  #ilctabscolorpicker6 {
45
  margin-top:-160px;
47
  #ilctabscolorpicker7 {
48
  margin-top:-170px;
49
  }
50
+ #ilctabscolorpicker8 {
51
+ margin-top:-55px;
52
+ }
53
  .er_notice {
54
  padding: 10px 20px;
55
  -moz-border-radius: 3px;
er-custom-login.php CHANGED
@@ -2,10 +2,10 @@
2
  /*
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 completly 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: 1.3
7
- Author: Erident Technologies
8
- Author URI: http://www.eridenttech.com/
9
  License: GPL
10
  */
11
 
@@ -36,17 +36,17 @@ add_action('admin_head', 'my_admin_head');
36
  /**
37
  * Add Settings link to plugins
38
  */
39
- function add_settings_link($links, $file) {
40
  static $this_plugin;
41
  if (!$this_plugin) $this_plugin = plugin_basename(__FILE__);
42
-
43
  if ($file == $this_plugin){
44
  $settings_link = '<a href="options-general.php?page=erident-custom-login-and-dashboard">'.__("Settings", "erident-custom-login-and-dashboard").'</a>';
45
  array_unshift($links, $settings_link);
46
  }
47
  return $links;
48
  }
49
- add_filter('plugin_action_links', 'add_settings_link', 10, 2 );
50
 
51
 
52
  add_filter('admin_footer_text', 'left_admin_footer_text_output'); //left side
@@ -71,6 +71,9 @@ function er_login_logo() {
71
  $er_login_border_color = get_option('wp_erident_dashboard_border_color');
72
  $er_login_bg = get_option('wp_erident_dashboard_login_bg');
73
  $er_login_text_color = get_option('wp_erident_dashboard_text_color');
 
 
 
74
  $er_login_link_color = get_option('wp_erident_dashboard_link_color');
75
 
76
 
@@ -122,6 +125,11 @@ function er_login_logo() {
122
  }
123
  body.login div#login form p label {
124
  color:<?php echo $er_login_text_color ?>;
 
 
 
 
 
125
  }
126
  body.login #nav a, body.login #backtoblog a {
127
  color: <?php echo $er_login_link_color ?> !important;
@@ -166,6 +174,10 @@ add_option("wp_erident_dashboard_border_thick", '4', '', 'yes');
166
  add_option("wp_erident_dashboard_border_color", '#6e838e', '', 'yes');
167
  add_option("wp_erident_dashboard_login_bg", '#dbdbdb', '', 'yes');
168
  add_option("wp_erident_dashboard_text_color", '#000000', '', 'yes');
 
 
 
 
169
  add_option("wp_erident_dashboard_link_color", '#21759B', '', 'yes');
170
  add_option("wp_erident_dashboard_check_shadow", 'Yes', '', 'yes');
171
  add_option("wp_erident_dashboard_link_shadow", '#ffffff', '', 'yes');
@@ -201,6 +213,9 @@ delete_option('wp_erident_dashboard_border_thick');
201
  delete_option('wp_erident_dashboard_border_color');
202
  delete_option('wp_erident_dashboard_login_bg');
203
  delete_option('wp_erident_dashboard_text_color');
 
 
 
204
  delete_option('wp_erident_dashboard_link_color');
205
  delete_option('wp_erident_dashboard_check_shadow');
206
  delete_option('wp_erident_dashboard_link_shadow');
@@ -500,8 +515,7 @@ value="<?php echo get_option('wp_erident_dashboard_border_thick'); ?>" />px
500
  </tr>
501
  <tr valign="top">
502
  <th scope="row">Login Form Background Image:</th>
503
- <td><input class="er-textfield" name="wp_erident_login_bg_image" type="text" id="wp_erident_login_bg_image"
504
- value="<?php echo get_option('wp_erident_login_bg_image'); ?>" />
505
  <br />
506
  <span class="description">Add your own pattern/image url to the form background. Leave blank if you don't need any images.</span>
507
  </td>
@@ -562,12 +576,35 @@ value="<?php echo get_option('wp_erident_login_bg_ypos'); ?>" />
562
  </tr>
563
 
564
  <tr valign="top">
565
- <th scope="row">Login Form Text Color</th>
566
  <td>
567
  <input class="er-textfield-small" type="text" id="wp_erident_dashboard_text_color" name="wp_erident_dashboard_text_color" value="<?php echo get_option('wp_erident_dashboard_text_color'); ?>" />
568
  <div id="ilctabscolorpicker3"></div>
569
  <br />
570
- <span class="description">Click the box to select a color.</span>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
571
  </td>
572
  </tr>
573
  <tr valign="top">
@@ -672,7 +709,7 @@ value="<?php echo get_option('wp_erident_login_bg_ypos'); ?>" />
672
 
673
 
674
  <input type="hidden" name="action" value="update" />
675
- <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_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_xpos" />
676
 
677
  <p>
678
  <input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
@@ -688,16 +725,11 @@ value="<?php echo get_option('wp_erident_login_bg_ypos'); ?>" />
688
  <li><a href="http://wordpress.org/support/plugin/erident-custom-login-and-dashboard" target="_blank">Plugin Support Page</a></li>
689
  <li><a href="http://www.eridenttech.com/wp-plugins/erident-custom-login-and-dashboard" target="_blank">Plugin Website</a></li>
690
  </ul>
691
- </div>
692
  <div class="er_notice">
693
  <h3>Wants to customize your WordPress theme?</h3>
694
- <p>If you wants professional customization to your wordpress themes, Contact <a href="http://www.eridenttech.com" target="_blank">Erident Technologies</a></p>
695
- <ul>
696
- <li><a href="http://www.eridenttech.com/portfolio" target="_blank">Our WebDesign Portfolio</a></li>
697
- <li><a href="http://www.facebook.com/EridentTechnologies" target="_blank">Follow Us on Facebook</a></li>
698
- <li><a href="http://twitter.com/eridenttech" target="_blank">Find Us on Twitter</a></li>
699
- </ul>
700
- </div>
701
 
702
  </div>
703
  <script type="text/javascript">
@@ -737,6 +769,11 @@ value="<?php echo get_option('wp_erident_login_bg_ypos'); ?>" />
737
  jQuery('#ilctabscolorpicker7').farbtastic("#wp_erident_dashboard_form_shadow");
738
  jQuery("#wp_erident_dashboard_form_shadow").click(function(){jQuery('#ilctabscolorpicker7').slideDown()});
739
  jQuery("#wp_erident_dashboard_form_shadow").blur(function(){jQuery('#ilctabscolorpicker7').slideUp()});
 
 
 
 
 
740
  });
741
 
742
  </script>
2
  /*
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: 1.4
7
+ Author: Libin V Babu
8
+ Author URI: http://www.libin.in/
9
  License: GPL
10
  */
11
 
36
  /**
37
  * Add Settings link to plugins
38
  */
39
+ function er_add_settings_link($links, $file) {
40
  static $this_plugin;
41
  if (!$this_plugin) $this_plugin = plugin_basename(__FILE__);
42
+
43
  if ($file == $this_plugin){
44
  $settings_link = '<a href="options-general.php?page=erident-custom-login-and-dashboard">'.__("Settings", "erident-custom-login-and-dashboard").'</a>';
45
  array_unshift($links, $settings_link);
46
  }
47
  return $links;
48
  }
49
+ add_filter('plugin_action_links', 'er_add_settings_link', 10, 2 );
50
 
51
 
52
  add_filter('admin_footer_text', 'left_admin_footer_text_output'); //left side
71
  $er_login_border_color = get_option('wp_erident_dashboard_border_color');
72
  $er_login_bg = get_option('wp_erident_dashboard_login_bg');
73
  $er_login_text_color = get_option('wp_erident_dashboard_text_color');
74
+ $er_login_input_text_color = get_option('wp_erident_dashboard_input_text_color');
75
+ $er_login_label_text_size = get_option('wp_erident_dashboard_label_text_size');
76
+ $er_login_input_text_size = get_option('wp_erident_dashboard_input_text_size');
77
  $er_login_link_color = get_option('wp_erident_dashboard_link_color');
78
 
79
 
125
  }
126
  body.login div#login form p label {
127
  color:<?php echo $er_login_text_color ?>;
128
+ font-size:<?php echo $er_login_label_text_size ?>px;
129
+ }
130
+ body.login div#login form .input, .login input[type="text"] {
131
+ color: <?php echo $er_login_input_text_color ?>;
132
+ font-size:<?php echo $er_login_input_text_size ?>px;
133
  }
134
  body.login #nav a, body.login #backtoblog a {
135
  color: <?php echo $er_login_link_color ?> !important;
174
  add_option("wp_erident_dashboard_border_color", '#6e838e', '', 'yes');
175
  add_option("wp_erident_dashboard_login_bg", '#dbdbdb', '', 'yes');
176
  add_option("wp_erident_dashboard_text_color", '#000000', '', 'yes');
177
+ add_option("wp_erident_dashboard_input_text_color", '#555555', '', 'yes');
178
+ add_option("wp_erident_dashboard_label_text_size", '14', '', 'yes');
179
+ add_option("wp_erident_dashboard_input_text_size", '24', '', 'yes');
180
+
181
  add_option("wp_erident_dashboard_link_color", '#21759B', '', 'yes');
182
  add_option("wp_erident_dashboard_check_shadow", 'Yes', '', 'yes');
183
  add_option("wp_erident_dashboard_link_shadow", '#ffffff', '', 'yes');
213
  delete_option('wp_erident_dashboard_border_color');
214
  delete_option('wp_erident_dashboard_login_bg');
215
  delete_option('wp_erident_dashboard_text_color');
216
+ delete_option('wp_erident_dashboard_input_text_color');
217
+ delete_option('wp_erident_dashboard_label_text_size');
218
+ delete_option('wp_erident_dashboard_input_text_size');
219
  delete_option('wp_erident_dashboard_link_color');
220
  delete_option('wp_erident_dashboard_check_shadow');
221
  delete_option('wp_erident_dashboard_link_shadow');
515
  </tr>
516
  <tr valign="top">
517
  <th scope="row">Login Form Background Image:</th>
518
+ <td><input class="er-textfield" name="wp_erident_login_bg_image" type="text" id="wp_erident_login_bg_image" value="<?php echo get_option('wp_erident_login_bg_image'); ?>" />
 
519
  <br />
520
  <span class="description">Add your own pattern/image url to the form background. Leave blank if you don't need any images.</span>
521
  </td>
576
  </tr>
577
 
578
  <tr valign="top">
579
+ <th scope="row">Login Form Label Text Color</th>
580
  <td>
581
  <input class="er-textfield-small" type="text" id="wp_erident_dashboard_text_color" name="wp_erident_dashboard_text_color" value="<?php echo get_option('wp_erident_dashboard_text_color'); ?>" />
582
  <div id="ilctabscolorpicker3"></div>
583
  <br />
584
+ <span class="description">Click the box to select a color. This will change the color of label Username/Password</span>
585
+ </td>
586
+ </tr>
587
+ <tr valign="top">
588
+ <th scope="row">Login Form Label Text Size:</th>
589
+ <td><input class="er-textfield-small" name="wp_erident_dashboard_label_text_size" type="text" id="wp_erident_dashboard_label_text_size" value="<?php echo get_option('wp_erident_dashboard_label_text_size'); ?>" />px
590
+ <br />
591
+ <span class="description">Font Size of Label Username /Password(Enter value in pixels)</span>
592
+ </td>
593
+ </tr>
594
+ <tr valign="top">
595
+ <th scope="row">Login Form Input Text Color</th>
596
+ <td>
597
+ <input class="er-textfield-small" type="text" id="wp_erident_dashboard_input_text_color" name="wp_erident_dashboard_input_text_color" value="<?php echo get_option('wp_erident_dashboard_input_text_color'); ?>" />
598
+ <div id="ilctabscolorpicker8"></div>
599
+ <br />
600
+ <span class="description">Click the box to select a color. This will change the color of text inside text box.</span>
601
+ </td>
602
+ </tr>
603
+ <tr valign="top">
604
+ <th scope="row">Login Form Input Text Size:</th>
605
+ <td><input class="er-textfield-small" name="wp_erident_dashboard_input_text_size" type="text" id="wp_erident_dashboard_input_text_size" value="<?php echo get_option('wp_erident_dashboard_input_text_size'); ?>" />px
606
+ <br />
607
+ <span class="description">Font Size of text inside text box(Enter value in pixels)</span>
608
  </td>
609
  </tr>
610
  <tr valign="top">
709
 
710
 
711
  <input type="hidden" name="action" value="update" />
712
+ <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_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" />
713
 
714
  <p>
715
  <input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
725
  <li><a href="http://wordpress.org/support/plugin/erident-custom-login-and-dashboard" target="_blank">Plugin Support Page</a></li>
726
  <li><a href="http://www.eridenttech.com/wp-plugins/erident-custom-login-and-dashboard" target="_blank">Plugin Website</a></li>
727
  </ul>
728
+ </div><!-- end .er_notice2 -->
729
  <div class="er_notice">
730
  <h3>Wants to customize your WordPress theme?</h3>
731
+ <p>If you wants professional customization to your wordpress themes, Contact <a href="http://www.libin.in" target="_blank">www.libin.in</a></p>
732
+ </div><!-- end .er_notice -->
 
 
 
 
 
733
 
734
  </div>
735
  <script type="text/javascript">
769
  jQuery('#ilctabscolorpicker7').farbtastic("#wp_erident_dashboard_form_shadow");
770
  jQuery("#wp_erident_dashboard_form_shadow").click(function(){jQuery('#ilctabscolorpicker7').slideDown()});
771
  jQuery("#wp_erident_dashboard_form_shadow").blur(function(){jQuery('#ilctabscolorpicker7').slideUp()});
772
+
773
+ jQuery('#ilctabscolorpicker8').hide();
774
+ jQuery('#ilctabscolorpicker8').farbtastic("#wp_erident_dashboard_input_text_color");
775
+ jQuery("#wp_erident_dashboard_input_text_color").click(function(){jQuery('#ilctabscolorpicker8').slideDown()});
776
+ jQuery("#wp_erident_dashboard_input_text_color").blur(function(){jQuery('#ilctabscolorpicker8').slideUp()});
777
  });
778
 
779
  </script>
readme.txt CHANGED
@@ -3,12 +3,12 @@ Contributors: libinvbabu
3
  Donate link: http://www.eridenttech.com/wp-plugins/erident-custom-login-and-dashboard
4
  Tags: login, customisation, admin, dashboard, customise, erident, custom, form, logo, branding
5
  Requires at least: 3.0.0
6
- Tested up to: 3.4.2
7
- Stable tag: 1.3
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- Customize completly your WordPress Login Screen and Dashboard easily. Add your logo, change background image, colors, styles, Dashboard footer etc.
12
 
13
  == Description ==
14
 
@@ -20,7 +20,7 @@ Customize completely your WordPress Login Screen and Dashboard easily. Add your
20
  1. Add Image/Color Backgrounds to Login Screen.
21
  1. Add Image/Color Background to Login Form.
22
  1. Pick color using awesome jQuery color picker
23
- 1. Change Texts/Links Color on Login Form
24
  1. Replace the WordPress Logo on the Login Form with your own.
25
  1. Enable/Disable shadow for the Links on Login Form
26
  1. Enable/Disable shadow for the Login Form
@@ -51,7 +51,8 @@ Customize completely your WordPress Login Screen and Dashboard easily. Add your
51
  * Login Form Background Color/Image
52
  * Login Form Background Repeat
53
  * Login Form Background Position
54
- * Login Form Text Color
 
55
  * Enable Link Shadow
56
  * Login Form Link Shadow Color
57
  * Enable form Shadow
@@ -95,6 +96,11 @@ By default you will not lose any of your previous settings. Check the Plugin Un-
95
 
96
  == Changelog ==
97
 
 
 
 
 
 
98
  = 1.3 =
99
  * Added an option for Form Shadow.
100
  * Fixed Minor bugs.
@@ -114,5 +120,5 @@ By default you will not lose any of your previous settings. Check the Plugin Un-
114
 
115
  == Upgrade Notice ==
116
 
117
- = 1.2 =
118
- This version fixed the issue of conflicting with other plugins on admin pages. Upgrade now.
3
  Donate link: http://www.eridenttech.com/wp-plugins/erident-custom-login-and-dashboard
4
  Tags: login, customisation, admin, dashboard, customise, erident, custom, form, logo, branding
5
  Requires at least: 3.0.0
6
+ Tested up to: 3.5
7
+ Stable tag: 1.4
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ Customize completely your WordPress Login Screen and Dashboard easily. Add your logo, change background image, colors, styles, Dashboard footer etc.
12
 
13
  == Description ==
14
 
20
  1. Add Image/Color Backgrounds to Login Screen.
21
  1. Add Image/Color Background to Login Form.
22
  1. Pick color using awesome jQuery color picker
23
+ 1. Change Texts/Links Color and size on Login Form
24
  1. Replace the WordPress Logo on the Login Form with your own.
25
  1. Enable/Disable shadow for the Links on Login Form
26
  1. Enable/Disable shadow for the Login Form
51
  * Login Form Background Color/Image
52
  * Login Form Background Repeat
53
  * Login Form Background Position
54
+ * Login Form Label/input Text Color
55
+ * Login Form Label/input Text Size
56
  * Enable Link Shadow
57
  * Login Form Link Shadow Color
58
  * Enable form Shadow
96
 
97
  == Changelog ==
98
 
99
+ = 1.4 =
100
+ * Added an option for Login Form label and input text's font size
101
+ * Added an option for Login Form input text color
102
+ * Bug fixed for settings link conflicting
103
+
104
  = 1.3 =
105
  * Added an option for Form Shadow.
106
  * Fixed Minor bugs.
120
 
121
  == Upgrade Notice ==
122
 
123
+ = 1.4 =
124
+ This version fixed a small bug and added new features. Upgrade now.
screenshot-1.png CHANGED
Binary file