Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/admin_templates/catalog_tab.tpl
Show All 29 Lines | |||||
<inp2:$prefix_InitList grid="$grid_name" parent_cat_id="any"/> | <inp2:$prefix_InitList grid="$grid_name" parent_cat_id="any"/> | ||||
<inp2:m_else/> | <inp2:m_else/> | ||||
<inp2:$prefix_InitList grid="$grid_name"/> | <inp2:$prefix_InitList grid="$grid_name"/> | ||||
</inp2:m_if> | </inp2:m_if> | ||||
// substitute form action, like from was created from here | // substitute form action, like from was created from here | ||||
document.getElementById('categories_form').action = '<inp2:m_t pass="all" no_amp="1" js_escape="1"/>'; | document.getElementById('categories_form').action = '<inp2:m_t pass="all" no_amp="1" js_escape="1"/>'; | ||||
$Catalog.setItemCount('<inp2:m_param name="prefix"/>', '<inp2:$prefix_CatalogItemCount/>'); | $Catalog.setItemCount('<inp2:m_param name="prefix"/>', '<inp2:$prefix_CatalogItemCount/>'); | ||||
$Catalog.setCurrentCategory('<inp2:m_param name="prefix"/>', <inp2:m_get name="m_cat_id" no_html_escape="1" js_escape="1"/>); | $Catalog.setCurrentCategory('<inp2:m_param name="prefix"/>', <inp2:m_get name="m_cat_id" js_escape="1"/>); | ||||
$Catalog.saveSearch('<inp2:m_Param name="prefix"/>', '<inp2:$prefix_SearchKeyword js_escape="1"/>', '<inp2:m_Param name="grid_name"/>'); | $Catalog.saveSearch('<inp2:m_Param name="prefix"/>', '<inp2:$prefix_SearchKeyword js_escape="1"/>', '<inp2:m_Param name="grid_name"/>'); | ||||
<inp2:m_RenderElement name="structure_reload_element"/> | <inp2:m_RenderElement name="structure_reload_element"/> | ||||
<inp2:m_DefineElement name="grid_parent_category_td" format=""> | <inp2:m_DefineElement name="grid_parent_category_td" format=""> | ||||
<inp2:Field name="ParentId" result_to_var="item_category" db="db"/> | <inp2:Field name="ParentId" result_to_var="item_category" db="db"/> | ||||
<inp2:m_if check="m_Get" name="type" equals_to="item_selector"> | <inp2:m_if check="m_Get" name="type" equals_to="item_selector"> | ||||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |