mirror of
https://github.com/phpbb/phpbb.git
synced 2025-10-17 09:46:25 +02:00
Merge most changes from 3.0.x branch since the 25th december.
(Captcha changes for refreshing captcha image not included) git-svn-id: file:///svn/phpbb/trunk@9404 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -102,7 +102,8 @@ switch ($mode)
|
||||
AND t.topic_id = p.topic_id
|
||||
AND u.user_id = p.poster_id
|
||||
AND (f.forum_id = t.forum_id
|
||||
OR f.forum_id = $forum_id)";
|
||||
OR f.forum_id = $forum_id)" .
|
||||
(($auth->acl_get('m_approve', $forum_id)) ? '' : 'AND p.post_approved = 1');
|
||||
break;
|
||||
|
||||
case 'smilies':
|
||||
@@ -1260,6 +1261,7 @@ phpbb::$template->assign_vars(array(
|
||||
'FLASH_STATUS' => ($flash_status) ? phpbb::$user->lang['FLASH_IS_ON'] : phpbb::$user->lang['FLASH_IS_OFF'],
|
||||
'SMILIES_STATUS' => ($smilies_status) ? phpbb::$user->lang['SMILIES_ARE_ON'] : phpbb::$user->lang['SMILIES_ARE_OFF'],
|
||||
'URL_STATUS' => ($bbcode_status && $url_status) ? phpbb::$user->lang['URL_IS_ON'] : phpbb::$user->lang['URL_IS_OFF'],
|
||||
'MAX_FONT_SIZE' => (int) phpbb::$config['max_post_font_size'],
|
||||
'MINI_POST_IMG' => phpbb::$user->img('icon_post_target', 'POST'),
|
||||
'POST_DATE' => ($post_data['post_time']) ? phpbb::$user->format_date($post_data['post_time']) : '',
|
||||
'ERROR' => (sizeof($error)) ? implode('<br />', $error) : '',
|
||||
|
Reference in New Issue
Block a user