1
0
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:
Marc Alexander
2019-04-13 12:38:44 +02:00
2 changed files with 9 additions and 1 deletions

View File

@@ -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(

View File

@@ -103,7 +103,11 @@
<!-- ENDIF -->
<br />{forumrow.LAST_POST_TIME}
<!-- ELSE -->
{L_NO_POSTS}<br />&nbsp;
{% if forumrow.U_UNAPPROVED_TOPICS %}
{{ lang('TOPIC_UNAPPROVED_FORUM', forumrow.TOPICS) }}
{% else %}
{{ lang('NO_POSTS') }}
{% endif %}
<!-- ENDIF -->
</span>
</dd>