-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathheader.php
More file actions
47 lines (43 loc) · 2.03 KB
/
header.php
File metadata and controls
47 lines (43 loc) · 2.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
/**
* iForum - a bulletin Board (Forum) for ImpressCMS
*
* Based upon CBB 3.08
*
* @copyright http://www.xoops.org/ The XOOPS Project
* @copyright http://xoopsforge.com The XOOPS FORGE Project
* @copyright http://xoops.org.cn The XOOPS CHINESE Project
* @copyright XOOPS_copyrights.txt
* @copyright readme.txt
* @copyright http://www.impresscms.org/ The ImpressCMS Project
* @license GNU General Public License (GPL)
* a copy of the GNU license is enclosed.
* ----------------------------------------------------------------------------------------------------------
* @package CBB - XOOPS Community Bulletin Board
* @since 3.08
* @author phppp
* ----------------------------------------------------------------------------------------------------------
* iForum - a bulletin Board (Forum) for ImpressCMS
* @since 1.00
* @author modified by stranger
* @version $Id$
*/
include_once '../../mainfile.php';
include_once ICMS_ROOT_PATH."/modules/".icms::$module->getVar("dirname")."/include/vars.php";
include_once ICMS_ROOT_PATH."/modules/".icms::$module->getVar("dirname")."/include/functions.php";
include_once ICMS_ROOT_PATH."/modules/".icms::$module->getVar("dirname")."/class/art/functions.php";
$myts = icms_core_Textsanitizer::getInstance();
$iforum_module_header = '';
$iforum_module_header .= '<link rel="alternate" type="application/rss+xml" title="'.icms::$module->getVar('name').'" href="'.ICMS_URL.'/modules/'.icms::$module->getVar('dirname').'/rss.php" />';
if (!empty(icms::$module->config['pngforie_enabled']))
{
$iforum_module_header .= '<style type="text/css">img {behavior:url("include/pngbehavior.htc");}</style>';
}
$iforum_module_header .= '
<link rel="stylesheet" type="text/css" href="templates/iforum'.((defined("_ADM_USE_RTL") && _ADM_USE_RTL )?'_rtl':
'').'.css" />
<script type="text/javascript">var toggle_cookie="'.$forumCookie['prefix'].'G'.'";</script>
<script src="include/js/iforum_toggle.js" type="text/javascript"></script>
';
$icms_module_header = $iforum_module_header; // for cache hack
iforum_welcome();