Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/blocks/iforum_block.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function b_iforum_show($options)
global $access_forums;
$modulename = basename(dirname(dirname(__FILE__ ) ) );
$db = Database::getInstance();
$myts = MyTextSanitizer::getInstance();
$myts = icms_core_Textsanitizer::getInstance();
$block = array();
$i = 0;
$order = "";
Expand Down Expand Up @@ -180,7 +180,7 @@ function b_iforum_topic_show($options)
global $access_forums;
$modulename = basename(dirname(dirname(__FILE__ ) ) );
$db =icms_db_Factory::instance();
$myts =MyTextSanitizer::getInstance();
$myts =icms_core_Textsanitizer::getInstance();
$block = array();
$i = 0;
$order = "";
Expand Down Expand Up @@ -325,7 +325,7 @@ function b_iforum_post_show($options)
global $access_forums;
$modulename = basename(dirname(dirname(__FILE__ ) ) );
$db =Database::getInstance();
$myts =MyTextSanitizer::getInstance();
$myts =icms_core_Textsanitizer::getInstance();
$block = array();
$i = 0;
$order = "";
Expand Down Expand Up @@ -471,7 +471,7 @@ function b_iforum_author_show($options)
global $access_forums;
$modulename = basename(dirname(dirname(__FILE__ ) ) );
$db =Database::getInstance();
$myts =MyTextSanitizer::getInstance();
$myts =icms_core_Textsanitizer::getInstance();
$block = array();
$i = 0;
$type = "topic";
Expand Down Expand Up @@ -850,4 +850,4 @@ function b_iforum_author_edit($options)

return $form;
}
?>
?>
10 changes: 5 additions & 5 deletions src/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
* @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 = MyTextSanitizer::getInstance();

$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']))
Expand All @@ -43,5 +43,5 @@
<script src="include/js/iforum_toggle.js" type="text/javascript"></script>
';
$icms_module_header = $iforum_module_header; // for cache hack

iforum_welcome();
2 changes: 1 addition & 1 deletion src/newtopic.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
$pid = 0;
$subject = "";
$message = "";
$myts = MyTextSanitizer::getInstance();
$myts = icms_core_Textsanitizer::getInstance();
$hidden = "";
$subject_pre = "";
$dohtml = 1;
Expand Down
2 changes: 1 addition & 1 deletion src/reply.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
$icmsConfig["module_cache"][icms::$module->getVar("mid")] = 0;
include ICMS_ROOT_PATH.'/header.php';

$myts = MyTextSanitizer::getInstance();
$myts = icms_core_Textsanitizer::getInstance();
$isadmin = iforum_isAdmin($forum_obj);
$forumpostshow = $post_handler->getByLimit($topic_id, 5);

Expand Down
2 changes: 1 addition & 1 deletion src/report.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
$online_handler->init($forum);
}

$myts = MyTextSanitizer::getInstance();
$myts = icms_core_Textsanitizer::getInstance();

if (isset($_POST['submit']) )
{
Expand Down