diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2010-05-24 20:12:34 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2010-05-24 20:12:34 +0200 |
commit | 877d852a5290ffddf24fb33a3e8264dd5ccd234c (patch) | |
tree | 6f5a8cf3b4e2d7dfbc60c9d04d38676bcf97c2f1 | |
parent | 6d7e30ae995fe0791c2bced0974b0445fa769ee9 (diff) | |
download | forums-877d852a5290ffddf24fb33a3e8264dd5ccd234c.tar forums-877d852a5290ffddf24fb33a3e8264dd5ccd234c.tar.gz forums-877d852a5290ffddf24fb33a3e8264dd5ccd234c.tar.bz2 forums-877d852a5290ffddf24fb33a3e8264dd5ccd234c.tar.xz forums-877d852a5290ffddf24fb33a3e8264dd5ccd234c.zip |
[ticket/9605] Wrong class added to topiclist, when there's no announcement topic.
Just added a check whether the type is announcement or higher.
PHPBB3-9605
-rw-r--r-- | phpBB/styles/prosilver/template/viewforum_body.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/viewforum_body.html b/phpBB/styles/prosilver/template/viewforum_body.html index cc38ed9d2b..1c9ec7bc4a 100644 --- a/phpBB/styles/prosilver/template/viewforum_body.html +++ b/phpBB/styles/prosilver/template/viewforum_body.html @@ -122,7 +122,7 @@ <!-- ENDIF --> <!-- IF topicrow.S_FIRST_ROW or not topicrow.S_TOPIC_TYPE_SWITCH --> - <div class="forumbg<!-- IF topicrow.S_TOPIC_TYPE_SWITCH --> announcement<!-- ENDIF -->"> + <div class="forumbg<!-- IF topicrow.S_TOPIC_TYPE_SWITCH and topicrow.S_TOPIC_TYPE gt 1 --> announcement<!-- ENDIF -->"> <div class="inner"><span class="corners-top"><span></span></span> <ul class="topiclist"> <li class="header"> |