first commit

This commit is contained in:
User A0264400
2026-04-01 23:20:16 +03:00
commit a766acdc90
23071 changed files with 4933189 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
<?php
defined( 'ABSPATH' ) || die( 'Cheatin uh?' );
/**
* @var array $data
* @var WGZ_Views $this
*/
?>
<div id="WBCR-AM" class="wam-wrapper" style="display: block;">
<?php $this->print_template( 'part-assets-manager-header', $data ); ?>
<main class="wam-content">
<?php $this->print_template( 'part-assets-manager-tabs-menu' ); ?>
<?php //$this->print_template( 'part-assets-manager-info-bar' ); ?>
<div id="wam-assets-type-tab-content__theme" data-category="theme" class="wam-assets-type-tab-content">
<?php $this->print_template( 'tab-content-assets', [
'type' => 'theme',
'assets' => $data['theme_assets']
] ); ?>
</div>
<div id="wam-assets-type-tab-content__misc" data-category="misc" class="wam-assets-type-tab-content">
<?php $this->print_template( 'tab-content-assets', [
'type' => 'misc',
'assets' => $data['misc_assets']
] ); ?>
</div>
<div id="wam-assets-type-tab-content__plugins" data-category="plugins" class="wam-assets-type-tab-content wam-assets-type-tab-content__active">
<?php $this->print_template( 'tab-content-assets-plugins', $data ); ?>
</div>
</main>
<!-- Html template Conditions Editor -->
<script type="text/html" id="wam-conditions-builder-template">
<?php $this->print_template( 'conditions-logic-editor-template', $data ); ?>
</script>
<!-- /End Html template -->
</div> <!-- /div2 -->

View File

@@ -0,0 +1,112 @@
<?php
defined('ABSPATH') || die('Cheatin uh?');
/**
* @var array $data
* @var WGZ_Views $this
*/
?>
<div class="wam-cleditor__empty wam-cleditor">
<div class="wam-cleditor__wrap">
<div class="wam-cleditor__when-empty">
<?php _e('No filters specified.', 'gonzales') ?>
<a href="#" class="js-wam-cleditor__add-group"><?php _e('Click here', 'gonzales') ?></a> <?php _e('to add one.', 'gonzales') ?>
</div>
<div class="wam-cleditor__groups"></div>
</div>
<div class="wam-cleditor__group">
<div class="wam-cleditor__point"></div>
<div class="wam-cleditor__head">
<div class="wam-cleditor__head-left">
<span class="wam-cleditor__first-group-title">
<?php _e('Disable If', 'gonzales') ?>
</span>
<span class="wam-cleditor__group-type"><?php _e('OR', 'gonzales') ?></span>
</div>
<div class="wam-cleditor__head-right">
<button type="button" class="wam-button wam-button--small wam-button--danger js-wam-cleditor__remove-group">
<?php _e('Delete', 'gonzales'); ?>
</button>
</div>
</div>
<div class="wam-cleditor__box">
<div class="wam-cleditor__when-empty">
<?php _e('No filters specified.', 'gonzales') ?>
<a href="#" class="js-wam-cleditor__add-condition"><?php _e('Click here', 'gonzales') ?></a> <?php _e('to add one.', 'gonzales') ?>
</div>
<div class="wam-cleditor__conditions"></div>
</div>
</div>
<div class="wam-cleditor__condition">
<div class="wam-cleditor__operator-and"><span><?php _e('and', 'gonzales') ?></span></div>
<span class="wam-cleditor__params">
<select class="wam-cleditor__param-select">
<?php if( !empty($data['conditions_logic_params']) ): ?>
<?php foreach((array)$data['conditions_logic_params'] as $filter_param) { ?>
<optgroup label="<?php echo $filter_param['title'] ?>">
<?php foreach((array)$filter_param['items'] as $param) { ?>
<?php
$option_attrs = [];
$option_attrs[] = 'data-type="' . esc_attr($param['type']) . '"';
if( isset($param['default_value']) ) {
$option_attrs[] = 'data-default-value="' . esc_attr($param['default_value']) . '"';
}
if( isset($param['placeholder']) ) {
$placeholder = is_array($param['placeholder']) ? @json_encode($param['placeholder'], JSON_UNESCAPED_UNICODE, JSON_HEX_QUOT) : $param['placeholder'];
$option_attrs[] = 'data-placeholder="' . esc_attr($placeholder) . '"';
}
if( isset($param['params']) ) {
$option_attrs[] = 'data-params="' . esc_attr(@json_encode($param['params'], JSON_UNESCAPED_UNICODE, JSON_HEX_QUOT)) . '"';
}
if( isset($param['only_equals']) ) {
$option_attrs[] = 'data-only-equals="' . intval($param['only_equals']) . '"';
}
if( isset($param['description']) ) {
$option_attrs[] = 'data-hint="' . esc_attr($param['description']) . '"';
}
$option_disabled = isset($param['disabled']) ? $param['disabled'] : false;
?>
<option<?php echo ' ' . implode(' ', $option_attrs) ?> value="<?php echo esc_attr($param['id']) ?>"<?php disabled($option_disabled) ?>>
<?php echo $param['title'] ?>
</option>
<?php } ?>
</optgroup>
<?php } ?>
<?php endif; ?>
</select>
<i class="wam-cleditor__hint">
<span class="wam-cleditor__hint-icon"></span>
<span class="wam-cleditor__hint-content"></span>
</i>
</span>
<span class="wam-cleditor__condition-operators">
<select class="wam-cleditor__operator-select">
<option value="equals"><?php _e('Equals', 'gonzales') ?></option>
<option value="notequal"><?php _e('Doesn\'t Equal', 'gonzales') ?></option>
<option value="greater"><?php _e('Greater Than', 'gonzales') ?></option>
<option value="less"><?php _e('Less Than', 'gonzales') ?></option>
<option value="older"><?php _e('Older Than', 'gonzales') ?></option>
<option value="younger"><?php _e('Younger Than', 'gonzales') ?></option>
<option value="contains"><?php _e('Contains', 'gonzales') ?></option>
<option value="notcontain"><?php _e('Doesn\'t Сontain', 'gonzales') ?></option>
<option value="between"><?php _e('Between', 'gonzales') ?></option>
</select>
</span>
<span class="wam-cleditor__condition-value"></span>
<span class="wam-cleditor__condition-actions">
<a href="#" class="wam-button wam-button--danger button-sm js-wam-cleditor__condition-remove"><?php _e('X', 'gonzales') ?></a>
<a href="#" class="wam-button wam-button--yellow button-sm js-wam-cleditor__condition-add-and"><?php _e('AND', 'gonzales') ?></a>
</span>
</div>
<div class="wam-cleditor__buttons-group">
<button type="button" class="wam-button wam-button--default wam-cleditor__button-left js-wam-cleditor__add-group">
<?php _e('Add new group', 'gonzales') ?>
</button>
</div>
</div>

View File

@@ -0,0 +1,41 @@
<?php
defined( 'ABSPATH' ) || die( 'Cheatin uh?' );
/**
* @var array $data
* @var WGZ_Views $this
*/
?>
<header class="wam-float-panel">
<div class="wam-float-panel__left">
<div class="wam-float-panel__logo"></div>
<ul class="wam-float-panel__data panel__data-main">
<li class="wam-float-panel__data-item __info-request">
<?php _e( 'Total requests', 'gonzales' ) ?>:
<b class="wam-float-panel__item_value">--</b>
</li>
<li class="wam-float-panel__data-item __info-total-size">
<?php _e( 'Total size', 'gonzales' ) ?>:
<b class="wam-float-panel__item_value">--</b>
</li>
<li class="wam-float-panel__data-item __info-reduced-total-size"><?php _e( 'Optimized size', 'gonzales' ) ?>
:
<b class="wam-float-panel__item_value">--</b>
</li>
<li class="wam-float-panel__data-item __info-disabled-js"><?php _e( 'Disabled js', 'gonzales' ) ?>:
<b class="wam-float-panel__item_value">-- </b>
</li>
<li class="wam-float-panel__data-item __info-disabled-css"><?php _e( 'Disabled css', 'gonzales' ) ?>:
<b class="wam-float-panel__item_value">-- </b>
</li>
</ul>
</div>
<div class="wam-float-panel__right">
<a class="wam-float-panel__reset wbcr-reset-button js-wam-reset-settings" href="<?php echo esc_url( wp_nonce_url( add_query_arg( [ 'wam_reset_settings' => 1 ] ), 'wam_reset_settings' ) ); ?>">
<?php _e( 'Reset', 'gonzales' ) ?>
</a>
<button id="wam-save-button" class="wam-float-panel__save js-wam-top-panel__save-button" data-nonce="<?php echo wp_create_nonce( 'wam_save_settigns' ); ?>"><?php _e( 'Save', 'gonzales' ) ?></button>
<?php do_action( 'wam/views/safe_mode_checkbox', $data ); ?>
<a class="wam-float-panel__close wbcr-close-button" href="<?php echo esc_url(remove_query_arg( 'wbcr_assets_manager' )); ?>" aria-label="<?php _e( 'Close', 'gonzales' ) ?>"></a>
</div>
</header>

View File

@@ -0,0 +1,44 @@
<?php
defined( 'ABSPATH' ) || die( 'Cheatin uh?' );
/**
* @var array $data
* @var WGZ_Views $this
*/
?>
<div class="wam-info-section">
<div class="wam-info-section__warning">
<p>
<b>
<?php _e( 'Important! Each page of your website has different sets of scripts and styles files.', 'gonzales' ) ?>
</b>
</p>
<p>
<?php _e( 'Use this feature to disable unwanted scripts and styles by setting up the logic for
different types of pages. We recommend working in "Safe mode" because disabling any necessary
system script file can corrupt the website. All changes done in Safe mode are available for
administrator only. This way only you, as the administrator, can see the result of optimization.
To enable the changes for other users, uncheck Safe mode.', 'gonzales' ) ?>
</p>
<p>
<?php echo sprintf( __( 'For more details and user guides, check the plugins <a href="%s" target="_blank" rel="noreferrer noopener">documentation</a>.', 'gonzales' ), WGZ_Plugin::app()->get_support()->get_docs_url( true, 'docs' ) ) ?>
</p>
</div>
<a class="wbcr-gnz-button__pro"
href="<?php echo WGZ_Plugin::app()->get_support()->get_tracking_page_url( 'assets-manager', 'assets-manager' ) ?>"
target="_blank" rel="noreferrer noopener">'
<?php _e( 'Upgrade to Premium', 'gonzales' ) ?></a>
<div class="wam-info-section__go-to-premium">
<h3>
<span><?php _e( 'MORE IN CLEARFY BUSINESS', 'gonzales' ) ?></span>
</h3>
<ul>
<li><?php _e( 'Disable plugins (groups of scripts)', 'gonzales' ) ?></li>
<li><?php _e( 'Conditions by the link template', 'gonzales' ) ?></li>
<li><?php _e( 'Conditions by the regular expression', 'gonzales' ) ?></li>
<li><?php _e( 'Safe mode', 'gonzales' ) ?></li>
<li><?php _e( 'Statistics and optimization results', 'gonzales' ) ?></li>
</ul>
</div>
</div>

View File

@@ -0,0 +1,16 @@
<?php
defined( 'ABSPATH' ) || die( 'Cheatin uh?' );
/**
* @var array $data
* @var WGZ_Views $this
*/
?>
<ul class="wam-assets-type-tabs">
<li class="wam-assets-type-tabs__item">
<div class="wam-assets-type-tabs__button js-wam-assets-type-tabs__button wam-assets-type-tabs__button--plugins wam-assets-type-tab__active" data-type="plugins"></div>
<div class="wam-assets-type-tabs__button js-wam-assets-type-tabs__button wam-assets-type-tabs__button--misc" data-type="misc"></div>
<div class="wam-assets-type-tabs__button js-wam-assets-type-tabs__button wam-assets-type-tabs__button--theme" data-type="theme"></div>
</li>
</ul>

View File

@@ -0,0 +1,111 @@
<?php
defined('ABSPATH') || die('Cheatin uh?');
/**
* @var array $data
* @var WGZ_Views $this
*/
$plugin_name = $data['name'];
?>
<div class="wam-plugin-settings">
<div class="wam-plugin-settings__controls">
<select class="wam-select<?php echo $data['select_control_classes']; ?> js-wam-select-plugin-load-mode" data-plugin-name="<?php echo esc_attr($plugin_name) ?>">
<option value="enable"<?php selected('enable', $data['load_mode']) ?>>
<?php _e("Load plugin and its assets", 'gonzales') ?>
</option>
<option value="disable_assets"<?php selected('disable_assets', $data['load_mode']) ?>>
<?php _e("Don't load plugin assets", 'gonzales') ?>
</option>
<option value="disable_plugin"<?php selected('disable_plugin', $data['load_mode']) ?>>
<?php _e("Don't load plugin", 'gonzales') ?>
</option>
</select>
<button class="wam-button wam-button--default wam-button__icon js-wam-button__icon--cogs js-wam-open-plugin-settings<?php echo esc_attr($data['settings_button_classes']) ?>"></button>
</div>
<div class="js-wam-plugin-settings__conditions">
<input type="hidden" data-plugin-name="<?php echo esc_attr($plugin_name) ?>" class="wam-conditions-builder__settings" value="<?php echo esc_attr($data['visability']) ?>">
</div>
</div>
<div class="wam-plugin-assets wam-plugin-<?php echo esc_attr($plugin_name) ?>-assets">
<h2><?php _e('Loaded resourses on current page', 'gonzales') ?>:</h2>
<table class="wam-table wam-plugin-assets__table" style="margin:0;">
<tr>
<th class="wam-table__th-actions"><?php _e('Actions', 'gonzales') ?></th>
<th class="wam-table__th-type"><?php _e('Type', 'gonzales') ?></th>
<th class="wam-table__th-handle"><?php _e('Handle/Source', 'gonzales') ?></th>
<th class="wam-table__th-version"><?php _e('Version', 'gonzales') ?></th>
<th class="wam-table__th-size"><?php _e('Size', 'gonzales') ?></th>
</tr>
<?php if( !empty($data['assets']) ): ?>
<?php foreach((array)$data['assets'] as $resource_type => $assets): ?>
<?php foreach((array)$assets as $resource_handle => $item): ?>
<tr data-size="<?php echo esc_attr($item['size']); ?>" data-resource-type="<?php echo esc_attr($resource_type) ?>" data-resource-handle="<?php echo esc_attr($resource_handle) ?>" data-asset-handle="<?php echo esc_attr($resource_handle . '-' . $resource_type); ?>" class="js-wam-asset js-wam-<?php echo esc_attr($resource_type); ?>-asset wam-table__asset-settings<?php echo $item['row_classes']; ?>" id="wam-table__loaded-resourse-<?php echo md5($resource_handle . $resource_type . $item['url_full']); ?>">
<td class="wam-table__td-actions">
<select class="wam-select<?php echo $item['select_control_classes']; ?> js-wam-select-asset-load-mode"<?php disabled('enable' !== $data['load_mode']) ?>>
<option value="enable"<?php selected('enable', $item['load_mode']) ?>>
<?php _e('Enable', 'gonzales') ?>
</option>
<option value="disable"<?php selected('disable', $item['load_mode']) ?>>
<?php _e('Disable', 'gonzales') ?>
</option>
</select>
<button class="wam-button wam-button--default wam-button__icon js-wam-button__icon--cogs js-wam-open-asset-settings<?php echo esc_attr($item['settings_button_classes']); ?>"></button>
</td>
<td class="wam-table__td-type">
<span class="wam-asset-type wam-asset-type--<?php echo esc_attr($resource_type); ?>">
<?php echo esc_attr($resource_type); ?>
</span>
</td>
<td class="wam-table__td-handle">
<?php echo esc_html($resource_handle); ?><br>
<a href="<?php echo esc_url($item['url_full']); ?>">
<?php echo esc_html($item['url_short']); ?>
</a>
<?php do_action('wam/views/assets/handle_column/after_url', $item); ?>
<div class="wam-table__handle-deps">
<?php if( !empty($item['deps']) ): ?>
<span class="wam-colors--grey"><?php _e('Dependency by', 'gonzales') ?></span>:
<span class="wam-table__asset-deps js-wam-table__asset-deps">
<?php echo implode(', ', $item['deps']); ?>
</span><br>
<?php endif; ?>
<?php if( !empty($item['requires']) ): ?>
<span class="wam-colors--red"><?php _e('Requires for', 'gonzales') ?></span>:
<span class="wam-table__asset-requires js-wam-table__asset-requires">
<?php echo implode(', ', $item['requires']); ?>
</span>
<?php endif; ?>
</div>
</td>
<td class="wam-table__td-version"><?php echo esc_html($item['ver']); ?></td>
<td class="wam-table__td-size"><?php echo esc_html($item['size']); ?> KB</td>
</tr>
<tr id="wam-table__loaded-resourse-<?php echo md5($resource_handle . $resource_type . $item['url_full']); ?>-conditions" class="wam-table__asset-settings-conditions">
<td colspan="5">
<!--<p>
<input type="checkbox" class="wam-checkbox wam-table__checkbox">
<?php _e('Don\'t optimize file', 'gonzales') ?>
<i class="wam-help-hint wam-tooltip wam-tooltip--bottom" data-tooltip="<?php _e('Youve enabled the &#34;Optimize js scripts?&#34; and &#34;Optimize CSS options&#34; in the &#34;Minify & Combine plugin&#34;. These settings exclude scripts and styles that you dont want to optimize. Press No to add a file to the excluded list.', 'gonzales') ?>"></i>
</p>
<p>
<input type="checkbox" class="wam-checkbox wam-table__checkbox">
<?php _e('Don\'t remove query string (version)', 'gonzales') ?>
<i class="wam-help-hint wam-tooltip wam-tooltip--bottom" data-tooltip="<?php _e('Youve enabled &#34;Remove query strings&#34; from static resources in the &#34;Clearfy&#34; plugin. This list of settings helps you to exclude the necessary scripts and styles with remaining query strings. Press No to add a file to the excluded list.', 'gonzales') ?>"></i>
</p>-->
<p>
<?php _e('<strong> You must set rules to disable the resource.</strong>
For example, if you select Page -> Equals -> All posts, then the script or style will not
loaded on all pages of type post.', 'gonzales') ?>
</p>
<div class="wam-asset-conditions-builder">
<input type="hidden" data-plugin-name="<?php echo esc_attr($plugin_name) ?>" data-resource-type="<?php echo esc_attr($resource_type) ?>" data-resource-handle="<?php echo esc_attr($resource_handle) ?>" class="wam-conditions-builder__settings" value="<?php echo esc_attr($item['visability']) ?>">
</div>
</td>
</tr>
<?php endforeach; ?>
<?php endforeach; ?>
<?php endif; ?>
</table>
</div>

View File

@@ -0,0 +1,48 @@
<?php
defined( 'ABSPATH' ) || die( 'Cheatin uh?' );
/**
* @var array $data
* @var WGZ_Views $this
*/
if ( empty( $data['loaded_plugins'] ) ) {
echo 'Plugins is not found!';
return;
}
$active_plugin = reset( $data['loaded_plugins'] );
?>
<table class="wam-table">
<thead>
<tr>
<th class="wam-table__th-plugins-list"><?php _e( "Plugins", 'gonzales' ) ?></th>
<th class="wam-table__th-plugins-settings"><?php echo $active_plugin['info']['Title']; ?></th>
</tr>
</thead>
<tbody>
<tr>
<td class="wam-table__td-plugins-list">
<ul class="wam-nav-plugins">
<?php foreach ( (array) $data['loaded_plugins'] as $plugin_name => $plugin ): ?>
<li class="wam-nav-plugins__tab wam-nav-plugins__tab-load-mode--<?php echo esc_attr( str_replace( '_', '-', $plugin['load_mode'] ) ); ?> js-wam-nav-plugins__tab-switch<?php echo( $active_plugin['name'] == $plugin_name ? ' wam-nav-plugins__tab--active' : '' ) ?>">
<a href="#wam-<?php echo esc_attr( $plugin_name ); ?>">
<strong class="wam-plugin-name"><?php echo $plugin['info']['Title']; ?></strong>
<span><?php _e( 'Author', 'gonzales' ) ?>: <?php echo $plugin['info']['Author']; ?></span>
<span><?php _e( 'Version', 'gonzales' ) ?>: <?php echo $plugin['info']['Version']; ?></span>
</a>
</li>
<?php endforeach; ?>
</ul>
</td>
<td class="wam-table__td-plugins-settings">
<?php foreach ( (array) $data['loaded_plugins'] as $plugin_name => $plugin ): ?>
<div id="wam-<?php echo esc_attr( $plugin_name ); ?>" class="wam-nav-plugins__tab-content<?php echo( $active_plugin['name'] == $plugin_name ? ' js-wam-nav-plugins__tab-content--active' : '' ) ?>">
<?php $this->print_template( 'part-tab-content-assets-plugins-settings', $plugin ); ?>
</div>
<?php endforeach; ?>
</td>
</tr>
</tbody>
</table> <!-- /end .wam-table -->

View File

@@ -0,0 +1,88 @@
<?php
defined('ABSPATH') || die('Cheatin uh?');
/**
* @var array $data
* @var WGZ_Views $this
*/
if( empty($data['assets']) ) {
echo 'Assets is not found!';
return;
}
?>
<table class="wam-table">
<tr>
<th class="wam-table__th-actions"><?php _e('Actions', 'gonzales') ?></th>
<th class="wam-table__th-type"><?php _e('Type', 'gonzales') ?></th>
<th class="wam-table__th-handle"><?php _e('Handle/Source', 'gonzales') ?></th>
<th class="wam-table__th-version"><?php _e('Version', 'gonzales') ?></th>
<th class="wam-table__th-size"><?php _e('Size', 'gonzales') ?></th>
</tr>
<?php if( !empty($data['assets']) ): ?>
<?php foreach((array)$data['assets'] as $resource_type => $assets): ?>
<?php foreach((array)$assets as $resource_handle => $item): ?>
<tr data-size="<?php echo esc_attr($item['size']); ?>" data-group-type="<?php echo esc_attr($data['type']) ?>" data-resource-type="<?php echo esc_attr($resource_type) ?>" data-resource-handle="<?php echo esc_attr($resource_handle) ?>" data-asset-handle="<?php echo esc_attr($resource_handle . '-' . $resource_type); ?>" class="js-wam-asset js-wam-<?php echo esc_attr($resource_type); ?>-asset wam-table__asset-settings<?php echo $item['row_classes']; ?>" id="wam-table__loaded-resourse-<?php echo md5($resource_handle . $resource_type . $item['url_full']); ?>">
<td class="wam-table__td-actions">
<select class="wam-select<?php echo $item['select_control_classes']; ?> js-wam-select-asset-load-mode">
<option value="enable"<?php selected('enable', $item['load_mode']) ?>>
<?php _e('Enable', 'gonzales') ?>
</option>
<option value="disable"<?php selected('disable', $item['load_mode']) ?>>
<?php _e('Disable', 'gonzales') ?>
</option>
</select>
<button class="wam-button wam-button--default wam-button__icon js-wam-button__icon--cogs js-wam-open-asset-settings<?php echo esc_attr($item['settings_button_classes']); ?>"></button>
</td>
<td class="wam-table__td-type">
<span class="wam-asset-type wam-asset-type--<?php echo esc_attr($resource_type); ?>">
<?php echo esc_attr($resource_type); ?>
</span>
</td>
<td class="wam-table__td-handle">
<?php echo esc_html($resource_handle); ?><br>
<a href="<?php echo esc_url($item['url_full']); ?>">
<?php echo esc_html($item['url_short']); ?>
</a>
<?php do_action('wam/views/assets/handle_column/after_url', $item); ?>
<div class="wam-table__handle-deps">
<?php if( !empty($item['deps']) ): ?>
<span class="wam-colors--grey"><?php _e('Dependency by', 'gonzales') ?></span>:
<span class="wam-table__asset-deps js-wam-table__asset-deps">
<?php echo implode(', ', $item['deps']); ?>
</span><br>
<?php endif; ?>
<?php if( !empty($item['requires']) ): ?>
<span class="wam-colors--red"><?php _e('Requires for', 'gonzales') ?></span>:
<span class="wam-table__asset-requires js-wam-table__asset-requires">
<?php echo implode(', ', $item['requires']); ?>
</span>
<?php endif; ?>
</div>
</td>
<td class="wam-assets__table-td-version"><?php echo esc_html($item['ver']); ?></td>
<td class="wam-assets__table-td-size"><?php echo esc_html($item['size']); ?> KB</td>
</tr>
<tr id="wam-table__loaded-resourse-<?php echo md5($resource_handle . $resource_type . $item['url_full']); ?>-conditions" class="wam-table__asset-settings-conditions">
<td colspan="5">
<!-- <p>
<input type="checkbox" class="wam-checkbox wam-table__checkbox">
<?php _e('Don\'t remove query string (version)', 'gonzales') ?>
<i class="wam-help-hint wam-tooltip wam-tooltip--bottom" data-tooltip="<?php _e('Youve enabled &#34;Remove query strings&#34; from static resources in the &#34;Clearfy&#34; plugin. This list of settings helps you to exclude the necessary scripts and styles with remaining query strings. Press No to add a file to the excluded list.', 'gonzales') ?>"></i>
</p>-->
<p>
<?php _e('<strong> You must set rules to disable the resource.</strong>
For example, if you select Page -> Equals -> All posts, then the script or style will not
loaded on all pages of type post.', 'gonzales') ?>
</p>
<div class="wam-asset-conditions-builder">
<input type="hidden" data-group-type="<?php echo esc_attr($data['type']) ?>" data-resource-type="<?php echo esc_attr($resource_type) ?>" data-resource-handle="<?php echo esc_attr($resource_handle) ?>" class="wam-conditions-builder__settings" value="<?php echo esc_attr($item['visability']) ?>">
</div>
</td>
</tr>
<?php endforeach; ?>
<?php endforeach; ?>
<?php endif; ?>
</table>