From 8eadddfa873c4c0e8f14adc079c18a1f8fb0fa44 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sat, 22 Nov 2008 05:51:15 +0000 Subject: Convert gmaps, info, and tag modules to the new block module --- modules/tag/helpers/tag.php | 29 ----------------------------- modules/tag/helpers/tag_block.php | 29 +++++++++++++++++++++++++++++ modules/tag/helpers/tag_installer.php | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+), 29 deletions(-) delete mode 100644 modules/tag/helpers/tag.php create mode 100644 modules/tag/helpers/tag_block.php create mode 100644 modules/tag/helpers/tag_installer.php (limited to 'modules/tag') diff --git a/modules/tag/helpers/tag.php b/modules/tag/helpers/tag.php deleted file mode 100644 index 3fe97a7d..00000000 --- a/modules/tag/helpers/tag.php +++ /dev/null @@ -1,29 +0,0 @@ -id = "gTag"; - $block->title = _("Tags"); - $block->content = new View("tag_block.html"); - return $block; - } -} \ No newline at end of file diff --git a/modules/tag/helpers/tag_block.php b/modules/tag/helpers/tag_block.php new file mode 100644 index 00000000..63486435 --- /dev/null +++ b/modules/tag/helpers/tag_block.php @@ -0,0 +1,29 @@ +id = "gTag"; + $block->title = _("Tags"); + $block->content = new View("tag_block.html"); + return $block; + } +} \ No newline at end of file diff --git a/modules/tag/helpers/tag_installer.php b/modules/tag/helpers/tag_installer.php new file mode 100644 index 00000000..03823ff3 --- /dev/null +++ b/modules/tag/helpers/tag_installer.php @@ -0,0 +1,33 @@ +