Beautify the tag list a bit
This commit is contained in:
parent
137a87cd92
commit
7a1e32b7e1
@ -1,5 +1,6 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||||
<?= t("Tags:") ?>
|
<?= t("Tags:") ?>
|
||||||
|
<? $i = 0 ?>
|
||||||
<? foreach ($tags as $tag): ?>
|
<? foreach ($tags as $tag): ?>
|
||||||
<a href="<?= url::site("tag/{$tag->name}") ?>"><?= $tag->name ?></a>
|
<?= (++$i != 1) ? ", " : " " ?>
|
||||||
<? endforeach ?>
|
<a href="<?= url::site("tag/{$tag->name}") ?>"><?= $tag->name ?></a><? endforeach ?>
|
||||||
|
Reference in New Issue
Block a user