header.php 1 location
|
@@ 24-27 (lines=4) @@
|
21 |
|
$GLOBALS['xoTheme'] = new \xos_opal_Theme(); |
22 |
|
} |
23 |
|
|
24 |
|
if (!isset($GLOBALS['xoopsTpl']) || !$GLOBALS['xoopsTpl'] instanceof \XoopsTpl) { |
25 |
|
require $GLOBALS['xoops']->path('class/template.php'); |
26 |
|
$GLOBALS['xoopsTpl'] = new \XoopsTpl(); |
27 |
|
} |
28 |
|
|
admin/admin_header.php 1 location
|
@@ 51-54 (lines=4) @@
|
48 |
|
/** @var Xmf\Module\Admin $adminObject */ |
49 |
|
$adminObject = \Xmf\Module\Admin::getInstance(); |
50 |
|
|
51 |
|
if (!$GLOBALS['xoopsTpl'] instanceof \XoopsTpl) { |
52 |
|
require_once $GLOBALS['xoops']->path('class/template.php'); |
53 |
|
$GLOBALS['xoopsTpl'] = new \XoopsTpl(); |
54 |
|
} |
55 |
|
|
56 |
|
// Load language files |
57 |
|
$helper->loadLanguage('admin'); |
include/common.php 1 location
|
@@ 87-90 (lines=4) @@
|
84 |
|
// MyTextSanitizer object |
85 |
|
$myts = \MyTextSanitizer::getInstance(); |
86 |
|
|
87 |
|
if (!isset($GLOBALS['xoopsTpl']) || !($GLOBALS['xoopsTpl'] instanceof \XoopsTpl)) { |
88 |
|
require_once $GLOBALS['xoops']->path('class/template.php'); |
89 |
|
$GLOBALS['xoopsTpl'] = new \XoopsTpl(); |
90 |
|
} |
91 |
|
|
92 |
|
$GLOBALS['xoopsTpl']->assign('mod_url', XOOPS_URL . '/modules/' . $moduleDirName); |
93 |
|
// Local icons path |