settings.php
626 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Admin Settings Page |
| 4 | */ |
| 5 | |
| 6 | if( ! defined( 'ABSPATH' ) ) exit(); // Exit if accessed directly |
| 7 | |
| 8 | class Eael_Admin_Settings { |
| 9 | |
| 10 | private $is_pro = false; |
| 11 | |
| 12 | /** |
| 13 | * Contains Default Component keys |
| 14 | * @var array |
| 15 | * @since 2.3.0 |
| 16 | */ |
| 17 | public $eael_default_keys = [ 'contact-form-7', 'count-down', 'creative-btn', 'fancy-text', 'img-comparison', 'instagram-gallery', 'interactive-promo', 'lightbox', 'post-block', 'post-grid', 'post-timeline', 'product-grid', 'team-members', 'testimonial-slider', 'testimonials', 'testimonials', 'weforms', 'static-product', 'call-to-action', 'flip-box', 'info-box', 'dual-header', 'price-table', 'flip-carousel', 'interactive-cards', 'ninja-form', 'gravity-form', 'caldera-form', 'wpforms', 'wisdom_registered_setting', 'twitter-feed', 'facebook-feed', 'twitter-feed-carousel', 'facebook-feed-carousel', 'data-table', 'filter-gallery', 'dynamic-filter-gallery', 'image-accordion', 'content-ticker', 'tooltip', 'adv-accordion', 'adv-tabs' ]; |
| 18 | |
| 19 | /** |
| 20 | * Will Contain All Components Default Values |
| 21 | * @var array |
| 22 | * @since 2.3.0 |
| 23 | */ |
| 24 | private $eael_default_settings; |
| 25 | |
| 26 | /** |
| 27 | * Will Contain User End Settings Value |
| 28 | * @var array |
| 29 | * @since 2.3.0 |
| 30 | */ |
| 31 | private $eael_settings; |
| 32 | |
| 33 | /** |
| 34 | * Will Contains Settings Values Fetched From DB |
| 35 | * @var array |
| 36 | * @since 2.3.0 |
| 37 | */ |
| 38 | private $eael_get_settings; |
| 39 | |
| 40 | /** |
| 41 | * Initializing all default hooks and functions |
| 42 | * @param |
| 43 | * @return void |
| 44 | * @since 1.1.2 |
| 45 | */ |
| 46 | public function __construct() { |
| 47 | |
| 48 | add_action( 'admin_menu', array( $this, 'create_eael_admin_menu' ), 600 ); |
| 49 | add_action( 'init', array( $this, 'enqueue_eael_admin_scripts' ) ); |
| 50 | add_action( 'wp_ajax_save_settings_with_ajax', array( $this, 'eael_save_settings_with_ajax' ) ); |
| 51 | add_action( 'wp_ajax_add_action_with_ajax', array( $this, 'add_action_with_ajax' ) ); |
| 52 | |
| 53 | } |
| 54 | |
| 55 | public function add_action_with_ajax(){ |
| 56 | |
| 57 | global $wp_version; |
| 58 | $post_types = []; |
| 59 | $remoteargs = array( |
| 60 | 'timeout' => 5, |
| 61 | 'redirection' => 5, |
| 62 | 'httpversion' => '1.0', |
| 63 | 'user-agent' => 'WordPress/' . $wp_version . '; ' . home_url(), |
| 64 | 'blocking' => true, |
| 65 | 'headers' => array(), |
| 66 | 'cookies' => array(), |
| 67 | 'sslverify' => false, |
| 68 | ); |
| 69 | $otherurl = $_POST['url']; |
| 70 | |
| 71 | $otherurl = $otherurl . 'wp-json/wp/v2/types'; |
| 72 | |
| 73 | $response = wp_remote_get( $otherurl, $remoteargs ); |
| 74 | $response = json_decode( $response['body'] ); |
| 75 | // echo '<pre>', print_r( $response, 1 ), '</pre>'; |
| 76 | foreach( $response as $type ){ |
| 77 | $post_types[ $type->rest_base ] = $type->name; |
| 78 | } |
| 79 | $eael_exclude_cpts = array( 'elementor_library', 'media', 'product' ); |
| 80 | foreach ( $eael_exclude_cpts as $exclude_cpt ) { |
| 81 | unset($post_types[$exclude_cpt]); |
| 82 | } |
| 83 | // echo '<pre>', print_r( $post_types, 1 ), '</pre>'; |
| 84 | echo json_encode( $post_types ); |
| 85 | |
| 86 | add_action( 'wp_ajax_save_facebook_feed_settings', array( $this, 'eael_save_facebook_feed_settings' ) ); |
| 87 | |
| 88 | } |
| 89 | |
| 90 | /** |
| 91 | * Loading all essential scripts |
| 92 | * @param |
| 93 | * @return void |
| 94 | * @since 1.1.2 |
| 95 | */ |
| 96 | public function enqueue_eael_admin_scripts() { |
| 97 | |
| 98 | wp_enqueue_style( 'essential_addons_elementor-notice-css', plugins_url( '/', __FILE__ ).'assets/css/eael-notice.css' ); |
| 99 | if( isset( $_GET['page'] ) && $_GET['page'] == 'eael-settings' ) { |
| 100 | wp_enqueue_style( 'essential_addons_elementor-admin-css', plugins_url( '/', __FILE__ ).'assets/css/admin.css' ); |
| 101 | wp_enqueue_style( 'essential_addons_elementor-sweetalert2-css', plugins_url( '/', __FILE__ ).'assets/vendor/sweetalert2/css/sweetalert2.min.css' ); |
| 102 | wp_enqueue_script( 'essential_addons_elementor-admin-js', plugins_url( '/', __FILE__ ).'assets/js/admin.js', array( 'jquery'), '1.0', true ); |
| 103 | wp_enqueue_script( 'essential_addons_core-js', plugins_url( '/', __FILE__ ).'assets/vendor/sweetalert2/js/core.js', array( 'jquery' ), '1.0', true ); |
| 104 | wp_enqueue_script( 'essential_addons_sweetalert2-js', plugins_url( '/', __FILE__ ).'assets/vendor/sweetalert2/js/sweetalert2.min.js', array( 'jquery', 'essential_addons_core-js' ), '1.0', true ); |
| 105 | } |
| 106 | |
| 107 | } |
| 108 | |
| 109 | /** |
| 110 | * Create an admin menu. |
| 111 | * @param |
| 112 | * @return void |
| 113 | * @since 1.1.2 |
| 114 | */ |
| 115 | public function create_eael_admin_menu() { |
| 116 | |
| 117 | add_submenu_page( |
| 118 | 'elementor', |
| 119 | 'Essential Addons', |
| 120 | 'Essential Addons', |
| 121 | 'manage_options', |
| 122 | 'eael-settings', |
| 123 | array( $this, 'eael_admin_settings_page' ) |
| 124 | ); |
| 125 | |
| 126 | } |
| 127 | |
| 128 | /** |
| 129 | * Create settings page. |
| 130 | * @param |
| 131 | * @return void |
| 132 | * @since 1.1.2 |
| 133 | */ |
| 134 | public function eael_admin_settings_page() { |
| 135 | |
| 136 | $js_info = array( |
| 137 | 'ajaxurl' => admin_url( 'admin-ajax.php' ) |
| 138 | ); |
| 139 | wp_localize_script( 'essential_addons_elementor-admin-js', 'js_eael_lite_settings', $js_info ); |
| 140 | |
| 141 | /** |
| 142 | * This section will handle the "eael_save_settings" array. If any new settings options is added |
| 143 | * then it will matches with the older array and then if it founds anything new then it will update the entire array. |
| 144 | */ |
| 145 | $this->eael_default_settings = array_fill_keys( $this->eael_default_keys, true ); |
| 146 | $this->eael_get_settings = get_option( 'eael_save_settings', $this->eael_default_settings ); |
| 147 | $eael_new_settings = array_diff_key( $this->eael_default_settings, $this->eael_get_settings ); |
| 148 | if( ! empty( $eael_new_settings ) ) { |
| 149 | $eael_updated_settings = array_merge( $this->eael_get_settings, $eael_new_settings ); |
| 150 | update_option( 'eael_save_settings', $eael_updated_settings ); |
| 151 | } |
| 152 | $this->eael_get_settings = get_option( 'eael_save_settings', $this->eael_default_settings ); |
| 153 | ?> |
| 154 | <div class="eael-settings-wrap"> |
| 155 | <form action="" method="POST" id="eael-settings" name="eael-settings"> |
| 156 | <div class="eael-header-bar"> |
| 157 | <div class="eael-header-left"> |
| 158 | <div class="eael-admin-logo-inline"> |
| 159 | <img src="<?php echo plugins_url( '/', __FILE__ ).'assets/images/ea-logo.svg'; ?>"> |
| 160 | </div> |
| 161 | <h2 class="title"><?php _e( 'Essential Addons Settings', 'essential-addons-elementor' ); ?></h2> |
| 162 | </div> |
| 163 | <div class="eael-header-right"> |
| 164 | <button type="submit" class="button eael-btn js-eael-settings-save"><?php _e('Save settings', 'essential-addons-elementor'); ?></button> |
| 165 | </div> |
| 166 | </div> |
| 167 | <div class="eael-settings-tabs"> |
| 168 | <ul class="eael-tabs"> |
| 169 | <li><a href="#general" class="active"><img src="<?php echo plugins_url( '/', __FILE__ ).'assets/images/icon-settings.svg'; ?>"><span>General</span></a></li> |
| 170 | <li><a href="#elements"><img src="<?php echo plugins_url( '/', __FILE__ ).'assets/images/icon-modules.svg'; ?>"><span>Elements</span></a></li> |
| 171 | <li><a href="#go-pro"><img src="<?php echo plugins_url( '/', __FILE__ ).'assets/images/icon-upgrade.svg'; ?>"><span>Go Premium</span></a></li> |
| 172 | </ul> |
| 173 | <div id="general" class="eael-settings-tab active"> |
| 174 | <div class="row eael-admin-general-wrapper"> |
| 175 | <div class="eael-admin-general-inner"> |
| 176 | <div class="eael-admin-block-wrapper"> |
| 177 | |
| 178 | <div class="eael-admin-block eael-admin-block-banner"> |
| 179 | <a href="https://essential-addons.com/elementor/" target="_blank"> |
| 180 | <img class="eael-preview-img" src="<?php echo plugins_url( '/', __FILE__ ).'assets/images/eael-featured.png'; ?>"> |
| 181 | </a> |
| 182 | </div><!--preview image end--> |
| 183 | <div class="eael-admin-block eael-admin-block-docs"> |
| 184 | <header class="eael-admin-block-header"> |
| 185 | <div class="eael-admin-block-header-icon"> |
| 186 | <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 46 46"><defs><style>.cls-1{fill:#1abc9c;}</style></defs><title>Documentation</title><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><rect class="cls-1" x="15.84" y="17.13" width="14.32" height="1.59"/><rect class="cls-1" x="15.84" y="24.19" width="14.32" height="1.59"/><rect class="cls-1" x="15.84" y="20.66" width="14.32" height="1.59"/><path class="cls-1" d="M23,0A23,23,0,1,0,46,23,23,23,0,0,0,23,0Zm5.47,9.9,4.83,4.4H28.47Zm-2.29,23v3.2H15.49a2.79,2.79,0,0,1-2.79-2.79V12.69A2.79,2.79,0,0,1,15.49,9.9H27.28v5.59h6V27.72H15.84v1.59H29.78v1.94H15.84v1.59H26.19Zm11.29,2.52H33.88V39H31.37V35.42H27.78V32.9h3.59V29.31h2.52V32.9h3.59Z"/></g></g><head xmlns=""/></svg> |
| 187 | </div> |
| 188 | <h4 class="eael-admin-title">Documentation</h4> |
| 189 | </header> |
| 190 | <div class="eael-admin-block-content"> |
| 191 | <p>Get started by spending some time with the documentation to get familiar with Essential Addons. Build awesome websites for you or your clients with ease.</a></p> |
| 192 | <a href="https://essential-addons.com/elementor/docs/" class="button button-primary" target="_blank">Documentation</a> |
| 193 | </div> |
| 194 | </div> |
| 195 | <div class="eael-admin-block eael-admin-block-contribution"> |
| 196 | <header class="eael-admin-block-header"> |
| 197 | <div class="eael-admin-block-header-icon"> |
| 198 | <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 46 45.69"><defs><style>.flexia-icon-bug{fill:#9b59b6;}</style></defs><title>Bugs</title><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><path class="flexia-icon-bug" d="M18.87,28.37,9.16,38.08A8.66,8.66,0,0,0,14.49,40h4.38a9.55,9.55,0,0,0,2.28-.38v5.14a1,1,0,0,0,1.9,0v-5.9A4.83,4.83,0,0,0,25,37.31l.76-.76a.92.92,0,0,0,0-1.33Z"/><path class="flexia-icon-bug" d="M11.64,21.13c-.19-.19-.57-.38-.76-.19H9c-.38,0-.57,0-.76.38L7.07,23H1.17a1,1,0,1,0,0,1.9H6.31a9.56,9.56,0,0,0-.38,2.28V31.6a8.66,8.66,0,0,0,1.9,5.33l9.71-9.71Z"/><path class="flexia-icon-bug" d="M24.39,14.47c.19.19.38.19.76.19a.7.7,0,0,0,.57-.19.92.92,0,0,0,.38-1.14,11.08,11.08,0,0,1-1-3,.87.87,0,0,0-1-.76H22.3a1,1,0,0,0-.76.38,1.14,1.14,0,0,0-.19.76,2.35,2.35,0,0,0,.76,1.52Z"/><path class="flexia-icon-bug" d="M35.81,28.56h3.43a1,1,0,0,0,0-1.9H33.91L20.77,13.52A5.2,5.2,0,0,1,19.25,9.9V6.66a.9.9,0,0,0-1-1h-.19A13.52,13.52,0,0,0,16.21,3,9.12,9.12,0,0,0,9.54,0a9.71,9.71,0,0,0-5.9,2.09,1.44,1.44,0,0,0-.38.76,1,1,0,0,0,.38.76L9.54,7a5.39,5.39,0,0,1-2.86,4.19l-5.14-3a.85.85,0,0,0-1,0c-.38.19-.57.38-.57.76a8.9,8.9,0,0,0,2.67,7,9.53,9.53,0,0,0,6.85,3,4.1,4.1,0,0,0,2.09-.38L26.87,33.89,37.15,44.17a5.2,5.2,0,0,0,3.62,1.52,5,5,0,0,0,4.95-4.95,5.2,5.2,0,0,0-1.52-3.62Z"/><path class="flexia-icon-bug" d="M34.86,24.75c.19.19.38.19.76.19H36a1,1,0,0,0,.57-1V21.51c0-.38-.38-1-.76-1a7,7,0,0,1-3.43-.76.92.92,0,0,0-1.14.38c-.19.38-.19,1,.19,1.14Z"/><path class="flexia-icon-bug" d="M45.71,9.9c-1.52-1.52-5.14-.38-7,.57L35.81,7.62c.76-2.09,1.9-5.71.57-7a.92.92,0,0,0-1.33,0,.92.92,0,0,0,0,1.33c.38.38,0,2.67-1,5.14L28,8a.87.87,0,0,0-.76,1C26.87,14.28,31.63,19,37.34,19c.38,0,1-.38,1-.76l1-6.09c2.47-1,4.76-1.33,5.14-1A.94.94,0,1,0,45.71,9.9Z"/></g></g><head xmlns=""/></svg> |
| 199 | </div> |
| 200 | <h4 class="eael-admin-title">Contribute to Essential Addons</h4> |
| 201 | </header> |
| 202 | <div class="eael-admin-block-content"> |
| 203 | <p>You can contribute to make Essential Addons better reporting bugs, creating issues, pull requests at <a href="https://github.com/rupok/essential-addons-elementor-lite/" target="_blank">Github.</a></p> |
| 204 | <a href="https://github.com/rupok/essential-addons-elementor-lite/issues/new" class="button button-primary" target="_blank">Report a bug</a> |
| 205 | </div> |
| 206 | </div> |
| 207 | <div class="eael-admin-block eael-admin-block-support"> |
| 208 | <header class="eael-admin-block-header"> |
| 209 | <div class="eael-admin-block-header-icon"> |
| 210 | <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32.22 42.58"><defs><style>.flexia-icon-support{fill:#6c75ff;}</style></defs><title>Flexia Support</title><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><path class="flexia-icon-support" d="M6.36,29.34l1.09-1.09h8l-5.08-9.18-3.76.76a2.64,2.64,0,0,0-2,1.91L.09,36.31a2.64,2.64,0,0,0,2.55,3.31H6.36V29.34Z"/><path class="flexia-icon-support" d="M32.13,36.31,27.67,21.75a2.64,2.64,0,0,0-2.06-1.92l-3.74-.71-5.06,9.13h8.56l1.09,1.09V39.62h3.12a2.64,2.64,0,0,0,2.55-3.31Z"/><polygon class="flexia-icon-support" points="8.54 39.62 8.24 39.62 8.24 39.62 23.98 39.62 23.98 39.62 24.28 39.62 24.28 30.43 8.54 30.43 8.54 39.62"/><rect class="flexia-icon-support" x="4.19" y="40.61" width="23.83" height="1.97"/><path class="flexia-icon-support" d="M7.62,12.65c0,.09.1.22.15.36a3.58,3.58,0,0,0,.68,1.22c1.21,3.94,4.33,6.68,7.64,6.67s6.38-2.77,7.55-6.72A3.61,3.61,0,0,0,24.31,13c.06-.14.11-.27.15-.36a2,2,0,0,0-.33-2.41V10.1C24.12,5.2,23.48,0,16,0S7.92,5,7.94,10.15c0,0,0,.06,0,.09A2,2,0,0,0,7.62,12.65Zm1-1.58h0A.55.55,0,0,0,9,10.83l1.3.2a.28.28,0,0,0,.3-.16L11.39,9a35.31,35.31,0,0,0,7.2,1,7.76,7.76,0,0,0,2.11-.25L21.23,11a.27.27,0,0,0,.25.17h.07l1.51-.43a.56.56,0,0,0,.31.3h0c.23.11.3.6.06,1.09-.06.12-.12.27-.18.43a4.18,4.18,0,0,1-.4.82.55.55,0,0,0-.26.33c-1,3.58-3.68,6.08-6.54,6.09s-5.6-2.48-6.63-6a.55.55,0,0,0-.26-.33,4.3,4.3,0,0,1-.41-.82c-.06-.15-.13-.3-.18-.42C8.37,11.68,8.44,11.19,8.67,11.08Z"/></g></g><head xmlns=""/></svg> |
| 211 | </div> |
| 212 | <h4 class="eael-admin-title">Need Help?</h4> |
| 213 | </header> |
| 214 | <div class="eael-admin-block-content"> |
| 215 | <p>Stuck with something? Get help from the community on <a href="https://wordpress.org/support/plugin/essential-addons-for-elementor-lite" target="_blank">WordPress Support Forum</a> or <a href="https://www.facebook.com/groups/essentialaddons/" target="_blank">Facebook Community.</a> In case of emergency, initiate a live chat at <a href="https://essential-addons.com/elementor/" target="_blank">Essential Addons website.</a></p> |
| 216 | <a href="https://wordpress.org/support/plugin/essential-addons-for-elementor-lite" class="button button-primary" target="_blank">Get Community Support</a> |
| 217 | </div> |
| 218 | </div> |
| 219 | <div class="eael-admin-block eael-admin-block-review"> |
| 220 | <header class="eael-admin-block-header"> |
| 221 | <div class="eael-admin-block-header-icon"> |
| 222 | <svg style="enable-background:new 0 0 48 48;" version="1.1" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="Icons"><g><g id="Icons_7_"><g><path d="M35.72935,25.74662l0.8357-0.8271c1.611-1.611,2.4122-3.7475,2.4122-5.8668 c0-2.1279-0.8012-4.2558-2.4122-5.8668c-3.2221-3.2221-8.5031-3.2221-11.7337,0l-0.8271,0.8356l-0.8356-0.8356 c-3.222-3.2221-8.5031-3.2221-11.7251,0c-1.6196,1.611-2.4208,3.7389-2.4208,5.8668c0,2.1193,0.8012,4.2558,2.4208,5.8668 l0.8271,0.8271l11.3076,11.3077c0.2353,0.2352,0.6167,0.2351,0.8519-0.0002L35.72935,25.74662" style="fill:#EF4B53;"/></g></g><path d="M17.80325,12.24382c0,0-6.9318-0.5491-7.6524,7.3092c0,0,1.4413-5.765,7.8583-5.4905 c0,0,1.5941,0.1605,1.5901-0.8317C19.59495,12.14722,17.80325,12.24382,17.80325,12.24382z" style="fill:#F47682;"/></g></g></svg> |
| 223 | </div> |
| 224 | <h4 class="eael-admin-title">Show your Love</h4> |
| 225 | </header> |
| 226 | <div class="eael-admin-block-content"> |
| 227 | <p>We love to have you in Essential Addons family. We are making it more awesome everyday. Take your 2 minutes to review the plugin and spread the love to encourage us to keep it going.</p> |
| 228 | |
| 229 | <a href="https://wpdeveloper.net/review-essential-addons-elementor" class="review-flexia button button-primary" target="_blank">Leave a Review</a> |
| 230 | </div> |
| 231 | </div> |
| 232 | </div><!--admin block-wrapper end--> |
| 233 | </div> |
| 234 | <div class="eael-admin-sidebar"> |
| 235 | <div class="eael-sidebar-block"> |
| 236 | <div class="eael-admin-sidebar-logo"> |
| 237 | <img src="<?php echo plugins_url( '/', __FILE__ ).'assets/images/ea-logo.svg'; ?>"> |
| 238 | </div> |
| 239 | <div class="eael-admin-sidebar-cta"> |
| 240 | <?php printf( __( '<a href="%s" target="_blank">Upgrade to Pro</a>', 'essential-addons-elementor' ), 'https://wpdeveloper.net/in/upgrade-essential-addons-elementor' ); ?> |
| 241 | </div> |
| 242 | </div> |
| 243 | </div><!--admin sidebar end--> |
| 244 | </div><!--Row end--> |
| 245 | </div> |
| 246 | <div id="elements" class="eael-settings-tab"> |
| 247 | <div class="row"> |
| 248 | <div class="col-full"> |
| 249 | <p class="eael-elements-control-notice">You can disable the elements you are not using on your site. That will disable all associated assets of those widgets to improve your site loading.</p> |
| 250 | <div class="eael-checkbox-container"> |
| 251 | <div class="eael-checkbox"> |
| 252 | <input type="checkbox" id="contact-form-7" name="contact-form-7" <?php checked( 1, $this->eael_get_settings['contact-form-7'], true ); ?> > |
| 253 | <label for="contact-form-7"></label> |
| 254 | <p class="eael-el-title"><?php _e( 'Contact Form 7', 'essential-addons-elementor' ); ?></p> |
| 255 | </div> |
| 256 | <div class="eael-checkbox"> |
| 257 | <input type="checkbox" id="count-down" name="count-down" <?php checked( 1, $this->eael_get_settings['count-down'], true ); ?> > |
| 258 | <label for="count-down"></label> |
| 259 | |
| 260 | <p class="eael-el-title"><?php _e( 'Count Down', 'essential-addons-elementor' ); ?></p> |
| 261 | </div> |
| 262 | <div class="eael-checkbox"> |
| 263 | <input type="checkbox" id="creative-btn" name="creative-btn" <?php checked( 1, $this->eael_get_settings['creative-btn'], true ); ?> > |
| 264 | <label for="creative-btn"></label> |
| 265 | <p class="eael-el-title"><?php _e( 'Creative Button', 'essential-addons-elementor' ); ?></p> |
| 266 | </div> |
| 267 | <div class="eael-checkbox"> |
| 268 | <input type="checkbox" id="fancy-text" name="fancy-text" <?php checked( 1, $this->eael_get_settings['fancy-text'], true ); ?> > |
| 269 | <label for="fancy-text"></label> |
| 270 | <p class="eael-el-title"><?php _e( 'Fancy Text', 'essential-addons-elementor' ); ?></p> |
| 271 | </div> |
| 272 | <div class="eael-checkbox"> |
| 273 | <input type="checkbox" id="post-grid" name="post-grid" <?php checked( 1, $this->eael_get_settings['post-grid'], true ); ?> > |
| 274 | <label for="post-grid"></label> |
| 275 | <p class="eael-el-title"><?php _e( 'Post Grid', 'essential-addons-elementor' ); ?></p> |
| 276 | </div> |
| 277 | <div class="eael-checkbox"> |
| 278 | <input type="checkbox" id="post-timeline" name="post-timeline" <?php checked( 1, $this->eael_get_settings['post-timeline'], true ); ?> > |
| 279 | <label for="post-timeline"></label> |
| 280 | <p class="eael-el-title"><?php _e( 'Post Timeline', 'essential-addons-elementor' ) ?></p> |
| 281 | </div> |
| 282 | <div class="eael-checkbox"> |
| 283 | <input type="checkbox" id="product-grid" name="product-grid" <?php checked( 1, $this->eael_get_settings['product-grid'], true ); ?> > |
| 284 | <label for="product-grid"></label> |
| 285 | <p class="eael-el-title"><?php _e( 'Product Grid', 'essential-addons-elementor' ) ?></p> |
| 286 | </div> |
| 287 | <div class="eael-checkbox"> |
| 288 | <input type="checkbox" id="team-members" name="team-members" <?php checked( 1, $this->eael_get_settings['team-members'], true ); ?> > |
| 289 | <label for="team-members"></label> |
| 290 | <p class="eael-el-title"><?php _e( 'Team Member', 'essential-addons-elementor' ) ?></p> |
| 291 | </div> |
| 292 | <div class="eael-checkbox"> |
| 293 | <input type="checkbox" id="testimonials" name="testimonials" <?php checked( 1, $this->eael_get_settings['testimonials'], true ); ?> > |
| 294 | <label for="testimonials"></label> |
| 295 | <p class="eael-el-title"><?php _e( 'Testimonials', 'essential-addons-elementor' ) ?></p> |
| 296 | </div> |
| 297 | <div class="eael-checkbox"> |
| 298 | <input type="checkbox" id="weforms" name="weforms" <?php checked( 1, $this->eael_get_settings['weforms'], true ); ?> > |
| 299 | <label for="weforms"></label> |
| 300 | <p class="eael-el-title"><?php _e( 'weForms', 'essential-addons-elementor' ) ?></p> |
| 301 | </div> |
| 302 | <div class="eael-checkbox"> |
| 303 | <input type="checkbox" id="call-to-action" name="call-to-action" <?php checked( 1, $this->eael_get_settings['call-to-action'], true ); ?> > |
| 304 | <label for="call-to-action"></label> |
| 305 | <p class="eael-el-title"><?php _e( 'Call To Action', 'essential-addons-elementor' ) ?></p> |
| 306 | </div> |
| 307 | <div class="eael-checkbox"> |
| 308 | <input type="checkbox" id="flip-box" name="flip-box" <?php checked( 1, $this->eael_get_settings['flip-box'], true ); ?> > |
| 309 | <label for="flip-box"></label> |
| 310 | <p class="eael-el-title"><?php _e( 'Flip Box', 'essential-addons-elementor' ) ?></p> |
| 311 | </div> |
| 312 | <div class="eael-checkbox"> |
| 313 | <input type="checkbox" id="info-box" name="info-box" <?php checked( 1, $this->eael_get_settings['info-box'], true ); ?> > |
| 314 | <label for="info-box"></label> |
| 315 | <p class="eael-el-title"><?php _e( 'Info Box', 'essential-addons-elementor' ) ?></p> |
| 316 | </div> |
| 317 | <div class="eael-checkbox"> |
| 318 | <input type="checkbox" id="dual-header" name="dual-header" <?php checked( 1, $this->eael_get_settings['dual-header'], true ); ?> > |
| 319 | <label for="dual-header"></label> |
| 320 | <p class="eael-el-title"><?php _e( 'Dual Color Header', 'essential-addons-elementor' ) ?></p> |
| 321 | </div> |
| 322 | <div class="eael-checkbox"> |
| 323 | <input type="checkbox" id="price-table" name="price-table" <?php checked( 1, $this->eael_get_settings['price-table'], true ); ?> > |
| 324 | <label for="price-table"></label> |
| 325 | <p class="eael-el-title"><?php _e( 'Pricing Table', 'essential-addons-elementor' ) ?></p> |
| 326 | </div> |
| 327 | <div class="eael-checkbox"> |
| 328 | <input type="checkbox" id="ninja-form" name="ninja-form" <?php checked( 1, $this->eael_get_settings['ninja-form'], true ); ?> > |
| 329 | <label for="ninja-form"></label> |
| 330 | <p class="eael-el-title"><?php _e( 'Ninja Form', 'essential-addons-elementor' ) ?></p> |
| 331 | </div> |
| 332 | <div class="eael-checkbox"> |
| 333 | <input type="checkbox" id="gravity-form" name="gravity-form" <?php checked( 1, $this->eael_get_settings['gravity-form'], true ); ?> > |
| 334 | <label for="gravity-form"></label> |
| 335 | <p class="eael-el-title"><?php _e( 'Gravity Form', 'essential-addons-elementor' ) ?></p> |
| 336 | </div> |
| 337 | <div class="eael-checkbox"> |
| 338 | <input type="checkbox" id="caldera-form" name="caldera-form" <?php checked( 1, $this->eael_get_settings['caldera-form'], true ); ?> > |
| 339 | <label for="caldera-form"></label> |
| 340 | <p class="eael-el-title"><?php _e( 'Caldera Form', 'essential-addons-elementor' ) ?></p> |
| 341 | </div> |
| 342 | <div class="eael-checkbox"> |
| 343 | <input type="checkbox" id="wpforms" name="wpforms" <?php checked( 1, $this->eael_get_settings['wpforms'], true ); ?> > |
| 344 | <label for="wpforms"></label> |
| 345 | <p class="eael-el-title"><?php _e( 'WPForms', 'essential-addons-elementor' ) ?></p> |
| 346 | </div> |
| 347 | <div class="eael-checkbox"> |
| 348 | <input type="checkbox" id="twitter-feed" name="twitter-feed" <?php checked( 1, $this->eael_get_settings['twitter-feed'], true ); ?> > |
| 349 | <label for="twitter-feed"></label> |
| 350 | <p class="eael-el-title"><?php _e( 'Twitter Feed', 'essential-addons-elementor' ) ?></p> |
| 351 | </div> |
| 352 | <div class="eael-checkbox"> |
| 353 | <input type="checkbox" id="facebook-feed" name="facebook-feed" <?php checked( 1, $this->eael_get_settings['facebook-feed'], true ); ?> > |
| 354 | <label for="facebook-feed"></label> |
| 355 | <p class="eael-el-title"><?php _e( 'Facebook Feed', 'essential-addons-elementor' ) ?></p> |
| 356 | </div> |
| 357 | <div class="eael-checkbox"> |
| 358 | <input type="checkbox" id="filter-gallery" name="filter-gallery" <?php checked( 1, $this->eael_get_settings['filter-gallery'], true ); ?> > |
| 359 | <label for="filter-gallery"></label> |
| 360 | <p class="eael-el-title"><?php _e( 'Filterable Gallery', 'essential-addons-elementor' ) ?></p> |
| 361 | </div> |
| 362 | <div class="eael-checkbox"> |
| 363 | <input type="checkbox" id="data-table" name="data-table" <?php checked( 1, $this->eael_get_settings['data-table'], true ); ?> > |
| 364 | <label for="data-table"></label> |
| 365 | <p class="eael-el-title"><?php _e( 'Data Table', 'essential-addons-elementor' ) ?></p> |
| 366 | </div> |
| 367 | <div class="eael-checkbox"> |
| 368 | <input type="checkbox" id="image-accordion" name="image-accordion" <?php checked( 1, $this->eael_get_settings['image-accordion'], true ); ?> > |
| 369 | <label for="image-accordion"></label> |
| 370 | <p class="eael-el-title"><?php _e( 'Image Accordion', 'essential-addons-elementor' ) ?></p> |
| 371 | </div> |
| 372 | <div class="eael-checkbox"> |
| 373 | <input type="checkbox" id="content-ticker" name="content-ticker" <?php checked( 1, $this->eael_get_settings['content-ticker'], true ); ?> > |
| 374 | <label for="content-ticker"></label> |
| 375 | <p class="eael-el-title"><?php _e( 'Content Ticker', 'essential-addons-elementor' ) ?></p> |
| 376 | </div> |
| 377 | <div class="eael-checkbox"> |
| 378 | <input type="checkbox" id="tooltip" name="tooltip" <?php checked( 1, $this->eael_get_settings['tooltip'], true ); ?> > |
| 379 | <label for="tooltip"></label> |
| 380 | <p class="eael-el-title"><?php _e( 'Tooltip', 'essential-addons-elementor' ) ?></p> |
| 381 | </div> |
| 382 | <div class="eael-checkbox"> |
| 383 | <input type="checkbox" id="adv-accordion" name="adv-accordion" <?php checked( 1, $this->eael_get_settings['adv-accordion'], true ); ?> > |
| 384 | <label for="adv-accordion"></label> |
| 385 | <p class="eael-el-title"><?php _e( 'Advanced Accordion', 'essential-addons-elementor' ) ?></p> |
| 386 | </div> |
| 387 | <div class="eael-checkbox"> |
| 388 | <input type="checkbox" id="adv-tabs" name="adv-tabs" <?php checked( 1, $this->eael_get_settings['adv-tabs'], true ); ?> > |
| 389 | <label for="adv-tabs"></label> |
| 390 | <p class="eael-el-title"><?php _e( 'Advanced Tabs', 'essential-addons-elementor' ) ?></p> |
| 391 | </div> |
| 392 | </div><!--./checkbox-container--> |
| 393 | </div> |
| 394 | <div class="col-full"> |
| 395 | <div class="premium-elements-title"> |
| 396 | <img src="<?php echo plugins_url( '/', __FILE__ ).'assets/images/lock-icon.png'; ?>"> |
| 397 | <h4 class="section-title">Premium Elements</h4> |
| 398 | </div> |
| 399 | <div class="eael-checkbox-container"> |
| 400 | <div class="eael-checkbox"> |
| 401 | <input type="checkbox" id="img-comparison" name="img-comparison" disabled> |
| 402 | <label for="img-comparison" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label> |
| 403 | <p class="eael-el-title"> |
| 404 | <?php _e( 'Image Comparison', 'essential-addons-elementor' ); ?> |
| 405 | </p> |
| 406 | </div> |
| 407 | <div class="eael-checkbox"> |
| 408 | <input type="checkbox" id="instagram-gallery" name="instagram-gallery" disabled> |
| 409 | <label for="instagram-gallery" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label> |
| 410 | <p class="eael-el-title"> |
| 411 | <?php _e( 'Instagram Gallery', 'essential-addons-elementor' ); ?> |
| 412 | </p> |
| 413 | </div> |
| 414 | <div class="eael-checkbox"> |
| 415 | <input type="checkbox" id="interactive-promo" name="interactive-promo" disabled> |
| 416 | <label for="interactive-promo" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label> |
| 417 | <p class="eael-el-title"> |
| 418 | <?php _e( 'Interactive Promo', 'essential-addons-elementor' ); ?> |
| 419 | </p> |
| 420 | </div> |
| 421 | <div class="eael-checkbox"> |
| 422 | <input type="checkbox" id="lightbox" name="lightbox" disabled> |
| 423 | <label for="lightbox" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label> |
| 424 | <p class="eael-el-title"> |
| 425 | <?php _e( 'Lightbox', 'essential-addons-elementor' ); ?> |
| 426 | </p> |
| 427 | </div> |
| 428 | <div class="eael-checkbox"> |
| 429 | <input type="checkbox" id="post-block" name="post-block" disabled> |
| 430 | <label for="post-block" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label> |
| 431 | <p class="eael-el-title"> |
| 432 | <?php _e( 'Post Block', 'essential-addons-elementor' ); ?> |
| 433 | </p> |
| 434 | </div> |
| 435 | <div class="eael-checkbox"> |
| 436 | <input type="checkbox" id="testimonial-slider" name="testimonial-slider" disabled> |
| 437 | <label for="testimonial-slider" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label> |
| 438 | <p class="eael-el-title"> |
| 439 | <?php _e( 'Testimonial Slider', 'essential-addons-elementor' ) ?> |
| 440 | </p> |
| 441 | </div> |
| 442 | <div class="eael-checkbox"> |
| 443 | <input type="checkbox" id="static-product" name="static-product" disabled> |
| 444 | <label for="static-product" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label> |
| 445 | <p class="eael-el-title"> |
| 446 | <?php _e( 'Static Product', 'essential-addons-elementor' ) ?> |
| 447 | </p> |
| 448 | </div> |
| 449 | <div class="eael-checkbox"> |
| 450 | <input type="checkbox" id="flip-carousel" name="flip-carousel" disabled> |
| 451 | <label for="flip-carousel" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label> |
| 452 | <p class="eael-el-title"> |
| 453 | <?php _e( 'Flip Carousel', 'essential-addons-elementor' ) ?> |
| 454 | </p> |
| 455 | </div> |
| 456 | <div class="eael-checkbox"> |
| 457 | <input type="checkbox" id="interactive-cards" name="interactive-cards" disabled> |
| 458 | <label for="interactive-cards" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label> |
| 459 | <p class="eael-el-title"> |
| 460 | <?php _e( 'Interactive Cards', 'essential-addons-elementor' ) ?> |
| 461 | </p> |
| 462 | </div> |
| 463 | <div class="eael-checkbox"> |
| 464 | <input type="checkbox" id="content-timeline" name="content-timeline" disabled> |
| 465 | <label for="content-timeline" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label> |
| 466 | <p class="eael-el-title"> |
| 467 | <?php _e( 'Content Timeline', 'essential-addons-elementor' ) ?> |
| 468 | </p> |
| 469 | </div> |
| 470 | <div class="eael-checkbox"> |
| 471 | <input type="checkbox" id="twitter-feed-carousel" name="twitter-feed-carousel" disabled> |
| 472 | <label for="twitter-feed-carousel" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label> |
| 473 | <p class="eael-el-title"> |
| 474 | <?php _e( 'Twitter Feed Carousel', 'essential-addons-elementor' ) ?> |
| 475 | </p> |
| 476 | </div> |
| 477 | <div class="eael-checkbox"> |
| 478 | <input type="checkbox" id="facebook-feed-carousel" name="facebook-feed-carousel" disabled> |
| 479 | <label for="facebook-feed-carousel" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label> |
| 480 | <p class="eael-el-title"> |
| 481 | <?php _e( 'Facebook Feed Carousel', 'essential-addons-elementor' ) ?> |
| 482 | </p> |
| 483 | </div> |
| 484 | <div class="eael-checkbox"> |
| 485 | <input type="checkbox" id="dynamic-filter-gallery" name="dynamic-filter-gallery" disabled> |
| 486 | <label for="dynamic-filter-gallery" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label> |
| 487 | <p class="eael-el-title"> |
| 488 | <?php _e( 'Dynamic Filter Gallery', 'essential-addons-elementor' ) ?> |
| 489 | </p> |
| 490 | </div> |
| 491 | <div class="eael-checkbox"> |
| 492 | <input type="checkbox" id="post-list" name="post-list" disabled> |
| 493 | <label for="post-list" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label> |
| 494 | <p class="eael-el-title"> |
| 495 | <?php _e( 'Smart Post List', 'essential-addons-elementor' ) ?> |
| 496 | </p> |
| 497 | </div> |
| 498 | <div class="eael-checkbox"> |
| 499 | <input type="checkbox" id="adv-google-map" name="adv-google-map" disabled> |
| 500 | <label for="adv-google-map" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label> |
| 501 | <p class="eael-el-title"> |
| 502 | <?php _e( 'Advanced Google Map', 'essential-addons-elementor' ) ?> |
| 503 | </p> |
| 504 | </div> |
| 505 | <div class="eael-checkbox"> |
| 506 | <input type="checkbox" id="toggle" name="toggle" disabled> |
| 507 | <label for="toggle" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label> |
| 508 | <p class="eael-el-title"> |
| 509 | <?php _e( 'Content Toggle', 'essential-addons-elementor' ) ?> |
| 510 | </p> |
| 511 | </div> |
| 512 | <div class="eael-checkbox"> |
| 513 | <input type="checkbox" id="mailchimp" name="mailchimp" disabled> |
| 514 | <label for="mailchimp" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label> |
| 515 | <p class="eael-el-title"> |
| 516 | <?php _e( 'Mailchimp', 'essential-addons-elementor' ) ?> |
| 517 | </p> |
| 518 | </div> |
| 519 | <div class="eael-checkbox"> |
| 520 | <input type="checkbox" id="divider" name="divider" disabled> |
| 521 | <label for="divider" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label> |
| 522 | <p class="eael-el-title"> |
| 523 | <?php _e( 'Divider', 'essential-addons-elementor' ) ?> |
| 524 | </p> |
| 525 | </div> |
| 526 | <div class="eael-checkbox"> |
| 527 | <input type="checkbox" id="price-menu" name="price-menu" disabled> |
| 528 | <label for="price-menu" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label> |
| 529 | <p class="eael-el-title"> |
| 530 | <?php _e( 'Price Menu', 'essential-addons-elementor' ) ?> |
| 531 | </p> |
| 532 | </div> |
| 533 | <div class="eael-checkbox"> |
| 534 | <input type="checkbox" id="image-hotspots" name="image-hotspots" disabled> |
| 535 | <label for="image-hotspots" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label> |
| 536 | <p class="eael-el-title"> |
| 537 | <?php _e( 'Image Hotspots', 'essential-addons-elementor' ) ?> |
| 538 | </p> |
| 539 | </div> |
| 540 | <div class="eael-checkbox"> |
| 541 | <input type="checkbox" id="one-page-navigation" name="one-page-navigation" disabled> |
| 542 | <label for="one-page-navigation" class="<?php if( (bool) $this->is_pro === false ) : echo 'eael-get-pro'; endif; ?>"></label> |
| 543 | <p class="eael-el-title"> |
| 544 | <?php _e( 'One Page Navigation', 'essential-addons-elementor' ) ?> |
| 545 | </p> |
| 546 | </div> |
| 547 | </div><!--./checkbox-container--> |
| 548 | <div class="eael-save-btn-wrap"> |
| 549 | <button type="submit" class="button eael-btn js-eael-settings-save"><?php _e('Save settings', 'essential-addons-elementor'); ?></button> |
| 550 | </div> |
| 551 | </div> |
| 552 | </div> |
| 553 | </div> |
| 554 | <div id="go-pro" class="eael-settings-tab"> |
| 555 | <div class="row go-premium"> |
| 556 | <div class="col-half"> |
| 557 | <h4>Why upgrade to Premium Version?</h4> |
| 558 | <p>The premium version helps us to continue development of the product incorporating even more features and enhancements.</p> |
| 559 | |
| 560 | <p>You will also get world class support from our dedicated team, 24/7.</p> |
| 561 | |
| 562 | <a href="https://wpdeveloper.net/in/upgrade-essential-addons-elementor" target="_blank" class="button eael-btn eael-license-btn">Get Premium Version</a> |
| 563 | </div> |
| 564 | </div> |
| 565 | </div> |
| 566 | </div> |
| 567 | </form> |
| 568 | </div> |
| 569 | <?php |
| 570 | |
| 571 | } |
| 572 | |
| 573 | /** |
| 574 | * Saving data with ajax request |
| 575 | * @param |
| 576 | * @return array |
| 577 | * @since 1.1.2 |
| 578 | */ |
| 579 | public function eael_save_settings_with_ajax() { |
| 580 | |
| 581 | if( isset( $_POST['fields'] ) ) { |
| 582 | parse_str( $_POST['fields'], $settings ); |
| 583 | }else { |
| 584 | return; |
| 585 | } |
| 586 | |
| 587 | $this->eael_settings = array( |
| 588 | 'contact-form-7' => intval( $settings['contact-form-7'] ? 1 : 0 ), |
| 589 | 'count-down' => intval( $settings['count-down'] ? 1 : 0 ), |
| 590 | 'creative-btn' => intval( $settings['creative-btn'] ? 1 : 0 ), |
| 591 | 'fancy-text' => intval( $settings['fancy-text'] ? 1 : 0 ), |
| 592 | 'post-grid' => intval( $settings['post-grid'] ? 1 : 0 ), |
| 593 | 'post-timeline' => intval( $settings['post-timeline'] ? 1 : 0 ), |
| 594 | 'product-grid' => intval( $settings['product-grid'] ? 1 : 0 ), |
| 595 | 'team-members' => intval( $settings['team-members'] ? 1 : 0 ), |
| 596 | 'testimonials' => intval( $settings['testimonials'] ? 1 : 0 ), |
| 597 | 'weforms' => intval( $settings['weforms'] ? 1 : 0 ), |
| 598 | 'call-to-action' => intval( $settings['call-to-action'] ? 1 : 0 ), |
| 599 | 'flip-box' => intval( $settings['flip-box'] ? 1 : 0 ), |
| 600 | 'info-box' => intval( $settings['info-box'] ? 1 : 0 ), |
| 601 | 'dual-header' => intval( $settings['dual-header'] ? 1 : 0 ), |
| 602 | 'price-table' => intval( $settings['price-table'] ? 1 : 0 ), |
| 603 | 'ninja-form' => intval( $settings['ninja-form'] ? 1 : 0 ), |
| 604 | 'gravity-form' => intval( $settings['gravity-form'] ? 1 : 0 ), |
| 605 | 'caldera-form' => intval( $settings['caldera-form'] ? 1 : 0 ), |
| 606 | 'wpforms' => intval( $settings['wpforms'] ? 1 : 0 ), |
| 607 | 'twitter-feed' => intval( $settings['twitter-feed'] ? 1 : 0 ), |
| 608 | 'facebook-feed' => intval( $settings['facebook-feed'] ? 1 : 0 ), |
| 609 | 'data-table' => intval( $settings['data-table'] ? 1 : 0 ), |
| 610 | 'filter-gallery' => intval( $settings['filter-gallery'] ? 1 : 0 ), |
| 611 | 'image-accordion' => intval( $settings['image-accordion'] ? 1 : 0 ), |
| 612 | 'content-ticker' => intval( $settings['content-ticker'] ? 1 : 0 ), |
| 613 | 'tooltip' => intval( $settings['tooltip'] ? 1 : 0 ), |
| 614 | 'adv-accordion' => intval( $settings['adv-accordion'] ? 1 : 0 ), |
| 615 | 'adv-tabs' => intval( $settings['adv-tabs'] ? 1 : 0 ), |
| 616 | 'wisdom_registered_setting' => 1, |
| 617 | ); |
| 618 | update_option( 'eael_save_settings', $this->eael_settings ); |
| 619 | return true; |
| 620 | die(); |
| 621 | |
| 622 | } |
| 623 | |
| 624 | } |
| 625 | |
| 626 | new Eael_Admin_Settings(); |