 . ')
html(); $system->system_test(); $result = $system->result(); $is_activated = etheme_is_activated(); $is_et_core = defined( 'ET_CORE_VERSION' ); $xstore_branding_settings = get_option( 'xstore_white_label_branding_settings', array() ); $xstore_branding_settings_inited = false; $settings = array(); $settings['welcome_text'] = 'Welcome to XStore!'; $settings['brand_logo'] = ETHEME_CODE_IMAGES . 'wp-icon.svg'; $settings['hide_registration_form'] = false; $settings['hide_buy_license'] = false; if ( count($xstore_branding_settings) && isset($xstore_branding_settings['control_panel']) ) { $xstore_branding_settings_inited = true; if ( $xstore_branding_settings['control_panel']['icon'] ) { $settings['brand_logo'] = $xstore_branding_settings['control_panel']['icon']; } if ( $xstore_branding_settings['control_panel']['welcome_text'] ) { $settings['welcome_text'] = $xstore_branding_settings['control_panel']['welcome_text']; } if ( $xstore_branding_settings['control_panel']['thank_you_text'] ) { $settings['thank_you_text'] = $xstore_branding_settings['control_panel']['thank_you_text']; } if ( isset($xstore_branding_settings['control_panel']['hide_registration_form']) ){ $settings['hide_registration_form'] = $xstore_branding_settings['control_panel']['hide_registration_form']; } if ( isset($xstore_branding_settings['control_panel']['hide_buy_license']) ){ $settings['hide_buy_license'] = $xstore_branding_settings['control_panel']['hide_buy_license']; } } // in case carousel banners should be displayed if ( !$xstore_branding_settings_inited ) { wp_enqueue_script('slick_carousel'); wp_enqueue_style('slick-carousel'); } ?>