{block name=xgx_bare_tabcontent_footer}
<div role="tabpanel" class="tab-pane fade" id="template-footer">
    <div class="container-fluid">
        <div class="row">
            <div class="col-md-12">

                {block name=footer_contact_content}
                <div class="option">
                    <div class="form-group">
                        <label for="footer-contact-content">{txt key=TEXT_XGX_BARE_FOOTER_CONTACT}</label>
                        <p class="help-block">{txt key=TEXT_XGX_BARE_FOOTER_CONTACT_BODY}</p>
                        <select id="footer-contact-content" name="properties[footer_contact_content]" class="selectpicker" data-style="btn-default" style="display: none;" tabindex="-98">
                            {foreach $contents as $option}
                            <option value="{$option.id}" {if $smarty.const.FOOTER_CONTACT_CONTENT eq $option.id}selected{/if}>{$option.name}</option>
                            {/foreach}
                        </select>
                    </div>
                </div>
                {/block}

                {block name=footer_store_slogan}
                <div class="option">
                    <div class="form-group">
                        <label for="footer-store-slogan">{txt key=TEXT_XGX_BARE_FOOTER_SLOGAN}</label>
                        <p class="help-block">{txt key=TEXT_XGX_BARE_FOOTER_SLOGAN_BODY}</p>
                        <select id="footer-store-slogan" name="properties[footer_store_slogan]" class="selectpicker" data-style="btn-default" style="display: none;" tabindex="-98">
                            {foreach $conf_truefalse as $option}
                            <option value="{$option.id}" {if $smarty.const.FOOTER_STORE_SLOGAN eq $option.id}selected{/if}>{$option.name}</option>
                            {/foreach}
                        </select>
                    </div>
                </div>
                {/block}

                {block name=footer_custom_payment_logos}
                {if $payment_logos}
                <div class="option">
                    <div class="form-group">
                        <label for="custom-payment-logos">{txt key=TEXT_XGX_BARE_FOOTER_PAYMENT_LOGOS}</label>
                        <p class="help-block">{txt key=TEXT_XGX_BARE_FOOTER_PAYMENT_LOGOS_BODY}</p>
                        <select id="custom-payment-logos" name="properties[footer_custom_payment_logos]" class="selectpicker" data-relation="true" data-style="btn-default" style="display: none;" tabindex="-98">
                            {foreach $conf_truefalse as $option}
                            <option value="{$option.id}" {if $option.id eq 'true'}data-related="#custom-payment-logos-option"{/if} {if $smarty.const.FOOTER_CUSTOM_PAYMENT_LOGOS eq $option.id}selected{/if}>{$option.name}</option>
                            {/foreach}
                        </select>
                    </div>
                    <div class="option option-sub {if $smarty.const.FOOTER_CUSTOM_PAYMENT_LOGOS eq 'true'}open{/if}" id="custom-payment-logos-option">
                        <div class="form-group">
                            <label for="custom-payment-logos">{txt key=TEXT_XGX_BARE_FOOTER_CUSTOM_ICONS_SELECTION}</label>
                            <p class="help-block">{txt key=TEXT_XGX_BARE_FOOTER_CUSTOM_ICONS_SELECTION_BODY}</p>
                            <ul class="list-inline list-unstyled option-img">
                                {assign var=selected_payment_logos value=explode(';', $smarty.const.CUSTOM_PAYMENT_LOGOS)}
                                {foreach $payment_logos as $payment_logo}
                                <li>
                                    <label class="btn btn-link">
                                        <img src="{$payment_logo.image}" alt="{$payment_logo.name}" class="img-thumbnail img-check {if in_array($payment_logo.image, $selected_payment_logos)}check{/if}">
                                        <input id="custom-payment-logo-{$payment_logo.name}" name="properties[custom_payment_logos][]" {if in_array($payment_logo.image, $selected_payment_logos)}checked{/if} type="checkbox" value="{$payment_logo.image}" class="hidden" autocomplete="off">
                                    </label>
                                </li>
                                {/foreach}
                            </ul>
                        </div>
                    </div>
                </div>
                {/if}
                {/block}

                {block name=footer_custom_shipping_logos}
                {if $shipping_logos}
                <div class="option">
                    <div class="form-group">
                        <label for="custom-shipping-logos">{txt key=TEXT_XGX_BARE_FOOTER_SHIPPING_LOGOS}</label>
                        <p class="help-block">{txt key=TEXT_XGX_BARE_FOOTER_SHIPPING_LOGOS_BODY}</p>
                        <select id="custom-shipping-logos" name="properties[footer_custom_shipping_logos]" class="selectpicker" data-relation="true" data-style="btn-default" style="display: none;" tabindex="-98">
                            {foreach $conf_truefalse as $option}
                            <option value="{$option.id}" {if $option.id eq 'true'}data-related="#custom-shipping-logos-option"{/if} {if $smarty.const.FOOTER_CUSTOM_SHIPPING_LOGOS eq $option.id}selected{/if}>{$option.name}</option>
                            {/foreach}
                        </select>
                    </div>
                    <div class="option option-sub {if $smarty.const.FOOTER_CUSTOM_SHIPPING_LOGOS eq 'true'}open{/if}" id="custom-shipping-logos-option">
                        <div class="form-group">
                            <label for="custom-shipping-logos">{txt key=TEXT_XGX_BARE_FOOTER_CUSTOM_ICONS_SELECTION}</label>
                            <p class="help-block">{txt key=TEXT_XGX_BARE_FOOTER_CUSTOM_ICONS_SELECTION_BODY}</p>
                            <ul class="list-inline list-unstyled option-img">
                                {assign var=selected_shipping_logos value=explode(';', $smarty.const.CUSTOM_SHIPPING_LOGOS)}
                                {foreach $shipping_logos as $shipping_logo}
                                <li>
                                    <label class="btn btn-link">
                                        <img src="{$shipping_logo.image}" alt="{$shipping_logo.name}" class="img-thumbnail img-check {if in_array($shipping_logo.image, $selected_shipping_logos)}check{/if}">
                                        <input id="custom-shipping-logo-{$shipping_logo.name}" name="properties[custom_shipping_logos][]" {if in_array($shipping_logo.image, $selected_shipping_logos)}checked{/if} type="checkbox" value="{$shipping_logo.image}" class="hidden" autocomplete="off">
                                    </label>
                                </li>
                                {/foreach}
                            </ul>
                        </div>
                    </div>
                </div>
                {/if}
                {/block}

                {block name=footer_manufacturer_box}
                <div class="option">
                    <div class="form-group">
                        <label for="footer-manufacturer-box">{txt key=TEXT_XGX_BARE_FOOTER_MANUFACTURERS}</label>
                        <p class="help-block">{txt key=TEXT_XGX_BARE_FOOTER_MANUFACTURERS_BODY}</p>
                        <select id="footer-manufacturer-box" name="properties[footer_manufacturer_box]" class="selectpicker" data-style="btn-default" style="display: none;" tabindex="-98">
                            {foreach $conf_truefalse as $option}
                            <option value="{$option.id}" {if $smarty.const.FOOTER_MANUFACTURER_BOX eq $option.id}selected{/if}>{$option.name}</option>
                            {/foreach}
                        </select>
                    </div>
                </div>
                {/block}

                {block name=footer_currency_box}
                <div class="option">
                    <div class="form-group">
                        <label for="footer-currency-box">{txt key=TEXT_XGX_BARE_FOOTER_CURRENCY}</label>
                        <p class="help-block">{txt key=TEXT_XGX_BARE_FOOTER_CURRENCY_BODY}</p>
                        <select id="footer-currency-box" name="properties[footer_currency_box]" class="selectpicker" data-style="btn-default" style="display: none;" tabindex="-98">
                            {foreach $conf_truefalse as $option}
                            <option value="{$option.id}" {if $smarty.const.FOOTER_CURRENCY_BOX eq $option.id}selected{/if}>{$option.name}</option>
                            {/foreach}
                        </select>
                    </div>
                </div>
                {/block}

                {block name=footer_seotext_content}
                <div class="option">
                    <div class="form-group">
                        <label for="footer-seotext-content">{txt key=TEXT_XGX_BARE_FOOTER_SEO_TEXT}</label>
                        <p class="help-block">{txt key=TEXT_XGX_BARE_FOOTER_SEO_TEXT_BODY}</p>
                        <select id="footer-seotext-content" name="properties[footer_seotext_content]" class="selectpicker" data-style="btn-default" style="display: none;" tabindex="-98">
                            {foreach $contents as $option}
                            <option value="{$option.id}" {if $smarty.const.FOOTER_SEOTEXT_CONTENT eq $option.id}selected{/if}>{$option.name}</option>
                            {/foreach}
                        </select>
                    </div>
                </div>
                {/block}

                {block name=footer_google_maps}
                <div class="option">
                    <div class="form-group">
                        <label for="footer-google-maps">{txt key=TEXT_XGX_BARE_FOOTER_GOOGLE_MAPS}</label>
                        <p class="help-block">{txt key=TEXT_XGX_BARE_FOOTER_GOOGLE_MAPS_BODY}</p>
                        <select id="footer-google-maps" name="properties[footer_google_maps]" class="selectpicker" data-relation="true" data-style="btn-default" style="display: none;" tabindex="-98">
                            {foreach $conf_truefalse as $option}
                            <option value="{$option.id}" {if $option.id eq 'true'}data-related="#footer-google-maps-option"{/if} {if $smarty.const.FOOTER_GOOGLE_MAPS eq $option.id}selected{/if}>{$option.name}</option>
                            {/foreach}
                        </select>
                    </div>
                    <div class="option option-sub {if $smarty.const.FOOTER_GOOGLE_MAPS eq 'true'}open{/if}" id="footer-google-maps-option">
                        <div class="form-group">
                            <label for="footer-google-maps-link">{txt key=TEXT_XGX_BARE_FOOTER_GOOGLE_MAPS_LINK}</label>
                            <p class="help-block">{txt key=TEXT_XGX_BARE_FOOTER_GOOGLE_MAPS_LINK_BODY}</p>
                            <input id="footer-google-maps-link" name="properties[footer_google_maps_link]" type="url" class="form-control" style="width: 100%;" placeholder="{txt key=TEXT_XGX_BARE_FOOTER_GOOGLE_MAPS_LINK_PLACEHOLDER}" value='{$smarty.const.FOOTER_GOOGLE_MAPS_LINK}'>
                        </div>
                    </div>
                </div>
                {/block}
            </div>
        </div>
    </div>
</div>
{/block}