diff options
author | Chris Smith <toonarmy@phpbb.com> | 2009-03-11 17:11:10 +0000 |
---|---|---|
committer | Chris Smith <toonarmy@phpbb.com> | 2009-03-11 17:11:10 +0000 |
commit | 0d4a76a8756b28a99e3ab95beb3bd9836047bd1b (patch) | |
tree | 921912007284bbcc54c2022c34e2707aecae8cbe /phpBB/posting.php | |
parent | 61135f65b94a4949d37f77e6d65e0aeeff8368ce (diff) | |
download | forums-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.php | 1 |
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) : '', |