Differential D97 Diff 275 branches/5.3.x/core/admin_templates/catalog/item_selector/item_selector_catalog.tpl
Changeset View
Changeset View
Standalone View
Standalone View
branches/5.3.x/core/admin_templates/catalog/item_selector/item_selector_catalog.tpl
Show All 9 Lines | |||||
<!-- ToolBar --> | <!-- ToolBar --> | ||||
<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0"> | <table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0"> | ||||
<tbody> | <tbody> | ||||
<tr> | <tr> | ||||
<td> | <td> | ||||
<input type="hidden" name="m_cat_id" value="<inp2:m_get name="m_cat_id"/>"/> | <input type="hidden" name="m_cat_id" value="<inp2:m_get name="m_cat_id"/>"/> | ||||
<inp2:m_include t="catalog/item_selector/item_selector_toolbar" is_catalog="1"/> | <inp2:m_include t="catalog/item_selector/item_selector_toolbar" is_catalog="1"/> | ||||
<script type="text/javascript"> | <script type="text/javascript"> | ||||
var $Catalog = new Catalog('<inp2:m_Link template="#TEMPLATE_NAME#" pass_through="type" type="item_selector" m_cat_id="#CATEGORY_ID#" no_amp="1" js_escape="1"/>', 'is_catalog_', 'ItemSelectorCatalog'); | var $Catalog = new Catalog('<inp2:adm_SelectorLink template="#TEMPLATE_NAME#" pass="m" pass_through="type" type="item_selector" m_cat_id="#CATEGORY_ID#" no_amp="1" js_escape="1"/>', 'is_catalog_', 'ItemSelectorCatalog'); | ||||
</script> | </script> | ||||
</td> | </td> | ||||
<inp2:m_RenderElement name="catalog_search_box"/> | <inp2:m_RenderElement name="catalog_search_box"/> | ||||
</tr> | </tr> | ||||
</tbody> | </tbody> | ||||
</table> | </table> | ||||
<inp2:m_RenderElement name="kernel_form_end"/> | <inp2:m_RenderElement name="kernel_form_end"/> | ||||
Show All 9 Lines | |||||
Application.setHook( | Application.setHook( | ||||
'm:OnAfterWindowLoad', | 'm:OnAfterWindowLoad', | ||||
function() { | function() { | ||||
$Catalog.Init(); | $Catalog.Init(); | ||||
} | } | ||||
); | ); | ||||
</script> | </script> | ||||
<inp2:m_include t="incs/footer" noform="yes"/> | <inp2:m_include t="incs/footer" noform="yes"/> | ||||
No newline at end of file |