blob: 8220060712e80c8021dce6990c766d188b497415 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
{strip}
<table class="data">
<tr>
<th style="width:1%;">{*if $boardsList.0.track.on}Status{/if*}</th>
<th style="width:35%;">{tr}Board{/tr}</th>
<th style="width:40%;">{tr}Post{/tr}</th>
<th style="width:5%;">{tr}Topics{/tr}</th>
<th style="width:18%;">{tr}Last Post{/tr}</th>
{if $gBitUser->hasPermission('p_bitboards_edit') || $gBitUser->hasPermission('p_bitboards_post_edit')}
<th style="width:1%;"><abbr title="{tr}Number of posts by Anonymous users{/tr}">Anon</abbr></th>
{/if}
</tr>
{foreach item=board from=$boardsList}
{if $board.title}
{assign var=board_title value=$board.title|escape}
{else}
{assign var=board_title value=$board.content_id|escape}
{assign var=board_title value="(Content $board_title)"}
{/if}
<tr class="{cycle values="even,odd"}{if $board.unreg > 0} unapproved{/if}">
<td style="width:1px;">{* topic tracking icons *}
{if $board.track.on && $board.track.mod}
{biticon ipackage=bitboard iname="track_new_l" iexplain="New Posts"}
{elseif $board.track.on}
{biticon ipackage=bitboard iname="track_old_l" iexplain="No New Posts"}
{/if}
</td>
<td>
<h2><a href="{$board.url}" title="{$board_title}">{$board_title}</a></h2>
{$board.parsed_data}
</td>
{if !empty($board.last)}
<td>
<a href="{$board.last.url}">{$board.last.title|default:"Post..."}</a>
</td>
{else}
<td> </td>
{/if}
<td style="text-align:center;">{if $board.post_count > 0}{$board.post_count}{/if}</td>
{if !empty($board.last)}
<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>
{else}
<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 class="highlight" href="{$board.url}" title="{$board.title|escape}">{$board.unreg}</a>{/if}
</td>
{/if}
</tr>
{/foreach}
</table>
{/strip}
|