mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
- Unapproved topics can no longer be replied to (Bug #44005)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9971 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
b4baa6a094
commit
ebf3651e3e
2 changed files with 4 additions and 2 deletions
|
@ -220,6 +220,7 @@
|
||||||
<li>[Change] Parse multiline url title for [url] BBCode tag. (Bug #1309)</li>
|
<li>[Change] Parse multiline url title for [url] BBCode tag. (Bug #1309)</li>
|
||||||
<li>[Change] Introduce new parameter to page_header() for forum specific who is online listings.</li>
|
<li>[Change] Introduce new parameter to page_header() for forum specific who is online listings.</li>
|
||||||
<li>[Change] Lifted minimum requirement for Firebird DBMS from 2.0+ to 2.1+.</li>
|
<li>[Change] Lifted minimum requirement for Firebird DBMS from 2.0+ to 2.1+.</li>
|
||||||
|
<li>[Change] Unapproved topics can no longer be replied to (Bug #44005)</li>
|
||||||
<li>[Feature] Add language selection on the registration terms page (Bug #15085 - Patch by leviatan21)</li>
|
<li>[Feature] Add language selection on the registration terms page (Bug #15085 - Patch by leviatan21)</li>
|
||||||
<li>[Feature] Backported 3.2 captcha plugins.
|
<li>[Feature] Backported 3.2 captcha plugins.
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
@ -95,7 +95,8 @@ switch ($mode)
|
||||||
FROM ' . TOPICS_TABLE . ' t, ' . FORUMS_TABLE . " f
|
FROM ' . TOPICS_TABLE . ' t, ' . FORUMS_TABLE . " f
|
||||||
WHERE t.topic_id = $topic_id
|
WHERE t.topic_id = $topic_id
|
||||||
AND (f.forum_id = t.forum_id
|
AND (f.forum_id = t.forum_id
|
||||||
OR f.forum_id = $forum_id)";
|
OR f.forum_id = $forum_id)
|
||||||
|
AND t.topic_approved = 1";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'quote':
|
case 'quote':
|
||||||
|
@ -124,7 +125,7 @@ switch ($mode)
|
||||||
AND u.user_id = p.poster_id
|
AND u.user_id = p.poster_id
|
||||||
AND (f.forum_id = t.forum_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');
|
(($auth->acl_get('m_approve', $forum_id) && $mode != 'quote') ? '' : 'AND p.post_approved = 1');
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'smilies':
|
case 'smilies':
|
||||||
|
|
Loading…
Add table
Reference in a new issue