first commit

This commit is contained in:
2026-03-05 13:07:40 +01:00
commit 64ba0721ee
25709 changed files with 4691006 additions and 0 deletions

View File

@@ -0,0 +1,72 @@
<?php
// Exit if accessed directly
if ( ! defined( 'DGWT_WCAS_FILE' ) ) {
exit;
}
if (
! empty( $_REQUEST['dgwt-wcas-debug-analytics-delete-all-records'] ) &&
! empty( $_REQUEST['_wpnonce'] ) &&
wp_verify_nonce( $_REQUEST['_wpnonce'], 'dgwt_wcas_debug_analytics' )
) {
\DgoraWcas\Analytics\Database::wipeAllRecords();
?>
<div class="dgwt-wcas-notice notice notice-success">
<p>All analytics records have been deleted.</p>
</div>
<?php
}
if (
! empty( $_REQUEST['dgwt-wcas-debug-analytics-run-maintenance-task'] ) &&
! empty( $_REQUEST['_wpnonce'] ) &&
wp_verify_nonce( $_REQUEST['_wpnonce'], 'dgwt_wcas_debug_analytics' )
) {
do_action( \DgoraWcas\Analytics\Maintenance::HOOK );
?>
<div class="dgwt-wcas-notice notice notice-success">
<p>The task of maintaining the search analytics has been completed.</p>
</div>
<?php
}
?>
<h3>Analytics</h3>
<form action="<?php echo admin_url( 'admin.php' ); ?>" method="get">
<input type="hidden" name="page" value="dgwt_wcas_debug">
<?php wp_nonce_field( 'dgwt_wcas_debug_analytics', '_wpnonce', false ); ?>
<input type="submit" name="dgwt-wcas-debug-analytics-delete-all-records" class="button" value="Delete all records">
<input type="submit" name="dgwt-wcas-debug-analytics-run-maintenance-task" class="button" value="Run maintenance task">
</form>
<table class="wc_status_table widefat dgwt-wcas-table-debug-analytics">
<tr>
<td><b>Does the table exist?</b></td>
<td><?php echo \DgoraWcas\Analytics\Database::exist() ? 'yes' : 'no'; ?></td>
</tr>
<tr>
<td><b>Total records</b></td>
<td><?php echo \DgoraWcas\Analytics\Database::getRecordsCount(); ?></td>
</tr>
<tr>
<td><b>Is the maintenance task scheduled?</b></td>
<td><?php echo wp_next_scheduled( \DgoraWcas\Analytics\Maintenance::HOOK ) ? 'yes' : 'no'; ?></td>
</tr>
<tr>
<td><b>Constant <code>DGWT_WCAS_ANALYTICS_ONLY_CRITICAL</code></b></td>
<?php if ( defined( 'DGWT_WCAS_ANALYTICS_ONLY_CRITICAL' ) ) { ?>
<td>Is defined. <b><?php var_dump( DGWT_WCAS_ANALYTICS_ONLY_CRITICAL ); ?></b></td>
<?php } else { ?>
<td>not defined</td>
<?php } ?>
</tr>
<tr>
<td><b>Constant <code>DGWT_WCAS_ANALYTICS_EXPIRATION_IN_DAYS</code></b></td>
<?php if ( defined( 'DGWT_WCAS_ANALYTICS_EXPIRATION_IN_DAYS' ) ) { ?>
<td>Is defined. Days: <b><?php echo DGWT_WCAS_ANALYTICS_EXPIRATION_IN_DAYS; ?></b></td>
<?php } else { ?>
<td>not defined</td>
<?php } ?>
</tr>
</table>
<?php

View File

@@ -0,0 +1,33 @@
<?php
// Exit if accessed directly
if ( ! defined( 'DGWT_WCAS_FILE' ) ) {
exit;
}
if (
! empty( $_REQUEST['dgwt-wcas-debug-setting-reset-to-default'] ) &&
! empty( $_REQUEST['_wpnonce'] ) &&
wp_verify_nonce( $_REQUEST['_wpnonce'], 'dgwt_wcas_debug_reset_settings' )
) {
global $dgwtWcasSettings;
$dgwtWcasSettings = array();
delete_option( DGWT_WCAS_SETTINGS_KEY );
DgoraWcas\Admin\Install::createOptions();
?>
<div class="dgwt-wcas-notice notice notice-success">
<p>The settings have been reset to the default values.</p>
</div>
<?php
}
?>
<h3>Settings</h3>
<form action="<?php echo admin_url( 'admin.php' ); ?>" method="get"
onsubmit="return confirm('Are you sure you want to reset the settings?');">
<input type="hidden" name="page" value="dgwt_wcas_debug">
<?php wp_nonce_field( 'dgwt_wcas_debug_reset_settings', '_wpnonce', false ); ?>
<input type="submit" name="dgwt-wcas-debug-setting-reset-to-default" class="button"
value="Reset the plugin settings to default values">
</form>
<?php

View File

@@ -0,0 +1,149 @@
<?php
// Exit if accessed directly
if ( !defined( 'DGWT_WCAS_FILE' ) ) {
exit;
}
$prefix = 'fibosearch-debug_page-';
?>
<div class="wrap dgwt-wcas-settings dgwt-wcas-debug">
<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( 'Debug page', 'ajax-search-for-woocommerce' );
?></span>
</div>
</div>
</h2>
<h2 class="nav-tab-wrapper fibosearch-debug_page-nav-tab-wrapper">
<?php
?>
<a href="#dgwt_wcas_deb_anatytics" class="nav-tab" id="dgwt_wcas_deb_anatytics-tab">Analytics</a>
<a href="#dgwt_wcas_deb_maintenance" class="nav-tab" id="dgwt_wcas_deb_maintenance-tab">Maintenance</a>
</h2>
<?php
$active = 'analytics';
?>
<div class="dgwt-wcas-settings-body js-dgwt-wcas-settings-body" data-dgwt-wcas-active="<?php
echo esc_attr( $active ) ;
?>">
<?php
?>
<div id="dgwt_wcas_deb_anatytics" class="fibosearch-debug_page-group">
<?php
include_once DGWT_WCAS_DIR . 'partials/admin/debug/body-analytics.php';
?>
</div>
<div id="dgwt_wcas_deb_maintenance" class="fibosearch-debug_page-group">
<?php
include_once DGWT_WCAS_DIR . 'partials/admin/debug/body-maintenance.php';
?>
</div>
</div>
</div>
<script>
jQuery(document).ready(function ($) {
function markActiveGroup($group) {
var name = $group.attr('id').replace('dgwt_wcas_', '');
$group.addClass('dgwt-wcas-group-active');
$group.closest('.js-dgwt-wcas-settings-body').attr('data-dgwt-wcas-active', name)
}
// Switches option sections
$('.<?php
echo $prefix ;
?>group').hide();
var activetab = '';
if (typeof (localStorage) != 'undefined') {
maybe_active = localStorage.getItem('<?php
echo $prefix ;
?>settings-active-tab');
if (maybe_active) {
// Check if tabs exists
$('.<?php
echo $prefix ;
?>nav-tab-wrapper a:not(.js-nav-tab-minor)').each(function () {
if ($(this).attr('href') === maybe_active) {
activetab = maybe_active;
}
});
}
}
if (activetab != '' && $(activetab).length) {
$(activetab).fadeIn();
markActiveGroup($(activetab));
} else {
$('.<?php
echo $prefix ;
?>group:first').fadeIn();
markActiveGroup($('.<?php
echo $prefix ;
?>group:first'));
}
$('.<?php
echo $prefix ;
?>group .collapsed').each(function () {
$(this).find('input:checked').parent().parent().parent().nextAll().each(
function () {
if ($(this).hasClass('last')) {
$(this).removeClass('hidden');
return false;
}
$(this).filter('.hidden').removeClass('hidden');
});
});
if (activetab != '' && $(activetab + '-tab').length) {
$(activetab + '-tab').addClass('nav-tab-active');
} else {
$('.<?php
echo $prefix ;
?>nav-tab-wrapper a:first').addClass('nav-tab-active');
}
$('.<?php
echo $prefix ;
?>nav-tab-wrapper a:not(.js-nav-tab-minor)').on('click', function (evt) {
if (typeof (localStorage) != 'undefined') {
localStorage.setItem('<?php
echo $prefix ;
?>settings-active-tab', $(this).attr('href'));
}
$('.<?php
echo $prefix ;
?>nav-tab-wrapper a').removeClass('nav-tab-active');
$(this).addClass('nav-tab-active').trigger('blur');
var clicked_group = $(this).attr('href');
$('.<?php
echo $prefix ;
?>group').hide();
$(clicked_group).fadeIn();
markActiveGroup($(clicked_group));
evt.preventDefault();
});
});
</script>

View File

@@ -0,0 +1,25 @@
<?php
use DgoraWcas\Admin\Promo\Upgrade;
// Exit if accessed directly
if ( ! defined( 'DGWT_WCAS_FILE' ) ) {
exit;
}
if ( DGWT_WCAS()->themeCompatibility->isCurrentThemeSupported() ):
if ( ! DGWT_WCAS()->themeCompatibility->isWhiteLabel() ):
$name = DGWT_WCAS()->themeCompatibility->getThemeName();
$parentLabel = '';
if ( DGWT_WCAS()->themeCompatibility->isChildTheme() ) {
$parentLabel = ', ' . sprintf( __( 'child theme of <b>%s</b>', 'ajax-search-for-woocommerce' ), DGWT_WCAS()->themeCompatibility->getParentThemeName() );
}
?>
<h2><?php printf( __( 'You are using the <b>%s</b> theme%s. Fantastic!', 'ajax-search-for-woocommerce' ), $name, $parentLabel ); ?></h2>
<p><?php _e( 'We support this theme so you can easily replace all default search bars.', 'ajax-search-for-woocommerce' ); ?></p>
<?php endif; ?>
<?php endif; ?>

View File

@@ -0,0 +1,34 @@
<?php
use DgoraWcas\Admin\Promo\Upgrade;
// Exit if accessed directly
if ( ! defined( 'DGWT_WCAS_FILE' ) ) {
exit;
}
$utmLink = 'https://fibosearch.com/pro-vs-free/?utm_source=wp-admin&utm_medium=referral&utm_campaign=settings&utm_content=features&utm_gen=utmdc';
?>
<div class="dgwt-wcas-upgrade-s">
<h2 class="dgwt-wcas-upgrade-s__title"><?php _e( 'If users cant find the product theyre searching for, they cant buy it. Help your customers to find the right products even <span>10× faster</span>.', 'ajax-search-for-woocommerce' ); ?></h2>
<p class="dgwt-wcas-upgrade-s__subtitle">
<?php _e( 'Update now and boost your sales. You will receive a <b>30-day satisfaction guarantee</b>. A return on investment will come very quickly.', 'ajax-search-for-woocommerce' ); ?>
</p>
<ul>
<li><strong>+ <?php _e( '<b>New Ultra-Fast Search Engine</b> works very fast even with 100,000+ products ', 'ajax-search-for-woocommerce' ); ?></strong></li>
<li><strong>+ <?php _e( 'Professional and fast <b>help to embed</b> or <b>replacing</b> the search bar in your theme', 'ajax-search-for-woocommerce' ); ?></strong></li>
<li><strong>+ <?php _e( 'Fuzzy search', 'ajax-search-for-woocommerce' ); ?></strong></li>
<li><strong>+ <?php _e( 'Search in custom fields', 'ajax-search-for-woocommerce' ); ?></strong></li>
<li><strong>+ <?php _e( 'Search in attributes', 'ajax-search-for-woocommerce' ); ?></strong></li>
<li><strong>+ <?php _e( 'Search in categories', 'ajax-search-for-woocommerce' ); ?></strong></li>
<li><strong>+ <?php _e( 'Search in tags', 'ajax-search-for-woocommerce' ); ?></strong></li>
<li><strong>+ <?php _e( 'Search by variation product SKU', 'ajax-search-for-woocommerce' ); ?></strong></li>
<li><strong>+ <?php _e( 'Search in brands (WooCommerce Brands or YITH WooCommerce Brands)', 'ajax-search-for-woocommerce' ); ?></strong></li>
<li><strong>+ <?php _e( 'Search for posts and pages', 'ajax-search-for-woocommerce' ); ?></strong></li>
<li><strong>+ <?php _e( 'Synonyms', 'ajax-search-for-woocommerce' ); ?></strong></li>
<li><strong>+ <?php _e( 'Individual customization of the search bar (simple CSS improvements)', 'ajax-search-for-woocommerce' ); ?></strong></li>
<li><strong>+ <?php _e( 'And more...', 'ajax-search-for-woocommerce' ); ?> <a target="_blank" href="<?php echo $utmLink; ?>"><?php _e( 'See a comparison of all free and premium features!', 'ajax-search-for-woocommerce' ); ?></a></strong></li>
</ul>
<a target="_blank" href="<?php echo Upgrade::getUpgradeUrl(); ?>" class="button ajax-build-index-primary"><?php _e( 'Upgrade Now!', 'ajax-search-for-woocommerce' ); ?></a>
</div>

View File

@@ -0,0 +1,25 @@
<?php
use DgoraWcas\Admin\Promo\Upgrade;
// Exit if accessed directly
if ( ! defined( 'DGWT_WCAS_FILE' ) ) {
exit;
}
$utmLink = 'https://fibosearch.com/pricing/?utm_source=wp-admin&utm_medium=referral&utm_campaign=upgrade-link&utm_content=how-to-use';
$blockEditorUrl = 'https://fibosearch.com/documentation/get-started/how-to-add-fibosearch-to-your-website/#add-fibosearch-with-the-dedicated-fibosearch-block';
$blockEditorLink = '<a href="'. $blockEditorUrl .'">' . __( 'learn how to use blocks', 'ajax-search-for-woocommerce' ) . '</a>';
?>
<h4><?php _e( 'There are five easy ways to display the search bar in your theme', 'ajax-search-for-woocommerce' ); ?>: </h4>
<ol>
<li><?php printf( __( 'As a menu item - go to the %s and add the menu item “FiboSearch bar”. Done!', 'ajax-search-for-woocommerce' ), '<a href="' . admin_url( 'nav-menus.php' ) . '" target="_blank">' . __( 'Menu Screen', 'ajax-search-for-woocommerce' ) . '</a>' ) ?>
<li><?php echo __( 'As a block', 'ajax-search-for-woocommerce' ) . ' - ' . $blockEditorLink; ?></li>
<li><?php printf( __( 'Using a shortcode - %s', 'ajax-search-for-woocommerce' ), '<code>[fibosearch]</code>' ); ?></li>
<li><?php printf( __( 'As a widget - go to the %s and choose “FiboSearch bar”', 'ajax-search-for-woocommerce' ), '<a href="' . admin_url( 'widgets.php' ) . '" target="_blank">' . __( 'Widgets Screen', 'ajax-search-for-woocommerce' ) . '</a>' ) ?>
<li><?php printf( __( 'Using PHP - %s', 'ajax-search-for-woocommerce' ), '<code>&lt;?php echo do_shortcode(\'[fibosearch]\'); ?&gt;</code>' ); ?></li>
</ol>
<?php if ( ! dgoraAsfwFs()->is_premium() ): ?>
<span class="dgwt-wcas-our-devs"><?php printf( __( 'Are there any difficulties? <b>We will do it for you!</b> We offer free of charge search bar implementation for Pro users. <a target="_blank" href="%s">Become one now!</a>', 'ajax-search-for-woocommerce' ), $utmLink ); ?></span>
<?php endif; ?>

View File

@@ -0,0 +1,20 @@
<?php
// Exit if accessed directly
if ( ! defined( 'DGWT_WCAS_FILE' ) ) {
exit;
}
?>
<div class="js-dgwt-wcas-indexing-wrapper">
<div class="dgwt-wcas-indexing-header">
<span class="dgwt-wcas-indexing-header__title" style="color:#aaaaaa"><?php _e( 'The search index does not exist yet. Build it now.', 'ajax-search-for-woocommerce' ); ?></span>
<div class="dgwt-wcas-indexing-header__actions">
<a class="button dgwt-wcas-premium-only--trigger" href="#"><?php _e( 'Build index', 'ajax-search-for-woocommerce' ); ?></a>
<a href="#" class="show dgwt-wcas-premium-only--trigger dgwt-wcas-indexing-details-trigger"><?php _e( 'Show details', 'ajax-search-for-woocommerce' ); ?></a>
</div>
</div>
</div>

View File

@@ -0,0 +1,277 @@
<?php
use DgoraWcas\Helpers;
// Exit if accessed directly
if ( ! defined( 'DGWT_WCAS_FILE' ) ) {
exit;
}
$submitText = Helpers::getLabel( 'submit' );
$hasSubmit = DGWT_WCAS()->settings->getOption( 'show_submit_button' );
$labelSeeAll = Helpers::getLabel( 'show_more' );
?>
<div class="dgwt-wcas-preview js-dgwt-wcas-preview">
<div class="js-dgwt-wcas-preview-inner dgwt-wcas-preview-inner">
<div class="js-dgwt-wcas-preview-head dgwt-wcas-preview-head">
<span class="dgwt-wcas-preview-header"><?php _e( 'Preview', 'ajax-search-for-woocommerce' ); ?></span>
<span class="dgwt-wcas-preview-subheader dgwt-wcas-preview-subheader__sb"><?php _e( 'Search bar', 'ajax-search-for-woocommerce' ); ?></span>
<span class="dgwt-wcas-preview-subheader dgwt-wcas-preview-subheader__ac"><?php _e( 'Autocomplete', 'ajax-search-for-woocommerce' ); ?></span>
</div>
<div class="js-dgwt-wcas-preview-source dgwt-wcas-preview-source">
<span class="js-dgwt-wcas-preview-device-info dgwt-wcas-preview-device-info dgwt-wcas-hidden" data-device="desktop">
<span><?php _e( 'On mobile', 'ajax-search-for-woocommerce' ); ?></span>
<span><?php _e( 'On desktop', 'ajax-search-for-woocommerce' ); ?></span>
</span>
<div class="js-dgwt-wcas-search-wrapp js-dgwt-wcas-preview-bar-example dgwt-wcas-search-wrapp <?php echo Helpers::searchWrappClasses(); ?>" data-wcas-context="75c2">
<form class="dgwt-wcas-search-form" role="search" action="" method="get">
<div class="dgwt-wcas-sf-wrapp">
<?php echo Helpers::getMagnifierIco( 'dgwt-wcas-ico-magnifier js-dgwt-wcas-ico-magnifier-solaris' ); ?>
<?php echo Helpers::getMagnifierIco( 'dgwt-wcas-ico-magnifier js-dgwt-wcas-ico-magnifier-pirx', 'magnifier-pirx' ); ?>
<label class="screen-reader-text"><?php _e( 'Products search', 'ajax-search-for-woocommerce' ); ?></label>
<input
type="search"
class="js-dgwt-wcas-search-input dgwt-wcas-search-input"
name="<?php echo esc_attr( Helpers::getSearchInputName() ); ?>"
value="<?php echo esc_attr( get_search_query() ) ?>"
autocomplete="off"
placeholder="<?php echo esc_attr( Helpers::getLabel( 'search_placeholder' ) ); ?>"
/>
<div class="dgwt-wcas-preloader"></div>
<button type="submit" class="js-dgwt-wcas-search-submit dgwt-wcas-search-submit"><?php
echo '<span class="js-dgwt-wcas-search-submit-l">' . esc_html( $submitText ) . '</span>';
echo '<span class="js-dgwt-wcas-search-submit-m">';
echo Helpers::getMagnifierIco( 'dgwt-wcas-ico-magnifier js-dgwt-wcas-ico-magnifier-solaris' );
echo Helpers::getMagnifierIco( 'dgwt-wcas-ico-magnifier js-dgwt-wcas-ico-magnifier-pirx', 'magnifier-pirx' );
echo '</span>';
?>
</button>
<input type="hidden" name="post_type" value="product">
<input type="hidden" name="dgwt_wcas" value="1">
<input type="hidden" name="lang" value="en">
</div>
</form>
</div>
<span class="js-dgwt-wcas-preview-device-info dgwt-wcas-preview-device-info dgwt-wcas-hidden" data-device="mobile">
<span><?php _e( 'On mobile', 'ajax-search-for-woocommerce' ); ?></span>
<span><?php _e( 'On desktop', 'ajax-search-for-woocommerce' ); ?></span>
</span>
<div class="js-dgwt-wcas-search-wrapp dgwt-wcas-layout-icon-open js-dgwt-wcas-preview-icon-example dgwt-wcas-search-wrapp dgwt-wcas-hidden <?php echo Helpers::searchWrappClasses(); ?>" data-wcas-context="75c3">
<div class="dgwt-wcas-search-icon js-dgwt-wcas-search-icon-handler"><?php echo Helpers::getMagnifierIco( 'dgwt-wcas-ico-magnifier-handler' ); ?></div>
<div class="dgwt-wcas-search-icon-arrow"></div>
<form class="dgwt-wcas-search-form" role="search" action="" method="get">
<div class="dgwt-wcas-sf-wrapp">
<?php echo Helpers::getMagnifierIco( 'dgwt-wcas-ico-magnifier js-dgwt-wcas-ico-magnifier-solaris' ); ?>
<?php echo Helpers::getMagnifierIco( 'dgwt-wcas-ico-magnifier js-dgwt-wcas-ico-magnifier-pirx', 'magnifier-pirx' ); ?>
<label class="screen-reader-text"><?php _e( 'Products search', 'ajax-search-for-woocommerce' ); ?></label>
<input
type="search"
class="js-dgwt-wcas-search-input dgwt-wcas-search-input"
name="<?php echo esc_attr( Helpers::getSearchInputName() ); ?>"
value="<?php echo esc_attr( get_search_query() ) ?>"
autocomplete="off"
placeholder="<?php echo esc_attr( Helpers::getLabel( 'search_placeholder' ) ); ?>"
/>
<div class="dgwt-wcas-preloader"></div>
<button type="submit" class="js-dgwt-wcas-search-submit dgwt-wcas-search-submit"><?php
echo '<span class="js-dgwt-wcas-search-submit-l">' . esc_html( $submitText ) . '</span>';
echo '<span class="js-dgwt-wcas-search-submit-m">';
echo Helpers::getMagnifierIco( 'dgwt-wcas-ico-magnifier js-dgwt-wcas-ico-magnifier-solaris' );
echo Helpers::getMagnifierIco( 'dgwt-wcas-ico-magnifier js-dgwt-wcas-ico-magnifier-pirx', 'magnifier-pirx' );
echo '</span>';
?>
</button>
<input type="hidden" name="post_type" value="product">
<input type="hidden" name="dgwt_wcas" value="1">
<input type="hidden" name="lang" value="en">
</div>
</form>
</div>
<div class="dgwt-wcas-autocomplete">
<div class="dgwt-wcas-suggestions-wrapp js-dgwt-wcas-suggestions-wrapp woocommerce dgwt-wcas-has-price dgwt-wcas-has-desc dgwt-wcas-has-sku" unselectable="on">
<div class="dgwt-wcas-suggestion dgwt-wcas-suggestion-headline-brand dgwt-wcas-suggestion-headline">
<span class="dgwt-wcas-st">
<?php echo Helpers::getLabel( 'tax_' . DGWT_WCAS()->brands->getBrandTaxonomy() . '_plu' ); ?>
</span>
</div>
<div class="dgwt-wcas-suggestion dgwt-wcas-suggestion-brand js-dgwt-wcas-suggestion-brand">
<span class="dgwt-wcas-si">
<img src="<?php echo DGWT_WCAS_URL; ?>assets/img/product-preview.png">
</span>
<span class="dgwt-wcas-st">
<span class="dgwt-wcas-st--direct-headline"><?php echo Helpers::getLabel( 'tax_' . DGWT_WCAS()->brands->getBrandTaxonomy() ); ?></span>
<?php _e( 'Sample brand <strong>name</strong>', 'ajax-search-for-woocommerce' ); ?>
</span>
</div>
<div class="dgwt-wcas-suggestion dgwt-wcas-suggestion-headline-cat dgwt-wcas-suggestion-headline">
<span class="dgwt-wcas-st">
<?php echo Helpers::getLabel( 'tax_product_cat_plu' ); ?>
</span>
</div>
<div class="dgwt-wcas-suggestion dgwt-wcas-suggestion-cat js-dgwt-wcas-suggestion-cat">
<span class="dgwt-wcas-si">
<img src="<?php echo DGWT_WCAS_URL; ?>assets/img/product-preview.png">
</span>
<span class="dgwt-wcas-st">
<span class="dgwt-wcas-st--direct-headline"><?php echo Helpers::getLabel( 'tax_product_cat' ); ?></span>
<?php _e( 'Sample category <strong>name</strong>', 'ajax-search-for-woocommerce' ); ?>
</span>
</div>
<div class="dgwt-wcas-suggestion dgwt-wcas-suggestion-headline-tag dgwt-wcas-suggestion-headline">
<span class="dgwt-wcas-st">
<?php echo Helpers::getLabel( 'tax_product_tag_plu' ); ?>
</span>
</div>
<div class="dgwt-wcas-suggestion dgwt-wcas-suggestion-tag">
<span class="dgwt-wcas-st">
<span class="dgwt-wcas-st--direct-headline"><?php echo Helpers::getLabel( 'tax_product_tag' ); ?></span>
<?php _e( 'Sample tag <strong>name</strong>', 'ajax-search-for-woocommerce' ); ?>
</span>
</div>
<div class="dgwt-wcas-suggestion dgwt-wcas-suggestion-headline-post dgwt-wcas-suggestion-headline">
<span class="dgwt-wcas-st">
<?php echo Helpers::getLabel( 'post_plu' ); ?>
</span>
</div>
<div class="dgwt-wcas-suggestion dgwt-wcas-suggestion-post">
<span class="dgwt-wcas-st">
<span class="dgwt-wcas-st--direct-headline"><?php echo Helpers::getLabel( 'post' ); ?></span>
<?php _e( 'Sample post <strong>name</strong>', 'ajax-search-for-woocommerce' ); ?>
</span>
</div>
<div class="dgwt-wcas-suggestion dgwt-wcas-suggestion-headline-page dgwt-wcas-suggestion-headline">
<span class="dgwt-wcas-st">
<?php echo Helpers::getLabel( 'page_plu' ); ?>
</span>
</div>
<div class="dgwt-wcas-suggestion dgwt-wcas-suggestion-page">
<span class="dgwt-wcas-st">
<span class="dgwt-wcas-st--direct-headline"><?php echo Helpers::getLabel( 'page' ); ?></span>
<?php _e( 'Sample page <strong>name</strong>', 'ajax-search-for-woocommerce' ); ?>
</span>
</div>
<div class="dgwt-wcas-suggestion js-dgwt-wcas-suggestion-headline dgwt-wcas-suggestion-headline">
<span class="dgwt-wcas-st">
<?php echo Helpers::getLabel( 'product_plu' ); ?>
</span>
</div>
<div class="dgwt-wcas-suggestion dgwt-wcas-suggestion-product">
<span class="js-dgwt-wcas-si dgwt-wcas-si">
<img src="<?php echo DGWT_WCAS_URL; ?>assets/img/product-preview.png">
</span>
<div class="js-dgwt-wcas-content-wrapp dgwt-wcas-content-wrapp">
<span class="dgwt-wcas-st">
<span class="dgwt-wcas-st-title"><?php _e( 'Sample product <strong>name</strong>', 'ajax-search-for-woocommerce' ); ?></span>
<span class="dgwt-wcas-sku js-dgwt-wcas-sku">(<?php echo Helpers::getLabel( 'sku_label' ); ?> 0001)</span>
<span class="dgwt-wcas-sd js-dgwt-wcas-sd"><?php _e( 'Lorem <strong>ipsum</strong> dolor sit amet, consectetur adipiscing elit. Quisque gravida lacus nec diam porttitor pharetra. Nulla facilisi. Proin pharetra imperdiet neque, non varius.', 'ajax-search-for-woocommerce' ); ?></span>
</span>
<span class="dgwt-wcas-sp js-dgwt-wcas-sp">
<?php echo wc_price( 99 ); ?>
</span>
</div>
</div>
<div class="dgwt-wcas-suggestion js-dgwt-wcas-suggestion-more dgwt-wcas-suggestion-more dgwt-wcas-suggestion-no-border-bottom" data-index="7">
<span class="dgwt-wcas-st-more"><span class="js-dgwt-wcas-st-more-label"><?php echo esc_html( $labelSeeAll ); ?></span> (73)</span>
</div>
<div class="dgwt-wcas-suggestion-nores js-dgwt-wcas-suggestion-nores dgwt-wcas-hide">
</div>
</div>
<div class="dgwt-wcas-details-wrapp js-dgwt-wcas-details-wrapp woocommerce">
<div class="dgwt-wcas-details-inner">
<div class="dgwt-wcas-product-details">
<a href="#">
<div class="dgwt-wcas-details-main-image">
<img src="<?php echo DGWT_WCAS_URL; ?>assets/img/product-preview.png"/>
</div>
</a>
<div class="dgwt-wcas-details-space">
<a class="dgwt-wcas-details-product-title" href="#">
<?php _e( 'Sample product name', 'ajax-search-for-woocommerce' ); ?>
</a>
<span class="dgwt-wcas-details-product-sku">0001</span>
<div class="dgwt-wcas-pd-price">
<?php echo wc_price( 99 ); ?>
</div>
<div class="dgwt-wcas-details-hr"></div>
<div class="dgwt-wcas-pd-desc">
<?php _e( 'Lorem <strong>ipsum</strong> dolor sit amet, consectetur adipiscing elit. Quisque gravida lacus nec diam porttitor pharetra. Nulla facilisi. Proin pharetra imperdiet neque, non varius.',
'ajax-search-for-woocommerce' ); ?>
</div>
<div class="dgwt-wcas-details-hr"></div>
<div class="dgwt-wcas-pd-addtc js-dgwt-wcas-pd-addtc">
<form class="dgwt-wcas-pd-addtc-form" action="" method="post" enctype="multipart/form-data">
<div class="quantity buttons_added">
<input type="button" value="-" class="minus button is-form">
<input type="number" class="input-text qty text" step="1" min="0" max="9999" name="js-dgwt-wcas-quantity" value="1" title="Qty" size="4" inputmode="numeric">
<input type="button" value="+" class="plus button is-form">
</div>
<p class="product woocommerce add_to_cart_inline " style="">
<a href="#" data-quantity="1" class="button product_type_simple add_to_cart_button ajax_add_to_cart" rel="nofollow"><?php _e( 'Add to cart', 'woocommerce' ); ?></a>
</p>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="dgwt-wcas-preview-elements dgwt-wcas-hidden">
<div class="js-dgwt-wcas-preview-elements-close"><?php echo Helpers::getIcon( 'close' ); ?></div>
</div>
</div>

View File

@@ -0,0 +1,47 @@
<?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>

View File

@@ -0,0 +1,11 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<tr class="js-dgwt-wcas-autocomplete-row">
<td><?php echo $i; ?></td>
<td><?php echo esc_html( $row['phrase'] ); ?></td>
<td><?php echo esc_html( $row['qty'] ); ?></td>
</tr>

View File

@@ -0,0 +1,14 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<tr class="js-dgwt-wcas-critical-searches-row">
<td><?php echo $i; ?></td>
<td><?php echo esc_html( $row['phrase'] ); ?></td>
<td><?php echo esc_html( $row['qty'] ); ?></td>
<td>
<button class="button button-small js-dgwt-wcas-stats-critical-check"><?php _e( "Check", 'ajax-search-for-woocommerce' ); ?></button>
</td>
</tr>

View File

@@ -0,0 +1,18 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( $vars['multilingual']['is-multilingual'] ): ?>
<div class="dgwt-wcas-analytics-langs">
<h3><?php _e( 'Language', 'ajax-search-for-woocommerce' ); ?></h3>
<p class="dgwt-wcas-analytics-subtitle"><?php _e( 'Shows stats only for the selected language.', 'ajax-search-for-woocommerce' ); ?></p>
<select class="js-dgwt-wcas-analytics-lang">
<?php foreach ( $vars['multilingual']['langs'] as $lang => $label ): ?>
<option value="<?php echo esc_html( $lang ); ?>" <?php selected( $vars['multilingual']['current-lang'], $lang, true ); ?>><?php echo esc_html( $label ); ?></option>
<?php endforeach; ?>
</select>
</div>
<?php endif; ?>

View File

@@ -0,0 +1,11 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<tr class="js-dgwt-wcas-search-page-row">
<td><?php echo $i; ?></td>
<td><?php echo esc_html( $row['phrase'] ); ?></td>
<td><?php echo esc_html( $row['qty'] ); ?></td>
</tr>

View File

@@ -0,0 +1,260 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div class="dgwt-wcas-analytics-module-critical">
<h3><?php _e( 'Critical searches without result', 'ajax-search-for-woocommerce' ); ?></h3>
<?php if ( ! empty( $vars['critical-searches'] ) ): ?>
<p class="dgwt-wcas-analytics-subtitle">
<?php printf( _n( 'The FiboSearch analyzer found <b>1 critical search phrase</b>.', 'The FiboSearch analyzer found <b>%d critical search phrases</b>.', $vars['critical-searches-total'], 'ajax-search-for-woocommerce' ), $vars['critical-searches-total'] );
echo ' ';
printf( _n( 'These phrases have been typed by users over the last 1 day.', 'These phrases have been typed by users over the last %d days.', $vars['days'], 'ajax-search-for-woocommerce' ), $vars['days'] );
echo ' ';
_e( "These phrases don`t return any search results. It's time to fix it.", 'ajax-search-for-woocommerce' );
?>
</p>
<div class="dgwt-wcas-analytics-module-critical-body">
<div>
<table class="widefat fixed dgwt-wcas-analytics-table">
<thead>
<tr>
<th>#</th>
<th><?php _e( 'Phrase', 'ajax-search-for-woocommerce' ); ?></th>
<th><?php _e( 'Repetitions', 'ajax-search-for-woocommerce' ); ?></th>
<th><?php _e( "Check if it's been solved", 'ajax-search-for-woocommerce' ); ?></th>
</tr>
</thead>
<tbody>
<?php
$i = 1;
foreach ( $vars['critical-searches'] as $row ) {
require DGWT_WCAS_DIR . 'partials/admin/stats/critical-searches-row.php';
$i ++;
}
if ( $vars['critical-searches-more'] > 0 ): ?>
<tr class="dgwt-wcas-analytics-load-more-row">
<td colspan="4">
<div>
<span class="js-dgwt-wcas-critical-searches-load-more">
<span><?php printf( _n( 'load another %d phrase', 'load another %d phrases', $vars['critical-searches-more'], 'ajax-search-for-woocommerce' ), $vars['critical-searches-more'] ); ?></span>
<span class="dashicons dashicons-arrow-down-alt2"></span>
</span>
</div>
</td>
</tr>
<?php endif; ?>
</tbody>
</table>
<?php
if ( $vars['critical-searches-total'] > 0 ) {
printf( '<a class="js-dgwt-wcas-analytics-export-csv" data-context="" href="#">%s</a>', __( 'Export CSV', 'ajax-search-for-woocommerce' ) ) . '<span class="dgwt-wcas-ajax-loader"></span>';
}
?>
</div>
<div class="dgwt-wcas-analytics-module-critical-info">
<h4><?php _e( 'How to fix it?', 'ajax-search-for-woocommerce' ); ?></h4>
<div>
<p><?php _e( 'There are several ways to solve these problems. Every phrase may require a different approach. See what methods you could use:', 'ajax-search-for-woocommerce' ); ?></p>
<ol>
<li><p><?php _e( "<b>Adding the phrase to the product name</b> - just add the phrase to the product name, description, SKU, custom field, tag or anything else that's in your current search scope", 'ajax-search-for-woocommerce' ); ?></p></li>
<li><p><?php printf( __( '<b>Synonyms</b> - if the phrase is an alternate version of any other words, add it as a synonym. Learn more about <a href="%s" target="_blank">the synonyms feature.', 'ajax-search-for-woocommerce' ), $vars['links']['synonyms'] ); ?></a></p></li>
<li>
<p><?php printf( __( '<b>Varied naming convention</b> - this issue occurs when users may type a phrase in several different way eg. you have SKU "CB-978-8-7290", but users might type it in a different way: "CB978 8 7290", "CB/978/8/7290", "CB97887290" and so on. To solve such problems, contact our <a href="%s" target="_blank">technical support</a>, because the solution may be different for each case.',
'ajax-search-for-woocommerce' ), $vars['links']['support'] ); ?></p></li>
</ol>
</div>
</div>
</div>
<?php else: ?>
<p class="dgwt-wcas-analytics-subtitle"><?php printf( __( "Fantastic! The FiboSearch analyzer hasn't found any critical search phrases for the last %d days.", 'ajax-search-for-woocommerce' ), $vars['days'] ); ?></p>
<?php endif; ?>
</div>
<?php if ( ! defined( 'DGWT_WCAS_ANALYTICS_ONLY_CRITICAL' ) || ! DGWT_WCAS_ANALYTICS_ONLY_CRITICAL ): ?>
<div class="dgwt-wcas-analytics-module-tiles">
<h3><?php printf( __( 'Searches stats (last %d days)', 'ajax-search-for-woocommerce' ), $vars['days'] ); ?></h3>
<div class="dgwt-wcas-analytics-tiles">
<div class="dgwt-wcas-analytics-tile">
<div class="dgwt-wcas-analytics-tile__values">
<span><?php _e( 'Total searches', 'ajax-search-for-woocommerce' ); ?></span>
<span><?php _e( 'autocomplete', 'ajax-search-for-woocommerce' ); ?></span>
<span><?php echo esc_html( $vars['autocomplete']['total-results'] ); ?></span>
</div>
<div class="dgwt-wcas-analytics-tile__icon">
<?php echo \DgoraWcas\Helpers::getIcon( 'magnifier-pirx' ) ?>
</div>
</div>
<div class="dgwt-wcas-analytics-tile">
<div class="dgwt-wcas-analytics-tile__values">
<span><?php _e( 'Total searches', 'ajax-search-for-woocommerce' ); ?></span>
<span><?php _e( 'search results page', 'ajax-search-for-woocommerce' ); ?></span>
<span><?php echo esc_html( $vars['search-page']['total-results'] ); ?></span>
</div>
<div class="dgwt-wcas-analytics-tile__icon">
<?php echo \DgoraWcas\Helpers::getIcon( 'magnifier-pirx' ) ?>
</div>
</div>
<div class="dgwt-wcas-analytics-tile">
<div class="dgwt-wcas-analytics-tile__values">
<span><?php _e( 'Searches', 'ajax-search-for-woocommerce' ); ?></span>
<span><?php _e( 'returning results', 'ajax-search-for-woocommerce' ); ?></span>
<span><?php echo esc_html( $vars['returning-results-percent'] ); ?>%</span>
</div>
<div class="dgwt-wcas-analytics-tile__icon">
<?php
if ( ! empty( $vars['returning-results-percent'] ) ) {
if ( $vars['returning-results-percent-satisfying'] ) {
echo \DgoraWcas\Helpers::getIcon( 'face-smile', 'dgwt-wcas-stats-icon-smile' );
} else {
echo \DgoraWcas\Helpers::getIcon( 'face-sad', 'dgwt-wcas-stats-icon-sad' );
}
}
?>
</div>
</div>
</div>
</div>
<br/>
<div class="dgwt-wcas-analytics-module-tables">
<div class="dgwt-wcas-analytics-module-table">
<h3><?php _e( 'Top searches - autocomplete', 'ajax-search-for-woocommerce' ); ?></h3>
<p class="dgwt-wcas-analytics-subtitle"><?php _e( 'The list of phrases with results is displayed to users as a drop down list with auto suggestions.', 'ajax-search-for-woocommerce' ); ?></p>
<table class="widefat fixed dgwt-wcas-analytics-table">
<thead>
<tr>
<th>#</th>
<th><?php _e( 'Phrase', 'ajax-search-for-woocommerce' ); ?></th>
<th><?php _e( 'Repetitions', 'ajax-search-for-woocommerce' ); ?></th>
</tr>
</thead>
<tbody>
<?php if ( ! empty( $vars['autocomplete']['with-results'] ) ): ?>
<?php
$i = 1;
foreach ( $vars['autocomplete']['with-results'] as $row ) {
require DGWT_WCAS_DIR . 'partials/admin/stats/ac-searches-row.php';
$i ++;
}
if ( $vars['autocomplete']['total-with-results-uniq'] > count( $vars['autocomplete']['with-results'] ) ): ?>
<tr class="dgwt-wcas-analytics-load-more-row">
<td colspan="3">
<div>
<span class="js-dgwt-wcas-autocomplete-with-results-load-more">
<span><?php _e( 'show top 100 phrases', 'ajax-search-for-woocommerce' ); ?></span>
<span class="dashicons dashicons-arrow-down-alt2"></span>
</span>
</div>
</td>
</tr>
<?php endif; ?>
<?php else: ?>
<tr>
<td colspan="3">
<?php _e( '0 searches with results', 'ajax-search-for-woocommerce' ); ?>
</td>
</tr>
<?php endif; ?>
</tbody>
</table>
<?php
if ( ! empty( $vars['autocomplete']['with-results'] ) ) {
printf( '<a class="js-dgwt-wcas-analytics-export-csv" data-context="autocomplete" href="#">%s</a>', __( 'Export CSV', 'ajax-search-for-woocommerce' ) ) . '<span class="dgwt-wcas-ajax-loader"></span>';
}
?>
</div>
<div class="dgwt-wcas-analytics-module-table">
<h3><?php _e( 'Top searches - WooCommerce search results page', 'ajax-search-for-woocommerce' ); ?></h3>
<p class="dgwt-wcas-analytics-subtitle"><?php _e( 'Here is the list of phrases that were typed by users who followed the pattern: type the phrase into the bar → clicked “See all results” or just hit enter/return (for Mac users)', 'ajax-search-for-woocommerce' ); ?></p>
<table class="widefat fixed dgwt-wcas-analytics-table">
<thead>
<tr>
<th>#</th>
<th><?php _e( 'Phrase', 'ajax-search-for-woocommerce' ); ?></th>
<th><?php _e( 'Repetitions', 'ajax-search-for-woocommerce' ); ?></th>
</tr>
</thead>
<tbody>
<?php if ( ! empty( $vars['search-page']['with-results'] ) ): ?>
<?php
$i = 1;
foreach ( $vars['search-page']['with-results'] as $row ) {
require DGWT_WCAS_DIR . 'partials/admin/stats/sp-searches-row.php';
$i ++;
}
if ( $vars['search-page']['total-with-results-uniq'] > count( $vars['search-page']['with-results'] ) ): ?>
<tr class="dgwt-wcas-analytics-load-more-row">
<td colspan="3">
<div>
<span class="js-dgwt-wcas-search-page-with-results-load-more">
<span><?php _e( 'show top 100 phrases', 'ajax-search-for-woocommerce' ); ?></span>
<span class="dashicons dashicons-arrow-down-alt2"></span>
</span>
</div>
</td>
</tr>
<?php endif; ?>
<?php else: ?>
<tr>
<td colspan="3">
<?php _e( '0 searches with results', 'ajax-search-for-woocommerce' ); ?>
</td>
</tr>
<?php endif; ?>
</tbody>
</table>
<?php
if ( ! empty( $vars['search-page']['with-results'] ) ) {
printf( '<a class="js-dgwt-wcas-analytics-export-csv" data-context="search-results-page" href="#">%s</a>', __( 'Export CSV', 'ajax-search-for-woocommerce' ) ) . '<span class="dgwt-wcas-ajax-loader"></span>';
}
?>
</div>
</div>
<?php endif; ?>
<div class="dgwt-wcas-analytics-module-reset">
<h3><?php _e( 'Maintenance', 'ajax-search-for-woocommerce' ) ?></h3>
<?php if ( defined( 'DGWT_WCAS_ANALYTICS_ONLY_CRITICAL' ) && DGWT_WCAS_ANALYTICS_ONLY_CRITICAL ): ?>
<p class="dgwt-wcas-analytics-subtitle">
<span class="dgwt-wcas-analytics-red-color"><b><?php _e( 'Warning:', 'ajax-search-for-woocommerce' ); ?></b> </span>
<?php
/* Translators: %s PHP constant name. */
printf( __( "You have defined %s constant and it's set to <code>true</code>. It means only critical searches will be stored in the database. Other modules than Critical Searches are not visible in this mode.", 'ajax-search-for-woocommerce' ), '<code>DGWT_WCAS_ANALYTICS_ONLY_CRITICAL</code>' ) ?>
</p>
<?php endif; ?>
<p class="dgwt-wcas-analytics-subtitle">
<?php
$reset = sprintf( '<a class="js-dgwt-wcas-analytics-reset" href="#">%s</a>', __( 'reset your stats', 'ajax-search-for-woocommerce' ) ) . '<span class="dgwt-wcas-ajax-loader"></span>';
$size = $vars['autocomplete']['total-results'] > 0 ? $vars['table-info']['data'] + $vars['table-info']['index'] : 0;
?>
<?php printf( _x( 'The stats older than %d days are removed from your database on a daily basis. Now you have %d records in the DB that weigh %.2fMB. You can %s now and start collecting them all over again.', 'The last placeholder is a button with text "reset your stats"', 'ajax-search-for-woocommerce' ),
$vars['days'], esc_html( $vars['autocomplete']['total-results'] ), $size, $reset ); ?>
</p>
</div>

View File

@@ -0,0 +1,32 @@
<?php
// Exit if accessed directly
if ( ! defined( 'DGWT_WCAS_FILE' ) ) {
exit;
}
?>
<div class="dgwt-wcas-troubleshooting-wrapper">
<div class="progress_bar">
<div class="pro-bar">
<small class="progress_bar_title">
<?php _e( 'Processing asynchronous tests...', 'ajax-search-for-woocommerce' ); ?>
<span class="progress_number">0%</span>
</small>
<span class="progress-bar-inner" style="background-color: #e6a51d; width: 0;">
</span>
</div>
</div>
<p class="js-dgwt-wcas-troubleshooting-no-issues"><?php _e( 'Great! We have not detected any problems that could affect the correct functioning of our plugin.', 'ajax-search-for-woocommerce' ); ?></p>
<div class="js-dgwt-wcas-troubleshooting-issues-critical"></div>
<div class="js-dgwt-wcas-troubleshooting-issues-recommended"></div>
<div>
<?php submit_button( __( 'Recheck the status', 'ajax-search-for-woocommerce' ), 'primary', 'dgwt-wcas-async-action-reset-async-tests', false, array( 'data-internal-action' => 'reset_async_tests' ) ); ?>
<span class="dgwt-wcas-ajax-loader" style="margin-top: 5px;"></span>
</div>
</div>
<script id="tmpl-dgwt-wcas-troubleshooting-issue" type="text/template">
<div class="dgwt-wcas-settings-info">
<h3 class="dgwt-wcas-troubleshooting-issue-title">{{ data.label }}</h3>
{{{ data.description }}}
<!--{{{ data.actions }}}-->
</div>
</script>