Version Description
Download this release
Release Info
Developer | weblizar |
Plugin | Admin Custom Login |
Version | 3.4.0 |
Comparing to | |
See all releases |
Code changes from version 3.3.9 to 3.4.0
- admin-custom-login.php +1 -1
- css/smartech.css +1 -1
- includes/design/background.php +3 -3
- includes/get_value.php +1 -0
- includes/login-form-setting/login-form-background.php +60 -35
- includes/login-inline-css.php +1 -1
- init.php +4 -0
- installation.php +1 -0
- js/inlinejs/loginform.js +6 -1
- login-form-screen.php +5 -0
- readme.txt +5 -1
admin-custom-login.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Admin Custom Login
|
4 |
-
* Version: 3.
|
5 |
* Description: Customize Your WordPress Login Screen Amazingly - Add Own Logo, Add Social Profiles, Login Form Positions, Background Image Slide Show
|
6 |
* Author: Weblizar
|
7 |
* Author URI: https://weblizar.com/plugins/
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Admin Custom Login
|
4 |
+
* Version: 3.4.0
|
5 |
* Description: Customize Your WordPress Login Screen Amazingly - Add Own Logo, Add Social Profiles, Login Form Positions, Background Image Slide Show
|
6 |
* Author: Weblizar
|
7 |
* Author URI: https://weblizar.com/plugins/
|
css/smartech.css
CHANGED
@@ -1754,7 +1754,7 @@ border-radius: 0px;
|
|
1754 |
text-indent: 0.01px;
|
1755 |
text-overflow: '';
|
1756 |
-webkit-appearance: none;
|
1757 |
-
background: #ffffff
|
1758 |
outline: none;
|
1759 |
vertical-align: middle;
|
1760 |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F8F8F8', endColorstr='#E1E1E1', GradientType=0);
|
1754 |
text-indent: 0.01px;
|
1755 |
text-overflow: '';
|
1756 |
-webkit-appearance: none;
|
1757 |
+
background: #ffffff;
|
1758 |
outline: none;
|
1759 |
vertical-align: middle;
|
1760 |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F8F8F8', endColorstr='#E1E1E1', GradientType=0);
|
includes/design/background.php
CHANGED
@@ -32,9 +32,9 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
|
32 |
<select id="select-background" class="standard-dropdown" name="select-background" onchange='getComboid()'>
|
33 |
<option value="no-background" ><?php esc_html_e('No Background Selected', WEBLIZAR_ACL)?></option>
|
34 |
<optgroup label="<?php esc_html_e('Select Background', WEBLIZAR_ACL)?>">
|
35 |
-
<option value="static-background-color" <?php
|
36 |
-
<option value="static-background-image" <?php
|
37 |
-
<option value="
|
38 |
</optgroup>
|
39 |
</select>
|
40 |
</td>
|
32 |
<select id="select-background" class="standard-dropdown" name="select-background" onchange='getComboid()'>
|
33 |
<option value="no-background" ><?php esc_html_e('No Background Selected', WEBLIZAR_ACL)?></option>
|
34 |
<optgroup label="<?php esc_html_e('Select Background', WEBLIZAR_ACL)?>">
|
35 |
+
<option value="static-background-color" <?php if ( $top_bg_type == 'static-background-color' ) { echo "selected"; } ?>><?php esc_html_e('Static Background Color', WEBLIZAR_ACL)?></option>
|
36 |
+
<option value="static-background-image" <?php if ( $top_bg_type == 'static-background-image' ) { echo "selected"; } ?>><?php esc_html_e('Static Background Image', WEBLIZAR_ACL)?></option>
|
37 |
+
<option value="static-background-pattern" <?php if ( $top_bg_type == 'static-background-pattern' ) { echo "selected"; } ?>><?php esc_html_e('Static Background Pattern', WEBLIZAR_ACL)?></option>
|
38 |
</optgroup>
|
39 |
</select>
|
40 |
</td>
|
includes/get_value.php
CHANGED
@@ -49,6 +49,7 @@ if (isset($login_page['login_redirect_force'])) {
|
|
49 |
}
|
50 |
|
51 |
$login_shadow_color = $login_page['login_shadow_color'];
|
|
|
52 |
$login_redirect_user = isset($login_page['login_redirect_user']) ? $login_page['login_redirect_user'] : '';
|
53 |
|
54 |
if (isset($login_page['login_force_redirect_url'])) {
|
49 |
}
|
50 |
|
51 |
$login_shadow_color = $login_page['login_shadow_color'];
|
52 |
+
$login_custom_css = isset($login_page['login_custom_css']) ? $login_page['login_custom_css'] : '';
|
53 |
$login_redirect_user = isset($login_page['login_redirect_user']) ? $login_page['login_redirect_user'] : '';
|
54 |
|
55 |
if (isset($login_page['login_force_redirect_url'])) {
|
includes/login-form-setting/login-form-background.php
CHANGED
@@ -20,7 +20,7 @@ if (!defined('ABSPATH')) exit;
|
|
20 |
</div>
|
21 |
</div>
|
22 |
</div>
|
23 |
-
|
24 |
<div class="panel panel-primary panel-default content-panel">
|
25 |
<div class="panel-body">
|
26 |
<table class="form-table">
|
@@ -662,6 +662,25 @@ if (!defined('ABSPATH')) exit;
|
|
662 |
</div>
|
663 |
</div>
|
664 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
665 |
|
666 |
<button data-dialog2="somedialog2" class="dialog-button2" style="display:none"><?php esc_html_e('Open Dialog', WEBLIZAR_ACL) ?></button>
|
667 |
<div id="somedialog2" class="dialog" style="position: fixed; z-index: 9999;">
|
@@ -706,6 +725,7 @@ if (!defined('ABSPATH')) exit;
|
|
706 |
<!-- /row -->
|
707 |
<?php
|
708 |
if (isset($_POST['Action'])) {
|
|
|
709 |
$Action = sanitize_text_field($_POST['Action']);
|
710 |
if( ! wp_verify_nonce( $_POST['nonce_ajax'], 'weblizar_admin_nonce' ) ) {
|
711 |
die('Not authorized');
|
@@ -713,40 +733,41 @@ if (isset($_POST['Action'])) {
|
|
713 |
else {
|
714 |
//Save
|
715 |
if ($Action == "loginbgSave") {
|
716 |
-
$login_form_position = sanitize_text_field(
|
717 |
-
$login_form_left = sanitize_text_field(
|
718 |
-
$login_form_top = sanitize_text_field(
|
719 |
-
$login_form_float = sanitize_text_field(
|
720 |
-
$Login_bg_value = sanitize_text_field(
|
721 |
-
$login_background_color = sanitize_text_field(
|
722 |
-
$login_bg_color_overlay = sanitize_text_field(
|
723 |
-
$login_bg_image = sanitize_text_field(
|
724 |
-
$login_form_opacity = sanitize_text_field(
|
725 |
-
$login_form_width = sanitize_text_field(
|
726 |
-
$login_form_radius = sanitize_text_field(
|
727 |
-
$login_border_style = sanitize_text_field(
|
728 |
-
$login_redirect_force = sanitize_text_field(
|
729 |
-
$login_border_thikness = sanitize_text_field(
|
730 |
-
$login_border_color = sanitize_hex_color(
|
731 |
-
$login_bg_repeat = sanitize_text_field(
|
732 |
-
$login_bg_position = sanitize_text_field(
|
733 |
-
$login_enable_shadow = sanitize_text_field(
|
734 |
-
$login_enable_language_switcher = sanitize_text_field(
|
735 |
-
$login_shadow_color = sanitize_hex_color(
|
736 |
-
$
|
737 |
-
$
|
738 |
-
$
|
739 |
-
$
|
740 |
-
$
|
741 |
-
$
|
742 |
-
$
|
743 |
-
$
|
744 |
-
$
|
745 |
-
$
|
746 |
-
$
|
747 |
-
$
|
748 |
-
$
|
749 |
-
$
|
|
|
750 |
|
751 |
// Save Values in Option Table
|
752 |
$login_page = serialize(array(
|
@@ -765,6 +786,7 @@ if (isset($_POST['Action'])) {
|
|
765 |
'login_redirect_force' => $login_redirect_force,
|
766 |
'login_border_thikness' => $login_border_thikness,
|
767 |
'login_border_color' => $login_border_color,
|
|
|
768 |
'login_bg_repeat' => $login_bg_repeat,
|
769 |
'login_bg_position' => $login_bg_position,
|
770 |
'login_enable_shadow' => $login_enable_shadow,
|
@@ -785,6 +807,8 @@ if (isset($_POST['Action'])) {
|
|
785 |
'label_password' => $label_password,
|
786 |
'label_loginButton' => $label_loginButton,
|
787 |
));
|
|
|
|
|
788 |
update_option('Admin_custome_login_login', $login_page);
|
789 |
}
|
790 |
|
@@ -808,6 +832,7 @@ if (isset($_POST['Action'])) {
|
|
808 |
'login_bg_repeat' => 'repeat',
|
809 |
'login_bg_position' => 'left top',
|
810 |
'login_enable_shadow' => 'yes',
|
|
|
811 |
'login_enable_language_switcher' => 'yes',
|
812 |
'login_shadow_color' => '#C8C8C8',
|
813 |
'login_redirect_user' => '',
|
20 |
</div>
|
21 |
</div>
|
22 |
</div>
|
23 |
+
<?php //var_dump($login_form_position); die; ?>
|
24 |
<div class="panel panel-primary panel-default content-panel">
|
25 |
<div class="panel-body">
|
26 |
<table class="form-table">
|
662 |
</div>
|
663 |
</div>
|
664 |
|
665 |
+
<div class="panel panel-primary panel-default content-panel ">
|
666 |
+
<div class="panel-body">
|
667 |
+
<table class="form-table">
|
668 |
+
<tr>
|
669 |
+
<th scope="row"><?php esc_html_e('Custom CSS', WEBLIZAR_ACL) ?></th>
|
670 |
+
<td></td>
|
671 |
+
</tr>
|
672 |
+
<tr class="radio-span" style="border-bottom:none;">
|
673 |
+
<td>
|
674 |
+
<textarea id="login_custom_css" name="login_custom_css" placeholder="<?php esc_attr_e('Custom CSS', WEBLIZAR_ACL) ?>" type="text" class="login_custom_css" rows="10" cols="75" style="width:80%"><?php echo esc_html($login_custom_css); ?></textarea>
|
675 |
+
<p class="description">
|
676 |
+
<?php esc_html_e('Enter any custom css you want to apply on login panel.', WEBLIZAR_ACL); ?>.<br>
|
677 |
+
<?php esc_html_e('Note: Please Do Not Use', WEBLIZAR_ACL); ?> <b><?php esc_html_e('Style', WEBLIZAR_ACL) ?></b> <?php esc_html_e('Tag With Custom CSS', WEBLIZAR_ACL); ?>.
|
678 |
+
</p>
|
679 |
+
</td>
|
680 |
+
</tr>
|
681 |
+
</table>
|
682 |
+
</div>
|
683 |
+
</div>
|
684 |
|
685 |
<button data-dialog2="somedialog2" class="dialog-button2" style="display:none"><?php esc_html_e('Open Dialog', WEBLIZAR_ACL) ?></button>
|
686 |
<div id="somedialog2" class="dialog" style="position: fixed; z-index: 9999;">
|
725 |
<!-- /row -->
|
726 |
<?php
|
727 |
if (isset($_POST['Action'])) {
|
728 |
+
// var_dump($login_page); die;
|
729 |
$Action = sanitize_text_field($_POST['Action']);
|
730 |
if( ! wp_verify_nonce( $_POST['nonce_ajax'], 'weblizar_admin_nonce' ) ) {
|
731 |
die('Not authorized');
|
733 |
else {
|
734 |
//Save
|
735 |
if ($Action == "loginbgSave") {
|
736 |
+
$login_form_position = sanitize_text_field($_POST['login_form_position']);
|
737 |
+
$login_form_left = sanitize_text_field( $_POST['login_form_left']);
|
738 |
+
$login_form_top = sanitize_text_field( $_POST['login_form_top']);
|
739 |
+
$login_form_float = sanitize_text_field( $_POST['login_form_float']);
|
740 |
+
$Login_bg_value = sanitize_text_field( $_POST['Login_bg_value']);
|
741 |
+
$login_background_color = sanitize_text_field( $_POST['login_background_color']);
|
742 |
+
$login_bg_color_overlay = sanitize_text_field( $_POST['login_bg_color_overlay']);
|
743 |
+
$login_bg_image = sanitize_text_field( $_POST['login_bg_image']);
|
744 |
+
$login_form_opacity = sanitize_text_field( $_POST['login_form_opacity']);
|
745 |
+
$login_form_width = sanitize_text_field( $_POST['login_form_width']);
|
746 |
+
$login_form_radius = sanitize_text_field( $_POST['login_form_radius']);
|
747 |
+
$login_border_style = sanitize_text_field( $_POST['login_border_style']);
|
748 |
+
$login_redirect_force = sanitize_text_field( $_POST['login_redirect_force']);
|
749 |
+
$login_border_thikness = sanitize_text_field( $_POST['login_border_thikness']);
|
750 |
+
$login_border_color = sanitize_hex_color( $_POST['login_border_color']);
|
751 |
+
$login_bg_repeat = sanitize_text_field( $_POST['login_bg_repeat']);
|
752 |
+
$login_bg_position = sanitize_text_field( $_POST['login_bg_position']);
|
753 |
+
$login_enable_shadow = sanitize_text_field( $_POST['login_enable_shadow']);
|
754 |
+
$login_enable_language_switcher = sanitize_text_field( $_POST['login_enable_language_switcher']);
|
755 |
+
$login_shadow_color = sanitize_hex_color( $_POST['login_shadow_color']);
|
756 |
+
$login_custom_css = wp_strip_all_tags( $_POST['login_custom_css']);
|
757 |
+
$login_redirect_user = sanitize_text_field( $_POST['login_redirect_user']);
|
758 |
+
$login_force_redirect_url = sanitize_text_field( $_POST['login_force_redirect_url']);
|
759 |
+
$log_form_above_msg = sanitize_text_field( $_POST['log_form_above_msg']);
|
760 |
+
$login_pass_reset_msg = sanitize_text_field( $_POST['login_pass_reset_msg']);
|
761 |
+
$tagline_msg = sanitize_text_field( $_POST['tagline_msg']);
|
762 |
+
$login_msg_fontsize = sanitize_text_field( $_POST['login_msg_fontsize']);
|
763 |
+
$login_msg_font_color = sanitize_hex_color( $_POST['login_msg_font_color']);
|
764 |
+
$login_tagline_text_color = sanitize_hex_color( $_POST['login_tagline_text_color']);
|
765 |
+
$login_tagline_link_color = sanitize_hex_color( $_POST['login_tagline_link_color']);
|
766 |
+
$user_cust_lbl = sanitize_text_field( $_POST['user_cust_lbl']);
|
767 |
+
$pass_cust_lbl = sanitize_text_field( $_POST['pass_cust_lbl']);
|
768 |
+
$label_username = sanitize_text_field( $_POST['label_username']);
|
769 |
+
$label_password = sanitize_text_field( $_POST['label_password']);
|
770 |
+
$label_loginButton = sanitize_text_field( $_POST['label_loginButton']);
|
771 |
|
772 |
// Save Values in Option Table
|
773 |
$login_page = serialize(array(
|
786 |
'login_redirect_force' => $login_redirect_force,
|
787 |
'login_border_thikness' => $login_border_thikness,
|
788 |
'login_border_color' => $login_border_color,
|
789 |
+
'login_custom_css' => $login_custom_css,
|
790 |
'login_bg_repeat' => $login_bg_repeat,
|
791 |
'login_bg_position' => $login_bg_position,
|
792 |
'login_enable_shadow' => $login_enable_shadow,
|
807 |
'label_password' => $label_password,
|
808 |
'label_loginButton' => $label_loginButton,
|
809 |
));
|
810 |
+
|
811 |
+
|
812 |
update_option('Admin_custome_login_login', $login_page);
|
813 |
}
|
814 |
|
832 |
'login_bg_repeat' => 'repeat',
|
833 |
'login_bg_position' => 'left top',
|
834 |
'login_enable_shadow' => 'yes',
|
835 |
+
'login_custom_css' => '',
|
836 |
'login_enable_language_switcher' => 'yes',
|
837 |
'login_shadow_color' => '#C8C8C8',
|
838 |
'login_redirect_user' => '',
|
includes/login-inline-css.php
CHANGED
@@ -3,7 +3,7 @@ wp_register_style( 'acl-er-login-style', false );
|
|
3 |
wp_enqueue_style( 'acl-er-login-style' );
|
4 |
$css = ' ';
|
5 |
ob_start(); ?>
|
6 |
-
|
7 |
/* Styles loading for Admin Custome Login */
|
8 |
html {
|
9 |
background: none !important;
|
3 |
wp_enqueue_style( 'acl-er-login-style' );
|
4 |
$css = ' ';
|
5 |
ob_start(); ?>
|
6 |
+
<?php echo esc_attr($login_custom_css); ?>
|
7 |
/* Styles loading for Admin Custome Login */
|
8 |
html {
|
9 |
background: none !important;
|
init.php
CHANGED
@@ -496,6 +496,7 @@ function acl_export_settings()
|
|
496 |
$login_form_position = $login_page['login_form_position'];
|
497 |
$login_form_left = $login_page['login_form_left'];
|
498 |
$login_form_float = $login_page['login_form_float'];
|
|
|
499 |
$login_form_top = $login_page['login_form_top'];
|
500 |
$login_bg_type = $login_page['login_bg_type'];
|
501 |
$login_bg_color = $login_page['login_bg_color'];
|
@@ -623,6 +624,7 @@ function acl_export_settings()
|
|
623 |
'login_form_position' => $login_form_position,
|
624 |
'login_form_left' => $login_form_left,
|
625 |
'login_form_float' => $login_form_float,
|
|
|
626 |
'login_form_top' => $login_form_top,
|
627 |
'login_bg_type' => $login_bg_type,
|
628 |
'login_bg_color' => $login_bg_color,
|
@@ -786,6 +788,7 @@ function acl_import_settings()
|
|
786 |
$login_form_position = $ACL_Settings['login_form_position'];
|
787 |
$login_form_left = $ACL_Settings['login_form_left'];
|
788 |
$login_form_float = $ACL_Settings['login_form_float'];
|
|
|
789 |
$login_form_top = $ACL_Settings['login_form_top'];
|
790 |
$login_bg_type = $ACL_Settings['login_bg_type'];
|
791 |
$login_bg_color = $ACL_Settings['login_bg_color'];
|
@@ -1002,6 +1005,7 @@ function acl_import_settings()
|
|
1002 |
'login_form_position' => $login_form_position,
|
1003 |
'login_form_left' => $login_form_left,
|
1004 |
'login_form_float' => $login_form_float,
|
|
|
1005 |
'login_form_top' => $login_form_top,
|
1006 |
'login_bg_type' => $login_bg_type,
|
1007 |
'login_bg_color' => $login_bg_color,
|
496 |
$login_form_position = $login_page['login_form_position'];
|
497 |
$login_form_left = $login_page['login_form_left'];
|
498 |
$login_form_float = $login_page['login_form_float'];
|
499 |
+
$login_custom_css = $login_page['login_custom_css'];
|
500 |
$login_form_top = $login_page['login_form_top'];
|
501 |
$login_bg_type = $login_page['login_bg_type'];
|
502 |
$login_bg_color = $login_page['login_bg_color'];
|
624 |
'login_form_position' => $login_form_position,
|
625 |
'login_form_left' => $login_form_left,
|
626 |
'login_form_float' => $login_form_float,
|
627 |
+
'login_custom_css' => $login_custom_css,
|
628 |
'login_form_top' => $login_form_top,
|
629 |
'login_bg_type' => $login_bg_type,
|
630 |
'login_bg_color' => $login_bg_color,
|
788 |
$login_form_position = $ACL_Settings['login_form_position'];
|
789 |
$login_form_left = $ACL_Settings['login_form_left'];
|
790 |
$login_form_float = $ACL_Settings['login_form_float'];
|
791 |
+
$login_custom_css = $ACL_Settings['login_custom_css'];
|
792 |
$login_form_top = $ACL_Settings['login_form_top'];
|
793 |
$login_bg_type = $ACL_Settings['login_bg_type'];
|
794 |
$login_bg_color = $ACL_Settings['login_bg_color'];
|
1005 |
'login_form_position' => $login_form_position,
|
1006 |
'login_form_left' => $login_form_left,
|
1007 |
'login_form_float' => $login_form_float,
|
1008 |
+
'login_custom_css' => $login_custom_css,
|
1009 |
'login_form_top' => $login_form_top,
|
1010 |
'login_bg_type' => $login_bg_type,
|
1011 |
'login_bg_color' => $login_bg_color,
|
installation.php
CHANGED
@@ -44,6 +44,7 @@ if ( ! isset( $login_Version['Version'] ) ) :
|
|
44 |
'login_form_float' => 'center',
|
45 |
'login_form_left' => '700',
|
46 |
'login_form_top' => '300',
|
|
|
47 |
'login_redirect_force' => 'no',
|
48 |
'login_redirect_user' => '',
|
49 |
'login_force_redirect_url' => get_home_url() . '/wp-login.php',
|
44 |
'login_form_float' => 'center',
|
45 |
'login_form_left' => '700',
|
46 |
'login_form_top' => '300',
|
47 |
+
'login_custom_css' => '',
|
48 |
'login_redirect_force' => 'no',
|
49 |
'login_redirect_user' => '',
|
50 |
'login_force_redirect_url' => get_home_url() . '/wp-login.php',
|
js/inlinejs/loginform.js
CHANGED
@@ -300,6 +300,7 @@ function Custom_login_login(Action, id){
|
|
300 |
var login_bg_repeat = jQuery( "#login_bg_repeat option:selected" ).val();
|
301 |
var login_bg_position = jQuery( "#login_bg_position option:selected" ).val();
|
302 |
var login_redirect_user = jQuery( "#login_redirect_user").val();
|
|
|
303 |
var login_force_redirect_url = jQuery( "#login_force_redirect_url").val();
|
304 |
var log_form_above_msg = jQuery( "#log_form_above_msg").val();
|
305 |
var login_pass_reset_msg = jQuery( "#login_pass_reset_msg").val();
|
@@ -328,7 +329,7 @@ function Custom_login_login(Action, id){
|
|
328 |
}
|
329 |
var login_shadow_color = jQuery("#login_shadow_color").val();
|
330 |
|
331 |
-
var PostData = "Action=" + Action + "&login_form_position=" + login_form_position + "&Login_bg_value=" + Login_bg_value + "&login_background_color=" + login_background_color + "&login_bg_color_overlay=" + login_bg_color_overlay + "&login_bg_image=" + login_bg_image + "&login_form_opacity=" + login_form_opacity + "&login_form_width=" + login_form_width + "&login_form_radius=" + login_form_radius + "&login_border_style=" + login_border_style + "&login_redirect_force=" + login_redirect_force +"&login_border_thikness=" + login_border_thikness + "&login_border_color=" + login_border_color + "&login_bg_repeat=" + login_bg_repeat + "&login_bg_position=" + login_bg_position + "&login_enable_shadow=" + login_enable_shadow+ "&login_enable_language_switcher=" + login_enable_language_switcher + "&login_shadow_color=" + login_shadow_color + "&login_redirect_user=" + login_redirect_user + "&login_force_redirect_url=" + login_force_redirect_url +"&login_form_left=" + login_form_left + "&log_form_above_msg=" + log_form_above_msg +"&login_pass_reset_msg=" + login_pass_reset_msg + "&login_msg_font_color=" + login_msg_font_color + "&login_tagline_text_color=" + login_tagline_text_color + "&login_tagline_link_color=" + login_tagline_link_color + "&login_msg_fontsize=" + login_msg_fontsize + "&login_form_top=" + login_form_top + "&login_form_float=" + login_form_float + "&tagline_msg=" + tagline_msg + "&user_cust_lbl=" + user_cust_lbl + "&pass_cust_lbl=" + pass_cust_lbl + '&label_username=' + label_username + '&label_password=' + label_password + '&label_loginButton=' + label_loginButton;
|
332 |
jQuery.ajax({
|
333 |
dataType : 'html',
|
334 |
type: 'POST',
|
@@ -356,6 +357,7 @@ function Custom_login_login(Action, id){
|
|
356 |
login_enable_language_switcher: login_enable_language_switcher,
|
357 |
login_shadow_color: login_shadow_color,
|
358 |
login_redirect_user: login_redirect_user,
|
|
|
359 |
login_force_redirect_url: login_force_redirect_url,
|
360 |
login_form_left: login_form_left,
|
361 |
log_form_above_msg: log_form_above_msg,
|
@@ -466,6 +468,9 @@ function Custom_login_login(Action, id){
|
|
466 |
// Message Display Above Login Form
|
467 |
jQuery("#log_form_above_msg").val('');
|
468 |
jQuery("#login_pass_reset_msg").val('');
|
|
|
|
|
|
|
469 |
// Tagline Message Display Below Login Form
|
470 |
jQuery("#tagline_msg").val('');
|
471 |
//login Redirect User
|
300 |
var login_bg_repeat = jQuery( "#login_bg_repeat option:selected" ).val();
|
301 |
var login_bg_position = jQuery( "#login_bg_position option:selected" ).val();
|
302 |
var login_redirect_user = jQuery( "#login_redirect_user").val();
|
303 |
+
var login_custom_css = jQuery( "#login_custom_css").val();
|
304 |
var login_force_redirect_url = jQuery( "#login_force_redirect_url").val();
|
305 |
var log_form_above_msg = jQuery( "#log_form_above_msg").val();
|
306 |
var login_pass_reset_msg = jQuery( "#login_pass_reset_msg").val();
|
329 |
}
|
330 |
var login_shadow_color = jQuery("#login_shadow_color").val();
|
331 |
|
332 |
+
var PostData = "Action=" + Action + "&login_form_position=" + login_form_position + "&Login_bg_value=" + Login_bg_value + "&login_background_color=" + login_background_color + "&login_bg_color_overlay=" + login_bg_color_overlay + "&login_bg_image=" + login_bg_image + "&login_form_opacity=" + login_form_opacity + "&login_form_width=" + login_form_width + "&login_form_radius=" + login_form_radius + "&login_border_style=" + login_border_style + "&login_redirect_force=" + login_redirect_force +"&login_border_thikness=" + login_border_thikness + "&login_border_color=" + login_border_color + "&login_bg_repeat=" + login_bg_repeat + "&login_bg_position=" + login_bg_position + "&login_enable_shadow=" + login_enable_shadow+ "&login_enable_language_switcher=" + login_enable_language_switcher + "&login_shadow_color=" + login_shadow_color + "&login_custom_css=" + login_custom_css + "&login_redirect_user=" + login_redirect_user + "&login_force_redirect_url=" + login_force_redirect_url +"&login_form_left=" + login_form_left + "&log_form_above_msg=" + log_form_above_msg +"&login_pass_reset_msg=" + login_pass_reset_msg + "&login_msg_font_color=" + login_msg_font_color + "&login_tagline_text_color=" + login_tagline_text_color + "&login_tagline_link_color=" + login_tagline_link_color + "&login_msg_fontsize=" + login_msg_fontsize + "&login_form_top=" + login_form_top + "&login_form_float=" + login_form_float + "&tagline_msg=" + tagline_msg + "&user_cust_lbl=" + user_cust_lbl + "&pass_cust_lbl=" + pass_cust_lbl + '&label_username=' + label_username + '&label_password=' + label_password + '&label_loginButton=' + label_loginButton;
|
333 |
jQuery.ajax({
|
334 |
dataType : 'html',
|
335 |
type: 'POST',
|
357 |
login_enable_language_switcher: login_enable_language_switcher,
|
358 |
login_shadow_color: login_shadow_color,
|
359 |
login_redirect_user: login_redirect_user,
|
360 |
+
login_custom_css: login_custom_css,
|
361 |
login_force_redirect_url: login_force_redirect_url,
|
362 |
login_form_left: login_form_left,
|
363 |
log_form_above_msg: log_form_above_msg,
|
468 |
// Message Display Above Login Form
|
469 |
jQuery("#log_form_above_msg").val('');
|
470 |
jQuery("#login_pass_reset_msg").val('');
|
471 |
+
|
472 |
+
jQuery("#login_custom_css").val('');
|
473 |
+
|
474 |
// Tagline Message Display Below Login Form
|
475 |
jQuery("#tagline_msg").val('');
|
476 |
//login Redirect User
|
login-form-screen.php
CHANGED
@@ -13,6 +13,11 @@ function acl_er_login_logo() {
|
|
13 |
$logo_page = unserialize( get_option( 'Admin_custome_login_logo' ) );
|
14 |
$Social_page = unserialize( get_option( 'Admin_custome_login_Social' ) );
|
15 |
|
|
|
|
|
|
|
|
|
|
|
16 |
if ( isset( $login_page['login_form_float'] ) ) {
|
17 |
$login_form_float = $login_page['login_form_float'];
|
18 |
} else {
|
13 |
$logo_page = unserialize( get_option( 'Admin_custome_login_logo' ) );
|
14 |
$Social_page = unserialize( get_option( 'Admin_custome_login_Social' ) );
|
15 |
|
16 |
+
if ( isset( $login_page['login_custom_css'] ) ) {
|
17 |
+
$login_custom_css = $login_page['login_custom_css'];
|
18 |
+
} else {
|
19 |
+
$login_custom_css = '';
|
20 |
+
}
|
21 |
if ( isset( $login_page['login_form_float'] ) ) {
|
22 |
$login_form_float = $login_page['login_form_float'];
|
23 |
} else {
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.weblizar.com/
|
|
4 |
Tags: admin login page, custom login page, custom admin login, custom login, customize wordpress login page, design wordpress login
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 6.0
|
7 |
-
Stable tag: 3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -190,6 +190,10 @@ Please use WordPress [support forum](http://wordpress.org/support/plugin/admin-c
|
|
190 |
For more information, see [Weblizar](http://www.weblizar.com/)
|
191 |
|
192 |
|
|
|
|
|
|
|
|
|
193 |
3.3.9 - [06-05-2022]
|
194 |
* Fixed: login form value sanitization issue.
|
195 |
* Updated: Bootstrap library updated to v4.6.1.
|
4 |
Tags: admin login page, custom login page, custom admin login, custom login, customize wordpress login page, design wordpress login
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 6.0
|
7 |
+
Stable tag: 3.4.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
190 |
For more information, see [Weblizar](http://www.weblizar.com/)
|
191 |
|
192 |
|
193 |
+
3.4.0 - [18-05-2022]
|
194 |
+
* Fixed: Settings issue fixed.
|
195 |
+
* Fixed: custom css option added.
|
196 |
+
|
197 |
3.3.9 - [06-05-2022]
|
198 |
* Fixed: login form value sanitization issue.
|
199 |
* Updated: Bootstrap library updated to v4.6.1.
|