Add function to generate strong URL

This commit is contained in:
Némunaire 2013-11-29 03:10:12 +01:00
commit 9cc1110717
9 changed files with 90 additions and 20 deletions

View file

@ -21,7 +21,7 @@
<h3>Top 10</h3>
<div class="list-group">
{foreach from=$top item=t key=k}
<div class="list-group-item">{$k+1}. <a href="/{$t->id}-{$t->get_name()}">{$t->get_name()}</a></div>
<div class="list-group-item">{$k+1}. {link href="{$t->id}-{$t->get_name()}" href_prefix="/" label=$t->get_name()}</div>
{/foreach}
</div>
</div>