Version Description
Download this release
Release Info
Developer | weblizar |
Plugin | Admin Custom Login |
Version | 3.2.8 |
Comparing to | |
See all releases |
Code changes from version 3.2.7 to 3.2.8
- admin-custom-login.php +1 -1
- includes/dashboard/dashboard.php +20 -11
- includes/design/background.php +110 -93
- includes/design/text_and_color.php +82 -77
- includes/get_value.php +1 -1
- includes/googlecaptcha-settings/gcaptcha-settings.php +72 -48
- includes/login-form-setting/login-form-background.php +116 -111
- includes/settings/page-settings.php +37 -33
- includes/social/social.php +83 -80
- init.php +5 -2
- js/background.js +34 -6
- js/dashboard.js +12 -3
- js/inlinejs/loginform.js +74 -4
- js/inlinejs/pagesettings.js +23 -9
- js/textandcolor.js +32 -3
- login-form-screen.php +2 -2
- readme.txt +7 -2
admin-custom-login.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Admin Custom Login
|
4 |
-
* Version: 3.2.
|
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.2.8
|
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/
|
includes/dashboard/dashboard.php
CHANGED
@@ -121,19 +121,28 @@ if(isset($_POST['Action'])) {
|
|
121 |
|
122 |
//Save
|
123 |
if($Action == "dashboardSave") {
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
|
|
|
|
|
|
|
|
131 |
}
|
132 |
if($Action == "dashboardReset") {
|
133 |
-
$
|
134 |
-
'
|
135 |
-
|
136 |
-
|
|
|
|
|
|
|
|
|
|
|
137 |
}
|
138 |
}
|
139 |
?>
|
121 |
|
122 |
//Save
|
123 |
if($Action == "dashboardSave") {
|
124 |
+
if( ! wp_verify_nonce( $_POST['nonce_ajax'], 'weblizar_admin_nonce' ) ) {
|
125 |
+
die('Not authorized');
|
126 |
+
}
|
127 |
+
else {
|
128 |
+
$dashboard_status = sanitize_text_field($_POST['dashboard_status']);
|
129 |
+
// save values in option table
|
130 |
+
$dashboard_page= serialize(array(
|
131 |
+
'dashboard_status' => $dashboard_status
|
132 |
+
));
|
133 |
+
update_option('Admin_custome_login_dashboard', $dashboard_page);
|
134 |
+
}
|
135 |
}
|
136 |
if($Action == "dashboardReset") {
|
137 |
+
if( ! wp_verify_nonce( $_POST['nonce_ajax'], 'weblizar_admin_nonce' ) ) {
|
138 |
+
die('Not authorized');
|
139 |
+
}
|
140 |
+
else {
|
141 |
+
$dashboard_page= serialize(array(
|
142 |
+
'dashboard_status' => 'disable'
|
143 |
+
));
|
144 |
+
update_option('Admin_custome_login_dashboard', $dashboard_page);
|
145 |
+
}
|
146 |
}
|
147 |
}
|
148 |
?>
|
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 esc_html_e('Static Background Color', WEBLIZAR_ACL)?></option>
|
36 |
-
<option value="static-background-image" ><?php esc_html_e('Static Background Image', WEBLIZAR_ACL)?></option>
|
37 |
-
<option value="slider-background"
|
38 |
</optgroup>
|
39 |
</select>
|
40 |
</td>
|
@@ -328,93 +328,110 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
|
328 |
|
329 |
|
330 |
<?php
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
$
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 echo ( $top_bg_type == 'static-background-color' ) ? 'selected=selected' : ''; ?> ><?php esc_html_e('Static Background Color', WEBLIZAR_ACL)?></option>
|
36 |
+
<option value="static-background-image" <?php echo ( $top_bg_type == 'static-background-image') ? 'selected=selected' : ''; ?> ><?php esc_html_e('Static Background Image', WEBLIZAR_ACL)?></option>
|
37 |
+
<option value="slider-background" <?php echo ( $top_bg_type == 'slider-background') ? 'selected=selected' : ''; ?>><?php esc_html_e('Background SlideShow', WEBLIZAR_ACL)?></option>
|
38 |
</optgroup>
|
39 |
</select>
|
40 |
</td>
|
328 |
|
329 |
|
330 |
<?php
|
331 |
+
|
332 |
+
if(isset($_POST['Action'])) {
|
333 |
+
|
334 |
+
$Action = sanitize_text_field($_POST['Action']);
|
335 |
+
if( ! wp_verify_nonce( $_POST['nonce_ajax'], 'weblizar_admin_nonce' ) ) {
|
336 |
+
die('Not authorized');
|
337 |
+
}
|
338 |
+
else {
|
339 |
+
//Save
|
340 |
+
if($Action == "topbgSave") {
|
341 |
+
$select_bg_value = sanitize_text_field($_POST['select_bg_value']);
|
342 |
+
$top_background_color = isset( $_POST['top_background_color'] ) ? sanitize_text_field( $_POST['top_background_color'] ) : NULL;
|
343 |
+
$top_bg_image = isset( $_POST['top_bg_image'] ) ? sanitize_text_field( $_POST['top_bg_image'] ) : NULL;
|
344 |
+
$top_cover = isset( $_POST['top_cover'] ) ? sanitize_text_field( $_POST['top_cover'] ) : NULL;
|
345 |
+
$top_bg_repeat = isset( $_POST['top_bg_repeat'] ) ? sanitize_text_field( $_POST['top_bg_repeat'] ) : NULL;
|
346 |
+
$top_bg_position = isset( $_POST['top_bg_position'] ) ? sanitize_text_field( $_POST['top_bg_position'] ) : NULL;
|
347 |
+
$top_bg_attachment = isset( $_POST['top_bg_attachment'] ) ? sanitize_text_field( $_POST['top_bg_attachment'] ) : NULL;
|
348 |
+
$top_slideshow_no = isset( $_POST['top_slideshow_no'] ) ? sanitize_text_field( $_POST['top_slideshow_no'] ) : NULL;
|
349 |
+
$top_bg_slider_animation = isset( $_POST['top_bg_slider_animation'] ) ? sanitize_text_field( $_POST['top_bg_slider_animation'] ) : NULL;
|
350 |
+
|
351 |
+
$Slidshow_image_1 = isset( $_POST['Slidshow_image_1'] ) ? sanitize_text_field( $_POST['Slidshow_image_1'] ) : NULL;
|
352 |
+
|
353 |
+
$Slidshow_image_2 = isset( $_POST['Slidshow_image_2'] ) ? sanitize_text_field( $_POST['Slidshow_image_2'] ) : NULL;
|
354 |
+
|
355 |
+
$Slidshow_image_3 = isset( $_POST['Slidshow_image_3'] ) ? sanitize_text_field( $_POST['Slidshow_image_3'] ) : NULL;
|
356 |
+
|
357 |
+
$Slidshow_image_4 = isset( $_POST['Slidshow_image_4'] ) ? sanitize_text_field( $_POST['Slidshow_image_4'] ) : NULL;
|
358 |
+
|
359 |
+
$Slidshow_image_5 = isset( $_POST['Slidshow_image_5'] ) ? sanitize_text_field( $_POST['Slidshow_image_5'] ) : NULL;
|
360 |
+
|
361 |
+
$Slidshow_image_6 = isset( $_POST['Slidshow_image_6'] ) ? sanitize_text_field( $_POST['Slidshow_image_6'] ) : NULL;
|
362 |
+
|
363 |
+
$image_label_1 = isset( $_POST['image_label_1'] ) ? sanitize_text_field( $_POST['image_label_1'] ) : NULL;
|
364 |
+
$image_label_2 = isset( $_POST['image_label_2'] ) ? sanitize_text_field( $_POST['image_label_2'] ) : NULL;
|
365 |
+
$image_label_3 = isset( $_POST['image_label_3'] ) ? sanitize_text_field( $_POST['image_label_3'] ) : NULL;
|
366 |
+
$image_label_4 = isset( $_POST['image_label_4'] ) ? sanitize_text_field( $_POST['image_label_4'] ) : NULL;
|
367 |
+
$image_label_5 = isset( $_POST['image_label_5'] ) ? sanitize_text_field( $_POST['image_label_5'] ) : NULL;
|
368 |
+
$image_label_6 = isset( $_POST['image_label_6'] ) ? sanitize_text_field( $_POST['image_label_6'] ) : NULL;
|
369 |
+
|
370 |
+
// Save Values in Option Table
|
371 |
+
$top_page= serialize(array(
|
372 |
+
'top_bg_type'=> $select_bg_value,
|
373 |
+
'top_color' => $top_background_color,
|
374 |
+
'top_image' => $top_bg_image,
|
375 |
+
'top_cover' => $top_cover,
|
376 |
+
'top_repeat' => $top_bg_repeat,
|
377 |
+
'top_position' => $top_bg_position,
|
378 |
+
'top_attachment' => $top_bg_attachment,
|
379 |
+
'top_slideshow_no' => $top_slideshow_no,
|
380 |
+
'top_bg_slider_animation' => $top_bg_slider_animation
|
381 |
+
));
|
382 |
+
update_option('Admin_custome_login_top', $top_page);
|
383 |
+
|
384 |
+
$Slidshow_image= serialize(array(
|
385 |
+
'Slidshow_image_1'=> $Slidshow_image_1 ,
|
386 |
+
'Slidshow_image_2'=> $Slidshow_image_2 ,
|
387 |
+
'Slidshow_image_3'=> $Slidshow_image_3 ,
|
388 |
+
'Slidshow_image_4'=> $Slidshow_image_4 ,
|
389 |
+
'Slidshow_image_5'=> $Slidshow_image_5 ,
|
390 |
+
'Slidshow_image_6'=> $Slidshow_image_6 ,
|
391 |
+
'Slidshow_image_label_1'=> $image_label_1 ,
|
392 |
+
'Slidshow_image_label_2'=> $image_label_2 ,
|
393 |
+
'Slidshow_image_label_3'=> $image_label_3 ,
|
394 |
+
'Slidshow_image_label_4'=> $image_label_4 ,
|
395 |
+
'Slidshow_image_label_5'=> $image_label_5 ,
|
396 |
+
'Slidshow_image_label_6'=> $image_label_6
|
397 |
+
));
|
398 |
+
update_option('Admin_custome_login_Slidshow', $Slidshow_image);
|
399 |
+
}
|
400 |
+
}
|
401 |
+
|
402 |
+
|
403 |
+
if($Action == "topbgReset") {
|
404 |
+
if( ! wp_verify_nonce( $_POST['nonce_ajax'], 'weblizar_admin_nonce' ) ) {
|
405 |
+
die('Not authorized');
|
406 |
+
}
|
407 |
+
else {
|
408 |
+
$top_page= serialize(array(
|
409 |
+
'top_bg_type'=>'static-background-image',
|
410 |
+
'top_color' => '#f9fad2',
|
411 |
+
'top_image' => WEBLIZAR_NALF_PLUGIN_URL.'/images/3d-background.jpg',
|
412 |
+
'top_cover' => 'yes',
|
413 |
+
'top_repeat' => 'repeat',
|
414 |
+
'top_position' => 'left top',
|
415 |
+
'top_attachment' => 'fixed',
|
416 |
+
'top_slideshow_no' => '6',
|
417 |
+
'top_bg_slider_animation' => 'slider-style1'
|
418 |
+
));
|
419 |
+
update_option('Admin_custome_login_top', $top_page);
|
420 |
+
$Slidshow_image= serialize(array(
|
421 |
+
'Slidshow_image_1'=> WEBLIZAR_NALF_PLUGIN_URL.'/images/rpg-default.jpg',
|
422 |
+
'Slidshow_image_2'=> WEBLIZAR_NALF_PLUGIN_URL.'/images/rpg-default.jpg',
|
423 |
+
'Slidshow_image_3'=> WEBLIZAR_NALF_PLUGIN_URL.'/images/rpg-default.jpg',
|
424 |
+
'Slidshow_image_4'=> WEBLIZAR_NALF_PLUGIN_URL.'/images/rpg-default.jpg',
|
425 |
+
'Slidshow_image_5'=> WEBLIZAR_NALF_PLUGIN_URL.'/images/rpg-default.jpg',
|
426 |
+
'Slidshow_image_6'=> WEBLIZAR_NALF_PLUGIN_URL.'/images/rpg-default.jpg',
|
427 |
+
'Slidshow_image_label_1'=> '' ,
|
428 |
+
'Slidshow_image_label_2'=> '' ,
|
429 |
+
'Slidshow_image_label_3'=> '' ,
|
430 |
+
'Slidshow_image_label_4'=> '' ,
|
431 |
+
'Slidshow_image_label_5'=> '' ,
|
432 |
+
'Slidshow_image_label_6'=> ''
|
433 |
+
));
|
434 |
+
update_option('Admin_custome_login_Slidshow', $Slidshow_image);
|
435 |
+
}
|
436 |
+
}
|
437 |
+
}
|
includes/design/text_and_color.php
CHANGED
@@ -552,83 +552,88 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
|
552 |
<?php
|
553 |
if(isset($_POST['Action'])) {
|
554 |
$Action = sanitize_text_field($_POST['Action']);
|
555 |
-
|
556 |
-
|
557 |
-
$heading_font_color = sanitize_option('heading_font_color', $_POST['heading_font_color']);
|
558 |
-
$input_font_color = sanitize_option('input_font_color', $_POST['input_font_color']);
|
559 |
-
$link_color = sanitize_option('link_color', $_POST['link_color']);
|
560 |
-
$button_color = sanitize_option('button_color', $_POST['button_color']);
|
561 |
-
$login_button_font_color = sanitize_option('login_button_font_color', $_POST['login_button_font_color']);
|
562 |
-
$heading_font_size = sanitize_option('heading_font_size', $_POST['heading_font_size']);
|
563 |
-
$input_font_size = sanitize_option('input_font_size', $_POST['input_font_size']);
|
564 |
-
$link_size = sanitize_option('link_size', $_POST['link_size']);
|
565 |
-
$button_font_size = sanitize_option('button_font_size', $_POST['button_font_size']);
|
566 |
-
$enable_link_shadow = sanitize_option('enable_link_shadow', $_POST['enable_link_shadow']);
|
567 |
-
$show_remember_me_field = sanitize_option('show_remember_me_field', $_POST['show_remember_me_field']);
|
568 |
-
$show_back_to_site_link = sanitize_option('show_back_to_site_link', $_POST['show_back_to_site_link']);
|
569 |
-
$show_copyright_link_text = sanitize_option('show_copyright_link_text', $_POST['show_copyright_link_text']);
|
570 |
-
$link_shadow_color = sanitize_option('link_shadow_color', $_POST['link_shadow_color']);
|
571 |
-
$heading_font_style = sanitize_option('heading_font_style', $_POST['heading_font_style']);
|
572 |
-
$input_font_style = sanitize_option('input_font_style', $_POST['input_font_style']);
|
573 |
-
$link_font_style = sanitize_option('link_font_style', $_POST['link_font_style']);
|
574 |
-
$button_font_style = sanitize_option('button_font_style', $_POST['button_font_style']);
|
575 |
-
$enable_inputbox_icon = sanitize_option('enable_inputbox_icon', $_POST['enable_inputbox_icon']);
|
576 |
-
$user_input_icon = sanitize_option('user_input_icon', $_POST['user_input_icon']);
|
577 |
-
$password_input_icon = sanitize_option('password_input_icon', $_POST['password_input_icon']);
|
578 |
-
|
579 |
-
|
580 |
-
// Save Values in Option Table
|
581 |
-
$text_and_color_page= serialize(array(
|
582 |
-
'heading_font_color'=>$heading_font_color,
|
583 |
-
'input_font_color'=>$input_font_color,
|
584 |
-
'link_color'=>$link_color,
|
585 |
-
'button_color'=>$button_color,
|
586 |
-
'login_button_font_color'=>$login_button_font_color,
|
587 |
-
'heading_font_size'=>$heading_font_size,
|
588 |
-
'input_font_size'=>$input_font_size,
|
589 |
-
'link_size'=>$link_size,
|
590 |
-
'button_font_size'=>$button_font_size,
|
591 |
-
'enable_link_shadow'=>$enable_link_shadow,
|
592 |
-
'show_remember_me_field'=>$show_remember_me_field,
|
593 |
-
'show_back_to_site_link'=>$show_back_to_site_link,
|
594 |
-
'show_copyright_link_text'=>$show_copyright_link_text,
|
595 |
-
'link_shadow_color'=>$link_shadow_color,
|
596 |
-
'heading_font_style'=>$heading_font_style,
|
597 |
-
'input_font_style'=>$input_font_style,
|
598 |
-
'link_font_style'=>$link_font_style,
|
599 |
-
'button_font_style'=>$button_font_style,
|
600 |
-
'enable_inputbox_icon'=>$enable_inputbox_icon,
|
601 |
-
'user_input_icon'=>$user_input_icon,
|
602 |
-
'password_input_icon'=>$password_input_icon
|
603 |
-
));
|
604 |
-
update_option('Admin_custome_login_text', $text_and_color_page);
|
605 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
606 |
|
607 |
-
|
608 |
-
$
|
609 |
-
|
610 |
-
|
611 |
-
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
-
|
620 |
-
|
621 |
-
|
622 |
-
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
-
|
|
|
|
|
632 |
}
|
633 |
-
}
|
634 |
-
?>
|
552 |
<?php
|
553 |
if(isset($_POST['Action'])) {
|
554 |
$Action = sanitize_text_field($_POST['Action']);
|
555 |
+
if( ! wp_verify_nonce( $_POST['nonce_ajax'], 'weblizar_admin_nonce' ) ) {
|
556 |
+
die('Not authorized');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
557 |
}
|
558 |
+
else {
|
559 |
+
//Save
|
560 |
+
if($Action == "textandcolorSave"){
|
561 |
+
$heading_font_color = sanitize_text_field($_POST['heading_font_color']);
|
562 |
+
$input_font_color = sanitize_text_field($_POST['input_font_color']);
|
563 |
+
$link_color = sanitize_text_field($_POST['link_color']);
|
564 |
+
$button_color = sanitize_text_field($_POST['button_color']);
|
565 |
+
$login_button_font_color = sanitize_text_field($_POST['login_button_font_color']);
|
566 |
+
$heading_font_size = sanitize_text_field($_POST['heading_font_size']);
|
567 |
+
$input_font_size = sanitize_text_field($_POST['input_font_size']);
|
568 |
+
$link_size = sanitize_text_field($_POST['link_size']);
|
569 |
+
$button_font_size = sanitize_text_field($_POST['button_font_size']);
|
570 |
+
$enable_link_shadow = sanitize_text_field($_POST['enable_link_shadow']);
|
571 |
+
$show_remember_me_field = sanitize_text_field($_POST['show_remember_me_field']);
|
572 |
+
$show_back_to_site_link = sanitize_text_field($_POST['show_back_to_site_link']);
|
573 |
+
$show_copyright_link_text = sanitize_text_field($_POST['show_copyright_link_text']);
|
574 |
+
$link_shadow_color = sanitize_text_field($_POST['link_shadow_color']);
|
575 |
+
$heading_font_style = sanitize_text_field($_POST['heading_font_style']);
|
576 |
+
$input_font_style = sanitize_text_field($_POST['input_font_style']);
|
577 |
+
$link_font_style = sanitize_text_field($_POST['link_font_style']);
|
578 |
+
$button_font_style = sanitize_text_field($_POST['button_font_style']);
|
579 |
+
$enable_inputbox_icon = sanitize_text_field($_POST['enable_inputbox_icon']);
|
580 |
+
$user_input_icon = sanitize_text_field( $_POST['user_input_icon']);
|
581 |
+
$password_input_icon = sanitize_text_field( $_POST['password_input_icon']);
|
582 |
+
|
583 |
+
|
584 |
+
// Save Values in Option Table
|
585 |
+
$text_and_color_page= serialize(array(
|
586 |
+
'heading_font_color'=>$heading_font_color,
|
587 |
+
'input_font_color'=>$input_font_color,
|
588 |
+
'link_color'=>$link_color,
|
589 |
+
'button_color'=>$button_color,
|
590 |
+
'login_button_font_color'=>$login_button_font_color,
|
591 |
+
'heading_font_size'=>$heading_font_size,
|
592 |
+
'input_font_size'=>$input_font_size,
|
593 |
+
'link_size'=>$link_size,
|
594 |
+
'button_font_size'=>$button_font_size,
|
595 |
+
'enable_link_shadow'=>$enable_link_shadow,
|
596 |
+
'show_remember_me_field'=>$show_remember_me_field,
|
597 |
+
'show_back_to_site_link'=>$show_back_to_site_link,
|
598 |
+
'show_copyright_link_text'=>$show_copyright_link_text,
|
599 |
+
'link_shadow_color'=>$link_shadow_color,
|
600 |
+
'heading_font_style'=>$heading_font_style,
|
601 |
+
'input_font_style'=>$input_font_style,
|
602 |
+
'link_font_style'=>$link_font_style,
|
603 |
+
'button_font_style'=>$button_font_style,
|
604 |
+
'enable_inputbox_icon'=>$enable_inputbox_icon,
|
605 |
+
'user_input_icon'=>$user_input_icon,
|
606 |
+
'password_input_icon'=>$password_input_icon
|
607 |
+
));
|
608 |
+
update_option('Admin_custome_login_text', $text_and_color_page);
|
609 |
+
}
|
610 |
|
611 |
+
/*Reset */
|
612 |
+
if($Action == "textandcolorReset") {
|
613 |
+
$text_and_color_page= serialize(array(
|
614 |
+
'heading_font_color'=>'#ffffff',
|
615 |
+
'input_font_color'=>'#000000',
|
616 |
+
'link_color'=>'#ffffff',
|
617 |
+
'button_color'=>'#dd3333',
|
618 |
+
'login_button_font_color'=>'#ffffff',
|
619 |
+
'heading_font_size'=>'14',
|
620 |
+
'input_font_size'=>'18',
|
621 |
+
'link_size'=>'14',
|
622 |
+
'button_font_size'=>'14',
|
623 |
+
'enable_link_shadow'=>'yes',
|
624 |
+
'show_remember_me_field'=>'yes',
|
625 |
+
'show_back_to_site_link'=>'yes',
|
626 |
+
'show_copyright_link_text'=>'yes',
|
627 |
+
'link_shadow_color'=>'#ffffff',
|
628 |
+
'heading_font_style'=>'Open Sans',
|
629 |
+
'input_font_style'=>'Open Sans',
|
630 |
+
'link_font_style'=>'Open Sans',
|
631 |
+
'button_font_style'=>'Open Sans',
|
632 |
+
'enable_inputbox_icon'=>'yes',
|
633 |
+
'user_input_icon'=>'fa-user',
|
634 |
+
'password_input_icon'=>'fa-key'
|
635 |
+
));
|
636 |
+
update_option('Admin_custome_login_text', $text_and_color_page);
|
637 |
+
}
|
638 |
}
|
639 |
+
}
|
|
includes/get_value.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
4 |
|
5 |
// Get value of Dashboard page
|
6 |
-
$dashboard_page
|
7 |
$dashboard_status = isset($dashboard_page['dashboard_status']) ? $dashboard_page['dashboard_status'] : null;
|
8 |
|
9 |
// Get value of Top page
|
3 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
4 |
|
5 |
// Get value of Dashboard page
|
6 |
+
$dashboard_page = unserialize(get_option('Admin_custome_login_dashboard'));
|
7 |
$dashboard_status = isset($dashboard_page['dashboard_status']) ? $dashboard_page['dashboard_status'] : null;
|
8 |
|
9 |
// Get value of Top page
|
includes/googlecaptcha-settings/gcaptcha-settings.php
CHANGED
@@ -3,8 +3,7 @@
|
|
3 |
// Exit if accessed directly
|
4 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
5 |
|
6 |
-
|
7 |
-
wp_enqueue_script('wl-acl-login-gcaptcha') ;
|
8 |
$js = ' ';
|
9 |
// echo $js ;s
|
10 |
// die;
|
@@ -169,7 +168,8 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
|
169 |
</div>
|
170 |
</div>
|
171 |
<!-- /row -->
|
172 |
-
<?php ob_start(); ?>
|
|
|
173 |
var recaptcha_keys_v2 = jQuery('.recaptcha_keys_v2');
|
174 |
var recaptcha_keys_v3 = jQuery('.recaptcha_keys_v3');
|
175 |
recaptcha_keys_v2.hide();
|
@@ -239,13 +239,25 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
|
239 |
}
|
240 |
|
241 |
var PostData = "Action=" + Action + "&site_key=" + site_key + "&secret_key=" + secret_key + "&site_key_v3=" + site_key_v3 + "&secret_key_v3=" + secret_key_v3 + "&login_v_gcaptcha=" + login_v_gcaptcha + "&login_enable_gcaptcha=" + login_enable_gcaptcha + "&acl_gcaptcha_theme=" + acl_gcaptcha_theme;
|
|
|
242 |
jQuery.ajax({
|
243 |
dataType : 'html',
|
244 |
type: 'POST',
|
245 |
url : location.href,
|
246 |
cache: false,
|
247 |
-
data : PostData,
|
248 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
249 |
success: function(data) {
|
250 |
// Save message box open
|
251 |
jQuery(".dialog-button49").click();
|
@@ -304,7 +316,11 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
|
304 |
type: 'POST',
|
305 |
url : location.href,
|
306 |
cache: false,
|
307 |
-
data : PostData,
|
|
|
|
|
|
|
|
|
308 |
complete : function() { },
|
309 |
success: function(data) {
|
310 |
|
@@ -329,51 +345,59 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
|
329 |
});
|
330 |
}
|
331 |
}
|
332 |
-
|
|
|
333 |
<?php
|
334 |
|
335 |
if(isset($_POST['Action'])) {
|
336 |
-
$Action = sanitize_text_field($_POST['Action']);
|
337 |
-
|
338 |
-
|
339 |
-
$site_key = sanitize_text_field($_POST['site_key']);
|
340 |
-
$secret_key = sanitize_text_field( $_POST['secret_key']);
|
341 |
-
$site_key_v3 = sanitize_text_field($_POST['site_key_v3']);
|
342 |
-
$secret_key_v3 = sanitize_text_field( $_POST['secret_key_v3']);
|
343 |
-
$login_v_gcaptcha = sanitize_text_field( $_POST['login_v_gcaptcha']);
|
344 |
-
$login_enable_gcaptcha = sanitize_text_field( $_POST['login_enable_gcaptcha']);
|
345 |
-
$acl_gcaptcha_theme = sanitize_text_field( $_POST['acl_gcaptcha_theme']);
|
346 |
-
|
347 |
-
// save values in option table
|
348 |
-
$g_page= serialize(array(
|
349 |
-
'site_key' => $site_key,
|
350 |
-
'secret_key'=> $secret_key,
|
351 |
-
'site_key_v3' => $site_key_v3,
|
352 |
-
'secret_key_v3'=> $secret_key_v3,
|
353 |
-
'login_v_gcaptcha'=> $login_v_gcaptcha,
|
354 |
-
'login_enable_gcaptcha'=> $login_enable_gcaptcha,
|
355 |
-
'acl_gcaptcha_theme'=>$acl_gcaptcha_theme,
|
356 |
-
));
|
357 |
-
update_option('Admin_custome_login_gcaptcha', $g_page);
|
358 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
359 |
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
|
|
375 |
}
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
|
|
|
3 |
// Exit if accessed directly
|
4 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
5 |
|
6 |
+
|
|
|
7 |
$js = ' ';
|
8 |
// echo $js ;s
|
9 |
// die;
|
168 |
</div>
|
169 |
</div>
|
170 |
<!-- /row -->
|
171 |
+
<?php //ob_start(); ?>
|
172 |
+
<script type="text/javascript">
|
173 |
var recaptcha_keys_v2 = jQuery('.recaptcha_keys_v2');
|
174 |
var recaptcha_keys_v3 = jQuery('.recaptcha_keys_v3');
|
175 |
recaptcha_keys_v2.hide();
|
239 |
}
|
240 |
|
241 |
var PostData = "Action=" + Action + "&site_key=" + site_key + "&secret_key=" + secret_key + "&site_key_v3=" + site_key_v3 + "&secret_key_v3=" + secret_key_v3 + "&login_v_gcaptcha=" + login_v_gcaptcha + "&login_enable_gcaptcha=" + login_enable_gcaptcha + "&acl_gcaptcha_theme=" + acl_gcaptcha_theme;
|
242 |
+
|
243 |
jQuery.ajax({
|
244 |
dataType : 'html',
|
245 |
type: 'POST',
|
246 |
url : location.href,
|
247 |
cache: false,
|
248 |
+
//data : PostData,
|
249 |
+
data: {
|
250 |
+
nonce_ajax : WEBLIZARADMINNONCE.adminsecurity,
|
251 |
+
Action : Action,
|
252 |
+
site_key : site_key,
|
253 |
+
secret_key : secret_key,
|
254 |
+
site_key_v3 : site_key_v3,
|
255 |
+
secret_key_v3 : secret_key_v3,
|
256 |
+
login_v_gcaptcha : login_v_gcaptcha,
|
257 |
+
login_enable_gcaptcha : login_enable_gcaptcha,
|
258 |
+
acl_gcaptcha_theme : acl_gcaptcha_theme,
|
259 |
+
},
|
260 |
+
complete : function() { alert(captcha); },
|
261 |
success: function(data) {
|
262 |
// Save message box open
|
263 |
jQuery(".dialog-button49").click();
|
316 |
type: 'POST',
|
317 |
url : location.href,
|
318 |
cache: false,
|
319 |
+
//data : PostData,
|
320 |
+
data: {
|
321 |
+
nonce_ajax : WEBLIZARADMINNONCE.adminsecurity,
|
322 |
+
Action : Action,
|
323 |
+
},
|
324 |
complete : function() { },
|
325 |
success: function(data) {
|
326 |
|
345 |
});
|
346 |
}
|
347 |
}
|
348 |
+
</script>
|
349 |
+
<?php //$js .= ob_get_clean();?>
|
350 |
<?php
|
351 |
|
352 |
if(isset($_POST['Action'])) {
|
353 |
+
$Action = sanitize_text_field($_POST['Action']);
|
354 |
+
if( ! wp_verify_nonce( $_POST['nonce_ajax'], 'weblizar_admin_nonce' ) ) {
|
355 |
+
die('Not authorized');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
356 |
}
|
357 |
+
else {
|
358 |
+
//Save Page Values
|
359 |
+
if($Action == "googleSave") {
|
360 |
+
$site_key = sanitize_text_field($_POST['site_key']);
|
361 |
+
$secret_key = sanitize_text_field( $_POST['secret_key']);
|
362 |
+
$site_key_v3 = sanitize_text_field($_POST['site_key_v3']);
|
363 |
+
$secret_key_v3 = sanitize_text_field( $_POST['secret_key_v3']);
|
364 |
+
$login_v_gcaptcha = sanitize_text_field( $_POST['login_v_gcaptcha']);
|
365 |
+
$login_enable_gcaptcha = sanitize_text_field( $_POST['login_enable_gcaptcha']);
|
366 |
+
$acl_gcaptcha_theme = sanitize_text_field( $_POST['acl_gcaptcha_theme']);
|
367 |
+
|
368 |
+
// save values in option table
|
369 |
+
$g_page= serialize(array(
|
370 |
+
'site_key' => $site_key,
|
371 |
+
'secret_key'=> $secret_key,
|
372 |
+
'site_key_v3' => $site_key_v3,
|
373 |
+
'secret_key_v3'=> $secret_key_v3,
|
374 |
+
'login_v_gcaptcha'=> $login_v_gcaptcha,
|
375 |
+
'login_enable_gcaptcha'=> $login_enable_gcaptcha,
|
376 |
+
'acl_gcaptcha_theme'=>$acl_gcaptcha_theme,
|
377 |
+
));
|
378 |
+
update_option('Admin_custome_login_gcaptcha', $g_page);
|
379 |
+
}
|
380 |
|
381 |
+
//Reset Page Settings
|
382 |
+
if($Action == "googleReset") {
|
383 |
+
$g_page= serialize(array(
|
384 |
+
|
385 |
+
'site_key'=>'',
|
386 |
+
'secret_key'=>'',
|
387 |
+
'site_key_v3' => '',
|
388 |
+
'secret_key_v3'=> '',
|
389 |
+
'login_v_gcaptcha'=> 'v2',
|
390 |
+
'login_enable_gcaptcha'=>'no',
|
391 |
+
'acl_gcaptcha_theme'=>'yes',
|
392 |
+
|
393 |
+
));
|
394 |
+
update_option('Admin_custome_login_gcaptcha', $g_page);
|
395 |
+
}
|
396 |
+
}
|
397 |
}
|
398 |
+
function add_google_captcha_script() {
|
399 |
+
wp_register_script('wl-acl-login-gcaptcha', '', array(), false, true);
|
400 |
+
wp_enqueue_script('wl-acl-login-gcaptcha') ;
|
401 |
+
wp_add_inline_script('wl-acl-login-gcaptcha', $js );
|
402 |
+
}
|
403 |
+
add_action( 'wp_enqueue_scripts', 'add_google_captcha_script' );
|
includes/login-form-setting/login-form-background.php
CHANGED
@@ -686,118 +686,123 @@ if (!defined('ABSPATH')) exit;
|
|
686 |
<?php
|
687 |
if (isset($_POST['Action'])) {
|
688 |
$Action = sanitize_text_field($_POST['Action']);
|
689 |
-
|
690 |
-
|
691 |
-
$login_form_position = sanitize_option('login_form_position', $_POST['login_form_position']);
|
692 |
-
$login_form_left = sanitize_option('login_form_left', $_POST['login_form_left']);
|
693 |
-
$login_form_top = sanitize_option('login_form_top', $_POST['login_form_top']);
|
694 |
-
$login_form_float = sanitize_option('login_form_float', $_POST['login_form_float']);
|
695 |
-
$Login_bg_value = sanitize_option('Login_bg_value', $_POST['Login_bg_value']);
|
696 |
-
$login_background_color = sanitize_option('login_background_color', $_POST['login_background_color']);
|
697 |
-
$login_bg_color_overlay = sanitize_option('login_bg_color_overlay', $_POST['login_bg_color_overlay']);
|
698 |
-
$login_bg_image = sanitize_option('login_bg_image', $_POST['login_bg_image']);
|
699 |
-
$login_form_opacity = sanitize_option('login_form_opacity', $_POST['login_form_opacity']);
|
700 |
-
$login_form_width = sanitize_option('login_form_width', $_POST['login_form_width']);
|
701 |
-
$login_form_radius = sanitize_option('login_form_radius', $_POST['login_form_radius']);
|
702 |
-
$login_border_style = sanitize_option('login_border_style', $_POST['login_border_style']);
|
703 |
-
$login_redirect_force = sanitize_option('login_redirect_force', $_POST['login_redirect_force']);
|
704 |
-
$login_border_thikness = sanitize_option('login_border_thikness', $_POST['login_border_thikness']);
|
705 |
-
$login_border_color = sanitize_option('login_border_color', $_POST['login_border_color']);
|
706 |
-
$login_bg_repeat = sanitize_option('login_bg_repeat', $_POST['login_bg_repeat']);
|
707 |
-
$login_bg_position = sanitize_option('login_bg_position', $_POST['login_bg_position']);
|
708 |
-
$login_enable_shadow = sanitize_option('login_enable_shadow', $_POST['login_enable_shadow']);
|
709 |
-
$login_shadow_color = sanitize_option('login_shadow_color', $_POST['login_shadow_color']);
|
710 |
-
$login_custom_css = sanitize_option('login_custom_css', $_POST['login_custom_css']);
|
711 |
-
$login_redirect_user = sanitize_option('login_redirect_user', $_POST['login_redirect_user']);
|
712 |
-
$login_force_redirect_url = sanitize_option('login_force_redirect_url', $_POST['login_force_redirect_url']);
|
713 |
-
$log_form_above_msg = sanitize_option('log_form_above_msg', $_POST['log_form_above_msg']);
|
714 |
-
$tagline_msg = sanitize_option('tagline_msg', $_POST['tagline_msg']);
|
715 |
-
$login_msg_fontsize = sanitize_option('login_msg_fontsize', $_POST['login_msg_fontsize']);
|
716 |
-
$login_msg_font_color = sanitize_option('login_msg_font_color', $_POST['login_msg_font_color']);
|
717 |
-
$login_tagline_text_color = sanitize_option('login_tagline_text_color', $_POST['login_tagline_text_color']);
|
718 |
-
$login_tagline_link_color = sanitize_option('login_tagline_link_color', $_POST['login_tagline_link_color']);
|
719 |
-
$user_cust_lbl = sanitize_option('user_cust_lbl', $_POST['user_cust_lbl']);
|
720 |
-
$pass_cust_lbl = sanitize_option('pass_cust_lbl', $_POST['pass_cust_lbl']);
|
721 |
-
$label_username = sanitize_option('label_username', $_POST['label_username']);
|
722 |
-
$label_password = sanitize_option('label_password', $_POST['label_password']);
|
723 |
-
$label_loginButton = sanitize_option('label_loginButton', $_POST['label_loginButton']);
|
724 |
-
|
725 |
-
// Save Values in Option Table
|
726 |
-
$login_page = serialize(array(
|
727 |
-
'login_form_position' => $login_form_position,
|
728 |
-
'login_form_left' => $login_form_left,
|
729 |
-
'login_form_top' => $login_form_top,
|
730 |
-
'login_form_float' => $login_form_float,
|
731 |
-
'login_bg_type' => $Login_bg_value,
|
732 |
-
'login_bg_color' => $login_background_color,
|
733 |
-
'login_bg_effect' => $login_bg_color_overlay,
|
734 |
-
'login_bg_image' => $login_bg_image,
|
735 |
-
'login_form_opacity' => $login_form_opacity,
|
736 |
-
'login_form_width' => $login_form_width,
|
737 |
-
'login_form_radius' => $login_form_radius,
|
738 |
-
'login_border_style' => $login_border_style,
|
739 |
-
'login_redirect_force' => $login_redirect_force,
|
740 |
-
'login_border_thikness' => $login_border_thikness,
|
741 |
-
'login_border_color' => $login_border_color,
|
742 |
-
'login_bg_repeat' => $login_bg_repeat,
|
743 |
-
'login_bg_position' => $login_bg_position,
|
744 |
-
'login_enable_shadow' => $login_enable_shadow,
|
745 |
-
'login_shadow_color' => $login_shadow_color,
|
746 |
-
'login_custom_css' => $login_custom_css,
|
747 |
-
'login_redirect_user' => $login_redirect_user,
|
748 |
-
'login_force_redirect_url' => $login_force_redirect_url,
|
749 |
-
'log_form_above_msg' => $log_form_above_msg,
|
750 |
-
'tagline_msg' => $tagline_msg,
|
751 |
-
'login_msg_fontsize' => $login_msg_fontsize,
|
752 |
-
'login_msg_font_color' => $login_msg_font_color,
|
753 |
-
'login_tagline_text_color' => $login_tagline_text_color,
|
754 |
-
'login_tagline_link_color' => $login_tagline_link_color,
|
755 |
-
'user_cust_lbl' => $user_cust_lbl,
|
756 |
-
'pass_cust_lbl' => $pass_cust_lbl,
|
757 |
-
'label_username' => $label_username,
|
758 |
-
'label_password' => $label_password,
|
759 |
-
'label_loginButton' => $label_loginButton,
|
760 |
-
));
|
761 |
-
update_option('Admin_custome_login_login', $login_page);
|
762 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
763 |
|
764 |
-
|
765 |
-
|
766 |
-
|
767 |
-
|
768 |
-
|
769 |
-
|
770 |
-
|
771 |
-
|
772 |
-
|
773 |
-
|
774 |
-
|
775 |
-
|
776 |
-
|
777 |
-
|
778 |
-
|
779 |
-
|
780 |
-
|
781 |
-
|
782 |
-
|
783 |
-
|
784 |
-
|
785 |
-
|
786 |
-
|
787 |
-
|
788 |
-
|
789 |
-
|
790 |
-
|
791 |
-
|
792 |
-
|
793 |
-
|
794 |
-
|
795 |
-
|
796 |
-
|
797 |
-
|
798 |
-
|
799 |
-
|
800 |
-
|
801 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
802 |
}
|
803 |
?>
|
686 |
<?php
|
687 |
if (isset($_POST['Action'])) {
|
688 |
$Action = sanitize_text_field($_POST['Action']);
|
689 |
+
if( ! wp_verify_nonce( $_POST['nonce_ajax'], 'weblizar_admin_nonce' ) ) {
|
690 |
+
die('Not authorized');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
691 |
}
|
692 |
+
else {
|
693 |
+
//Save
|
694 |
+
if ($Action == "loginbgSave") {
|
695 |
+
$login_form_position = sanitize_option('login_form_position', $_POST['login_form_position']);
|
696 |
+
$login_form_left = sanitize_option('login_form_left', $_POST['login_form_left']);
|
697 |
+
$login_form_top = sanitize_option('login_form_top', $_POST['login_form_top']);
|
698 |
+
$login_form_float = sanitize_option('login_form_float', $_POST['login_form_float']);
|
699 |
+
$Login_bg_value = sanitize_option('Login_bg_value', $_POST['Login_bg_value']);
|
700 |
+
$login_background_color = sanitize_option('login_background_color', $_POST['login_background_color']);
|
701 |
+
$login_bg_color_overlay = sanitize_option('login_bg_color_overlay', $_POST['login_bg_color_overlay']);
|
702 |
+
$login_bg_image = sanitize_option('login_bg_image', $_POST['login_bg_image']);
|
703 |
+
$login_form_opacity = sanitize_option('login_form_opacity', $_POST['login_form_opacity']);
|
704 |
+
$login_form_width = sanitize_option('login_form_width', $_POST['login_form_width']);
|
705 |
+
$login_form_radius = sanitize_option('login_form_radius', $_POST['login_form_radius']);
|
706 |
+
$login_border_style = sanitize_option('login_border_style', $_POST['login_border_style']);
|
707 |
+
$login_redirect_force = sanitize_option('login_redirect_force', $_POST['login_redirect_force']);
|
708 |
+
$login_border_thikness = sanitize_option('login_border_thikness', $_POST['login_border_thikness']);
|
709 |
+
$login_border_color = sanitize_option('login_border_color', $_POST['login_border_color']);
|
710 |
+
$login_bg_repeat = sanitize_option('login_bg_repeat', $_POST['login_bg_repeat']);
|
711 |
+
$login_bg_position = sanitize_option('login_bg_position', $_POST['login_bg_position']);
|
712 |
+
$login_enable_shadow = sanitize_option('login_enable_shadow', $_POST['login_enable_shadow']);
|
713 |
+
$login_shadow_color = sanitize_option('login_shadow_color', $_POST['login_shadow_color']);
|
714 |
+
$login_custom_css = sanitize_option('login_custom_css', $_POST['login_custom_css']);
|
715 |
+
$login_redirect_user = sanitize_option('login_redirect_user', $_POST['login_redirect_user']);
|
716 |
+
$login_force_redirect_url = sanitize_option('login_force_redirect_url', $_POST['login_force_redirect_url']);
|
717 |
+
$log_form_above_msg = sanitize_option('log_form_above_msg', $_POST['log_form_above_msg']);
|
718 |
+
$tagline_msg = sanitize_option('tagline_msg', $_POST['tagline_msg']);
|
719 |
+
$login_msg_fontsize = sanitize_option('login_msg_fontsize', $_POST['login_msg_fontsize']);
|
720 |
+
$login_msg_font_color = sanitize_option('login_msg_font_color', $_POST['login_msg_font_color']);
|
721 |
+
$login_tagline_text_color = sanitize_option('login_tagline_text_color', $_POST['login_tagline_text_color']);
|
722 |
+
$login_tagline_link_color = sanitize_option('login_tagline_link_color', $_POST['login_tagline_link_color']);
|
723 |
+
$user_cust_lbl = sanitize_option('user_cust_lbl', $_POST['user_cust_lbl']);
|
724 |
+
$pass_cust_lbl = sanitize_option('pass_cust_lbl', $_POST['pass_cust_lbl']);
|
725 |
+
$label_username = sanitize_option('label_username', $_POST['label_username']);
|
726 |
+
$label_password = sanitize_option('label_password', $_POST['label_password']);
|
727 |
+
$label_loginButton = sanitize_option('label_loginButton', $_POST['label_loginButton']);
|
728 |
|
729 |
+
// Save Values in Option Table
|
730 |
+
$login_page = serialize(array(
|
731 |
+
'login_form_position' => $login_form_position,
|
732 |
+
'login_form_left' => $login_form_left,
|
733 |
+
'login_form_top' => $login_form_top,
|
734 |
+
'login_form_float' => $login_form_float,
|
735 |
+
'login_bg_type' => $Login_bg_value,
|
736 |
+
'login_bg_color' => $login_background_color,
|
737 |
+
'login_bg_effect' => $login_bg_color_overlay,
|
738 |
+
'login_bg_image' => $login_bg_image,
|
739 |
+
'login_form_opacity' => $login_form_opacity,
|
740 |
+
'login_form_width' => $login_form_width,
|
741 |
+
'login_form_radius' => $login_form_radius,
|
742 |
+
'login_border_style' => $login_border_style,
|
743 |
+
'login_redirect_force' => $login_redirect_force,
|
744 |
+
'login_border_thikness' => $login_border_thikness,
|
745 |
+
'login_border_color' => $login_border_color,
|
746 |
+
'login_bg_repeat' => $login_bg_repeat,
|
747 |
+
'login_bg_position' => $login_bg_position,
|
748 |
+
'login_enable_shadow' => $login_enable_shadow,
|
749 |
+
'login_shadow_color' => $login_shadow_color,
|
750 |
+
'login_custom_css' => $login_custom_css,
|
751 |
+
'login_redirect_user' => $login_redirect_user,
|
752 |
+
'login_force_redirect_url' => $login_force_redirect_url,
|
753 |
+
'log_form_above_msg' => $log_form_above_msg,
|
754 |
+
'tagline_msg' => $tagline_msg,
|
755 |
+
'login_msg_fontsize' => $login_msg_fontsize,
|
756 |
+
'login_msg_font_color' => $login_msg_font_color,
|
757 |
+
'login_tagline_text_color' => $login_tagline_text_color,
|
758 |
+
'login_tagline_link_color' => $login_tagline_link_color,
|
759 |
+
'user_cust_lbl' => $user_cust_lbl,
|
760 |
+
'pass_cust_lbl' => $pass_cust_lbl,
|
761 |
+
'label_username' => $label_username,
|
762 |
+
'label_password' => $label_password,
|
763 |
+
'label_loginButton' => $label_loginButton,
|
764 |
+
));
|
765 |
+
update_option('Admin_custome_login_login', $login_page);
|
766 |
+
}
|
767 |
+
|
768 |
+
if ($Action == "loginbgReset") {
|
769 |
+
$login_page = serialize(array(
|
770 |
+
'login_form_position' => 'default',
|
771 |
+
'login_form_float' => 'center',
|
772 |
+
'login_form_left' => '100',
|
773 |
+
'login_form_top' => '100',
|
774 |
+
'login_bg_type' => 'static-background-image',
|
775 |
+
'login_bg_color' => '#1e73be',
|
776 |
+
'login_bg_effect' => 'pattern-1',
|
777 |
+
'login_bg_image' => WEBLIZAR_NALF_PLUGIN_URL . '/images/3d-background.jpg',
|
778 |
+
'login_form_opacity' => '10',
|
779 |
+
'login_form_width' => '358',
|
780 |
+
'login_form_radius' => '10',
|
781 |
+
'login_border_style' => 'solid',
|
782 |
+
'login_redirect_force' => 'no',
|
783 |
+
'login_border_thikness' => '4',
|
784 |
+
'login_border_color' => '#0069A0',
|
785 |
+
'login_bg_repeat' => 'repeat',
|
786 |
+
'login_bg_position' => 'left top',
|
787 |
+
'login_enable_shadow' => 'yes',
|
788 |
+
'login_shadow_color' => '#C8C8C8',
|
789 |
+
'login_custom_css' => '',
|
790 |
+
'login_redirect_user' => '',
|
791 |
+
'login_force_redirect_url' => get_home_url() . "/wp-login.php",
|
792 |
+
'log_form_above_msg' => '',
|
793 |
+
'tagline_msg' => 'This login form is created by <a href="https://wordpress.org/plugins/admin-custom-login/" target="_blank">ACL</a> , developed by <a href="https://www.weblizar.com" target="_blank">weblizar</a>',
|
794 |
+
'login_msg_fontsize' => '16',
|
795 |
+
'login_msg_font_color' => '#000000',
|
796 |
+
'login_tagline_text_color' => '#ffffff',
|
797 |
+
'login_tagline_link_color' => '#f00',
|
798 |
+
'user_cust_lbl' => 'Type Username or Email',
|
799 |
+
'pass_cust_lbl' => 'Type Password',
|
800 |
+
'label_username' => 'Username / Email',
|
801 |
+
'label_password' => 'Password',
|
802 |
+
'label_loginButton' => 'Log In',
|
803 |
+
));
|
804 |
+
update_option('Admin_custome_login_login', $login_page);
|
805 |
+
}
|
806 |
+
}
|
807 |
}
|
808 |
?>
|
includes/settings/page-settings.php
CHANGED
@@ -183,38 +183,42 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
|
183 |
<?php
|
184 |
if(isset($_POST['Action'])) {
|
185 |
$Action = sanitize_text_field($_POST['Action']);
|
186 |
-
|
187 |
-
|
188 |
-
$logo_image = sanitize_option('logo_image', $_POST['logo_image']);
|
189 |
-
$logo_show = sanitize_option('logo_show', $_POST['logo_show']);
|
190 |
-
$logo_width = sanitize_option('logo_width', $_POST['logo_width']);
|
191 |
-
$logo_height = sanitize_option('logo_height', $_POST['logo_height']);
|
192 |
-
$logo_url = esc_url_raw($_POST['logo_url']);
|
193 |
-
$logo_url_title = sanitize_text_field($_POST['logo_url_title']);
|
194 |
-
|
195 |
-
// save values in option table
|
196 |
-
$logo_page= serialize(array(
|
197 |
-
'logo_image' => $logo_image,
|
198 |
-
'logo_show' => $logo_show,
|
199 |
-
'logo_width'=> $logo_width,
|
200 |
-
'logo_height'=> $logo_height,
|
201 |
-
'logo_url'=> $logo_url,
|
202 |
-
'logo_url_title'=> $logo_url_title
|
203 |
-
));
|
204 |
-
update_option('Admin_custome_login_logo', $logo_page);
|
205 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
206 |
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
<?php
|
184 |
if(isset($_POST['Action'])) {
|
185 |
$Action = sanitize_text_field($_POST['Action']);
|
186 |
+
if( ! wp_verify_nonce( $_POST['nonce_ajax'], 'weblizar_admin_nonce' ) ) {
|
187 |
+
die('Not authorized');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
188 |
}
|
189 |
+
else {
|
190 |
+
//Save Page Values
|
191 |
+
if($Action == "logoSave") {
|
192 |
+
$logo_image = sanitize_text_field($_POST['logo_image']);
|
193 |
+
$logo_show = sanitize_text_field($_POST['logo_show']);
|
194 |
+
$logo_width = sanitize_text_field($_POST['logo_width']);
|
195 |
+
$logo_height = sanitize_text_field($_POST['logo_height']);
|
196 |
+
$logo_url = esc_url($_POST['logo_url']);
|
197 |
+
$logo_url_title = sanitize_text_field($_POST['logo_url_title']);
|
198 |
|
199 |
+
// save values in option table
|
200 |
+
$logo_page = serialize(array(
|
201 |
+
'logo_image' => $logo_image,
|
202 |
+
'logo_show' => $logo_show,
|
203 |
+
'logo_width' => $logo_width,
|
204 |
+
'logo_height' => $logo_height,
|
205 |
+
'logo_url' => $logo_url,
|
206 |
+
'logo_url_title'=> $logo_url_title
|
207 |
+
));
|
208 |
+
update_option('Admin_custome_login_logo', $logo_page);
|
209 |
+
}
|
210 |
+
|
211 |
+
//Reset Page Settings
|
212 |
+
if($Action == "logoReset") {
|
213 |
+
$logo_page = serialize(array(
|
214 |
+
'logo_image' => WEBLIZAR_NALF_PLUGIN_URL.'/images/default-logo.png',
|
215 |
+
'logo_show' => 'yes',
|
216 |
+
'logo_width' => '274',
|
217 |
+
'logo_height' => '63',
|
218 |
+
'logo_url' => home_url(),
|
219 |
+
'logo_url_title' => 'Your Site Name and Info'
|
220 |
+
));
|
221 |
+
update_option('Admin_custome_login_logo', $logo_page);
|
222 |
+
}
|
223 |
+
}
|
224 |
+
}
|
includes/social/social.php
CHANGED
@@ -241,86 +241,89 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
|
241 |
<?php
|
242 |
if(isset($_POST['Action'])) {
|
243 |
$Action = sanitize_text_field($_POST['Action']);
|
244 |
-
|
245 |
-
|
246 |
-
|
|
|
|
|
|
|
247 |
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
257 |
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
'social_pinterest_link'=> $social_pinterest_link,
|
287 |
-
'social_digg_link'=> $social_digg_link,
|
288 |
-
'social_youtube_link'=> $social_youtube_link,
|
289 |
-
'social_flickr_link'=> $social_flickr_link,
|
290 |
-
'social_tumblr_link'=> $social_tumblr_link,
|
291 |
-
'social_skype_link'=> $social_skype_link,
|
292 |
-
'social_instagram_link'=> $social_instagram_link,
|
293 |
-
'social_telegram_link'=> $social_telegram_link,
|
294 |
-
'social_whatsapp_link'=> $social_whatsapp_link,
|
295 |
-
));
|
296 |
-
update_option('Admin_custome_login_Social', $Social_page);
|
297 |
-
}
|
298 |
-
|
299 |
-
if($Action == "socialReset") {
|
300 |
-
$Social_page= serialize(array(
|
301 |
-
'enable_social_icon'=> 'outer' ,
|
302 |
-
'social_icon_size'=> 'mediam' ,
|
303 |
-
'social_icon_layout'=> 'rectangle' ,
|
304 |
-
'social_link_new_window'=> 'yes' ,
|
305 |
-
'social_icon_color'=> '#ffffff' ,
|
306 |
-
'social_icon_color_onhover'=> '#1e73be' ,
|
307 |
-
'social_icon_bg'=> '#1e73be',
|
308 |
-
'social_icon_bg_onhover'=> '#ffffff' ,
|
309 |
-
'social_facebook_link'=> 'http://facebook.com' ,
|
310 |
-
'social_twitter_link'=> 'https://twitter.com/minimalmonkey',
|
311 |
-
'social_linkedin_link'=> '' ,
|
312 |
-
'social_google_plus_link'=> 'http://plus.google.com' ,
|
313 |
-
'social_pinterest_link'=> '',
|
314 |
-
'social_digg_link'=> '',
|
315 |
-
'social_youtube_link'=> 'https://youtube.com/',
|
316 |
-
'social_flickr_link'=> 'https://flickr.com/',
|
317 |
-
'social_tumblr_link'=> '',
|
318 |
-
'social_skype_link'=> '',
|
319 |
-
'social_instagram_link'=> 'https://instagram.com/',
|
320 |
-
'social_telegram_link'=> 'https://telegram.org/',
|
321 |
-
'social_whatsapp_link'=> 'https://whatsapp.com/',
|
322 |
-
));
|
323 |
-
update_option('Admin_custome_login_Social', $Social_page);
|
324 |
-
}
|
325 |
-
}
|
326 |
-
?>
|
241 |
<?php
|
242 |
if(isset($_POST['Action'])) {
|
243 |
$Action = sanitize_text_field($_POST['Action']);
|
244 |
+
if( ! wp_verify_nonce( $_POST['nonce_ajax'], 'weblizar_admin_nonce' ) ) {
|
245 |
+
die('Not authorized');
|
246 |
+
}
|
247 |
+
else {
|
248 |
+
//Save
|
249 |
+
if($Action == "socialSave") {
|
250 |
|
251 |
+
$enable_social_icon = sanitize_text_field($_POST['enable_social_icon']);
|
252 |
+
$social_icon_size = sanitize_text_field($_POST['social_icon_size']);
|
253 |
+
$social_icon_layout = sanitize_text_field($_POST['social_icon_layout']);
|
254 |
+
$social_link_new_window = sanitize_text_field($_POST['social_link_new_window']);
|
255 |
+
$social_icon_color = sanitize_text_field($_POST['social_icon_color']);
|
256 |
+
$social_icon_color_onhover = sanitize_text_field($_POST['social_icon_color_onhover']);
|
257 |
+
$social_icon_bg = sanitize_text_field($_POST['social_icon_bg']);
|
258 |
+
$social_icon_bg_onhover = sanitize_text_field($_POST['social_icon_bg_onhover']);
|
259 |
|
260 |
+
|
261 |
+
|
262 |
+
$social_facebook_link = sanitize_text_field($_POST['social_facebook_link']);
|
263 |
+
$social_twitter_link = sanitize_text_field($_POST['social_twitter_link']);
|
264 |
+
$social_linkedin_link = sanitize_text_field($_POST['social_linkedin_link']);
|
265 |
+
$social_google_plus_link = sanitize_text_field($_POST['social_google_plus_link']);
|
266 |
+
$social_pinterest_link = sanitize_text_field($_POST['social_pinterest_link']);
|
267 |
+
$social_digg_link = sanitize_text_field($_POST['social_digg_link']);
|
268 |
+
$social_youtube_link = sanitize_text_field($_POST['social_youtube_link']);
|
269 |
+
$social_flickr_link = sanitize_text_field($_POST['social_flickr_link']);
|
270 |
+
$social_tumblr_link = sanitize_text_field($_POST['social_tumblr_link']);
|
271 |
+
$social_skype_link = sanitize_text_field($_POST['social_skype_link']);
|
272 |
+
$social_instagram_link = sanitize_text_field($_POST['social_instagram_link']);
|
273 |
+
$social_telegram_link = sanitize_text_field($_POST['social_telegram_link']);
|
274 |
+
$social_whatsapp_link = sanitize_text_field($_POST['social_whatsapp_link']);
|
275 |
+
|
276 |
+
$Social_page= serialize(array(
|
277 |
+
'enable_social_icon'=> $enable_social_icon ,
|
278 |
+
'social_icon_size'=> $social_icon_size ,
|
279 |
+
'social_icon_layout'=> $social_icon_layout ,
|
280 |
+
'social_link_new_window'=> $social_link_new_window ,
|
281 |
+
'social_icon_color'=> $social_icon_color ,
|
282 |
+
'social_icon_color_onhover'=> $social_icon_color_onhover ,
|
283 |
+
'social_icon_bg'=> $social_icon_bg,
|
284 |
+
'social_icon_bg_onhover'=> $social_icon_bg_onhover ,
|
285 |
+
'social_facebook_link'=> $social_facebook_link ,
|
286 |
+
'social_twitter_link'=> $social_twitter_link,
|
287 |
+
'social_linkedin_link'=> $social_linkedin_link,
|
288 |
+
'social_google_plus_link'=> $social_google_plus_link,
|
289 |
+
'social_pinterest_link'=> $social_pinterest_link,
|
290 |
+
'social_digg_link'=> $social_digg_link,
|
291 |
+
'social_youtube_link'=> $social_youtube_link,
|
292 |
+
'social_flickr_link'=> $social_flickr_link,
|
293 |
+
'social_tumblr_link'=> $social_tumblr_link,
|
294 |
+
'social_skype_link'=> $social_skype_link,
|
295 |
+
'social_instagram_link'=> $social_instagram_link,
|
296 |
+
'social_telegram_link'=> $social_telegram_link,
|
297 |
+
'social_whatsapp_link'=> $social_whatsapp_link,
|
298 |
+
));
|
299 |
+
update_option('Admin_custome_login_Social', $Social_page);
|
300 |
+
}
|
301 |
|
302 |
+
if($Action == "socialReset") {
|
303 |
+
$Social_page= serialize(array(
|
304 |
+
'enable_social_icon'=> 'outer' ,
|
305 |
+
'social_icon_size'=> 'mediam' ,
|
306 |
+
'social_icon_layout'=> 'rectangle' ,
|
307 |
+
'social_link_new_window'=> 'yes' ,
|
308 |
+
'social_icon_color'=> '#ffffff' ,
|
309 |
+
'social_icon_color_onhover'=> '#1e73be' ,
|
310 |
+
'social_icon_bg'=> '#1e73be',
|
311 |
+
'social_icon_bg_onhover'=> '#ffffff' ,
|
312 |
+
'social_facebook_link'=> 'http://facebook.com' ,
|
313 |
+
'social_twitter_link'=> 'https://twitter.com/minimalmonkey',
|
314 |
+
'social_linkedin_link'=> '' ,
|
315 |
+
'social_google_plus_link'=> 'http://plus.google.com' ,
|
316 |
+
'social_pinterest_link'=> '',
|
317 |
+
'social_digg_link'=> '',
|
318 |
+
'social_youtube_link'=> 'https://youtube.com/',
|
319 |
+
'social_flickr_link'=> 'https://flickr.com/',
|
320 |
+
'social_tumblr_link'=> '',
|
321 |
+
'social_skype_link'=> '',
|
322 |
+
'social_instagram_link'=> 'https://instagram.com/',
|
323 |
+
'social_telegram_link'=> 'https://telegram.org/',
|
324 |
+
'social_whatsapp_link'=> 'https://whatsapp.com/',
|
325 |
+
));
|
326 |
+
update_option('Admin_custome_login_Social', $Social_page);
|
327 |
+
}
|
328 |
+
}
|
329 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
init.php
CHANGED
@@ -12,8 +12,9 @@ if ($login_redirect_force=="yes") {
|
|
12 |
add_action('template_redirect', function () {
|
13 |
/** no non-authenticated users allowed **/
|
14 |
if (! is_user_logged_in()) {
|
15 |
-
$login_page
|
16 |
-
|
|
|
17 |
exit();
|
18 |
}
|
19 |
});
|
@@ -139,6 +140,8 @@ function acl_admin_custom_login_js()
|
|
139 |
wp_enqueue_script('acl-color-picker-script', WEBLIZAR_NALF_PLUGIN_URL.'js/acl-color-picker-script.js', array( 'wp-color-picker' ), false, true);
|
140 |
wp_register_script('bootstrap', WEBLIZAR_NALF_PLUGIN_URL.'js/bootstrap.min.js');
|
141 |
wp_enqueue_script('bootstrap');
|
|
|
|
|
142 |
wp_register_script('wl-acl-metisMenu', WEBLIZAR_NALF_PLUGIN_URL.'js/plugins/metisMenu/metisMenu.min.js');
|
143 |
wp_enqueue_script('wl-acl-metisMenu');
|
144 |
wp_register_script('wl-aclsmartech', WEBLIZAR_NALF_PLUGIN_URL.'js/smartech.js', array('jquery'));
|
12 |
add_action('template_redirect', function () {
|
13 |
/** no non-authenticated users allowed **/
|
14 |
if (! is_user_logged_in()) {
|
15 |
+
$login_page = unserialize(get_option('Admin_custome_login_login'));
|
16 |
+
$redirectURL = esc_url($login_page['login_force_redirect_url']);
|
17 |
+
wp_redirect($redirectURL, 302);
|
18 |
exit();
|
19 |
}
|
20 |
});
|
140 |
wp_enqueue_script('acl-color-picker-script', WEBLIZAR_NALF_PLUGIN_URL.'js/acl-color-picker-script.js', array( 'wp-color-picker' ), false, true);
|
141 |
wp_register_script('bootstrap', WEBLIZAR_NALF_PLUGIN_URL.'js/bootstrap.min.js');
|
142 |
wp_enqueue_script('bootstrap');
|
143 |
+
/* Localize the nonce */
|
144 |
+
wp_localize_script( 'bootstrap', 'WEBLIZARADMINNONCE', array( 'adminsecurity' => wp_create_nonce( 'weblizar_admin_nonce' ) ) );
|
145 |
wp_register_script('wl-acl-metisMenu', WEBLIZAR_NALF_PLUGIN_URL.'js/plugins/metisMenu/metisMenu.min.js');
|
146 |
wp_enqueue_script('wl-acl-metisMenu');
|
147 |
wp_register_script('wl-aclsmartech', WEBLIZAR_NALF_PLUGIN_URL.'js/smartech.js', array('jquery'));
|
js/background.js
CHANGED
@@ -165,15 +165,39 @@ function Custom_login_top(Action, id){
|
|
165 |
b[i] = "";
|
166 |
}
|
167 |
}
|
168 |
-
|
169 |
-
var PostData = "Action=" + Action + "&select_bg_value=" + select_bg_value + "&top_background_color=" + top_background_color + "&top_bg_image=" + top_bg_image + "&top_cover=" + top_cover + "&top_bg_repeat=" + top_bg_repeat + "&top_bg_position=" + top_bg_position + "&top_bg_attachment=" + top_bg_attachment + "&top_slideshow_no=" + top_slideshow_no + "&top_bg_slider_animation=" + top_bg_slider_animation + "&Slidshow_image_1=" + a[1] + "&Slidshow_image_2=" + a[2] + "&Slidshow_image_3=" + a[3] + "&Slidshow_image_4=" + a[4] + "&Slidshow_image_5=" + a[5] + "&Slidshow_image_6=" + a[6] + "&image_label_1=" + b[1] + "&image_label_2=" + b[2] + "&image_label_3=" + b[3] + "&image_label_4=" + b[4] + "&image_label_5=" + b[5] + "&image_label_6=" + b[6];
|
170 |
jQuery.ajax({
|
171 |
dataType : 'html',
|
172 |
type: 'POST',
|
173 |
url : location.href,
|
174 |
cache: false,
|
175 |
-
data
|
176 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
success: function(data) {
|
178 |
// message box open
|
179 |
jQuery(".dialog-button1").click();
|
@@ -232,8 +256,12 @@ function Custom_login_top(Action, id){
|
|
232 |
type: 'POST',
|
233 |
url : location.href,
|
234 |
cache: false,
|
235 |
-
data : PostData,
|
236 |
-
|
|
|
|
|
|
|
|
|
237 |
success: function(data) {
|
238 |
// Show Background Image Option
|
239 |
jQuery(".no-background").hide();
|
165 |
b[i] = "";
|
166 |
}
|
167 |
}
|
168 |
+
/*var PostData = "Action=" + Action + "&select_bg_value=" + select_bg_value + "&top_background_color=" + top_background_color + "&top_bg_image=" + top_bg_image + "&top_cover=" + top_cover + "&top_bg_repeat=" + top_bg_repeat + "&top_bg_position=" + top_bg_position + "&top_bg_attachment=" + top_bg_attachment + "&top_slideshow_no=" + top_slideshow_no + "&top_bg_slider_animation=" + top_bg_slider_animation + "&Slidshow_image_1=" + a[1] + "&Slidshow_image_2=" + a[2] + "&Slidshow_image_3=" + a[3] + "&Slidshow_image_4=" + a[4] + "&Slidshow_image_5=" + a[5] + "&Slidshow_image_6=" + a[6] + "&image_label_1=" + b[1] + "&image_label_2=" + b[2] + "&image_label_3=" + b[3] + "&image_label_4=" + b[4] + "&image_label_5=" + b[5] + "&image_label_6=" + b[6];*/
|
|
|
169 |
jQuery.ajax({
|
170 |
dataType : 'html',
|
171 |
type: 'POST',
|
172 |
url : location.href,
|
173 |
cache: false,
|
174 |
+
data: {
|
175 |
+
nonce_ajax: WEBLIZARADMINNONCE.adminsecurity,
|
176 |
+
Action: Action,
|
177 |
+
select_bg_value: select_bg_value,
|
178 |
+
top_background_color: top_background_color,
|
179 |
+
top_bg_image: top_bg_image,
|
180 |
+
top_cover: top_cover,
|
181 |
+
top_bg_repeat: top_bg_repeat,
|
182 |
+
top_bg_position: top_bg_position,
|
183 |
+
top_bg_attachment: top_bg_attachment,
|
184 |
+
top_slideshow_no: top_slideshow_no,
|
185 |
+
top_bg_slider_animation: top_bg_slider_animation,
|
186 |
+
Slidshow_image_1: a[1],
|
187 |
+
Slidshow_image_2: a[2],
|
188 |
+
Slidshow_image_3: a[3],
|
189 |
+
Slidshow_image_4: a[4],
|
190 |
+
Slidshow_image_5: a[5],
|
191 |
+
Slidshow_image_6: a[6],
|
192 |
+
image_label_1: b[1],
|
193 |
+
image_label_2: b[2],
|
194 |
+
image_label_3: b[3],
|
195 |
+
image_label_4: b[4],
|
196 |
+
image_label_5: b[5],
|
197 |
+
image_label_6: b[6],
|
198 |
+
},
|
199 |
+
//data : PostData,
|
200 |
+
complete : function() { },
|
201 |
success: function(data) {
|
202 |
// message box open
|
203 |
jQuery(".dialog-button1").click();
|
256 |
type: 'POST',
|
257 |
url : location.href,
|
258 |
cache: false,
|
259 |
+
//data : PostData,
|
260 |
+
data: {
|
261 |
+
nonce_ajax: WEBLIZARADMINNONCE.adminsecurity,
|
262 |
+
Action: Action,
|
263 |
+
},
|
264 |
+
complete : function() { },
|
265 |
success: function(data) {
|
266 |
// Show Background Image Option
|
267 |
jQuery(".no-background").hide();
|
js/dashboard.js
CHANGED
@@ -38,8 +38,13 @@ function Custom_login_dashboard(Action, id) {
|
|
38 |
type: 'POST',
|
39 |
url : location.href,
|
40 |
cache: false,
|
41 |
-
data : PostData,
|
42 |
-
|
|
|
|
|
|
|
|
|
|
|
43 |
success: function(data) {
|
44 |
// Save message box open
|
45 |
jQuery(".dialog-button").click();
|
@@ -101,7 +106,11 @@ function Custom_login_dashboard(Action, id) {
|
|
101 |
type: 'POST',
|
102 |
url : location.href,
|
103 |
cache: false,
|
104 |
-
data
|
|
|
|
|
|
|
|
|
105 |
complete : function() { },
|
106 |
success: function(data) {
|
107 |
jQuery(document).ready( function() {
|
38 |
type: 'POST',
|
39 |
url : location.href,
|
40 |
cache: false,
|
41 |
+
//data : PostData,
|
42 |
+
data: {
|
43 |
+
nonce_ajax: WEBLIZARADMINNONCE.adminsecurity,
|
44 |
+
Action: Action,
|
45 |
+
dashboard_status: dashboard_status,
|
46 |
+
},
|
47 |
+
complete : function() { },
|
48 |
success: function(data) {
|
49 |
// Save message box open
|
50 |
jQuery(".dialog-button").click();
|
106 |
type: 'POST',
|
107 |
url : location.href,
|
108 |
cache: false,
|
109 |
+
data: {
|
110 |
+
nonce_ajax: WEBLIZARADMINNONCE.adminsecurity,
|
111 |
+
Action: Action,
|
112 |
+
},
|
113 |
+
//data : PostData,
|
114 |
complete : function() { },
|
115 |
success: function(data) {
|
116 |
jQuery(document).ready( function() {
|
js/inlinejs/loginform.js
CHANGED
@@ -328,7 +328,44 @@ function Custom_login_login(Action, id){
|
|
328 |
type: 'POST',
|
329 |
url : location.href,
|
330 |
cache: false,
|
331 |
-
data : PostData,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
332 |
complete : function() { },
|
333 |
success: function(data) {
|
334 |
// Save message box open
|
@@ -389,7 +426,11 @@ function Custom_login_login(Action, id){
|
|
389 |
type: 'POST',
|
390 |
url : location.href,
|
391 |
cache: false,
|
392 |
-
data : PostData,
|
|
|
|
|
|
|
|
|
393 |
complete : function() { },
|
394 |
success: function(data) {
|
395 |
// Show Background Image Option
|
@@ -546,7 +587,32 @@ function Custom_login_social(Action, id){
|
|
546 |
type: 'POST',
|
547 |
url : location.href,
|
548 |
cache: false,
|
549 |
-
data : PostData,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
550 |
complete : function() { },
|
551 |
success: function(data) {
|
552 |
// Save message box open
|
@@ -605,7 +671,11 @@ function Custom_login_social(Action, id){
|
|
605 |
type: 'POST',
|
606 |
url : location.href,
|
607 |
cache: false,
|
608 |
-
data : PostData,
|
|
|
|
|
|
|
|
|
609 |
complete : function() { },
|
610 |
success: function(data) {
|
611 |
jQuery("#enable_social_icon").val('outer');
|
328 |
type: 'POST',
|
329 |
url : location.href,
|
330 |
cache: false,
|
331 |
+
//data : PostData,
|
332 |
+
data: {
|
333 |
+
nonce_ajax: WEBLIZARADMINNONCE.adminsecurity,
|
334 |
+
Action : Action,
|
335 |
+
login_form_position : login_form_position,
|
336 |
+
Login_bg_value : Login_bg_value,
|
337 |
+
login_background_color : login_background_color,
|
338 |
+
login_bg_color_overlay : login_bg_color_overlay,
|
339 |
+
login_bg_image : login_bg_image,
|
340 |
+
login_form_opacity : login_form_opacity,
|
341 |
+
login_form_width: login_form_width,
|
342 |
+
login_form_radius: login_form_radius,
|
343 |
+
login_border_style: login_border_style,
|
344 |
+
login_redirect_force: login_redirect_force,
|
345 |
+
login_border_thikness: login_border_thikness,
|
346 |
+
login_border_color: login_border_color,
|
347 |
+
login_bg_repeat: login_bg_repeat,
|
348 |
+
login_bg_position: login_bg_position,
|
349 |
+
login_enable_shadow: login_enable_shadow,
|
350 |
+
login_shadow_color: login_shadow_color,
|
351 |
+
login_custom_css: login_custom_css,
|
352 |
+
login_redirect_user: login_redirect_user,
|
353 |
+
login_force_redirect_url: login_force_redirect_url,
|
354 |
+
login_form_left: login_form_left,
|
355 |
+
log_form_above_msg: log_form_above_msg,
|
356 |
+
login_msg_font_color: login_msg_font_color,
|
357 |
+
login_tagline_text_color: login_tagline_text_color,
|
358 |
+
login_tagline_link_color: login_tagline_link_color,
|
359 |
+
login_msg_fontsize: login_msg_fontsize,
|
360 |
+
login_form_top: login_form_top,
|
361 |
+
login_form_float: login_form_float,
|
362 |
+
tagline_msg: tagline_msg,
|
363 |
+
user_cust_lbl: user_cust_lbl,
|
364 |
+
pass_cust_lbl: pass_cust_lbl,
|
365 |
+
label_username: label_username,
|
366 |
+
label_password: label_password,
|
367 |
+
label_loginButton: label_loginButton,
|
368 |
+
},
|
369 |
complete : function() { },
|
370 |
success: function(data) {
|
371 |
// Save message box open
|
426 |
type: 'POST',
|
427 |
url : location.href,
|
428 |
cache: false,
|
429 |
+
//data : PostData,
|
430 |
+
data: {
|
431 |
+
nonce_ajax: WEBLIZARADMINNONCE.adminsecurity,
|
432 |
+
Action : Action,
|
433 |
+
},
|
434 |
complete : function() { },
|
435 |
success: function(data) {
|
436 |
// Show Background Image Option
|
587 |
type: 'POST',
|
588 |
url : location.href,
|
589 |
cache: false,
|
590 |
+
//data : PostData,
|
591 |
+
data: {
|
592 |
+
nonce_ajax : WEBLIZARADMINNONCE.adminsecurity,
|
593 |
+
Action : Action,
|
594 |
+
enable_social_icon : enable_social_icon,
|
595 |
+
social_icon_size : social_icon_size,
|
596 |
+
social_icon_layout : social_icon_layout,
|
597 |
+
social_link_new_window : social_link_new_window,
|
598 |
+
social_icon_color : social_icon_color,
|
599 |
+
social_icon_color_onhover : social_icon_color_onhover,
|
600 |
+
social_icon_bg : social_icon_bg,
|
601 |
+
social_icon_bg_onhover : social_icon_bg_onhover,
|
602 |
+
social_facebook_link : social_facebook_link,
|
603 |
+
social_twitter_link : social_twitter_link,
|
604 |
+
social_linkedin_link : social_linkedin_link,
|
605 |
+
social_google_plus_link : social_google_plus_link,
|
606 |
+
social_pinterest_link : social_pinterest_link,
|
607 |
+
social_digg_link : social_digg_link,
|
608 |
+
social_youtube_link : social_youtube_link,
|
609 |
+
social_flickr_link : social_flickr_link,
|
610 |
+
social_tumblr_link : social_tumblr_link,
|
611 |
+
social_skype_link : social_skype_link,
|
612 |
+
social_instagram_link : social_instagram_link,
|
613 |
+
social_telegram_link : social_telegram_link,
|
614 |
+
social_whatsapp_link : social_whatsapp_link,
|
615 |
+
},
|
616 |
complete : function() { },
|
617 |
success: function(data) {
|
618 |
// Save message box open
|
671 |
type: 'POST',
|
672 |
url : location.href,
|
673 |
cache: false,
|
674 |
+
//data : PostData,
|
675 |
+
data: {
|
676 |
+
nonce_ajax : WEBLIZARADMINNONCE.adminsecurity,
|
677 |
+
Action : Action,
|
678 |
+
},
|
679 |
complete : function() { },
|
680 |
success: function(data) {
|
681 |
jQuery("#enable_social_icon").val('outer');
|
js/inlinejs/pagesettings.js
CHANGED
@@ -71,20 +71,30 @@ function Custom_login_logo(Action, id){
|
|
71 |
dlgtrigger.addEventListener( 'click', dlg.toggle.bind(dlg) );
|
72 |
})();
|
73 |
|
74 |
-
var logo_image
|
75 |
-
var logo_show
|
76 |
-
var logo_width
|
77 |
-
var logo_height
|
78 |
-
var logo_url
|
79 |
var logo_url_title = jQuery("#log-url-title").val();
|
80 |
-
var PostData = "Action=" + Action + "&logo_image=" + logo_image + "&logo_show=" + logo_show + "&logo_width=" + logo_width + "&logo_height=" + logo_height + "&logo_url=" + logo_url + "&logo_url_title=" + logo_url_title;
|
81 |
jQuery.ajax({
|
82 |
dataType : 'html',
|
83 |
type: 'POST',
|
84 |
url : location.href,
|
85 |
cache: false,
|
86 |
-
data : PostData,
|
87 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
success: function(data) {
|
89 |
// Save message box open
|
90 |
jQuery(".dialog-button4").click();
|
@@ -143,7 +153,11 @@ function Custom_login_logo(Action, id){
|
|
143 |
type: 'POST',
|
144 |
url : location.href,
|
145 |
cache: false,
|
146 |
-
data : PostData,
|
|
|
|
|
|
|
|
|
147 |
complete : function() { },
|
148 |
success: function(data) {
|
149 |
document.getElementById("logo-image").value;
|
71 |
dlgtrigger.addEventListener( 'click', dlg.toggle.bind(dlg) );
|
72 |
})();
|
73 |
|
74 |
+
var logo_image = jQuery("#logo-image").val();
|
75 |
+
var logo_show = jQuery('input[name=show_logo]:checked').val();
|
76 |
+
var logo_width = jQuery("#logo-width-text-box").val();
|
77 |
+
var logo_height = jQuery("#logo-height-text-box").val();
|
78 |
+
var logo_url = jQuery("#log-url").val();
|
79 |
var logo_url_title = jQuery("#log-url-title").val();
|
80 |
+
//var PostData = "Action=" + Action + "&logo_image=" + logo_image + "&logo_show=" + logo_show + "&logo_width=" + logo_width + "&logo_height=" + logo_height + "&logo_url=" + logo_url + "&logo_url_title=" + logo_url_title;
|
81 |
jQuery.ajax({
|
82 |
dataType : 'html',
|
83 |
type: 'POST',
|
84 |
url : location.href,
|
85 |
cache: false,
|
86 |
+
//data : PostData,
|
87 |
+
data: {
|
88 |
+
nonce_ajax : WEBLIZARADMINNONCE.adminsecurity,
|
89 |
+
Action : Action,
|
90 |
+
logo_image : logo_image,
|
91 |
+
logo_show : logo_show,
|
92 |
+
logo_width : logo_width,
|
93 |
+
logo_height : logo_height,
|
94 |
+
logo_url : logo_url,
|
95 |
+
logo_url_title : logo_url_title,
|
96 |
+
},
|
97 |
+
complete : function() {alert(Action); },
|
98 |
success: function(data) {
|
99 |
// Save message box open
|
100 |
jQuery(".dialog-button4").click();
|
153 |
type: 'POST',
|
154 |
url : location.href,
|
155 |
cache: false,
|
156 |
+
//data : PostData,
|
157 |
+
data: {
|
158 |
+
nonce_ajax : WEBLIZARADMINNONCE.adminsecurity,
|
159 |
+
Action : Action,
|
160 |
+
},
|
161 |
complete : function() { },
|
162 |
success: function(data) {
|
163 |
document.getElementById("logo-image").value;
|
js/textandcolor.js
CHANGED
@@ -193,13 +193,38 @@ function Custom_login_text(Action, id){
|
|
193 |
}
|
194 |
var user_input_icon = jQuery("#user-input-icon").val();
|
195 |
var password_input_icon = jQuery("#password-input-icon").val();
|
196 |
-
var PostData = "Action=" + Action + "&heading_font_color=" + heading_font_color + "&input_font_color=" + input_font_color + "&link_color=" + link_color + "&button_color=" + button_color + "&login_button_font_color=" + login_button_font_color + "&heading_font_size=" + heading_font_size + "&input_font_size=" + input_font_size + "&link_size=" + link_size + "&button_font_size=" + button_font_size + "&enable_link_shadow=" + enable_link_shadow + "&show_remember_me_field=" + show_remember_me_field + "&show_back_to_site_link=" + show_back_to_site_link + "&show_copyright_link_text=" + show_copyright_link_text + "&link_shadow_color=" + link_shadow_color + "&heading_font_style=" + heading_font_style + "&input_font_style=" + input_font_style + "&link_font_style=" + link_font_style + "&button_font_style=" + button_font_style + "&enable_inputbox_icon=" + enable_inputbox_icon + "&user_input_icon=" + user_input_icon + "&password_input_icon=" + password_input_icon;
|
197 |
jQuery.ajax({
|
198 |
dataType : 'html',
|
199 |
type: 'POST',
|
200 |
url : location.href,
|
201 |
cache: false,
|
202 |
-
data : PostData,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
complete : function() { },
|
204 |
success: function(data) {
|
205 |
// Save message box open
|
@@ -258,7 +283,11 @@ function Custom_login_text(Action, id){
|
|
258 |
type: 'POST',
|
259 |
url : location.href,
|
260 |
cache: false,
|
261 |
-
data : PostData,
|
|
|
|
|
|
|
|
|
262 |
complete : function() { },
|
263 |
success: function(data) {
|
264 |
//Headline Font Style
|
193 |
}
|
194 |
var user_input_icon = jQuery("#user-input-icon").val();
|
195 |
var password_input_icon = jQuery("#password-input-icon").val();
|
196 |
+
//var PostData = "Action=" + Action + "&heading_font_color=" + heading_font_color + "&input_font_color=" + input_font_color + "&link_color=" + link_color + "&button_color=" + button_color + "&login_button_font_color=" + login_button_font_color + "&heading_font_size=" + heading_font_size + "&input_font_size=" + input_font_size + "&link_size=" + link_size + "&button_font_size=" + button_font_size + "&enable_link_shadow=" + enable_link_shadow + "&show_remember_me_field=" + show_remember_me_field + "&show_back_to_site_link=" + show_back_to_site_link + "&show_copyright_link_text=" + show_copyright_link_text + "&link_shadow_color=" + link_shadow_color + "&heading_font_style=" + heading_font_style + "&input_font_style=" + input_font_style + "&link_font_style=" + link_font_style + "&button_font_style=" + button_font_style + "&enable_inputbox_icon=" + enable_inputbox_icon + "&user_input_icon=" + user_input_icon + "&password_input_icon=" + password_input_icon;
|
197 |
jQuery.ajax({
|
198 |
dataType : 'html',
|
199 |
type: 'POST',
|
200 |
url : location.href,
|
201 |
cache: false,
|
202 |
+
//data : PostData,
|
203 |
+
data : {
|
204 |
+
nonce_ajax: WEBLIZARADMINNONCE.adminsecurity,
|
205 |
+
Action: Action,
|
206 |
+
heading_font_color: heading_font_color,
|
207 |
+
input_font_color : input_font_color,
|
208 |
+
link_color : link_color,
|
209 |
+
button_color : button_color,
|
210 |
+
login_button_font_color : login_button_font_color,
|
211 |
+
heading_font_size : heading_font_size,
|
212 |
+
input_font_size : input_font_size,
|
213 |
+
link_size : link_size,
|
214 |
+
button_font_size : button_font_size,
|
215 |
+
enable_link_shadow : enable_link_shadow,
|
216 |
+
show_remember_me_field : show_remember_me_field,
|
217 |
+
show_back_to_site_link : show_back_to_site_link,
|
218 |
+
show_copyright_link_text : show_copyright_link_text,
|
219 |
+
link_shadow_color : link_shadow_color,
|
220 |
+
heading_font_style : heading_font_style,
|
221 |
+
input_font_style : input_font_style,
|
222 |
+
link_font_style : link_font_style,
|
223 |
+
button_font_style : button_font_style,
|
224 |
+
enable_inputbox_icon : enable_inputbox_icon,
|
225 |
+
user_input_icon : user_input_icon,
|
226 |
+
password_input_icon : password_input_icon,
|
227 |
+
},
|
228 |
complete : function() { },
|
229 |
success: function(data) {
|
230 |
// Save message box open
|
283 |
type: 'POST',
|
284 |
url : location.href,
|
285 |
cache: false,
|
286 |
+
//data : PostData,
|
287 |
+
data : {
|
288 |
+
nonce_ajax: WEBLIZARADMINNONCE.adminsecurity,
|
289 |
+
Action: Action,
|
290 |
+
},
|
291 |
complete : function() { },
|
292 |
success: function(data) {
|
293 |
//Headline Font Style
|
login-form-screen.php
CHANGED
@@ -122,7 +122,7 @@ function acl_er_login_logo()
|
|
122 |
{
|
123 |
if (get_option('Admin_custome_login_logo')) {
|
124 |
$logo_page = unserialize(get_option('Admin_custome_login_logo'));
|
125 |
-
return $logo_page['logo_url'];
|
126 |
// make get option varibles and use
|
127 |
} else {
|
128 |
return home_url();
|
@@ -159,7 +159,7 @@ function acl_er_login_logo()
|
|
159 |
}
|
160 |
add_filter('login_message', 'acl_login_message');
|
161 |
}
|
162 |
-
$dashboard_page
|
163 |
$dashboard_status = isset($dashboard_page['dashboard_status']);
|
164 |
if ($dashboard_status == "enable") {
|
165 |
add_action('login_enqueue_scripts', 'acl_er_login_logo');
|
122 |
{
|
123 |
if (get_option('Admin_custome_login_logo')) {
|
124 |
$logo_page = unserialize(get_option('Admin_custome_login_logo'));
|
125 |
+
return esc_url($logo_page['logo_url']);
|
126 |
// make get option varibles and use
|
127 |
} else {
|
128 |
return home_url();
|
159 |
}
|
160 |
add_filter('login_message', 'acl_login_message');
|
161 |
}
|
162 |
+
$dashboard_page = unserialize(get_option('Admin_custome_login_dashboard'));
|
163 |
$dashboard_status = isset($dashboard_page['dashboard_status']);
|
164 |
if ($dashboard_status == "enable") {
|
165 |
add_action('login_enqueue_scripts', 'acl_er_login_logo');
|
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: 5.8
|
7 |
-
Stable tag: 3.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -189,7 +189,12 @@ Please use WordPress [support forum](http://wordpress.org/support/plugin/admin-c
|
|
189 |
|
190 |
For more information, see [Weblizar](http://www.weblizar.com/)
|
191 |
|
192 |
-
3.2.
|
|
|
|
|
|
|
|
|
|
|
193 |
* Minor changes
|
194 |
* Tested: upto wordpress 5.8
|
195 |
|
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: 5.8
|
7 |
+
Stable tag: 3.2.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
189 |
|
190 |
For more information, see [Weblizar](http://www.weblizar.com/)
|
191 |
|
192 |
+
3.2.8 = [25-July-2021]
|
193 |
+
* Tested: upto wordpress 5.8
|
194 |
+
* Code updated
|
195 |
+
* Tested: upto wordpress 5.8
|
196 |
+
|
197 |
+
3.2.7 = [14-July-2021]
|
198 |
* Minor changes
|
199 |
* Tested: upto wordpress 5.8
|
200 |
|