aboutsummaryrefslogtreecommitdiffstats
path: root/theme/default/html/category/item.php
diff options
context:
space:
mode:
Diffstat (limited to 'theme/default/html/category/item.php')
-rw-r--r--theme/default/html/category/item.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/theme/default/html/category/item.php b/theme/default/html/category/item.php
new file mode 100644
index 0000000..9435581
--- /dev/null
+++ b/theme/default/html/category/item.php
@@ -0,0 +1,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>