summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJo-Herman Haugholt <huyderman@users.sourceforge.net>2008-07-16 11:10:11 +0000
committerJo-Herman Haugholt <huyderman@users.sourceforge.net>2008-07-16 11:10:11 +0000
commit6e37e897703eafa08956178b116ccf2a8130852e (patch)
treee653cbb9ea89b79c1f218395f49d0288dce1a779 /templates
parent824d8d44fb6cb44ad7c20cdafcf44b5ea129e579 (diff)
downloadtags-6e37e897703eafa08956178b116ccf2a8130852e.tar.gz
tags-6e37e897703eafa08956178b116ccf2a8130852e.tar.bz2
tags-6e37e897703eafa08956178b116ccf2a8130852e.zip
Added PrettyPrint support to Tags
Diffstat (limited to 'templates')
-rw-r--r--templates/tags_cloud.tpl2
-rw-r--r--templates/tags_list.tpl2
-rw-r--r--templates/view_tags_mini_inc.tpl2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/tags_cloud.tpl b/templates/tags_cloud.tpl
index 2c89732..df3b4b0 100644
--- a/templates/tags_cloud.tpl
+++ b/templates/tags_cloud.tpl
@@ -3,7 +3,7 @@
<ul id="cloud">
{foreach item=tag from=$tagData}
<li class="tag{$tag.tagscale}">
- <a href="{$smarty.const.TAGS_PKG_URL}index.php?tags={$tag.tag|escape:"url"}">{$tag.tag}</a>&nbsp;<small>({$tag.popcant})</small>
+ <a href="{$tag.tag_url}">{$tag.tag}</a>&nbsp;<small>({$tag.popcant})</small>
</li>
{/foreach}
</ul>
diff --git a/templates/tags_list.tpl b/templates/tags_list.tpl
index 6ad9b6a..c4ffbe1 100644
--- a/templates/tags_list.tpl
+++ b/templates/tags_list.tpl
@@ -10,7 +10,7 @@
{foreach item=tag from=$tagData}
<tr class="{cycle}">
<td>
- <strong><a href="{$smarty.const.TAGS_PKG_URL}index.php?tags={$tag.tag}">{$tag.tag}</a></strong>
+ <strong><a href="{$tag.tag_url}">{$tag.tag}</a></strong>
</td>
<td style="text-align:center;">
{$tag.popcant}
diff --git a/templates/view_tags_mini_inc.tpl b/templates/view_tags_mini_inc.tpl
index d23c003..5026041 100644
--- a/templates/view_tags_mini_inc.tpl
+++ b/templates/view_tags_mini_inc.tpl
@@ -6,7 +6,7 @@
<strong>{tr}Tags:{/tr}</strong>&nbsp;
{section name=tag loop=$tagData}
{if $smarty.section.tag.index > 0},&nbsp;{/if}
- <a href="{$smarty.const.TAGS_PKG_URL}index.php?tags={$tagData[tag].tag}">{$tagData[tag].tag}</a>
+ <a href="{$tagData[tag].tag_url}">{$tagData[tag].tag}</a>
{if $gContent->isOwner() || $gBitUser->hasPermission('p_tags_admin')}
<input type="checkbox" name="tag_id[]" value="{$tagData[tag].tag_id}" />
<input type="hidden" name="tag_{$tagData[tag].tag_id}" value="{$tagData[tag].tag}" />