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/sections/ |
/** * Loads the welcome page * * @class MODx.page.Welcome * @extends MODx.Component * @param {Object} config An object of configuration options * @xtype page-welcome */ MODx.page.Welcome = function(config) { config = config || {}; Ext.applyIf(config,{ components: [{ xtype: 'modx-panel-welcome' ,renderTo: 'modx-panel-welcome-div' ,dashboard: config.dashboard || {} }] }); MODx.page.Welcome.superclass.constructor.call(this,config); }; Ext.extend(MODx.page.Welcome,MODx.Component); Ext.reg('modx-page-welcome',MODx.page.Welcome); MODx.loadWelcomePanel = function(url) { if (!url) return; MODx.helpWindow = new Ext.Window({ title: _('welcome_title') ,width: 850 ,height: 500 ,modal: true ,layout: 'fit' ,html: '<iframe onload="parent.MODx.helpWindow.getEl().unmask();" src="' + url + '" width="100%" height="100%" frameborder="0"></iframe>' }); MODx.helpWindow.show(Ext.getBody()); };