ggoffy /
wgsitenotice
| 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 | * wgSitenotice module for xoops |
||
| 13 | * |
||
| 14 | * @copyright XOOPS Project (https://xoops.org) |
||
| 15 | * @license GPL 2.0 or later |
||
| 16 | * @package wgsitenotice |
||
| 17 | * @since 1.0 |
||
| 18 | * @min_xoops 2.5.11 |
||
| 19 | * @author Goffy (xoops.wedega.com) - Email:<[email protected]> - Website:<https://xoops.wedega.com> |
||
| 20 | */ |
||
| 21 | |||
| 22 | use XoopsModules\Wgsitenotice\Helper; |
||
| 23 | |||
| 24 | $helper = Helper::getInstance(); |
||
| 25 | |||
| 26 | $GLOBALS['xoopsTpl']->assign('sysPathIcon32', $sysPathIcon32); |
||
| 27 | $GLOBALS['xoopsTpl']->assign('wgsitenotice_url', \WGSITENOTICE_URL); |
||
| 28 | // |
||
| 29 | $GLOBALS['xoopsTpl']->assign('admin', \WGSITENOTICE_ADMIN); |
||
| 30 | if ( $helper->getConfig('show_copyright') ) { |
||
| 31 | $GLOBALS['xoopsTpl']->assign('copyright', $copyright); |
||
| 32 | } |
||
| 33 | // User footer |
||
| 34 | include_once \XOOPS_ROOT_PATH.'/footer.php'; |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|