File "settings.php"
Full Path: /home/vantageo/public_html/cache/cache/cache/cache/cache/cache/cache/.wp-cli/wp-content/plugins/ajax-search-for-woocommerce/partials/admin/settings.php
File size: 1.6 KB
MIME-type: text/x-php
Charset: utf-8
<?php
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
$advSettings = DGWT_WCAS()->settings->canSeeAdvSettings();
$classes = array();
if ( dgoraAsfwFs()->is_premium() ) {
$classes[] = 'dgwt-wcas-settings-pro';
}
if ( DGWT_WCAS()->themeCompatibility->isCurrentThemeSupported() ) {
$classes[] = 'dgwt-wcas-settings-theme-supported';
}
?>
<div class="wrap dgwt-wcas-settings <?php echo implode( ' ', $classes ); ?>">
<h2 class="dgwt-wcas-settings__head">
<div class="dgwt-wcas-settings__title">
<div class="dgwt-wcas-settings__title-top">
<div class="dgwt-wcas-settings-logo-wrapper">
<img class="dgwt-wcas-settings-logo" src="<?php echo DGWT_WCAS_URL . 'assets/img/logo-30.png'; ?>"/>
<span class="dgwt-wcas-settings-logo-pro">Pro</span>
</div>
<span class="dgwt-wcas-settings__title-core"><?php _e( 'Settings', 'ajax-search-for-woocommerce' ); ?></span>
</div>
</div>
<span class="dgwt-wcas-settings__advanced js-dgwt-wcas-settings__advanced">
<span
class="js-dgwt-wcas-adv-settings-toggle woocommerce-input-toggle woocommerce-input-toggle--<?php echo $advSettings ? 'enabled' : 'disabled'; ?>"><?php _e( 'Show advanced settings',
'ajax-search-for-woocommerce' ); ?></span>
<span class="dgwt-wcas-adv-settings-label"><?php _e( 'Show advanced settings', 'ajax-search-for-woocommerce' ); ?></span>
</span>
</h2>
<?php $settings->show_navigation(); ?>
<div class="dgwt-wcas-settings-body js-dgwt-wcas-settings-body">
<?php
require DGWT_WCAS_DIR . 'partials/admin/search-preview.php';
$settings->show_forms();
?>
</div>
</div>