switcher_field([ 'title' => esc_html__( 'Dashboard Design Customization', 'admintosh' ), 'name' => 'active_login_dashboard_customiz', ]); $this->switcher_field([ 'title' => esc_html__( 'Login Page Customization', 'admintosh' ), 'name' => 'active_login_page_customiz', ]); $this->switcher_field([ 'title' => esc_html__( 'Active Captcha', 'admintosh' ), 'name' => 'active_captcha', ]); $this->switcher_field([ 'title' => esc_html__( 'Login Attempts', 'admintosh' ), 'name' => 'active_login_attempts', ]); $this->switcher_field([ 'title' => esc_html__( 'Hide Login', 'admintosh' ), 'name' => 'active_hide_login', ]); $this->switcher_field([ 'title' => esc_html__( 'Login History', 'admintosh' ), 'name' => 'active_login_history', ]); $this->switcher_field([ 'title' => esc_html__( 'Country Restriction', 'admintosh' ), 'name' => 'active_country_restriction', ]); $this->switcher_field([ 'title' => esc_html__( 'Admin Activity Logs', 'admintosh' ), 'name' => 'admin_activity_logs', ]); do_action('admintosh_module_switcher'); ?>
switcher_field([ 'title' => esc_html__( 'Hide WordPress Version', 'admintosh' ), 'name' => 'hide_wp_version', ]); $this->switcher_field([ 'title' => esc_html__( 'Disable File Editing', 'admintosh' ), 'name' => 'disable_file_editing', ]); $this->switcher_field([ 'title' => esc_html__( 'Disable XML-RPC', 'admintosh' ), 'name' => 'disable_xml_rpc', ]); $this->switcher_field([ 'title' => esc_html__( 'Disable Right Click', 'admintosh' ), 'name' => 'disable_right_click', ]); $this->switcher_field([ 'title' => esc_html__( 'Disable Login Hints Error Messages', 'admintosh' ), 'name' => 'disable_login_hint_msg', ]); ?>
image_radio_field([ 'title' => esc_html__( 'Color Preset', 'admintosh' ), 'name' => 'adminbar_color_scheme', 'options' => [ 'color-1' => ADMINTOSH_DIR_URL.'admin/assets/img/color-1.png', 'color-2' => ADMINTOSH_DIR_URL.'admin/assets/img/color-2.png', 'color-3' => ADMINTOSH_DIR_URL.'admin/assets/img/color-3.png', 'color-4' => ADMINTOSH_DIR_URL.'admin/assets/img/color-4.png' ] ]); $this->color_field([ 'title' => esc_html__( 'Admin Top Bar Background Color', 'admintosh' ), 'name' => 'adminbar_bg_color', ]); $this->color_field([ 'title' => esc_html__( 'Admin Top Bar Text Color', 'admintosh' ), 'name' => 'adminbar_text_color', ]); $this->color_field([ 'title' => esc_html__( 'Admin Top Bar Link Color', 'admintosh' ), 'name' => 'adminbar_link_color', ]); $this->color_field([ 'title' => esc_html__( 'Admin Top Bar Link Hover Background Color', 'admintosh' ), 'name' => 'adminbar_link_hv_bg_color', ]); $this->color_field([ 'title' => esc_html__( 'Admin Top Bar Link Hover Color', 'admintosh' ), 'name' => 'adminbar_link_hv_color', ]); $this->media_field([ 'title' => esc_html__( 'Admin Top bar Logo', 'admintosh' ), 'name' => 'top_bar_logo', ]); $this->number_field([ 'title' => esc_html__( 'Logo Width', 'admintosh' ), 'name' => 'tb_logo_width', 'placeholder' => '100' ]); $this->number_field([ 'title' => esc_html__( 'Logo Height', 'admintosh' ), 'name' => 'tb_logo_height', 'placeholder' => '32' ]); $this->dimension_field([ 'title' => esc_html__( 'Logo Margin', 'admintosh' ), 'name' => 'tb_logo_margin', ]); ?>
image_radio_field([ 'title' => esc_html__( 'Color Preset', 'admintosh' ), 'name' => 'admin_menu_color_scheme', 'options' => [ 'color-1' => ADMINTOSH_DIR_URL.'admin/assets/img/color-1.png', 'color-2' => ADMINTOSH_DIR_URL.'admin/assets/img/color-2.png', 'color-3' => ADMINTOSH_DIR_URL.'admin/assets/img/color-3.png', 'color-4' => ADMINTOSH_DIR_URL.'admin/assets/img/color-4.png' ] ]); $this->color_field([ 'title' => esc_html__( 'Admin Background Color', 'admintosh' ), 'name' => 'admin_menu_bg_color', ]); $this->color_field([ 'title' => esc_html__( 'Admin Menu Hover Background Color', 'admintosh' ), 'name' => 'admin_menu_hov_bg_color', ]); $this->color_field([ 'title' => esc_html__( 'Admin Menu Link Color', 'admintosh' ), 'name' => 'admin_menu_text_color', ]); $this->color_field([ 'title' => esc_html__( 'Admin Menu Hover Link Color', 'admintosh' ), 'name' => 'admin_menu_hov_link_color', ]); $this->color_field([ 'title' => esc_html__( 'Admin Sub Menu Background Color', 'admintosh' ), 'name' => 'admin_menu_sub_bg_color', ]); $this->color_field([ 'title' => esc_html__( 'Admin Sub Menu Link Color', 'admintosh' ), 'name' => 'admin_menu_sub_link_color', ]); ?>
'.esc_html__( 'PLEASE MAKE SURE THAT YOU CONFIGURE THE PLUGIN TO ALLOW YOUR OWN ACCESS.', 'admintosh' ).''; // $this->switcher_field([ 'title' => esc_html__( 'Entire Site Country Restriction', 'admintosh' ), 'name' => 'active_entire_site_restriction', 'description' => esc_html__( 'Note: Please carefully, and make sure you select your country otherwise, you won\'t be able to access.', 'admintosh' ) ]); // $this->multi_select_field([ 'title' => esc_html__( 'Entire Site Restriction Exclued Country', 'admintosh' ), 'name' => 'entire_site_exclued_country', 'condition' => [ 'active_entire_site_restriction' => [ 'on' ] ], 'options' => \Admintosh\Classes\Countries::getAllCountries(), 'description' => esc_html__( 'Block Entire Site for all countries except countries in selected', 'admintosh' ) ]); // $this->switcher_field([ 'title' => esc_html__( 'Front-End Country Restriction', 'admintosh' ), 'name' => 'active_front_end_restriction', ]); // $this->multi_select_field([ 'title' => esc_html__( 'Front-End Restriction Exclued Country', 'admintosh' ), 'name' => 'front_end_exclued_country', 'condition' => [ 'active_front_end_restriction' => [ 'on' ] ], 'options' => \Admintosh\Classes\Countries::getAllCountries(), 'description' => esc_html__( 'Block Front-End for all countries except countries in selected', 'admintosh' ) ]); // $this->switcher_field([ 'title' => esc_html__( 'wp-login page Country Restriction', 'admintosh' ), 'name' => 'active_wp_login_restriction', 'description' => esc_html__( 'Note: If you use Entire Site Restriction or Front-End Restriction you don\'t need this option.', 'admintosh' ) ]); // $this->multi_select_field([ 'title' => esc_html__( 'wp-login page Restriction Exclued Country', 'admintosh' ), 'name' => 'wplogin_page_exclued_country', 'condition' => [ 'active_wp_login_restriction' => [ 'on' ] ], 'options' => \Admintosh\Classes\Countries::getAllCountries(), 'description' => esc_html__( 'Block wp-login page for all countries except countries in selected.', 'admintosh' ) ]); $this->text_field([ 'title' => esc_html__( 'Block Template Title', 'admintosh' ), 'name' => 'block_temp_title', 'placeholder' => 'Sorry our services are not available in your country.' ]); $this->text_field([ 'title' => esc_html__( 'Block Template description', 'admintosh' ), 'name' => 'block_temp_description', 'placeholder' => 'description will go here.' ]); ?>