diff options
Diffstat (limited to 'modules/gmaps')
-rw-r--r-- | modules/gmaps/helpers/gmaps_installer.php | 31 | ||||
-rw-r--r-- | modules/gmaps/helpers/gmaps_theme.php | 30 | ||||
-rw-r--r-- | modules/gmaps/module.info | 3 | ||||
-rw-r--r-- | modules/gmaps/views/gmaps_block.html.php | 2 |
4 files changed, 0 insertions, 66 deletions
diff --git a/modules/gmaps/helpers/gmaps_installer.php b/modules/gmaps/helpers/gmaps_installer.php deleted file mode 100644 index 747f84f7..00000000 --- a/modules/gmaps/helpers/gmaps_installer.php +++ /dev/null @@ -1,31 +0,0 @@ -<?php defined("SYSPATH") or die("No direct script access."); -/** - * Gallery - a web based photo album viewer and editor - * Copyright (C) 2000-2008 Bharat Mediratta - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or (at - * your option) any later version. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. - */ -class gmaps_installer { - static function install() { - $version = module::get_version("gmaps"); - if ($version == 0) { - module::set_version("gmaps", 1); - } - } - - static function uninstall() { - module::delete("gmaps"); - } -} diff --git a/modules/gmaps/helpers/gmaps_theme.php b/modules/gmaps/helpers/gmaps_theme.php deleted file mode 100644 index 582eccfe..00000000 --- a/modules/gmaps/helpers/gmaps_theme.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php defined("SYSPATH") or die("No direct script access."); -/** - * Gallery - a web based photo album viewer and editor - * Copyright (C) 2000-2008 Bharat Mediratta - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or (at - * your option) any later version. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. - */ -class gmaps_theme_Core { - static function sidebar_blocks($theme) { - if ($theme->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/module.info b/modules/gmaps/module.info deleted file mode 100644 index 32d7570f..00000000 --- a/modules/gmaps/module.info +++ /dev/null @@ -1,3 +0,0 @@ -name = Google Maps -description = Integrate with the Google Maps service -version = 1 diff --git a/modules/gmaps/views/gmaps_block.html.php b/modules/gmaps/views/gmaps_block.html.php deleted file mode 100644 index 48b37600..00000000 --- a/modules/gmaps/views/gmaps_block.html.php +++ /dev/null @@ -1,2 +0,0 @@ -<?php defined("SYSPATH") or die("No direct script access.") ?> -<iframe width="214" height="214" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?hl=en&geocode=&ie=UTF8&t=h&ei=-ropSbi8KpXIjAOiibmHDQ&view=map&attrid=&s=AARTsJoEm4ODiRa9-yt6-lndtYMlWHPR4w&msa=0&msid=106914852640486882019.000452143d9aa600cc0d6&ll=52.369835,4.886341&spn=0.022429,0.036736&z=13&output=embed"></iframe><br /><small><a href="http://maps.google.com/maps/ms?hl=en&geocode=&ie=UTF8&t=h&ei=-ropSbi8KpXIjAOiibmHDQ&view=map&attrid=&msa=0&msid=106914852640486882019.000452143d9aa600cc0d6&ll=52.369835,4.886341&spn=0.022429,0.036736&z=13&source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small>
\ No newline at end of file |