File size: 896 Bytes
07c3cdd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Ext.namespace("phpInfo");

phpInfo.application = {
    init: function ()
    {
        //Components
        var pnlMain = new Ext.Panel({
            id: "pnlMain",

            layout: "border",

            border: false,
            title: _("ID_PHP_INFO"),

            items: [
                {
                    xtype: "panel",

                    region: "center",

                    margins: {top: 10, right: 10, bottom: 10, left: 10},
                    border: false,

                    html: "<iframe src=\"../setup/systemInfo?option=phpinfo\" width=\"100%\" height=\"100%\" frameborder=\"0\" style=\"border: 0;\"></iframe>"
                }
            ]
        });

        //Load all panels
        var viewport = new Ext.Viewport({
            layout: "fit",
            items: [pnlMain]
        });
    }
}

Ext.onReady(phpInfo.application.init, phpInfo.application);