aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/profile.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-07-23 16:43:10 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-07-23 16:43:10 +0000
commit273314d0be7040e31b1db7621a4af59619271737 (patch)
tree32bc3a277af0546f7274a7be0ce87acf7204c54f /phpBB/profile.php
parent5cea36a3b65fdeb868e978ee10ed1bceee49269f (diff)
downloadforums-273314d0be7040e31b1db7621a4af59619271737.tar
forums-273314d0be7040e31b1db7621a4af59619271737.tar.gz
forums-273314d0be7040e31b1db7621a4af59619271737.tar.bz2
forums-273314d0be7040e31b1db7621a4af59619271737.tar.xz
forums-273314d0be7040e31b1db7621a4af59619271737.zip
Noted HTML,BBCode,Smilies status for signatures
git-svn-id: file:///svn/phpbb/trunk@733 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/profile.php')
-rw-r--r--phpBB/profile.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/phpBB/profile.php b/phpBB/profile.php
index 0f47c7d822..c1f54201b3 100644
--- a/phpBB/profile.php
+++ b/phpBB/profile.php
@@ -950,6 +950,10 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
$selected_template = $board_config['default_template'];
}
+ $html_status = ($board_config['allow_html']) ? $lang['ON'] : $lang['OFF'];
+ $bbcode_status = ($board_config['allow_bbcode']) ? $lang['ON'] : $lang['OFF'];
+ $smilies_status = ($board_config['allow_smilies']) ? $lang['ON'] : $lang['OFF'];
+
$s_hidden_fields = '<input type="hidden" name="mode" value="' . $mode . '"><input type="hidden" name="agreed" value="true"><input type="hidden" name="coppa" value="' . $coppa . '">';
if($mode == "editprofile")
{
@@ -1002,6 +1006,9 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
"TIMEZONE_SELECT" => tz_select($user_timezone),
"DATE_FORMAT" => stripslashes($user_dateformat),
"TEMPLATE_SELECT" => template_select($user_template),
+ "HTML_STATUS" => $html_status,
+ "BBCODE_STATUS" => $bbcode_status,
+ "SMILIES_STATUS" => $smilies_status,
"L_PASSWORD_IF_CHANGED" => ($mode == "editprofile") ? $lang['password_if_changed'] : "",
"L_PASSWORD_CONFIRM_IF_CHANGED" => ($mode == "editprofile") ? $lang['password_confirm_if_changed'] : "",
@@ -1021,7 +1028,7 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
"L_DATE_FORMAT" => $lang['Date_format'],
"L_DATE_FORMAT_EXPLAIN" => $lang['Date_format_explain'],
"L_YES" => $lang['Yes'],
- "L_NO" => $lang['No'],
+ "L_NO" => $lang['No'],
"L_INTERESTS" => $lang['Interests'],
"L_ALWAYS_ALLOW_SMILIES" => $lang['Always_smile'],
"L_ALWAYS_ALLOW_BBCODE" => $lang['Always_bbcode'],
@@ -1053,6 +1060,10 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
"L_CONFIRM" => $lang['Confirm'],
"L_EMAIL_ADDRESS" => $lang['Email_address'],
+ "L_HTML_IS" => $lang['HTML'] . " " . $lang['is'],
+ "L_BBCODE_IS" => $lang['BBCode'] . " " . $lang['is'],
+ "L_SMILIES_ARE" => $lang['Smilies'] . " " . $lang['are'],
+
"S_ALLOW_AVATAR_UPLOAD" => $board_config['allow_avatar_upload'],
"S_ALLOW_AVATAR_LOCAL" => $board_config['allow_avatar_local'],
"S_ALLOW_AVATAR_REMOTE" => $board_config['allow_avatar_remote'],