Completed
Push — master ( 56603d...bee6fb )
by Michael
01:18
created

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

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
 * presenter module for xoops
13
 *
14
 * @copyright       XOOPS Project (https://xoops.org)
15
 * @license         GPL 2.0 or later
16
 * @package         presenter
17
 * @since           2.5.5
18
 * @author          XOOPS Development Team <[email protected]> - <https://xoops.org>
19
 */
20
require_once __DIR__ . '/header.php';
21
$GLOBALS['xoopsOption']['template_main'] = 'presenter_index.tpl';
22
require_once XOOPS_ROOT_PATH . '/header.php';
23
// Define Stylesheet
24
$xoTheme->addStylesheet($style);
25
// keywords
26
presenter_meta_keywords($GLOBALS['xoopsModuleConfig']['keywords']);
27
// description
28
presenter_meta_description(_MA_PRESENTER_DESC);
29
//
30
$GLOBALS['xoopsTpl']->assign('xoops_mpageurl', PRESENTER_URL . '/index.php');
31
$GLOBALS['xoopsTpl']->assign('presenter_url', PRESENTER_URL);
32
$GLOBALS['xoopsTpl']->assign('adv', $GLOBALS['xoopsModuleConfig']['advertise']);
33
//
0 ignored issues
show
Unused Code Comprehensibility introduced by
85% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
34
//$GLOBALS['xoopsTpl']->assign('social_bookmarks', $GLOBALS['xoopsModuleConfig']['social_bookmarks']);
35
//$GLOBALS['xoopsTpl']->assign('fbcomments', $GLOBALS['xoopsModuleConfig']['fbcomments']);
36
//
37
$GLOBALS['xoopsTpl']->assign('admin', PRESENTER_ADMIN);
38
$GLOBALS['xoopsTpl']->assign('copyright', $copyright);
39
//
40
require_once XOOPS_ROOT_PATH . "/footer.php";
41