aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_contact.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-05-20 17:38:08 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-05-29 02:14:45 +0200
commit3e0f8d7f1ebb9cd655fd9826cac11f163c91d230 (patch)
treecd372d02c29240ac729cc0924ccbcd1deb0865d3 /phpBB/includes/acp/acp_contact.php
parent67281199be8e796ed7bf50e6d6db0f36cff89428 (diff)
downloadforums-3e0f8d7f1ebb9cd655fd9826cac11f163c91d230.tar
forums-3e0f8d7f1ebb9cd655fd9826cac11f163c91d230.tar.gz
forums-3e0f8d7f1ebb9cd655fd9826cac11f163c91d230.tar.bz2
forums-3e0f8d7f1ebb9cd655fd9826cac11f163c91d230.tar.xz
forums-3e0f8d7f1ebb9cd655fd9826cac11f163c91d230.zip
[ticket/10073] Move template code into the template
PHPBB3-10073
Diffstat (limited to 'phpBB/includes/acp/acp_contact.php')
-rw-r--r--phpBB/includes/acp/acp_contact.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/acp/acp_contact.php b/phpBB/includes/acp/acp_contact.php
index 21807082fc..9abc901e54 100644
--- a/phpBB/includes/acp/acp_contact.php
+++ b/phpBB/includes/acp/acp_contact.php
@@ -95,9 +95,9 @@ class acp_contact
'CONTACT_US_INFO' => $contact_admin_edit['text'],
'CONTACT_US_INFO_PREVIEW' => $contact_admin_info_preview,
- 'S_BBCODE_CHECKED' => (!$contact_admin_edit['allow_bbcode']) ? ' checked="checked"' : '',
- 'S_SMILIES_CHECKED' => (!$contact_admin_edit['allow_smilies']) ? ' checked="checked"' : '',
- 'S_MAGIC_URL_CHECKED' => (!$contact_admin_edit['allow_urls']) ? ' checked="checked"' : '',
+ 'S_BBCODE_ALLOWED' => $contact_admin_edit['allow_bbcode'],
+ 'S_SMILIES_ALLOWED' => $contact_admin_edit['allow_smilies'],
+ 'S_MAGIC_URL_ALLOWED' => $contact_admin_edit['allow_urls'],
'BBCODE_STATUS' => $user->lang('BBCODE_IS_ON', '<a href="' . append_sid("{$phpbb_root_path}faq.$phpEx", 'mode=bbcode') . '">', '</a>'),
'SMILIES_STATUS' => $user->lang['SMILIES_ARE_ON'],