From e9e589e5ebb54d016f1e52d4ba776970456e39b6 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Tue, 25 Nov 2008 18:54:04 +0000 Subject: Display tag block using data from the database --- modules/tag/helpers/tag_block.php | 1 + modules/tag/views/tag_block.html.php | 41 ++++++------------------------------ 2 files changed, 7 insertions(+), 35 deletions(-) (limited to 'modules') diff --git a/modules/tag/helpers/tag_block.php b/modules/tag/helpers/tag_block.php index 0ade0acf..629008b6 100644 --- a/modules/tag/helpers/tag_block.php +++ b/modules/tag/helpers/tag_block.php @@ -24,6 +24,7 @@ class tag_block_Core { $block->id = "gTag"; $block->title = _("Tags"); $block->content = new View("tag_block.html"); + $block->content->tag_list = tag::load_buckets(); return $block; } } \ No newline at end of file diff --git a/modules/tag/views/tag_block.html.php b/modules/tag/views/tag_block.html.php index f23874ff..68ae48d5 100644 --- a/modules/tag/views/tag_block.html.php +++ b/modules/tag/views/tag_block.html.php @@ -1,40 +1,11 @@
-- cgit v1.2.3