aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2009-03-11 17:11:10 +0000
committerChris Smith <toonarmy@phpbb.com>2009-03-11 17:11:10 +0000
commit0d4a76a8756b28a99e3ab95beb3bd9836047bd1b (patch)
tree921912007284bbcc54c2022c34e2707aecae8cbe /phpBB/posting.php
parent61135f65b94a4949d37f77e6d65e0aeeff8368ce (diff)
downloadforums-0d4a76a8756b28a99e3ab95beb3bd9836047bd1b.tar
forums-0d4a76a8756b28a99e3ab95beb3bd9836047bd1b.tar.gz
forums-0d4a76a8756b28a99e3ab95beb3bd9836047bd1b.tar.bz2
forums-0d4a76a8756b28a99e3ab95beb3bd9836047bd1b.tar.xz
forums-0d4a76a8756b28a99e3ab95beb3bd9836047bd1b.zip
Hide font size options which are bigger than the allowed size in the editor. #42615
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9365 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 601bc2ab26..58d834dd21 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -1287,6 +1287,7 @@ $template->assign_vars(array(
'FLASH_STATUS' => ($flash_status) ? $user->lang['FLASH_IS_ON'] : $user->lang['FLASH_IS_OFF'],
'SMILIES_STATUS' => ($smilies_status) ? $user->lang['SMILIES_ARE_ON'] : $user->lang['SMILIES_ARE_OFF'],
'URL_STATUS' => ($bbcode_status && $url_status) ? $user->lang['URL_IS_ON'] : $user->lang['URL_IS_OFF'],
+ 'MAX_FONT_SIZE' => (int) $config['max_post_font_size'],
'MINI_POST_IMG' => $user->img('icon_post_target', $user->lang['POST']),
'POST_DATE' => ($post_data['post_time']) ? $user->format_date($post_data['post_time']) : '',
'ERROR' => (sizeof($error)) ? implode('<br />', $error) : '',