Project

General

Profile

Revision 217

View differences:

trunk/scripts/app/view/forms/Sysinfo.js.php
1
<?php
2
if( !defined( '_JEXEC' )) {
3
	$_REQUEST['action'] = 'include_javascript';
4
	$_GET['subdir'][] = 'app/view/forms';
5
	$_GET['file'][] = str_replace('.php', '', basename(__FILE__) );
6
	include('../../../../index.php');
7
}
8
?>	
9
Ext.define( 'eXtplorer.view.forms.Sysinfo', {
10
	extend: "Ext.tab.Panel",
11
	height: 350,
12
	width: 700,
13
	activeTab: 0,
14
	items: [{
15
		title: "<?php echo ext_Lang::msg( 'aboutlink' ) ?>",
16
		autoScroll: true,
17
		loader: { 
18
			url: "index.php",
19
			params: {
20
				option: "com_extplorer",
21
				action: "get_about",
22
				action2: "about"
23
			}
24
		},
25
        listeners: {
26
        	render: function(tab) {
27
                tab.loader.load();
28
       		}
29
        }
30
	},{
31
		title: "<?php echo ext_Lang::msg( 'sisysteminfo' ) ?>",
32
		autoScroll: true,
33
		loader: { 
34
			url: "index.php",
35
			params: {
36
				option: "com_extplorer",
37
				action: "get_about",
38
				action2: "systeminfo"
39
			}
40
		},
41
        listeners: {
42
        	render: function(tab) {
43
                tab.loader.load();
44
       		}
45
        }
46
	},{
47
		title: "<?php echo ext_Lang::msg('siphpinfo' ); ?>",
48
		autoScroll: true,
49
		loader: { 
50
			url: "index.php",
51
			params: {
52
				option: "com_extplorer",
53
				action: "get_about",
54
				action2: "phpinfo"
55
			}
56
		},
57
        listeners: {
58
        	render: function(tab) {
59
                tab.loader.load();
60
       		}
61
        }
62
	}]
63
});
0 64

  

Also available in: Unified diff