mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Updated
This commit is contained in:
parent
94e2f805af
commit
b71416ebcd
@ -39,6 +39,9 @@ elseif (isset($this->request['topic_id']))
|
||||
$is_auth = auth(AUTH_ALL, $post['forum_id'], $userdata, $post);
|
||||
}
|
||||
|
||||
//
|
||||
// Define censored word matches
|
||||
//
|
||||
if (!defined('WORD_LIST_OBTAINED'))
|
||||
{
|
||||
$orig_word = array();
|
||||
|
@ -828,6 +828,10 @@ function bbcode2html ($text)
|
||||
{
|
||||
$bbcode = new bbcode();
|
||||
}
|
||||
|
||||
//
|
||||
// Define censored word matches
|
||||
//
|
||||
$orig_word = array();
|
||||
$replacement_word = array();
|
||||
obtain_word_list($orig_word, $replacement_word);
|
||||
|
@ -157,6 +157,10 @@ function create_atom ($file_path, $mode, $id, $title, $topics)
|
||||
$tor_status = " ({$lang['TOR_STATUS_NAME'][$topic['tor_status']]})";
|
||||
}
|
||||
$topic_title = $topic['topic_title'];
|
||||
|
||||
//
|
||||
// Define censored word matches
|
||||
//
|
||||
$orig_word = array();
|
||||
$replacement_word = array();
|
||||
obtain_word_list($orig_word, $replacement_word);
|
||||
|
@ -370,6 +370,9 @@ function user_notification($mode, &$post_data, &$topic_title, &$forum_id, &$topi
|
||||
require(CLASS_DIR .'emailer.php');
|
||||
$emailer = new emailer($bb_cfg['smtp_delivery']);
|
||||
|
||||
//
|
||||
// Define censored word matches
|
||||
//
|
||||
$orig_word = $replacement_word = array();
|
||||
obtain_word_list($orig_word, $replacement_word);
|
||||
|
||||
|
@ -537,6 +537,9 @@ else
|
||||
|
||||
if ( $mode == 'quote' )
|
||||
{
|
||||
//
|
||||
// Define censored word matches
|
||||
//
|
||||
if (!defined('WORD_LIST_OBTAINED'))
|
||||
{
|
||||
$orig_word = array();
|
||||
|
@ -426,6 +426,9 @@ if ($mode == 'read')
|
||||
|
||||
$private_message = $privmsg['privmsgs_text'];
|
||||
|
||||
//
|
||||
// Define censored word matches
|
||||
//
|
||||
$orig_word = array();
|
||||
$replacement_word = array();
|
||||
obtain_word_list($orig_word, $replacement_word);
|
||||
@ -1238,6 +1241,9 @@ else if ( $submit || $refresh || $mode != '' )
|
||||
|
||||
if ( $preview && !$error )
|
||||
{
|
||||
//
|
||||
// Define censored word matches
|
||||
//
|
||||
$orig_word = array();
|
||||
$replacement_word = array();
|
||||
obtain_word_list($orig_word, $replacement_word);
|
||||
@ -1398,6 +1404,9 @@ else
|
||||
'body' => 'privmsgs.tpl')
|
||||
);
|
||||
|
||||
//
|
||||
// Define censored word matches
|
||||
//
|
||||
$orig_word = $replacement_word = array();
|
||||
obtain_word_list($orig_word, $replacement_word);
|
||||
|
||||
|
@ -387,7 +387,9 @@ if ($topics_csv = join(',', $topic_ids))
|
||||
");
|
||||
}
|
||||
|
||||
//
|
||||
// Define censored word matches
|
||||
//
|
||||
$orig_word = $replacement_word = array();
|
||||
obtain_word_list($orig_word, $replacement_word);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user