mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Merge pull request #5534 from battye/ticket/15917
[ticket/15917] Unapproved topics message for forums with no other posts
This commit is contained in:
@@ -780,6 +780,10 @@ $lang = array_merge($lang, array(
|
||||
'TOPIC_REVIEW' => 'Topic review',
|
||||
'TOPIC_TITLE' => 'Topic title',
|
||||
'TOPIC_UNAPPROVED' => 'This topic has not been approved.',
|
||||
'TOPIC_UNAPPROVED_FORUM' => array(
|
||||
1 => 'Topic awaiting approval',
|
||||
2 => 'Topics awaiting approval',
|
||||
),
|
||||
'TOPIC_DELETED' => 'This topic has been deleted.',
|
||||
'TOTAL_ATTACHMENTS' => 'Attachment(s)',
|
||||
'TOTAL_LOGS' => array(
|
||||
|
@@ -103,7 +103,11 @@
|
||||
<!-- ENDIF -->
|
||||
<br />{forumrow.LAST_POST_TIME}
|
||||
<!-- ELSE -->
|
||||
{L_NO_POSTS}<br />
|
||||
{% if forumrow.U_UNAPPROVED_TOPICS %}
|
||||
{{ lang('TOPIC_UNAPPROVED_FORUM', forumrow.TOPICS) }}
|
||||
{% else %}
|
||||
{{ lang('NO_POSTS') }}
|
||||
{% endif %}
|
||||
<!-- ENDIF -->
|
||||
</span>
|
||||
</dd>
|
||||
|
Reference in New Issue
Block a user