Server : Apache System : Linux indy02.toastserver.com 3.10.0-962.3.2.lve1.5.85.el7.x86_64 #1 SMP Thu Apr 18 15:18:36 UTC 2024 x86_64 User : palandch ( 1163) PHP Version : 7.1.33 Disable Function : NONE Directory : /home/palandch/public_html/manager/assets/modext/workspace/lexicon/ |
/** * Loads the panel for managing lexicons. * * @class MODx.panel.Lexicon * @extends MODx.FormPanel * @param {Object} config An object of configuration properties * @xtype modx-panel-lexicon */ MODx.panel.Lexicon = function(config) { config = config || {}; Ext.applyIf(config,{ id: 'modx-panel-lexicon' ,cls: 'container' ,itemId: 'panel-lexicon' ,bodyStyle: '' ,defaults: { autoHeight: true, collapsible: false } ,items: [{ html: '<h2>'+_('lexicon_management')+'</h2>' ,border: false ,id: 'modx-lexicon-header' ,itemId: 'lexicon-header' ,cls: 'modx-page-header' },MODx.getPageStructure([{ title: _('lexicon_management') ,layout: 'form' ,items: [{ html: '<p>'+_('lexicon_management_desc')+'</p>' ,bodyCssClass: 'panel-desc' ,border: false },{ xtype: 'modx-grid-lexicon' ,itemId: 'grid-lexicon' ,cls: 'main-wrapper' ,title: '' ,preventRender: true }] }])] }); MODx.panel.Lexicon.superclass.constructor.call(this,config); }; Ext.extend(MODx.panel.Lexicon,MODx.FormPanel); Ext.reg('modx-panel-lexicon',MODx.panel.Lexicon);