aboutsummaryrefslogtreecommitdiffstats
path: root/theme/default/html/category/item.php
blob: 9435581dd8fe6d3b2b2044949fda21256f7ae601 (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
<?php
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
# Category Item Template                     [Thomas Lange <code@nerdmind.de>] #
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
#                                                                              #
# [see documentation]                                                          #
#                                                                              #
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
?>
<article class="item">
	<header>
		<h2 class="fa fa-tag">
			<a title="<?=$Language->text('select_category')?>: »<?=escapeHTML($CATEGORY['ATTR']['NAME'])?>«" href="<?=$CATEGORY['URL']?>">
				<?=escapeHTML($CATEGORY['ATTR']['NAME'])?>
			</a>
		</h2>
		<span class="brackets info">
			<?=$Language->text('posts')?>: <?=$COUNT['POST']?><?=$Language->text('categories')?>: <?=$COUNT['CHILDREN']?>
		</span>
	</header>
	<?php if($IS_ROOT): ?>
	<blockquote cite="<?=$CATEGORY['URL']?>">
		<?=$CATEGORY['BODY']['HTML']()?>
	</blockquote>
	<?php endif ?>
</article>