Unreported: Style fix, missing S_NO_TOPICS switch in templates

This commit is contained in:
Kevin
2008-04-24 06:49:55 +00:00
parent 4e4358fdee
commit b7289e34cf
8 changed files with 29 additions and 13 deletions

View File

@@ -5,6 +5,7 @@
<tr class="row1">
<td>
<!-- BEGIN announcements_row -->
<!-- IF not announcements_row.S_NO_TOPICS -->
<table class="tablebg" cellspacing="1" width="100%">
<tr>
<td class="cat">
@@ -38,8 +39,9 @@
</tr>
</table>
<br />
<!-- BEGINELSE -->
<!-- ELSE -->
<span class="gensmall"><strong>{L_NO_ANNOUNCEMENTS}</strong></span>
<!-- ENDIF -->
<!-- END announcements_row -->
<!-- IF AP_PAGINATION or TOTAL_ANNOUNCEMENTS -->
<hr />

View File

@@ -3,6 +3,7 @@
<th>{L_LATEST_ANNOUNCEMENTS}</th>
</tr>
<!-- BEGIN announcements_row -->
<!-- IF not announcements_row.S_NO_TOPICS -->
<tr class="row<!-- IF announcements_row.S_ROW_COUNT is even -->1<!-- ELSE -->2<!-- ENDIF -->">
<td>
@@ -22,12 +23,13 @@
<em>&nbsp;&bull;&nbsp;{L_TOPIC_VIEWS}: {announcements_row.TOPIC_VIEWS}</em></span>
</td>
</tr>
<!-- BEGINELSE -->
<!-- ELSE -->
<tr class="row1">
<td>
<span class="gensmall"><strong>{L_NO_ANNOUNCEMENTS}</strong></span>
</td>
</tr>
<!-- ENDIF -->
<!-- END announcements_row -->
</table>
<br />

View File

@@ -5,6 +5,7 @@
<tr class="row1">
<td>
<!-- BEGIN news_row -->
<!-- IF not news_row.S_NO_TOPICS -->
<table class="tablebg" cellspacing="1" width="100%">
<tr>
<td class="cat">
@@ -33,8 +34,9 @@
</tr>
</table>
<br />
<!-- BEGINELSE -->
<!-- ELSE -->
<span class="gensmall"><strong>{L_NO_NEWS}</strong></span>
<!-- ENDIF -->
<!-- END news_row -->
<!-- IF NP_PAGINATION or TOTAL_NEWS -->
<hr />

View File

@@ -3,6 +3,7 @@
<th>{L_LATEST_NEWS}</th>
</tr>
<!-- BEGIN news_row -->
<!-- IF not news_row.S_NO_TOPICS -->
<tr class="row<!-- IF news_row.S_ROW_COUNT is even -->1<!-- ELSE -->2<!-- ENDIF -->">
<td>
<!-- IF news_row.S_UNREAD_INFO -->{NEWEST_POST_IMG}<!-- ELSE -->{READ_POST_IMG}<!-- ENDIF --> {news_row.ATTACH_ICON_IMG} <!-- IF news_row.S_POLL --> <strong style="font-size:1.1em;">{L_POLL}: </strong><!-- ENDIF -->
@@ -17,12 +18,13 @@
<em>&nbsp;&bull;&nbsp;{L_TOPIC_VIEWS}: {news_row.TOPIC_VIEWS}</em></span>
</td>
</tr>
<!-- BEGINELSE -->
<!-- ELSE -->
<tr class="row1">
<td>
<span class="gensmall"><strong>{L_NO_NEWS}</strong></span>
</td>
</tr>
<!-- ENDIF -->
<!-- END news_row -->
</table>
<br />