aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_profile.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2004-08-04 19:18:00 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2004-08-04 19:18:00 +0000
commit07bc2e02316e40ec4004635ba760cab0553ea10c (patch)
tree3eefa6324967469d95dd3b4604b63347cc42c9bb /phpBB/includes/ucp/ucp_profile.php
parent5dcc0a85f845a214712d015199b11ebddff14437 (diff)
downloadforums-07bc2e02316e40ec4004635ba760cab0553ea10c.tar
forums-07bc2e02316e40ec4004635ba760cab0553ea10c.tar.gz
forums-07bc2e02316e40ec4004635ba760cab0553ea10c.tar.bz2
forums-07bc2e02316e40ec4004635ba760cab0553ea10c.tar.xz
forums-07bc2e02316e40ec4004635ba760cab0553ea10c.zip
- removing karma
git-svn-id: file:///svn/phpbb/trunk@4958 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp/ucp_profile.php')
-rw-r--r--phpBB/includes/ucp/ucp_profile.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/phpBB/includes/ucp/ucp_profile.php b/phpBB/includes/ucp/ucp_profile.php
index afa9acf81c..9d35112544 100644
--- a/phpBB/includes/ucp/ucp_profile.php
+++ b/phpBB/includes/ucp/ucp_profile.php
@@ -427,16 +427,14 @@ class ucp_profile extends module
$signature_preview = smilie_text($signature_preview, !$enable_smilies);
// Replace naughty words such as farty pants
-/* if (sizeof($censors))
- {
- $signature_preview = str_replace('\"', '"', substr(preg_replace('#(\>(((?>([^><]+|(?R)))*)\<))#se', "preg_replace(\$censors['match'], \$censors['replace'], '\\0')", '>' . $signature_preview . '<'), 1, -1));
- }*/
$signature_preview = str_replace("\n", '<br />', censor_text($signature_preview));
}
$html_status = ($config['allow_html']) ? true : false;
$bbcode_status = ($config['allow_bbcode']) ? true : false;
$smilies_status = ($config['allow_smilies']) ? true : false;
+
+ // NOTE: allow_img and allow_flash do not exist in config table
$img_status = ($config['allow_img']) ? true : false;
$flash_status = ($config['allow_flash']) ? true : false;