aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2005-01-13 22:25:40 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2005-01-13 22:25:40 +0000
commit14e010cd535416b10df14cfd19253861a99ccfb9 (patch)
tree950baeb79f34ecd10cb151a9844a0cbc45172b2c /phpBB
parent5f37f2758a3172bc11c9ef827ae386b92aa56802 (diff)
downloadforums-14e010cd535416b10df14cfd19253861a99ccfb9.tar
forums-14e010cd535416b10df14cfd19253861a99ccfb9.tar.gz
forums-14e010cd535416b10df14cfd19253861a99ccfb9.tar.bz2
forums-14e010cd535416b10df14cfd19253861a99ccfb9.tar.xz
forums-14e010cd535416b10df14cfd19253861a99ccfb9.zip
Censor topic name, signature, occupation, interests and location
git-svn-id: file:///svn/phpbb/trunk@5059 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/memberlist.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php
index 30ff98526d..fd5f5a5e7a 100644
--- a/phpBB/memberlist.php
+++ b/phpBB/memberlist.php
@@ -358,7 +358,7 @@ switch ($mode)
if ($member['user_sig'])
{
- $member['user_sig'] = smilie_text($member['user_sig']);
+ $member['user_sig'] = censor_text(smilie_text($member['user_sig']));
}
$poster_avatar = '';
@@ -396,19 +396,18 @@ switch ($mode)
}
}
-
$template->assign_vars(array(
'POSTS_DAY' => sprintf($user->lang['POST_DAY'], $posts_per_day),
'POSTS_PCT' => sprintf($user->lang['POST_PCT'], $percentage),
'ACTIVE_FORUM' => $active_f_name,
'ACTIVE_FORUM_POSTS'=> ($active_f_count == 1) ? sprintf($user->lang['USER_POST'], 1) : sprintf($user->lang['USER_POSTS'], $active_f_count),
'ACTIVE_FORUM_PCT' => sprintf($user->lang['POST_PCT'], $active_f_pct),
- 'ACTIVE_TOPIC' => $active_t_name,
+ 'ACTIVE_TOPIC' => censor_text($active_t_name),
'ACTIVE_TOPIC_POSTS'=> ($active_t_count == 1) ? sprintf($user->lang['USER_POST'], 1) : sprintf($user->lang['USER_POSTS'], $active_t_count),
'ACTIVE_TOPIC_PCT' => sprintf($user->lang['POST_PCT'], $active_t_pct),
- 'OCCUPATION' => (!empty($member['user_occ'])) ? $member['user_occ'] : '',
- 'INTERESTS' => (!empty($member['user_interests'])) ? $member['user_interests'] : '',
+ 'OCCUPATION' => (!empty($member['user_occ'])) ? censor_text($member['user_occ']) : '',
+ 'INTERESTS' => (!empty($member['user_interests'])) ? censor_text($member['user_interests']) : '',
'SIGNATURE' => (!empty($member['user_sig'])) ? str_replace("\n", '<br />', $member['user_sig']) : '',
'AVATAR_IMG' => $poster_avatar,