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/widgets/security/ |
/** * @class MODx.panel.ResourceGroups * @extends MODx.FormPanel * @param {Object} config An object of configuration properties * @xtype modx-panel-resource-groups */ MODx.panel.ResourceGroups = function(config) { config = config || {}; Ext.applyIf(config,{ id: 'modx-panel-resource-groups' ,cls: 'container' ,defaults: { collapsible: false ,autoHeight: true } ,items: [{ html: '<h2>'+_('resource_groups')+'</h2>' ,border: false ,cls: 'modx-page-header' ,id: 'modx-resource-groups-header' },{ layout: 'form' ,defaults: { border: false ,autoHeight: true } ,items: [{ html: '<p>'+_('rrg_drag')+'</p>' ,bodyCssClass: 'panel-desc' },{ layout: 'column' ,cls:'main-wrapper' ,defaults: { border: false } ,items: [{ columnWidth: .5 ,items: [{ xtype: 'modx-tree-resource-group' ,id: 'modx-gr-tree-resourcegroup' ,ddGroup: 'rg2resource' ,height: 400 }] },{ columnWidth: .5 ,defaults: { autoHeight: true } ,items: [{ xtype: 'modx-tree-resource-simple' ,id: 'modx-gr-tree-resource' ,url: MODx.config.connectors_url+'resource/index.php' ,baseParams: { action: 'getNodes' ,noMenu: true } ,ddGroup: 'rg2resource' ,title: _('resources') ,enableDrop: false ,allowDrop: false ,enableDD: false ,rootVisible: false }] }] }] }] }); MODx.panel.ResourceGroups.superclass.constructor.call(this,config); }; Ext.extend(MODx.panel.ResourceGroups,MODx.FormPanel); Ext.reg('modx-panel-resource-groups',MODx.panel.ResourceGroups);