diff options
author | Oyabun1 <bilby7@gmail.com> | 2014-08-17 20:39:22 +1000 |
---|---|---|
committer | Oyabun1 <bilby7@gmail.com> | 2014-08-17 20:39:22 +1000 |
commit | 621f8c922fff85a35e6d88bfb02290bb03ef5696 (patch) | |
tree | 46597d7f32a3ea9921bc5f0f0ce3c7afd2d32226 | |
parent | ad625c1e6d5e3aff39a3cd95a7d20ac84a19dbca (diff) | |
download | forums-621f8c922fff85a35e6d88bfb02290bb03ef5696.tar forums-621f8c922fff85a35e6d88bfb02290bb03ef5696.tar.gz forums-621f8c922fff85a35e6d88bfb02290bb03ef5696.tar.bz2 forums-621f8c922fff85a35e6d88bfb02290bb03ef5696.tar.xz forums-621f8c922fff85a35e6d88bfb02290bb03ef5696.zip |
[ticket/12984] Remove blank line when no forum description shown
Add a conditional for forum description and move the <br /> within it.
Currently if there is no forum description but there is
1. a displayed forum moderator and/or
2. a displayed sub-forum
a blank line is added in place of the description
PHPBB3-12984
-rw-r--r-- | phpBB/styles/prosilver/template/forumlist_body.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/styles/prosilver/template/forumlist_body.html b/phpBB/styles/prosilver/template/forumlist_body.html index 0dd47bea9e..22859b2452 100644 --- a/phpBB/styles/prosilver/template/forumlist_body.html +++ b/phpBB/styles/prosilver/template/forumlist_body.html @@ -34,8 +34,8 @@ <!-- IF S_ENABLE_FEEDS and forumrow.S_FEED_ENABLED --><!-- <a class="feed-icon-forum" title="{L_FEED} - {forumrow.FORUM_NAME}" href="{U_FEED}?f={forumrow.FORUM_ID}"><img src="{T_THEME_PATH}/images/feed.gif" alt="{L_FEED} - {forumrow.FORUM_NAME}" /></a> --><!-- ENDIF --> <!-- IF forumrow.FORUM_IMAGE --><span class="forum-image">{forumrow.FORUM_IMAGE}</span><!-- ENDIF --> - <a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a><br /> - {forumrow.FORUM_DESC} + <a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a> + <!-- IF forumrow.FORUM_DESC --><br />{forumrow.FORUM_DESC}<!-- ENDIF --> <!-- IF forumrow.MODERATORS --> <br /><strong>{forumrow.L_MODERATOR_STR}{L_COLON}</strong> {forumrow.MODERATORS} <!-- ENDIF --> |