Admin Custom Login - Version 2.4.9

Version Description

  • More secure code structure added
Download this release

Release Info

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

Code changes from version 2.4.8 to 2.4.9

admin-custom-login.php CHANGED
@@ -1,12 +1,14 @@
1
  <?php
2
  /**
3
  * Plugin Name: Admin Custom Login
4
- * Version: 2.4.8
5
  * Description: Customize Your WordPress Login Screen Amazingly
6
  * Author: Weblizar
7
  * Author URI: http://weblizar.com/plugins/
8
  * Plugin URI: http://weblizar.com/plugins/
9
  */
 
 
10
 
11
  define("WEBLIZAR_NALF_PLUGIN_URL", plugin_dir_url(__FILE__));
12
  define("WEBLIZAR_ACL", "WEBLIZAR_ACL" );
@@ -30,15 +32,16 @@ function ACL_WeblizarDoInstallation() {
30
  require_once("login-form-screen.php");
31
  add_action('admin_menu','acl_weblizar_admin_custom_login_menu');
32
  function acl_weblizar_admin_custom_login_menu() {
33
- //plugin menu page under the settings page
34
- // $acl_menu = add_menu_page('Admin custom Login', 'Admin custom Login','administrator', 'admin_custom_login','acl_admin_custom_login_content');
35
- $acl_menu = add_submenu_page( 'options-general.php','Admin Custom Login', 'Admin Custom Login','administrator', 'admin_custom_login','acl_admin_custom_login_content' );
36
- add_action( 'admin_print_styles-' . $acl_menu, 'acl_admin_custom_login_js_css' );
 
 
37
  }
38
 
39
- function acl_admin_custom_login_js_css() {
40
  //enqueue scripts page for Admin Custom Login plugin admin panel
41
- wp_enqueue_script('theme-preview');
42
  wp_enqueue_style('dashboard');
43
  wp_enqueue_style('wp-color-picker');
44
  wp_enqueue_style('thickbox');
@@ -53,12 +56,20 @@ function acl_admin_custom_login_js_css() {
53
  wp_enqueue_style('acl-dialog', WEBLIZAR_NALF_PLUGIN_URL.'css/dialog/dialog.css');
54
  wp_enqueue_style('acl-dialog-box-style', WEBLIZAR_NALF_PLUGIN_URL.'css/dialog/dialog-box-style.css');
55
  wp_enqueue_style('acl-dialog-jamie', WEBLIZAR_NALF_PLUGIN_URL.'css/dialog/dialog-jamie.css');
 
 
 
 
 
 
56
 
 
 
 
57
  wp_enqueue_script('jquery');
58
 
59
  wp_enqueue_script('acl-media-uploads',WEBLIZAR_NALF_PLUGIN_URL.'js/acl-media-upload-script.js',array('media-upload','thickbox','jquery'));
60
  wp_enqueue_script('acl-color-picker-script', WEBLIZAR_NALF_PLUGIN_URL.'js/acl-color-picker-script.js', array( 'wp-color-picker' ), false, true );
61
-
62
  wp_enqueue_script('acl-bootstrap-min-js',WEBLIZAR_NALF_PLUGIN_URL.'js/bootstrap.min.js');
63
  wp_enqueue_script('acl-metisMenu',WEBLIZAR_NALF_PLUGIN_URL.'js/plugins/metisMenu/metisMenu.min.js');
64
  wp_enqueue_script('aclsmartech',WEBLIZAR_NALF_PLUGIN_URL.'js/smartech.js',array('jquery'));
@@ -81,6 +92,7 @@ function acl_advanced_login_form_plugin() {
81
  wp_enqueue_style('demo', WEBLIZAR_NALF_PLUGIN_URL.'css/demo.css');
82
  }
83
  wp_enqueue_style('font-awesome_min', WEBLIZAR_NALF_PLUGIN_URL.'font-awesome/css/font-awesome.min.css');
 
84
  }
85
  add_action('login_enqueue_scripts', 'acl_advanced_login_form_plugin');
86
 
1
  <?php
2
  /**
3
  * Plugin Name: Admin Custom Login
4
+ * Version: 2.4.9
5
  * Description: Customize Your WordPress Login Screen Amazingly
6
  * Author: Weblizar
7
  * Author URI: http://weblizar.com/plugins/
8
  * Plugin URI: http://weblizar.com/plugins/
9
  */
10
+ // Exit if accessed directly
11
+ if ( ! defined( 'ABSPATH' ) ) exit;
12
 
13
  define("WEBLIZAR_NALF_PLUGIN_URL", plugin_dir_url(__FILE__));
14
  define("WEBLIZAR_ACL", "WEBLIZAR_ACL" );
32
  require_once("login-form-screen.php");
33
  add_action('admin_menu','acl_weblizar_admin_custom_login_menu');
34
  function acl_weblizar_admin_custom_login_menu() {
35
+ if(current_user_can('administrator')){
36
+ //plugin menu page under the settings page
37
+ // $acl_menu = add_menu_page('Admin custom Login', 'Admin custom Login','administrator', 'admin_custom_login','acl_admin_custom_login_content');
38
+ $acl_menu = add_submenu_page( 'options-general.php','Admin Custom Login', 'Admin Custom Login','administrator', 'admin_custom_login','acl_admin_custom_login_content' );
39
+ add_action( 'admin_print_styles-' . $acl_menu, 'acl_admin_custom_login_css' );
40
+ }
41
  }
42
 
43
+ function acl_admin_custom_login_css() {
44
  //enqueue scripts page for Admin Custom Login plugin admin panel
 
45
  wp_enqueue_style('dashboard');
46
  wp_enqueue_style('wp-color-picker');
47
  wp_enqueue_style('thickbox');
56
  wp_enqueue_style('acl-dialog', WEBLIZAR_NALF_PLUGIN_URL.'css/dialog/dialog.css');
57
  wp_enqueue_style('acl-dialog-box-style', WEBLIZAR_NALF_PLUGIN_URL.'css/dialog/dialog-box-style.css');
58
  wp_enqueue_style('acl-dialog-jamie', WEBLIZAR_NALF_PLUGIN_URL.'css/dialog/dialog-jamie.css');
59
+ wp_enqueue_style('acl-custom-css', WEBLIZAR_NALF_PLUGIN_URL.'css/custom.css');
60
+
61
+ wp_enqueue_style('acl-googleapis-css_01', 'http://fonts.googleapis.com/css?family=Dosis:600,700,800');
62
+ wp_enqueue_style('acl-googleapis-css_02', 'http://fonts.googleapis.com/css?family=Lato:400,300,300italic,400italic,700,700italic,900');
63
+ wp_enqueue_style('acl-googleapis-css_03', 'http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic|Montserrat:400,700');
64
+ }
65
 
66
+ add_action( 'admin_print_scripts', 'acl_admin_custom_login_js' );
67
+ function acl_admin_custom_login_js() {
68
+ wp_enqueue_script('theme-preview');
69
  wp_enqueue_script('jquery');
70
 
71
  wp_enqueue_script('acl-media-uploads',WEBLIZAR_NALF_PLUGIN_URL.'js/acl-media-upload-script.js',array('media-upload','thickbox','jquery'));
72
  wp_enqueue_script('acl-color-picker-script', WEBLIZAR_NALF_PLUGIN_URL.'js/acl-color-picker-script.js', array( 'wp-color-picker' ), false, true );
 
73
  wp_enqueue_script('acl-bootstrap-min-js',WEBLIZAR_NALF_PLUGIN_URL.'js/bootstrap.min.js');
74
  wp_enqueue_script('acl-metisMenu',WEBLIZAR_NALF_PLUGIN_URL.'js/plugins/metisMenu/metisMenu.min.js');
75
  wp_enqueue_script('aclsmartech',WEBLIZAR_NALF_PLUGIN_URL.'js/smartech.js',array('jquery'));
92
  wp_enqueue_style('demo', WEBLIZAR_NALF_PLUGIN_URL.'css/demo.css');
93
  }
94
  wp_enqueue_style('font-awesome_min', WEBLIZAR_NALF_PLUGIN_URL.'font-awesome/css/font-awesome.min.css');
95
+ wp_enqueue_style('custom-css', WEBLIZAR_NALF_PLUGIN_URL.'css/acl-custom.css');
96
  }
97
  add_action('login_enqueue_scripts', 'acl_advanced_login_form_plugin');
98
 
css/acl-custom.css ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* login-form-screen */
2
+ .fa{
3
+ line-height:1.5 !important;
4
+ }
5
+ p{
6
+ position:relative !important;
7
+ }
8
+ body.login div#login h1 a,#login_error{
9
+ position:relative !important;
10
+ }
11
+
12
+ .icon-ph {
13
+ display: inline-block;
14
+ width: 15px;
15
+ height: 15px;
16
+ min-width: 16px;
17
+ padding: 4px 5px;
18
+ font-size: 20px;
19
+ font-weight: normal;
20
+ line-height: 20px;
21
+ text-align: center;
22
+ text-shadow: 0 1px 0 #ffffff;
23
+ background-color: transparent;
24
+ position:absolute;
25
+ left:6px;
26
+ top:4px;
27
+ bottom:3px;
28
+ z-index:3;
29
+ }
30
+
31
+ .custom-text {
32
+ padding:6px 6px 6px 30px ;
33
+ }
34
+
35
+ .input-container {
36
+ position:relative;
37
+ }
css/custom.css ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Text & color & Login form background*/
2
+ .ui-state-default, .ui-widget-content .ui-state-default{
3
+ background-color: #fff;
4
+ border: 0px solid #c5dbec;
5
+ border-radius: 100%;
6
+ cursor: move;
7
+ height: 30px;
8
+ left: 0;
9
+ top: -11px;
10
+ position: absolute;
11
+ width: 30px;
12
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
13
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
14
+ }
15
+ .ui-slider-horizontal {
16
+ height: .5em;
17
+ }
18
+ .ui-widget-content {
19
+ border: 0px solid #a6c9e2;
20
+ background: #a9acb1;
21
+ color: #222222;
22
+ }
23
+ .ui-widget-header {
24
+ border: 0px solid #4297d7;
25
+ background: #ef4238;
26
+ color: #ffffff;
27
+ font-weight: bold;
28
+ }
29
+ .slider-text{
30
+ background-color: #f7fcff !important;
31
+ border-radius: 5px;
32
+ font-size: 0.9em;
33
+ height: 29px;
34
+ padding-top: 2px;
35
+ text-align: center;
36
+ width: 55px;
37
+ margin-left: 25px;
38
+ border-color: #ffffff !important;
39
+ margin-right: 5px;
40
+ -webkit-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.15);
41
+ box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.15) !important;
42
+ }
43
+ .slider-text-span{
44
+ font-size:17px;
45
+ }
46
+
47
+
48
+ /* Help & Rate */
49
+
50
+ .acl-rate-us span.dashicons{
51
+ width: 30px;
52
+ height: 30px;
53
+ }
54
+ .acl-rate-us span.dashicons-star-filled:before {
55
+ content: "\f155";
56
+ font-size: 30px;
57
+ }
58
+ .acl-rate-us {
59
+ color : #FBD229 !important;
60
+ padding-top:5px !important;
61
+ }
62
+ .acl-rate-us span{
63
+ display:inline-block;
64
+ }
65
+ .acl-rate{
66
+ color:#fff;
67
+ margin-top:10px !important;
68
+ margin-bottom:5px !important;
69
+ }
70
+
71
+
72
+ /* content */
73
+ ::-webkit-scrollbar{
74
+ width: 12px;
75
+ }
76
+ ::-webkit-scrollbar-track{
77
+ outline: 0px solid slategrey;
78
+ background: transparent;
79
+ border-radius: 0px;
80
+ border:0px
81
+ }
82
+ ::-webkit-scrollbar-thumb{
83
+ border-radius: 0px;
84
+ background: rgba(71,204,232,0.9);
85
+ border:0px;
86
+ outline: 0px solid slategrey;
87
+ }
88
+ a:focus{
89
+ -webkit-box-shadow: none !important;
90
+ box-shadow:none !important;
91
+ }
92
+ .wp-color-result{
93
+ height:24px;
94
+ }
95
+ .wp-color-result:hover{
96
+ text-underline:none;
97
+ }
98
+ #TB_ajaxContent{
99
+ width:100% !important;
100
+ }
101
+ #TB_window {
102
+ height: auto !important;
103
+ }
includes/Login-form-setting/Login-form-background.php CHANGED
@@ -1,4 +1,8 @@
1
  <!-- Dashboard Settings panel content --->
 
 
 
 
2
  <script>
3
  //on load form floating
4
  var floatingform = '<?php echo $login_form_position; ?>';
@@ -159,50 +163,7 @@ function loginbgchange() {
159
  }
160
  </script>
161
  <style>
162
- .ui-state-default, .ui-widget-content .ui-state-default{
163
- background-color: #fff;
164
- border: 0px solid #c5dbec;
165
- border-radius: 100%;
166
- cursor: move;
167
- height: 30px;
168
- left: 0;
169
- top: -11px;
170
- position: absolute;
171
- width: 30px;
172
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
173
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
174
- }
175
- .ui-slider-horizontal {
176
- height: .5em;
177
- }
178
- .ui-widget-content {
179
- border: 0px solid #a6c9e2;
180
- background: #a9acb1;
181
- color: #222222;
182
- }
183
- .ui-widget-header {
184
- border: 0px solid #4297d7;
185
- background: #ef4238;
186
- color: #ffffff;
187
- font-weight: bold;
188
- }
189
- .slider-text{
190
- background-color: #f7fcff !important;
191
- border-radius: 5px;
192
- font-size: 0.9em;
193
- height: 29px;
194
- padding-top: 2px;
195
- text-align: center;
196
- width: 55px;
197
- margin-left: 25px;
198
- border-color: #ffffff !important;
199
- margin-right: 5px;
200
- -webkit-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.15);
201
- box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.15) !important;
202
- }
203
- .slider-text-span{
204
- font-size:17px;
205
- }
206
  </style>
207
  <div class="row">
208
  <div class="post-social-wrapper clearfix">
@@ -593,7 +554,7 @@ function loginbgchange() {
593
  </tr>
594
  <tr class="radio-span" style="border-bottom:none;">
595
  <td>
596
- <textarea id="login_custom_css" name="login_custom_css" placeholder="<?php _e('Custom CSS','WEBLIZAR_ACL')?>" type="text" class="login_custom_css" rows="10" cols="75" style="width:80%"><?php echo esc_textarea($login_custom_css); ?></textarea>
597
  <p class="description">
598
  <?php _e('Enter any custom css you want to apply on login panel.', WEBLIZAR_ACL ); ?>.<br>
599
  <?php _e('Note: Please Do Not Use', WEBLIZAR_ACL ); ?> <b>Style</b> <?php _e('Tag With Custom CSS', WEBLIZAR_ACL ); ?>.
@@ -852,7 +813,7 @@ function loginbgchange() {
852
  $login_bg_position = sanitize_option('login_bg_position', $_POST['login_bg_position']);
853
  $login_enable_shadow = sanitize_option('login_enable_shadow', $_POST['login_enable_shadow']);
854
  $login_shadow_color = sanitize_option('login_shadow_color', $_POST['login_shadow_color']);
855
- $login_custom_css = sanitize_text_field($_POST['login_custom_css']);
856
 
857
 
858
  // Save Values in Option Table
1
  <!-- Dashboard Settings panel content --->
2
+ <?php
3
+ // Exit if accessed directly
4
+ if ( ! defined( 'ABSPATH' ) ) exit;
5
+ ?>
6
  <script>
7
  //on load form floating
8
  var floatingform = '<?php echo $login_form_position; ?>';
163
  }
164
  </script>
165
  <style>
166
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
167
  </style>
168
  <div class="row">
169
  <div class="post-social-wrapper clearfix">
554
  </tr>
555
  <tr class="radio-span" style="border-bottom:none;">
556
  <td>
557
+ <textarea id="login_custom_css" name="login_custom_css" placeholder="<?php _e('Custom CSS','WEBLIZAR_ACL')?>" type="text" class="login_custom_css" rows="10" cols="75" style="width:80%"><?php echo $login_custom_css; ?></textarea>
558
  <p class="description">
559
  <?php _e('Enter any custom css you want to apply on login panel.', WEBLIZAR_ACL ); ?>.<br>
560
  <?php _e('Note: Please Do Not Use', WEBLIZAR_ACL ); ?> <b>Style</b> <?php _e('Tag With Custom CSS', WEBLIZAR_ACL ); ?>.
813
  $login_bg_position = sanitize_option('login_bg_position', $_POST['login_bg_position']);
814
  $login_enable_shadow = sanitize_option('login_enable_shadow', $_POST['login_enable_shadow']);
815
  $login_shadow_color = sanitize_option('login_shadow_color', $_POST['login_shadow_color']);
816
+ $login_custom_css = sanitize_option('login_custom_css', $_POST['login_custom_css']);
817
 
818
 
819
  // Save Values in Option Table
includes/content.php CHANGED
@@ -1,48 +1,19 @@
1
  <?php
 
 
 
 
2
  require_once('get_value.php');
3
  ?>
4
  <style>
5
  #post-social-5{
6
  background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url('<?php echo WEBLIZAR_NALF_PLUGIN_URL.'css/img/pattern-1.png'; ?>') left top repeat, url('<?php echo WEBLIZAR_NALF_PLUGIN_URL.'css/img/bg1.jpg'; ?>') center center fixed;
7
  }
8
- ::-webkit-scrollbar{
9
- width: 12px;
10
- }
11
- ::-webkit-scrollbar-track{
12
- outline: 0px solid slategrey;
13
- background: transparent;
14
- border-radius: 0px;
15
- border:0px
16
- }
17
- ::-webkit-scrollbar-thumb{
18
- border-radius: 0px;
19
- background: rgba(71,204,232,0.9);
20
- border:0px;
21
- outline: 0px solid slategrey;
22
- }
23
- a:focus{
24
- -webkit-box-shadow: none !important;
25
- box-shadow:none !important;
26
- }
27
- .wp-color-result{
28
- height:24px;
29
- }
30
- .wp-color-result:hover{
31
- text-underline:none;
32
- }
33
- #TB_ajaxContent{
34
- width:100% !important;
35
- }
36
- #TB_window {
37
- height: auto !important;
38
- }
39
  </style>
40
  <!-- ==============================================
41
  Fonts
42
  =============================================== -->
43
- <link href='http://fonts.googleapis.com/css?family=Dosis:600,700,800' rel='stylesheet' type='text/css'>
44
- <link href='http://fonts.googleapis.com/css?family=Lato:400,300,300italic,400italic,700,700italic,900' rel='stylesheet' type='text/css'>
45
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic|Montserrat:400,700' rel='stylesheet' type='text/css'>
46
 
47
  <div id="wrapper">
48
  <!-- Navigation -->
@@ -95,25 +66,7 @@ Fonts
95
  <h3 class="sidebar-profile-name"><a href="http://weblizar.com/" target="_blank" style="background-color: #29282f; border-left:0px ; "><?php _e( 'Weblizar', 'WEBLIZAR_ACL' ); ?></a></h3>
96
 
97
 
98
- <style>
99
- .acl-rate-us span.dashicons{
100
- width: 30px;
101
- height: 30px;
102
- }
103
- .acl-rate-us span.dashicons-star-filled:before {
104
- content: "\f155";
105
- font-size: 30px;
106
- }
107
- .acl-rate-us {
108
- color : #FBD229 !important;
109
- padding-top:5px !important;
110
- }
111
- .acl-rate{
112
- color:#fff;
113
- margin-top:10px !important;
114
- margin-bottom:5px !important;
115
- }
116
- </style>
117
  <h5 style="color:#fff" class="acl-rate"><?php _e('Show Us Some Love (Rate Us)','WEBLIZAR_ACL')?></h5>
118
  <a class="acl-rate-us" style="text-align:center; text-decoration: none;font:normal 30px/l;" href="https://wordpress.org/plugins/admin-custom-login/" target="_blank">
119
  <span class="dashicons dashicons-star-filled"></span>
1
  <?php
2
+
3
+ // Exit if accessed directly
4
+ if ( ! defined( 'ABSPATH' ) ) exit;
5
+
6
  require_once('get_value.php');
7
  ?>
8
  <style>
9
  #post-social-5{
10
  background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url('<?php echo WEBLIZAR_NALF_PLUGIN_URL.'css/img/pattern-1.png'; ?>') left top repeat, url('<?php echo WEBLIZAR_NALF_PLUGIN_URL.'css/img/bg1.jpg'; ?>') center center fixed;
11
  }
12
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  </style>
14
  <!-- ==============================================
15
  Fonts
16
  =============================================== -->
 
 
 
17
 
18
  <div id="wrapper">
19
  <!-- Navigation -->
66
  <h3 class="sidebar-profile-name"><a href="http://weblizar.com/" target="_blank" style="background-color: #29282f; border-left:0px ; "><?php _e( 'Weblizar', 'WEBLIZAR_ACL' ); ?></a></h3>
67
 
68
 
69
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  <h5 style="color:#fff" class="acl-rate"><?php _e('Show Us Some Love (Rate Us)','WEBLIZAR_ACL')?></h5>
71
  <a class="acl-rate-us" style="text-align:center; text-decoration: none;font:normal 30px/l;" href="https://wordpress.org/plugins/admin-custom-login/" target="_blank">
72
  <span class="dashicons dashicons-star-filled"></span>
includes/dashboard/dashboard.php CHANGED
@@ -1,5 +1,9 @@
1
  <!-- Dashboard Settings panel content --- >
2
  <!---------------------------------------->
 
 
 
 
3
  <div class="row">
4
  <div class="post-social-wrapper clearfix">
5
  <div class="col-md-12 post-social-item">
1
  <!-- Dashboard Settings panel content --- >
2
  <!---------------------------------------->
3
+ <?php
4
+ // Exit if accessed directly
5
+ if ( ! defined( 'ABSPATH' ) ) exit;
6
+ ?>
7
  <div class="row">
8
  <div class="post-social-wrapper clearfix">
9
  <div class="col-md-12 post-social-item">
includes/design/background.php CHANGED
@@ -1,4 +1,8 @@
1
  <!-- Dashboard Settings panel content --->
 
 
 
 
2
  <script>
3
  function Acl_show_Image() {
4
  var img_src= document.getElementById("top_image").value;
1
  <!-- Dashboard Settings panel content --->
2
+ <?php
3
+ // Exit if accessed directly
4
+ if ( ! defined( 'ABSPATH' ) ) exit;
5
+ ?>
6
  <script>
7
  function Acl_show_Image() {
8
  var img_src= document.getElementById("top_image").value;
includes/design/text_and_color.php CHANGED
@@ -1,5 +1,9 @@
1
  <!-- Dashboard Settings panel content --- >
2
  <!---------------------------------------->
 
 
 
 
3
  <Script>
4
  //button Headline-Font-size slider
5
  jQuery(function() {
@@ -74,52 +78,7 @@ jQuery(document).ready(function(){
74
  jQuery("#button_font_style").val('<?php if($button_font_style != ""){echo $button_font_style;}else {echo "";}?>');
75
  });
76
  </script>
77
- <style>
78
- .ui-state-default, .ui-widget-content .ui-state-default{
79
- background-color: #fff;
80
- border: 0px solid #c5dbec;
81
- border-radius: 100%;
82
- cursor: move;
83
- height: 30px;
84
- left: 0;
85
- top: -11px;
86
- position: absolute;
87
- width: 30px;
88
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
89
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
90
- }
91
- .ui-slider-horizontal {
92
- height: .5em;
93
- }
94
- .ui-widget-content {
95
- border: 0px solid #a6c9e2;
96
- background: #a9acb1;
97
- color: #222222;
98
- }
99
- .ui-widget-header {
100
- border: 0px solid #4297d7;
101
- background: #ef4238;
102
- color: #ffffff;
103
- font-weight: bold;
104
- }
105
- .slider-text{
106
- background-color: #f7fcff !important;
107
- border-radius: 5px;
108
- font-size: 0.9em;
109
- height: 29px;
110
- padding-top: 2px;
111
- text-align: center;
112
- width: 55px;
113
- margin-left: 25px;
114
- border-color: #ffffff !important;
115
- margin-right: 5px;
116
- -webkit-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.15);
117
- box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.15) !important;
118
- }
119
- .slider-text-span{
120
- font-size:17px;
121
- }
122
- </style>
123
  <div class="row">
124
  <div class="post-social-wrapper clearfix">
125
  <div class="col-md-12 post-social-item">
1
  <!-- Dashboard Settings panel content --- >
2
  <!---------------------------------------->
3
+ <?php
4
+ // Exit if accessed directly
5
+ if ( ! defined( 'ABSPATH' ) ) exit;
6
+ ?>
7
  <Script>
8
  //button Headline-Font-size slider
9
  jQuery(function() {
78
  jQuery("#button_font_style").val('<?php if($button_font_style != ""){echo $button_font_style;}else {echo "";}?>');
79
  });
80
  </script>
81
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
  <div class="row">
83
  <div class="post-social-wrapper clearfix">
84
  <div class="col-md-12 post-social-item">
includes/get_value.php CHANGED
@@ -1,4 +1,8 @@
1
  <?php
 
 
 
 
2
  // Get value of Dashboard page
3
  $dashboard_page = unserialize(get_option('Admin_custome_login_dashboard'));
4
  $dashboard_status = $dashboard_page['dashboard_status'];
1
  <?php
2
+
3
+ // Exit if accessed directly
4
+ if ( ! defined( 'ABSPATH' ) ) exit;
5
+
6
  // Get value of Dashboard page
7
  $dashboard_page = unserialize(get_option('Admin_custome_login_dashboard'));
8
  $dashboard_status = $dashboard_page['dashboard_status'];
includes/help/help.php CHANGED
@@ -1,5 +1,9 @@
1
  <!-- Dashboard Settings panel content --- >
2
  <!---------------------------------------->
 
 
 
 
3
  <div class="row">
4
  <div class="post-social-wrapper clearfix">
5
  <div class="col-md-12 post-social-item">
@@ -36,23 +40,7 @@
36
  </tr>
37
  <tr class="radio-span" style="border-bottom:none;">
38
  <td>
39
- <style>
40
- .acl-rate-us span.dashicons{
41
- width: 30px;
42
- height: 30px;
43
- }
44
- .acl-rate-us span.dashicons-star-filled:before {
45
- content: "\f155";
46
- font-size: 30px;
47
- }
48
- .acl-rate-us {
49
- color : #FBD229 !important;
50
- padding-top:5px !important;
51
- }
52
- .acl-rate-us span{
53
- display:inline-block;
54
- }
55
- </style>
56
  <h4><?php _e('If you are enjoying using our Admin Custom Login plugin and find it useful, then please consider writing a positive feedback. Your feedback will help us to encourage and support the plugins continued development and better user support.','WEBLIZAR_ACL')?></h4>
57
  <a class="acl-rate-us" style="text-align:center; text-decoration: none;font:normal 30px/l;" href="https://wordpress.org/plugins/admin-custom-login/" target="_blank">
58
  <span class="dashicons dashicons-star-filled"></span>
1
  <!-- Dashboard Settings panel content --- >
2
  <!---------------------------------------->
3
+ <?php
4
+ // Exit if accessed directly
5
+ if ( ! defined( 'ABSPATH' ) ) exit;
6
+ ?>
7
  <div class="row">
8
  <div class="post-social-wrapper clearfix">
9
  <div class="col-md-12 post-social-item">
40
  </tr>
41
  <tr class="radio-span" style="border-bottom:none;">
42
  <td>
43
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  <h4><?php _e('If you are enjoying using our Admin Custom Login plugin and find it useful, then please consider writing a positive feedback. Your feedback will help us to encourage and support the plugins continued development and better user support.','WEBLIZAR_ACL')?></h4>
45
  <a class="acl-rate-us" style="text-align:center; text-decoration: none;font:normal 30px/l;" href="https://wordpress.org/plugins/admin-custom-login/" target="_blank">
46
  <span class="dashicons dashicons-star-filled"></span>
includes/help/rate.php CHANGED
@@ -1,5 +1,9 @@
1
  <!-- Dashboard Settings panel content --- >
2
  <!---------------------------------------->
 
 
 
 
3
  <div class="row">
4
  <div class="post-social-wrapper clearfix">
5
  <div class="col-md-12 post-social-item">
@@ -37,23 +41,7 @@
37
  </tr>
38
  <tr class="radio-span" style="border-bottom:none;">
39
  <td>
40
- <style>
41
- .acl-rate-us span.dashicons{
42
- width: 30px;
43
- height: 30px;
44
- }
45
- .acl-rate-us span.dashicons-star-filled:before {
46
- content: "\f155";
47
- font-size: 30px;
48
- }
49
- .acl-rate-us {
50
- color : #FBD229 !important;
51
- padding-top:5px !important;
52
- }
53
- .acl-rate-us span{
54
- display:inline-block;
55
- }
56
- </style>
57
  <a class="acl-rate-us" style="text-align:center; text-decoration: none;font:normal 30px/l;" href="http://wordpress.org/support/view/plugin-reviews/admin-custom-login" target="_blank">
58
  <span class="dashicons dashicons-star-filled"></span>
59
  <span class="dashicons dashicons-star-filled"></span>
1
  <!-- Dashboard Settings panel content --- >
2
  <!---------------------------------------->
3
+ <?php
4
+ // Exit if accessed directly
5
+ if ( ! defined( 'ABSPATH' ) ) exit;
6
+ ?>
7
  <div class="row">
8
  <div class="post-social-wrapper clearfix">
9
  <div class="col-md-12 post-social-item">
41
  </tr>
42
  <tr class="radio-span" style="border-bottom:none;">
43
  <td>
44
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  <a class="acl-rate-us" style="text-align:center; text-decoration: none;font:normal 30px/l;" href="http://wordpress.org/support/view/plugin-reviews/admin-custom-login" target="_blank">
46
  <span class="dashicons dashicons-star-filled"></span>
47
  <span class="dashicons dashicons-star-filled"></span>
includes/import-export-setting/import_export.php CHANGED
@@ -1,5 +1,9 @@
1
  <!-- Dashboard Settings panel content --- >
2
  <!---------------------------------------->
 
 
 
 
3
  <div class="row">
4
  <!-- // Export Settings //-->
5
  <div class="panel panel-primary panel-default content-panel">
1
  <!-- Dashboard Settings panel content --- >
2
  <!---------------------------------------->
3
+ <?php
4
+ // Exit if accessed directly
5
+ if ( ! defined( 'ABSPATH' ) ) exit;
6
+ ?>
7
  <div class="row">
8
  <!-- // Export Settings //-->
9
  <div class="panel panel-primary panel-default content-panel">
includes/recommendations/recommendations.php CHANGED
@@ -1,5 +1,9 @@
1
  <!-- Dashboard Settings panel content --- >
2
  <!---------------------------------------->
 
 
 
 
3
  <style>
4
 
5
  </style>
1
  <!-- Dashboard Settings panel content --- >
2
  <!---------------------------------------->
3
+ <?php
4
+ // Exit if accessed directly
5
+ if ( ! defined( 'ABSPATH' ) ) exit;
6
+ ?>
7
  <style>
8
 
9
  </style>
includes/settings/page-settings.php CHANGED
@@ -1,4 +1,8 @@
1
  <!-- Dashboard Settings panel content --->
 
 
 
 
2
  <Script>
3
  //logo Image preview
4
  function Acl_show_Image_3() {
1
  <!-- Dashboard Settings panel content --->
2
+ <?php
3
+ // Exit if accessed directly
4
+ if ( ! defined( 'ABSPATH' ) ) exit;
5
+ ?>
6
  <Script>
7
  //logo Image preview
8
  function Acl_show_Image_3() {
includes/social/social.php CHANGED
@@ -1,4 +1,8 @@
1
  <!-- Dashboard Settings panel content --->
 
 
 
 
2
  <script>
3
  //Set Value of Drop Down
4
  jQuery(document).ready(function(){
1
  <!-- Dashboard Settings panel content --->
2
+ <?php
3
+ // Exit if accessed directly
4
+ if ( ! defined( 'ABSPATH' ) ) exit;
5
+ ?>
6
  <script>
7
  //Set Value of Drop Down
8
  jQuery(document).ready(function(){
installation.php CHANGED
@@ -1,4 +1,7 @@
1
  <?php
 
 
 
2
  $login_Version = unserialize(get_option('Admin_custome_login_Version'));
3
  $Version = $login_Version['Version'];
4
  if(!isset($Version)){
1
  <?php
2
+ // Exit if accessed directly
3
+ if ( ! defined( 'ABSPATH' ) ) exit;
4
+
5
  $login_Version = unserialize(get_option('Admin_custome_login_Version'));
6
  $Version = $login_Version['Version'];
7
  if(!isset($Version)){
login-form-screen.php CHANGED
@@ -1,4 +1,7 @@
1
  <?php
 
 
 
2
  function acl_er_login_logo() {
3
  /*Get all options from db */
4
  $er_options = get_option('plugin_erident_settings');
@@ -93,16 +96,7 @@ function acl_er_login_logo() {
93
  });
94
  </script>
95
  <style type="text/css">
96
- .fa{
97
- line-height:1.5 !important;
98
- }
99
- p{
100
- position:relative !important;
101
- }
102
- body.login div#login h1 a,
103
- #login_error{
104
- position:relative !important;
105
- }
106
  <?php echo $login_page['login_custom_css'] ?>;
107
 
108
  /* Styles loading for Admin Custome Login */
@@ -234,31 +228,10 @@ function acl_er_login_logo() {
234
  }
235
 
236
  .icon-ph {
237
- display: inline-block;
238
- width: 15px;
239
- height: 15px;
240
- min-width: 16px;
241
- padding: 4px 5px;
242
- font-size: 20px;
243
- font-weight: normal;
244
- line-height: 20px;
245
- text-align: center;
246
- text-shadow: 0 1px 0 #ffffff;
247
- background-color: transparent;
248
- position:absolute;
249
- left:6px;
250
- top:4px;
251
- bottom:3px;
252
- z-index:3;
253
  color:<?php echo $text_and_color_page['input_font_color'] ?>;
254
  }
255
- .custom-text {
256
- padding:6px 6px 6px 30px ;
257
- }
258
 
259
- .input-container {
260
- position:relative;
261
- }
262
 
263
  body.login div#login form p label {
264
  color:<?php echo $text_and_color_page['heading_font_color'] ?>;
1
  <?php
2
+ // Exit if accessed directly
3
+ if ( ! defined( 'ABSPATH' ) ) exit;
4
+
5
  function acl_er_login_logo() {
6
  /*Get all options from db */
7
  $er_options = get_option('plugin_erident_settings');
96
  });
97
  </script>
98
  <style type="text/css">
99
+
 
 
 
 
 
 
 
 
 
100
  <?php echo $login_page['login_custom_css'] ?>;
101
 
102
  /* Styles loading for Admin Custome Login */
228
  }
229
 
230
  .icon-ph {
231
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
232
  color:<?php echo $text_and_color_page['input_font_color'] ?>;
233
  }
 
 
 
234
 
 
 
 
235
 
236
  body.login div#login form p label {
237
  color:<?php echo $text_and_color_page['heading_font_color'] ?>;
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.weblizar.com/
4
  Tags: admin, admin login, admin login page, customize, admin custom login, custom login, branding, custom login, custom login pro, customization, error, login, login error, logo, customization, themes, wordpress login, login form, admin login form, wordpress login, plugin, jquery form, jquery, customization, customizer, custom login plugin, background , sideshow, social form, social connect, social share, facebook, twitter, google plug, linkedin, background slideshow, image, logo, custom logo, wordpress admin login, wp login, wp-login, log in, admin, role, subscriber, captcha, security login, customize wordpress login form, wp login form, login form plugin, ogin page, logo, style log in, style login, themes, custom login page, css , html, form style,
5
  Requires at least: 4.0
6
  Tested up to: 4.7.3
7
- Stable tag: 2.4.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -119,6 +119,7 @@ If you have any question contact us at here: [Plugin Support Forum ](http://word
119
 
120
  For more information, see [Weblizar](http://wwww.weblizar.com/)
121
 
 
122
  = 2.4.8 - All setting fields are sanitizied, Plugin setting are now more seciure from malicious script
123
  = 2.4.7.1 - Language file updated (some text string was missing in lang file and updated in 2.4.7.1)
124
  = 2.4.7 =
4
  Tags: admin, admin login, admin login page, customize, admin custom login, custom login, branding, custom login, custom login pro, customization, error, login, login error, logo, customization, themes, wordpress login, login form, admin login form, wordpress login, plugin, jquery form, jquery, customization, customizer, custom login plugin, background , sideshow, social form, social connect, social share, facebook, twitter, google plug, linkedin, background slideshow, image, logo, custom logo, wordpress admin login, wp login, wp-login, log in, admin, role, subscriber, captcha, security login, customize wordpress login form, wp login form, login form plugin, ogin page, logo, style log in, style login, themes, custom login page, css , html, form style,
5
  Requires at least: 4.0
6
  Tested up to: 4.7.3
7
+ Stable tag: 2.4.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
119
 
120
  For more information, see [Weblizar](http://wwww.weblizar.com/)
121
 
122
+ = 2.4.9 - More secure code structure added
123
  = 2.4.8 - All setting fields are sanitizied, Plugin setting are now more seciure from malicious script
124
  = 2.4.7.1 - Language file updated (some text string was missing in lang file and updated in 2.4.7.1)
125
  = 2.4.7 =