[vhffs-dev] [1515] Adjusted tags' links to use nice URL |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1515
Author: beuss
Date: 2009-08-07 01:19:20 +0200 (Fri, 07 Aug 2009)
Log Message:
-----------
Adjusted tags' links to use nice URL
Modified Paths:
--------------
trunk/vhffs-public/templates/content/group-details.tt
trunk/vhffs-public/templates/parts/group-general.tt
trunk/vhffs-public/templates/parts/tags-cloud.tt
Modified: trunk/vhffs-public/templates/content/group-details.tt
===================================================================
--- trunk/vhffs-public/templates/content/group-details.tt 2009-08-06 23:13:45 UTC (rev 1514)
+++ trunk/vhffs-public/templates/content/group-details.tt 2009-08-06 23:19:20 UTC (rev 1515)
@@ -22,7 +22,7 @@
[% FOREACH cat = tag_categories %]
<li>[% cat.label %]:
[% FOREACH t = cat.tags %]
- <a class="ajax" href="/groupsearch.pl?included_tags=[% t.tag_id %]">[% t.label %]</a>[% ',' UNLESS loop.last %]
+ <a class="ajax" href="/tags/[% cat.label | uri %]::[% t.label | uri %]">[% t.label %]</a>[% ',' UNLESS loop.last %]
[% END %]
</li>
[% END %]
Modified: trunk/vhffs-public/templates/parts/group-general.tt
===================================================================
--- trunk/vhffs-public/templates/parts/group-general.tt 2009-08-06 23:13:45 UTC (rev 1514)
+++ trunk/vhffs-public/templates/parts/group-general.tt 2009-08-06 23:19:20 UTC (rev 1515)
@@ -9,7 +9,7 @@
</div>
<div class="tags">
[% FOREACH t = g.tags %]
- <a href="/groupsearch.pl?included_tags=[% t.tag_id %]" class="ajax">[% t.category_label | html %]::[% t.tag_label | html %]</a>[% ', ' UNLESS loop.last() %]
+ <a href="/tags/[% t.category_label | uri %]::[% t.tag_label | uri %]" class="ajax">[% t.category_label | html %]::[% t.tag_label | html %]</a>[% ', ' UNLESS loop.last() %]
[% END %]
</div>
<p class="more-group"><a href="/group.pl?name=[% g.groupname %]" class="ajax">[% 'More info...' | i18n %]</a></p>
Modified: trunk/vhffs-public/templates/parts/tags-cloud.tt
===================================================================
--- trunk/vhffs-public/templates/parts/tags-cloud.tt 2009-08-06 23:13:45 UTC (rev 1514)
+++ trunk/vhffs-public/templates/parts/tags-cloud.tt 2009-08-06 23:19:20 UTC (rev 1515)
@@ -2,7 +2,7 @@
<div class="menu tags-menu">
<p>
[% FOREACH t = popular_tags %]
- <a href="/groupsearch.pl?included_tags=[% t.tag_id %]" class="tag[%t.weight%] ajax">
+ <a href="/tags/[% t.category_label | uri %]::[% t.tag_label | uri %]" class="tag[%t.weight%] ajax">
[<span title="[% t.category_description | html %]">[% t.category_label | html %]</span>::<span title="[% t.tag_description | html %]">[% t.tag_label | html %]</span>]
</a>
[% END %]
@@ -14,7 +14,7 @@
<div class="menu tags-menu">
<p>
[% FOREACH t = random_tags %]
- <a href="/groupsearch.pl?included_tags=[% t.tag_id %]" class="tag[%t.weight%] ajax">
+ <a href="/tags/[% t.category_label | uri %]::[% t.tag_label %]" class="tag[%t.weight%] ajax">
[<span title="[% t.category_description | html %]">[% t.category_label | html %]</span>::<span title="[% t.tag_description | html %]">[% t.tag_label | html %]</span>]
</a>
[% END %]