Файл: core/tpl/admin/modules_yandex.tpl.html
Строк: 126
<?php
{* Экспорт товаров в Янекс.Маркет *}
{if $yandex_export_successful eq 1}
{$smarty.const.EXPORT_OK}
<br><br>{$smarty.const.EXPORT_URL} <a href="{$smarty.const.CONF_FULL_SHOP_URL}index.php?do=yandex" class="inl"><b>{$smarty.const.CONF_FULL_SHOP_URL}index.php?do=yandex</b></a>
<br><br><a href="index.php?do=yandex&download=1" class="inl">{$smarty.const.EXPORT_DOWNLOAD}</a> ({$yandex_filesize} Кб)
{else}
<table class="adw">
<tr class="linsz">
<td align="left" style="padding-top: 0;"><span class="titlecol2">{$smarty.const.ADMIN_SELECT_YANDEX}</span></td>
</tr>
</table>
<form action="" method=post name="form_export" id="form_export">
<select name="categories_select[]" size="18" multiple="multiple">
{section name=im loop=$cats}
<option value="{$cats[im].categoryID}" {if in_array($cats[im].categoryID, $yandsess)}selected{/if}>{section name=j loop=$cats[im].level max=$cats[im].level} {/section}{$cats[im].name}</option>
{/section}
</select><br><br>
<input type="hidden" name="yandex_export" value="" id="yandex_export">
{$smarty.const.EXPORT_CUR_SELECT} <input type=text name=yandex_rur_rate value=1 class="textp"> у.е.
<table class="adn"><tr><td class="se5"></td></tr></table>
{$smarty.const.EXPORT_CUR_SELECT2} <select name=yandex_export_description >
<option value=0>{$smarty.const.EXPORT_CUR_SELECT0}</option>
<option value=1>{$smarty.const.EXPORT_CUR_SELECT1}</option>
<option value=2 selected>{$smarty.const.EXPORT_CUR_SELECT3}</option>
</select>
<table class="adn"><tr><td class="se5"></td></tr></table>
{$smarty.const.EXPORT_SEL_NAME} <select name="yandex_export_product_name" >
<option value="only_name">{$smarty.const.EXPORT_SEL_NAME1}</option>
<option value="path_and_name">{$smarty.const.EXPORT_SEL_NAME2}</option>
</select><table class="adn"><tr><td class="se5"></td></tr></table>
{if $smarty.const.CONF_CHECKSTOCK eq 1}<input type="checkbox" name="yandex_dont_export_negative_stock" value="1" id="id_yenstock" class="round"><label for="id_yenstock"> {$smarty.const.ADMIN_YAND_WARNING}</label><br>
<table class="adn"><tr><td class="se5"></td></tr></table>{/if}
<a href="#" onclick="document.getElementById('yandex_export').value='yandex_export';document.getElementById('form_export').submit(); return false;" class="inl">{$smarty.const.EXPORT_SEL_SUB}</a>
<input name="name" value="1" type=hidden id="clear_session">
<input type=hidden name=dpt value=modules>
<input type=hidden name=sub value=yandex>
<input type=hidden name=_export value="">
</form>
{/if}
<table class="adn"><tr><td class="se6"></td></tr></table>
<table class="adn"><tr><td class="help"><span class="titlecol2">{$smarty.const.USEFUL_FOR_YOU}</span><div class="helptext">{$smarty.const.ADMIN_ALERT_EX1}<br><br>{$smarty.const.ADMIN_ALERT_EX2}</div></td>
</tr>
</table>
{if $yandex_errormsg ne NULL}<script type="text/javascript" defer>alert('{$yandex_errormsg}')</script>{/if}
?>