Issues (584)

footer.php (1 issue)

Labels
Severity
1
<?php
2
/*
3
 You may not change or alter any portion of this comment or credits
4
 of supporting developers from this source code or any supporting source code
5
 which is considered copyrighted (c) material of the original comment or credit authors.
6
7
 This program is distributed in the hope that it will be useful,
8
 but WITHOUT ANY WARRANTY; without even the implied warranty of
9
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10
*/
11
12
/**
13
 * wgGitHub module for xoops
14
 *
15
 * @copyright      2020 XOOPS Project (https://xooops.org)
16
 * @license        GPL 2.0 or later
17
 * @package        wggithub
18
 * @since          1.0
19
 * @min_xoops      2.5.10
20
 * @author         Goffy - XOOPS Development Team - Email:<[email protected]> - Website:<https://wedega.com>
21
 */
22
23
if ($helper->getConfig('show_breadcrumbs') && \count($xoBreadcrumbs) > 1) {
24
    $GLOBALS['xoopsTpl']->assign('showBreadcrumb', $helper->getConfig('show_breadcrumbs'));
25
    $GLOBALS['xoopsTpl']->assign('xoBreadcrumbs', $xoBreadcrumbs);
26
}
27
$GLOBALS['xoopsTpl']->assign('adv', $helper->getConfig('advertise'));
28
// 
29
$GLOBALS['xoopsTpl']->assign('bookmarks', $helper->getConfig('bookmarks'));
30
$GLOBALS['xoopsTpl']->assign('fbcomments', $helper->getConfig('fbcomments'));
31
// 
32
$GLOBALS['xoopsTpl']->assign('admin', \WGGITHUB_ADMIN);
33
$GLOBALS['xoopsTpl']->assign('copyright', $copyright);
34
// 
35
include_once \XOOPS_ROOT_PATH . '/footer.php';
0 ignored issues
show
The constant XOOPS_ROOT_PATH was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
36