summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/board_table.tpl26
1 files changed, 13 insertions, 13 deletions
diff --git a/templates/board_table.tpl b/templates/board_table.tpl
index 60feeee..067d5be 100644
--- a/templates/board_table.tpl
+++ b/templates/board_table.tpl
@@ -3,13 +3,12 @@
<tr>
<th width="1">{if $boardsList.0.track.on}<small>UBSI</small>{/if}</th>
<th style="text-align:left;white-space: nowrap;">Title</th>
+ <th>Topics</th>
+ <th>{tr}Last Post{/tr}</th>
+ <th></th>
{if $gBitUser->hasPermission('p_bitboards_edit') || $gBitUser->hasPermission('p_bitboards_post_edit')}
- <th style="text-align: center;">Anon</th>
+ <th>Anon</th>
{/if}
- <th style="text-align: center;">Topics</th>
- <th style="text-align: center;">Last Topic</th>
- <th style="text-align: center;">Poster</th>
- <th style="text-align: right;">Updated</th>
</tr>
{foreach item=board from=$boardsList}
{if $board.title}
@@ -28,20 +27,21 @@
{/if}
</td>
<td><a href="{$board.url}" title="{$board_title}">{$board_title}</a><div style="margin-left:2em;" class="small">{$board.parsed_data}</blockquote></td>
- {if $gBitUser->hasPermission('p_bitboards_edit') || $gBitUser->hasPermission('p_bitboards_post_edit')}
- <td style="text-align:center;">{if $board.unreg > 0}<a style="color: blue;" href="{$board.url}" title="{$board.title|escape}">{$board.unreg}</a>{/if}</td>
- {/if}
<td style="text-align:center;">{if $board.post_count > 0}{$board.post_count}</a>{/if}</td>
{if !empty($board.last)}
- <td style="text-align:center;"><a href="{$board.last.url}">{$board.last.title}</td>
- <td style="text-align:center;">{if $board.last.user_id < 0}{$board.last.l_anon_name|escape}{else}{displayname user_id=$board.last.user_id}{/if}</td>
- <td style="text-align:right;">{if $board.last.last_modified > 0}{$board.last.last_modified|reltime}</a>{/if}</td>
+ <td style="text-align:center;">
+ {if $board.last.last_modified > 0}{$board.last.last_modified|reltime}{/if}<br/>
+ {if $board.last.user_id < 0}{$board.last.l_anon_name|escape}{else}{displayname user_id=$board.last.user_id}{/if}
+ </td>
+ <td style="text-align:center;"><a href="{$board.last.url}">{$board.last.title|default:"Post..."}</a></td>
{else}
<td></td>
<td></td>
- <td></td>
+ {/if}
+ {if $gBitUser->hasPermission('p_bitboards_edit') || $gBitUser->hasPermission('p_bitboards_post_edit')}
+ <td style="text-align:center;">{if $board.unreg > 0}<a style="color: blue;" href="{$board.url}" title="{$board.title|escape}">{$board.unreg}</a>{/if}</td>
{/if}
</tr>
{/foreach}
</table>
-{/strip} \ No newline at end of file
+{/strip}