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/gmaps/helpers/gmaps.php | 29 --------------------------- modules/gmaps/helpers/gmaps_block.php | 29 +++++++++++++++++++++++++++ modules/gmaps/helpers/gmaps_installer.php | 33 +++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+), 29 deletions(-) delete mode 100644 modules/gmaps/helpers/gmaps.php create mode 100644 modules/gmaps/helpers/gmaps_block.php create mode 100644 modules/gmaps/helpers/gmaps_installer.php (limited to 'modules/gmaps/helpers') diff --git a/modules/gmaps/helpers/gmaps.php b/modules/gmaps/helpers/gmaps.php deleted file mode 100644 index 3257e760..00000000 --- a/modules/gmaps/helpers/gmaps.php +++ /dev/null @@ -1,29 +0,0 @@ -id = "gMaps"; - $block->title = _("Location"); - $block->content = new View("gmaps_block.html"); - return $block; - } -} \ No newline at end of file diff --git a/modules/gmaps/helpers/gmaps_block.php b/modules/gmaps/helpers/gmaps_block.php new file mode 100644 index 00000000..1620e881 --- /dev/null +++ b/modules/gmaps/helpers/gmaps_block.php @@ -0,0 +1,29 @@ +id = "gMaps"; + $block->title = _("Location"); + $block->content = new View("gmaps_block.html"); + return $block; + } +} \ No newline at end of file diff --git a/modules/gmaps/helpers/gmaps_installer.php b/modules/gmaps/helpers/gmaps_installer.php new file mode 100644 index 00000000..8238ec88 --- /dev/null +++ b/modules/gmaps/helpers/gmaps_installer.php @@ -0,0 +1,33 @@ +