[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
This commit is contained in:
Joas Schilling 2010-05-24 20:12:34 +02:00
parent 6d7e30ae99
commit 877d852a52

View file

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