From 3d1ea2904d982422ce24c43b25d0d4bca6f29aa3 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 18 Jan 2009 05:01:00 +0000 Subject: Rename theme callback helpers from xxx_block to xxx_theme to make room for us to rename the dashboard helper to be a block helper since sidebar blocks are not just in the dashboard. --- modules/gmaps/helpers/gmaps_block.php | 31 ------------------------------- modules/gmaps/helpers/gmaps_theme.php | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 31 deletions(-) delete mode 100644 modules/gmaps/helpers/gmaps_block.php create mode 100644 modules/gmaps/helpers/gmaps_theme.php (limited to 'modules/gmaps/helpers') diff --git a/modules/gmaps/helpers/gmaps_block.php b/modules/gmaps/helpers/gmaps_block.php deleted file mode 100644 index 06894005..00000000 --- a/modules/gmaps/helpers/gmaps_block.php +++ /dev/null @@ -1,31 +0,0 @@ -item()) { - $block = new Block(); - $block->css_id = "gMaps"; - $block->title = t("Location"); - $block->content = new View("gmaps_block.html"); - return $block; - } - } -} \ No newline at end of file diff --git a/modules/gmaps/helpers/gmaps_theme.php b/modules/gmaps/helpers/gmaps_theme.php new file mode 100644 index 00000000..582eccfe --- /dev/null +++ b/modules/gmaps/helpers/gmaps_theme.php @@ -0,0 +1,30 @@ +item()) { + $block = new Block(); + $block->css_id = "gMaps"; + $block->title = t("Location"); + $block->content = new View("gmaps_block.html"); + return $block; + } + } +} \ No newline at end of file -- cgit v1.2.3