1
0

Beautify the tag list a bit

This commit is contained in:
Bharat Mediratta 2010-09-18 16:20:29 -07:00
parent 137a87cd92
commit 7a1e32b7e1

View File

@ -1,5 +1,6 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<?= t("Tags:") ?>
<? $i = 0 ?>
<? foreach ($tags as $tag): ?>
<a href="<?= url::site("tag/{$tag->name}") ?>"><?= $tag->name ?></a>
<? endforeach ?>
<?= (++$i != 1) ? ", " : " " ?>
<a href="<?= url::site("tag/{$tag->name}") ?>"><?= $tag->name ?></a><? endforeach ?>