diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-11-14 16:17:19 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-11-14 16:17:19 -0800 |
commit | 846f365db9d3c1b61ed4bd68316bd5e7b80e56ec (patch) | |
tree | 8dde35e3e121c0e48f1dd67432b01e44e7b2bdcc /modules/tag/views | |
parent | 9fd6a6f9058a89e60f83c6f2e89ae9e994c9e53a (diff) |
Normalize tags a bit.
- Create Tag_Model::url() to mimic Item_Model::url()
- Use the same pagination logic as we do for viewing items
Diffstat (limited to 'modules/tag/views')
-rw-r--r-- | modules/tag/views/tag_cloud.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/views/tag_cloud.html.php b/modules/tag/views/tag_cloud.html.php index d6a0b5f8..de12bb49 100644 --- a/modules/tag/views/tag_cloud.html.php +++ b/modules/tag/views/tag_cloud.html.php @@ -3,7 +3,7 @@ <? foreach ($tags as $tag): ?> <li class="size<?=(int)(($tag->count / $max_count) * 7) ?>"> <span><?= $tag->count ?> photos are tagged with </span> - <a href="<?= url::site("tags/$tag->id") ?>"><?= html::clean($tag->name) ?></a> + <a href="<?= $tag->url() ?>"><?= html::clean($tag->name) ?></a> </li> <? endforeach ?> </ul> |