Merge pull request #5068 from Derky/ticket/15489

[ticket/15489] Remove NO_FORUMS message for categories with subforums
This commit is contained in:
Marc Alexander 2018-01-07 11:04:22 +01:00
commit c7b3407eb2
No known key found for this signature in database
GPG key ID: 50E0D2423696F995
2 changed files with 3 additions and 2 deletions

View file

@ -54,6 +54,7 @@ $lang = array_merge($lang, array(
'NO_NEW_POSTS_HOT' => 'No new posts [ Popular ]', // Not used anymore 'NO_NEW_POSTS_HOT' => 'No new posts [ Popular ]', // Not used anymore
'NO_NEW_POSTS_LOCKED' => 'No new posts [ Locked ]', // Not used anymore 'NO_NEW_POSTS_LOCKED' => 'No new posts [ Locked ]', // Not used anymore
'NO_READ_ACCESS' => 'You do not have the required permissions to view or read topics within this forum.', 'NO_READ_ACCESS' => 'You do not have the required permissions to view or read topics within this forum.',
'NO_FORUMS_IN_CATEGORY' => 'This category has no forums.',
'NO_UNREAD_POSTS_HOT' => 'No unread posts [ Popular ]', 'NO_UNREAD_POSTS_HOT' => 'No unread posts [ Popular ]',
'NO_UNREAD_POSTS_LOCKED' => 'No unread posts [ Locked ]', 'NO_UNREAD_POSTS_LOCKED' => 'No unread posts [ Locked ]',

View file

@ -250,10 +250,10 @@
<strong>{L_NO_TOPICS}</strong> <strong>{L_NO_TOPICS}</strong>
</div> </div>
</div> </div>
<!-- ELSE IF not S_USER_CAN_POST --> <!-- ELSE IF not S_HAS_SUBFORUM -->
<div class="panel"> <div class="panel">
<div class="inner"> <div class="inner">
<strong>{L_NO_FORUMS}</strong> <strong>{L_NO_FORUMS_IN_CATEGORY}</strong>
</div> </div>
</div> </div>
<!-- ENDIF --> <!-- ENDIF -->