summaryrefslogtreecommitdiff
path: root/modules/gmaps
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gmaps')
-rw-r--r--modules/gmaps/helpers/gmaps_installer.php31
-rw-r--r--modules/gmaps/helpers/gmaps_theme.php30
-rw-r--r--modules/gmaps/module.info3
-rw-r--r--modules/gmaps/views/gmaps_block.html.php2
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&amp;geocode=&amp;ie=UTF8&amp;t=h&amp;ei=-ropSbi8KpXIjAOiibmHDQ&amp;view=map&amp;attrid=&amp;s=AARTsJoEm4ODiRa9-yt6-lndtYMlWHPR4w&amp;msa=0&amp;msid=106914852640486882019.000452143d9aa600cc0d6&amp;ll=52.369835,4.886341&amp;spn=0.022429,0.036736&amp;z=13&amp;output=embed"></iframe><br /><small><a href="http://maps.google.com/maps/ms?hl=en&amp;geocode=&amp;ie=UTF8&amp;t=h&amp;ei=-ropSbi8KpXIjAOiibmHDQ&amp;view=map&amp;attrid=&amp;msa=0&amp;msid=106914852640486882019.000452143d9aa600cc0d6&amp;ll=52.369835,4.886341&amp;spn=0.022429,0.036736&amp;z=13&amp;source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small> \ No newline at end of file