Changeset View
Changeset View
Standalone View
Standalone View
branches/5.3.x/core/admin_templates/catalog/advanced_view.tpl
Show All 32 Lines | |||||
menuMgr.flowOverFormElement = true; | menuMgr.flowOverFormElement = true; | ||||
Request.progressText = '<inp2:m_phrase name="la_title_Loading" no_editing="1" escape="1"/>'; | Request.progressText = '<inp2:m_phrase name="la_title_Loading" no_editing="1" escape="1"/>'; | ||||
Catalog.prototype.AfterInit = function() { | Catalog.prototype.AfterInit = function() { | ||||
this.switchTab(); | this.switchTab(); | ||||
} | } | ||||
var $Catalog = new Catalog('<inp2:m_Link template="#TEMPLATE_NAME#" pass_through="ts,td" ts="showall" td="no" m_cat_id="#CATEGORY_ID#" no_amp="1" js_escape="1"/>', 'advanced_view_', 'AdvancedView'); | var $Catalog = new Catalog('<inp2:adm_SelectorLink template="#TEMPLATE_NAME#" pass="m" pass_through="ts,td" ts="showall" td="no" m_cat_id="#CATEGORY_ID#" no_amp="1" js_escape="1"/>', 'advanced_view_', 'AdvancedView'); | ||||
var a_toolbar = new ToolBar(); | var a_toolbar = new ToolBar(); | ||||
<inp2:m_set ts="showall" td="no"/> | <inp2:m_set ts="showall" td="no"/> | ||||
<inp2:m_ModuleInclude template="catalog_tab" tab_init="1" replace_m="yes"/> | <inp2:m_ModuleInclude template="catalog_tab" tab_init="1" replace_m="yes"/> | ||||
a_toolbar.AddButton( new ToolBarButton('edit', '<inp2:m_phrase label="la_ToolTip_Edit" escape="1"/>', edit) ); | a_toolbar.AddButton( new ToolBarButton('edit', '<inp2:m_phrase label="la_ToolTip_Edit" escape="1"/>', edit) ); | ||||
a_toolbar.AddButton( new ToolBarButton('delete', '<inp2:m_phrase label="la_ToolTip_Delete" escape="1"/>', | a_toolbar.AddButton( new ToolBarButton('delete', '<inp2:m_phrase label="la_ToolTip_Delete" escape="1"/>', | ||||
▲ Show 20 Lines • Show All 91 Lines • ▼ Show 20 Line(s) | |||||
$Catalog.switchTab('<inp2:m_get var="SetTab"/>.showall'); | $Catalog.switchTab('<inp2:m_get var="SetTab"/>.showall'); | ||||
</inp2:m_if> | </inp2:m_if> | ||||
getFrame('head').$('#extra_toolbar').html('<inp2:m_RenderElement name="extra_toolbar" js_escape="1"/>'); | getFrame('head').$('#extra_toolbar').html('<inp2:m_RenderElement name="extra_toolbar" js_escape="1"/>'); | ||||
} | } | ||||
); | ); | ||||
</script> | </script> | ||||
<inp2:m_include t="incs/footer" noform="yes"/> | <inp2:m_include t="incs/footer" noform="yes"/> | ||||
No newline at end of file |