Admin Custom Login - Version 2.4

Version Description

Download this release

Release Info

Developer weblizar
Plugin Icon 128x128 Admin Custom Login
Version 2.4
Comparing to
See all releases

Code changes from version 2.3 to 2.4

Files changed (3) hide show
  1. admin-custom-login.php +4 -10
  2. images/Thumbs.db +0 -0
  3. readme.txt +4 -1
admin-custom-login.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Admin Custom Login
4
- * Version: 2.3
5
  * Description: Admin Custom Login plugin allows you to change your Login Form.
6
  * Author: weblizar
7
  * Author URI: http://www.weblizar.com
@@ -32,7 +32,7 @@ require_once("login-form-screen.php");
32
  add_action('admin_menu','acl_weblizar_admin_custom_login_menu');
33
  function acl_weblizar_admin_custom_login_menu() {
34
  //plugin menu name for Admin Custom Login
35
- // $acl_menu = add_menu_page('Admin custom Login', 'Admin custom Login','administrator', 'admin_custom_login','acl_admin_custom_login_content');
36
  $acl_menu = add_submenu_page( 'options-general.php','Admin custom Login', 'Admin custom Login','administrator', 'admin_custom_login','acl_admin_custom_login_content' );
37
  //add hook to add styles and scripts for Admin Custom Login admin page
38
  add_action( 'admin_print_styles-' . $acl_menu, 'acl_admin_custom_login_js_css' );
@@ -99,21 +99,18 @@ function acl_footer_func() {
99
  ?>
100
  <script>
101
  jQuery(document).ready(function(){
102
-
103
  jQuery('html body').attr('id', 'screen');
104
  jQuery('#loginform label[for="user_login"]').attr('id', 'log_input_lable');
105
  jQuery('#loginform label[for="user_pass"]').attr('id', 'pwd_input_lable');
106
 
107
  <?php if($enable_inputbox_icon=='yes'){?>
108
- if (jQuery('#log_input_lable').length)
109
- {
110
  document.getElementById("log_input_lable").innerHTML="<?php _e('User Name','WEBLIZAR_ACL');?><div class='input-container'> <div class='icon-ph'><i class='fa <?php echo $user_input_icon; ?>'></i></div> <input id='user_login' name='log' class='input' type='text' placeholder='<?php _e('User Name','WEBLIZAR_ACL');?>'></div>";
111
  document.getElementById("pwd_input_lable").innerHTML="<?php _e('Password','WEBLIZAR_ACL');?><div class='input-container'> <div class='icon-ph'><i class='fa <?php echo $password_input_icon; ?>'></i></div> <input id='user_pass' name='pwd' class='input' type='password' placeholder='<?php _e('Password','WEBLIZAR_ACL');?>'></div>";
112
  jQuery('body.login div#login form .input, .login input[type="text"]').css('padding','5px 5px 5px 45px');
113
  }
114
  <?php } else { ?>
115
- if (jQuery('#log_input_lable').length)
116
- {
117
  jQuery('#loginform #user_login').attr('placeholder', '<?php _e('User Name','WEBLIZAR_ACL');?>');
118
  jQuery('#loginform #user_pass').attr('placeholder', '<?php _e('Password','WEBLIZAR_ACL');?>');
119
  jQuery('body.login div#login form .input, .login input[type="text"]').css('padding','5px 5px 5px 5px');
@@ -147,7 +144,6 @@ function acl_admin_custom_login_content() {
147
  /**
148
  * Process a settings export that generates a .json file of the shop settings
149
  */
150
-
151
  function acl_export_settings() {
152
 
153
  if( empty( $_POST['acl_action'] ) || 'export_settings' != $_POST['acl_action'] )
@@ -347,7 +343,6 @@ add_action( 'admin_init', 'acl_export_settings' );
347
  /**
348
  * Process a settings import from a json file
349
  */
350
-
351
  function acl_import_settings() {
352
 
353
  if( empty( $_POST['acl_action'] ) || 'import_settings' != $_POST['acl_action'] )
@@ -650,7 +645,6 @@ function acl_import_settings() {
650
  update_option('Admin_custome_login_Slidshow', $Slidshow_image);
651
 
652
  //wp_safe_redirect( admin_url( 'options-general.php?page=admin_custom_login' ) ); exit;
653
-
654
  }
655
  add_action( 'admin_init', 'acl_import_settings' );
656
  ?>
1
  <?php
2
  /**
3
  * Plugin Name: Admin Custom Login
4
+ * Version: 2.4
5
  * Description: Admin Custom Login plugin allows you to change your Login Form.
6
  * Author: weblizar
7
  * Author URI: http://www.weblizar.com
32
  add_action('admin_menu','acl_weblizar_admin_custom_login_menu');
33
  function acl_weblizar_admin_custom_login_menu() {
34
  //plugin menu name for Admin Custom Login
35
+ // $acl_menu = add_menu_page('Admin custom Login', 'Admin custom Login','administrator', 'admin_custom_login','acl_admin_custom_login_content');
36
  $acl_menu = add_submenu_page( 'options-general.php','Admin custom Login', 'Admin custom Login','administrator', 'admin_custom_login','acl_admin_custom_login_content' );
37
  //add hook to add styles and scripts for Admin Custom Login admin page
38
  add_action( 'admin_print_styles-' . $acl_menu, 'acl_admin_custom_login_js_css' );
99
  ?>
100
  <script>
101
  jQuery(document).ready(function(){
 
102
  jQuery('html body').attr('id', 'screen');
103
  jQuery('#loginform label[for="user_login"]').attr('id', 'log_input_lable');
104
  jQuery('#loginform label[for="user_pass"]').attr('id', 'pwd_input_lable');
105
 
106
  <?php if($enable_inputbox_icon=='yes'){?>
107
+ if (jQuery('#log_input_lable').length) {
 
108
  document.getElementById("log_input_lable").innerHTML="<?php _e('User Name','WEBLIZAR_ACL');?><div class='input-container'> <div class='icon-ph'><i class='fa <?php echo $user_input_icon; ?>'></i></div> <input id='user_login' name='log' class='input' type='text' placeholder='<?php _e('User Name','WEBLIZAR_ACL');?>'></div>";
109
  document.getElementById("pwd_input_lable").innerHTML="<?php _e('Password','WEBLIZAR_ACL');?><div class='input-container'> <div class='icon-ph'><i class='fa <?php echo $password_input_icon; ?>'></i></div> <input id='user_pass' name='pwd' class='input' type='password' placeholder='<?php _e('Password','WEBLIZAR_ACL');?>'></div>";
110
  jQuery('body.login div#login form .input, .login input[type="text"]').css('padding','5px 5px 5px 45px');
111
  }
112
  <?php } else { ?>
113
+ if (jQuery('#log_input_lable').length) {
 
114
  jQuery('#loginform #user_login').attr('placeholder', '<?php _e('User Name','WEBLIZAR_ACL');?>');
115
  jQuery('#loginform #user_pass').attr('placeholder', '<?php _e('Password','WEBLIZAR_ACL');?>');
116
  jQuery('body.login div#login form .input, .login input[type="text"]').css('padding','5px 5px 5px 5px');
144
  /**
145
  * Process a settings export that generates a .json file of the shop settings
146
  */
 
147
  function acl_export_settings() {
148
 
149
  if( empty( $_POST['acl_action'] ) || 'export_settings' != $_POST['acl_action'] )
343
  /**
344
  * Process a settings import from a json file
345
  */
 
346
  function acl_import_settings() {
347
 
348
  if( empty( $_POST['acl_action'] ) || 'import_settings' != $_POST['acl_action'] )
645
  update_option('Admin_custome_login_Slidshow', $Slidshow_image);
646
 
647
  //wp_safe_redirect( admin_url( 'options-general.php?page=admin_custom_login' ) ); exit;
 
648
  }
649
  add_action( 'admin_init', 'acl_import_settings' );
650
  ?>
images/Thumbs.db DELETED
Binary file
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.weblizar.com/
4
  Tags: admin, admin login, admin login page, customize, admin custom login, custom login, branding, custom login, custom login pro, customization, error, login, login error, logo, customization, themes, wordpress login, login form, admin login form, wordpress login, plugin, jquery form, jquery, customization, customizer, custom login plugin, background , sideshow, social form, social connect, social share, facebook, twitter, google plug, linkedin, background slideshow, image, logo, custom logo, wordpress admin login, wp login, wp-login, log in, admin, role, subscriber, captcha, security login, customize wordpress login form, wp login form, login form plugin, ogin page, logo, style log in, style login, themes, custom login page, css , html, form style,
5
  Requires at least: 3.3
6
  Tested up to: 4.4
7
- Stable tag: 2.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -108,6 +108,9 @@ If you have any question contact us at here: [Plugin Support Forum ](http://word
108
 
109
  For more information, see [Weblizar](http://wwww.weblizar.com/)
110
 
 
 
 
111
  = Version 2.3 17/12/2015 =
112
  * Font Awesome Library update (update google+ icon).
113
 
4
  Tags: admin, admin login, admin login page, customize, admin custom login, custom login, branding, custom login, custom login pro, customization, error, login, login error, logo, customization, themes, wordpress login, login form, admin login form, wordpress login, plugin, jquery form, jquery, customization, customizer, custom login plugin, background , sideshow, social form, social connect, social share, facebook, twitter, google plug, linkedin, background slideshow, image, logo, custom logo, wordpress admin login, wp login, wp-login, log in, admin, role, subscriber, captcha, security login, customize wordpress login form, wp login form, login form plugin, ogin page, logo, style log in, style login, themes, custom login page, css , html, form style,
5
  Requires at least: 3.3
6
  Tested up to: 4.4
7
+ Stable tag: 2.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
108
 
109
  For more information, see [Weblizar](http://wwww.weblizar.com/)
110
 
111
+ = Version 2.4 31/12/2015 =
112
+ * Small code update
113
+
114
  = Version 2.3 17/12/2015 =
115
  * Font Awesome Library update (update google+ icon).
116