PATH:
home
/
letacommog
/
lesfinessaveurs
/
wp-content
/
themes
/
Avada
/
templates
<?php /** * Privacy bar template. * * @author ThemeFusion * @copyright (c) Copyright by ThemeFusion * @link http://theme-fusion.com * @package Avada * @subpackage Core */ // Do not allow directly accessing this file. if ( ! defined( 'ABSPATH' ) ) { exit( 'Direct script access denied.' ); } $text = Avada()->settings->get( 'privacy_bar_text' ); $content = Avada()->privacy_embeds->get_privacy_content(); $content_count = is_array( $content ) ? count( $content ) : 0; $column_size = 0 !== $content_count ? 12 / $content_count : 0; $more = '0' !== Avada()->settings->get( 'privacy_bar_more' ) && 0 !== $content_count; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited $button_text = Avada()->settings->get( 'privacy_bar_button_text' ); $button_alt_text = Avada()->settings->get( 'privacy_bar_update_text' ); $settings_text = Avada()->settings->get( 'privacy_bar_more_text' ); ?> <div class="fusion-privacy-bar fusion-privacy-bar-bottom"> <div class="fusion-privacy-bar-main"> <span><?php echo do_shortcode( $text ); ?> <?php if ( $more ) : ?> <a href="#" class="fusion-privacy-bar-learn-more"><?php echo esc_attr( $settings_text ); ?> <i class="fusion-icon-angle-down"></i></a> <?php endif; ?> </span> <a href="#" class="fusion-privacy-bar-acceptance fusion-button fusion-button-default fusion-button-default-size" data-alt-text="<?php echo esc_attr( $button_alt_text ); ?>" data-orig-text="<?php echo esc_attr( $button_text ); ?>"> <?php echo esc_html( $button_text ); ?> </a> </div> <?php if ( $more ) : ?> <div class="fusion-privacy-bar-full"> <div class="fusion-row"> <div class="fusion-columns row fusion-columns-<?php echo esc_attr( $content_count ); ?> columns columns-<?php echo esc_attr( $content_count ); ?>"> <?php foreach ( $content as $id => $column ) : // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited ?> <div class="fusion-column col-lg-<?php echo esc_attr( $column_size ); ?> col-md-<?php echo esc_attr( $column_size ); ?> col-sm-<?php echo esc_attr( $column_size ); ?>"> <?php if ( '' !== $column['title'] ) : ?> <h4 class="column-title"><?php echo esc_html( $column['title'] ); ?></h4> <?php endif; ?> <?php if ( '' !== $column['description'] ) : ?> <?php echo do_shortcode( $column['description'] ); ?> <?php endif; ?> <?php if ( 'embeds' === $column['type'] && Avada()->settings->get( 'privacy_embeds' ) ) : ?> <?php $embeds = Avada()->privacy_embeds->get_embed_types(); ?> <ul class="fusion-privacy-choices"> <?php if ( is_array( $embeds ) ) : ?> <?php foreach ( $embeds as $id => $embed ) : // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited ?> <?php $selected = Avada()->privacy_embeds->is_selected( $id ) ? 'checked' : ''; ?> <?php if ( 'tracking' !== $id ) : ?> <li> <label for="bar-<?php echo esc_attr( $id ); ?>"> <input name="consents[]" type="checkbox" value="<?php echo esc_attr( $id ); ?>" <?php echo esc_attr( $selected ); ?> id="bar-<?php echo esc_attr( $id ); ?>"> <?php echo esc_html( $embed['label'] ); ?> </label> </li> <?php endif; ?> <?php endforeach; ?> <?php endif; ?> </ul> <?php elseif ( 'tracking' === $column['type'] && false !== Avada()->privacy_embeds->get_embed_type( 'tracking' ) && Avada()->settings->get( 'privacy_embeds' ) ) : ?> <?php $selected = Avada()->privacy_embeds->is_selected( 'tracking' ) ? 'checked' : ''; ?> <ul class="fusion-privacy-choices"> <li> <label for="bar-tracking"> <input name="consents[]" type="checkbox" value="tracking" <?php echo esc_attr( $selected ); ?> id="bar-tracking"> <?php esc_html_e( 'Tracking Cookies', 'Avada' ); ?> </label> </li> </ul> <?php endif; ?> </div> <?php endforeach; ?> </div> </div> </div> <?php endif; ?> </div>
[+]
..
[-] side-header.php
[edit]
[-] sidebar-2.php
[edit]
[-] header-v5.php
[edit]
[-] header-v2.php
[edit]
[-] logo.php
[edit]
[-] header-1.php
[edit]
[-] wc-top-user-container.php
[edit]
[-] wc-before-shop-item-buttons.php
[edit]
[-] wc-product-title.php
[edit]
[-] privacy-bar.php
[edit]
[-] menu-mobile-flyout.php
[edit]
[-] wc-thumbnail-clean.php
[edit]
[-] related-posts.php
[edit]
[-] wc-product-search-form.php
[edit]
[-] wc-before-single-product-summary-close.php
[edit]
[-] pages-rich-snippets.php
[edit]
[-] wc-show-details-button.php
[edit]
[-] blog-post-date.php
[edit]
[-] footer-content.php
[edit]
[-] title-bar.php
[edit]
[-] wc-after-shop-item-buttons.php
[edit]
[-] social-sharing.php
[edit]
[-] wc-product-loop-outofstock-flash.php
[edit]
[-] header-secondary-main-menu.php
[edit]
[-] wc-cart-shipping-calc.php
[edit]
[-] header-v3.php
[edit]
[-] layerslider.php
[edit]
[-] header-v4.php
[edit]
[-] wc-before-shop-loop-item-title-close.php
[edit]
[-] wc-after-single-product-summary.php
[edit]
[-] wc-view-order.php
[edit]
[-] blog-layout.php
[edit]
[-] wc-stock.php
[edit]
[-] post-format-box.php
[edit]
[-] wc-rollover-buttons-linebreak.php
[edit]
[-] footer-social-icons.php
[edit]
[-] footer-copyright-notice.php
[edit]
[-] wc-catalog-ordering.php
[edit]
[-] wc-add-product-wrappers-open.php
[edit]
[-] wc-before-shop-loop-item-title-open.php
[edit]
[-] wc-proceed-to-checkout.php
[edit]
[-] menu-mobile-search.php
[edit]
[-] wc-after-container.php
[edit]
[-] elasticslider.php
[edit]
[-] wc-thumbnail-classic.php
[edit]
[-] header-4.php
[edit]
[-] wc-cart-collaterals.php
[edit]
[-] header-3.php
[edit]
[-] revslider.php
[edit]
[-] wc-before-single-product-summary-open.php
[edit]
[-] header-v7.php
[edit]
[-] wc-before-checkout-form.php
[edit]
[-] author-info.php
[edit]
[-] menu-mobile-modern.php
[edit]
[-] wc-checkout-coupon-form.php
[edit]
[-] wc-single-title.php
[edit]
[-] wc-add-product-wrappers-close.php
[edit]
[-] header-v1.php
[edit]
[-] sidebar-1.php
[edit]
[-] header-v6.php
[edit]
[-] header-secondary.php
[edit]
[-] header-2.php
[edit]
[-] header-content-3.php
[edit]
[-] menu-mobile-main.php
[edit]
[-] wc-add-product-border.php
[edit]