@@ 66-69 (lines=4) @@ | ||
63 | */ |
|
64 | public function render() |
|
65 | { |
|
66 | if (!isset($GLOBALS['xoTheme']) || !is_object($GLOBALS['xoTheme'])) { |
|
67 | require $GLOBALS['xoops']->path('class/theme.php'); |
|
68 | $GLOBALS['xoTheme'] = new \xos_opal_Theme(); |
|
69 | } |
|
70 | ||
71 | require $GLOBALS['xoops']->path('class/template.php'); |
|
72 | $breadcrumbTpl = new \XoopsTpl(); |
@@ 19-22 (lines=4) @@ | ||
16 | ||
17 | $myts = \MyTextSanitizer::getInstance(); |
|
18 | ||
19 | if (!isset($GLOBALS['xoTheme']) || !$GLOBALS['xoTheme'] instanceof \xos_opal_Theme) { |
|
20 | require $GLOBALS['xoops']->path('class/theme.php'); |
|
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'); |