summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2007-03-15 20:14:23 +0000
committerwjames5 <will@tekimaki.com>2007-03-15 20:14:23 +0000
commit6cd16f5e8e595db013647daa391f1526aeac4237 (patch)
treebbffc7ebbfa51eaa5a8fb07da45fa4c66457e815 /templates
parent89ed61def1ed49a04546cc3062b52575fe80247f (diff)
downloadtags-6cd16f5e8e595db013647daa391f1526aeac4237.tar.gz
tags-6cd16f5e8e595db013647daa391f1526aeac4237.tar.bz2
tags-6cd16f5e8e595db013647daa391f1526aeac4237.zip
rudimentary list display
Diffstat (limited to 'templates')
-rw-r--r--templates/list_content.tpl0
-rw-r--r--templates/list_tags.tpl36
-rw-r--r--templates/view_tags_mini_inc.tpl2
3 files changed, 37 insertions, 1 deletions
diff --git a/templates/list_content.tpl b/templates/list_content.tpl
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/templates/list_content.tpl
diff --git a/templates/list_tags.tpl b/templates/list_tags.tpl
new file mode 100644
index 0000000..a81f84f
--- /dev/null
+++ b/templates/list_tags.tpl
@@ -0,0 +1,36 @@
+<div class="floaticon">{bithelp}</div>
+
+{strip}
+<div class="listing tags">
+ <div class="header">
+ <h1>{tr}Tags{/tr}</h1>
+ </div>
+
+ <div class="body">
+
+ <div class="navbar">
+ {* Not sure what we want here yet
+ <ul>
+ <li>{biticon ipackage="icons" iname="emblem-symbolic-link" iexplain="sort by"}</li>
+ {if $gBitSystem->isFeatureActive( 'articles_list_title' )}
+ <li>{smartlink ititle='Title' isort='title' offset=$offset type=$find_type topic=$find_topic}</li>
+ {/if}
+ </ul>
+ *}
+ </div>
+
+ <div class="clear"></div>
+
+ <div class="data">
+ <h2>{tr}All Tags{/tr}</h2>
+ {foreach item=tag from=$tagData}
+ <a href="{$smarty.const.TAGS_PKG_URL}index.php?tags={$tag.tag}">{$tag.tag}</a>&nbsp;
+ {foreachelse}
+ <div class="norecords">
+ {tr}No tags found{/tr}
+ </div>
+ {/foreach}
+ </div><!-- end .data -->
+ </div><!-- end .body -->
+</div><!-- end .tags -->
+{/strip}
diff --git a/templates/view_tags_mini_inc.tpl b/templates/view_tags_mini_inc.tpl
index bc89208..6e3ef58 100644
--- a/templates/view_tags_mini_inc.tpl
+++ b/templates/view_tags_mini_inc.tpl
@@ -2,7 +2,7 @@
<div>
<b>Tags:</b>
{section name=tag loop=$tagData}
- <a href="{$smarty.const.TAGS_PKG_URL}index.php?tag={$tagData[tag].tag}">{$tagData[tag].tag}</a>,&nbsp;
+ <a href="{$smarty.const.TAGS_PKG_URL}index.php?tags={$tagData[tag].tag}">{$tagData[tag].tag}</a>,&nbsp;
{/section}
</div>
{/if}