XOOPS 2.5.6
Final
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
admin_header.php
Go to the documentation of this file.
1
<?php
20
$path
= dirname(dirname(dirname(dirname(__FILE__))));
21
include_once
$path
.
'/mainfile.php'
;
22
include_once
$path
.
'/include/cp_functions.php'
;
23
require_once
$path
.
'/include/cp_header.php'
;
24
25
global
$xoopsModule
;
26
27
$thisModuleDir
=
$GLOBALS
[
'xoopsModule'
]->getVar(
'dirname'
);
28
29
//if functions.php file exist
30
//require_once dirname(dirname(__FILE__)) . '/include/functions.php';
31
32
// Load language files
33
xoops_loadLanguage
(
'admin'
,
$thisModuleDir
);
34
xoops_loadLanguage
(
'modinfo'
,
$thisModuleDir
);
35
xoops_loadLanguage
(
'main'
,
$thisModuleDir
);
36
37
$pathIcon16
=
'../'
.$xoopsModule->getInfo(
'icons16'
);
38
$pathIcon32
=
'../'
.$xoopsModule->getInfo(
'icons32'
);
39
$pathModuleAdmin
= $xoopsModule->getInfo(
'dirmoduleadmin'
);
40
41
$myts
=&
MyTextSanitizer::getInstance
();
42
43
if
(!isset(
$xoopsTpl
) || !is_object(
$xoopsTpl
)) {
44
include_once XOOPS_ROOT_PATH .
"/class/template.php"
;
45
$xoopsTpl
=
new
XoopsTpl
();
46
}
47
48
include_once
$GLOBALS
[
'xoops'
]->path(
$pathModuleAdmin
.
'/moduleadmin.php'
);
49
50
xoops_loadLanguage
(
'user'
);
51
if
( !isset(
$GLOBALS
[
'xoopsTpl'
]) || !is_object(
$GLOBALS
[
'xoopsTpl'
]) ) {
52
include_once
$GLOBALS
[
'xoops'
]->path(
"/class/template.php"
);
53
$GLOBALS
[
'xoopsTpl'
] =
new
XoopsTpl
();
54
}
L:
0xoops
xoops-2.5.6
htdocs
modules
profile
admin
admin_header.php
Generated on Fri May 10 2013 01:04:27 for XOOPS 2.5.6 by
1.8.3.1