summaryrefslogtreecommitdiff
path: root/templates/list_boards.tpl
blob: 552a221141140f5e0ceb6527cd14978d44a6f738 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{* $Header$ *}
{strip}
<div class="listing boards">
	<div class="header">
		<h1>{if $smarty.const.BOARDS_PKG_DIR != 'boards'}{$smarty.const.BOARDS_PKG_DIR|ucfirst}{else}Message Boards{/if}</h1>
	</div>

	<div class="body">
		{foreach from=$ns item=child}
			{assign var=heading value=1}
			{if $child.sub_count > 0}
				{include file="bitpackage:boards/board_cat.tpl" child=$child color=$color}
			{/if}
		{foreachelse}
			No message boards found
		{/foreach}

		{include file="bitpackage:boards/legend_inc.tpl" boardicons=1}
	</div><!-- end .body -->
</div><!-- end .admin -->
{/strip}