mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00: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:
commit
507efee633
2 changed files with 9 additions and 1 deletions
|
@ -780,6 +780,10 @@ $lang = array_merge($lang, array(
|
||||||
'TOPIC_REVIEW' => 'Topic review',
|
'TOPIC_REVIEW' => 'Topic review',
|
||||||
'TOPIC_TITLE' => 'Topic title',
|
'TOPIC_TITLE' => 'Topic title',
|
||||||
'TOPIC_UNAPPROVED' => 'This topic has not been approved.',
|
'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.',
|
'TOPIC_DELETED' => 'This topic has been deleted.',
|
||||||
'TOTAL_ATTACHMENTS' => 'Attachment(s)',
|
'TOTAL_ATTACHMENTS' => 'Attachment(s)',
|
||||||
'TOTAL_LOGS' => array(
|
'TOTAL_LOGS' => array(
|
||||||
|
|
|
@ -103,7 +103,11 @@
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<br />{forumrow.LAST_POST_TIME}
|
<br />{forumrow.LAST_POST_TIME}
|
||||||
<!-- ELSE -->
|
<!-- ELSE -->
|
||||||
{L_NO_POSTS}<br />
|
{% if forumrow.U_UNAPPROVED_TOPICS %}
|
||||||
|
{{ lang('TOPIC_UNAPPROVED_FORUM', forumrow.TOPICS) }}
|
||||||
|
{% else %}
|
||||||
|
{{ lang('NO_POSTS') }}
|
||||||
|
{% endif %}
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
</span>
|
</span>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
Loading…
Add table
Reference in a new issue