collections.panel.TemplateHome = function(config) { config = config || {}; Ext.apply(config,{ border: false ,baseCls: 'modx-formpanel' ,cls: 'container' ,items: [{ html: '

'+_('collections.template.page_title')+'

' ,border: false ,cls: 'modx-page-header' },{ xtype: 'modx-tabs' ,defaults: { border: false ,autoHeight: true } ,border: true ,activeItem: 0 ,hideMode: 'offsets' ,items: [{ title: _('collections.template.templates') ,items: [{ html: '

'+_('collections.template.templates_desc')+'

' ,border: false ,bodyCssClass: 'panel-desc' },{ xtype: 'collections-grid-template' ,preventRender: true ,cls: 'main-wrapper' }] }] }] }); collections.panel.TemplateHome.superclass.constructor.call(this,config); }; Ext.extend(collections.panel.TemplateHome,MODx.Panel); Ext.reg('collections-panel-template-home',collections.panel.TemplateHome);