Files
interblue.pl/modules/pshowimporter/views/templates/admin/config_loadManufacturers.tpl
2024-10-25 14:16:28 +02:00

27 lines
1.2 KiB
Smarty

{foreach item='cat' key='key' from=$fileManufacturers}
{if (empty($cat))}{continue}{/if}
<div class="form-group col-md-12 col-lg-5">
<label class="control-label col-lg-7">{$cat}</label>
<div class="col-lg-5">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="manufacturer_{$cat|md5}" id="manufacturer_{$cat|md5}_off" value="0" class="importManufacturer"
{if (!isset($skipped_manufacturers) || !isset($skipped_manufacturers[md5($cat)]) || !$skipped_manufacturers[md5($cat)])}checked='checked'{/if}>
<label for="manufacturer_{$cat|md5}_off">{l s='Import' mod='pshowimporter'}</label>
<input type="radio" name="manufacturer_{$cat|md5}" id="manufacturer_{$cat|md5}_on" value="1" class="skipManufacturer"
{if (isset($skipped_manufacturers) && isset($skipped_manufacturers[md5($cat)]) && $skipped_manufacturers[md5($cat)])}checked='checked'{/if}>
<label for="manufacturer_{$cat|md5}_on">{l s='Skip' mod='pshowimporter'}</label>
<a class="slide-button btn"></a>
</span>
</div>
</div>
{/foreach}
<input type='hidden' name="manufacturersLoaded" value="1">