diff options
| author | Jo-Herman Haugholt <huyderman@users.sourceforge.net> | 2008-07-16 11:10:11 +0000 |
|---|---|---|
| committer | Jo-Herman Haugholt <huyderman@users.sourceforge.net> | 2008-07-16 11:10:11 +0000 |
| commit | 6e37e897703eafa08956178b116ccf2a8130852e (patch) | |
| tree | e653cbb9ea89b79c1f218395f49d0288dce1a779 /templates | |
| parent | 824d8d44fb6cb44ad7c20cdafcf44b5ea129e579 (diff) | |
| download | tags-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.tpl | 2 | ||||
| -rw-r--r-- | templates/tags_list.tpl | 2 | ||||
| -rw-r--r-- | templates/view_tags_mini_inc.tpl | 2 |
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> <small>({$tag.popcant})</small> + <a href="{$tag.tag_url}">{$tag.tag}</a> <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> {section name=tag loop=$tagData} {if $smarty.section.tag.index > 0}, {/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}" /> |
