diff --git a/srcs/plugins/google_map/debug.php b/srcs/plugins/google_map/debug.php deleted file mode 100644 index a572a1c..0000000 --- a/srcs/plugins/google_map/debug.php +++ /dev/null @@ -1,13 +0,0 @@ -' . $js_code . ''; - } - echo $js_code; -} - -?> diff --git a/srcs/plugins/google_map/get_url.php b/srcs/plugins/google_map/get_url.php deleted file mode 100644 index 30b2128..0000000 --- a/srcs/plugins/google_map/get_url.php +++ /dev/null @@ -1,23 +0,0 @@ - diff --git a/srcs/plugins/google_map/google_map b/srcs/plugins/google_map/google_map deleted file mode 120000 index d4d132a..0000000 --- a/srcs/plugins/google_map/google_map +++ /dev/null @@ -1 +0,0 @@ -/home/www-data/google_map \ No newline at end of file diff --git a/srcs/plugins/google_map/index.php b/srcs/plugins/google_map/index.php deleted file mode 100644 index fbf7ae4..0000000 --- a/srcs/plugins/google_map/index.php +++ /dev/null @@ -1,79 +0,0 @@ - - - - - -

Google Map

-
-
- - -
-
- - -
-
- - -
- -
- - -
-
-
-
- '; -} - -?> diff --git a/srcs/plugins/google_map/script.js b/srcs/plugins/google_map/script.js deleted file mode 100644 index 56d4b55..0000000 --- a/srcs/plugins/google_map/script.js +++ /dev/null @@ -1,21 +0,0 @@ -jQuery(document).ready(function() { - var lat = jQuery('.latitude').text(); - var lng = jQuery('.longitude').text(); - var zoom = parseInt(jQuery('.zoom').text()); - - function initialize(){ - var myCenter = new google.maps.LatLng(lat, lng); - var mapProp = { - center: myCenter, - zoom: zoom, - mapTypeId:google.maps.MapTypeId.ROADMAP - }; - var map=new google.maps.Map(document.getElementById("showmap"),mapProp); - marker = new google.maps.Marker({ - position: myCenter, - animation: google.maps.Animation.BOUNCE - }); - marker.setMap(map); - } - google.maps.event.addDomListener(window, 'load', initialize); -}); diff --git a/srcs/plugins/google_map/style.css b/srcs/plugins/google_map/style.css deleted file mode 100644 index 97593f0..0000000 --- a/srcs/plugins/google_map/style.css +++ /dev/null @@ -1,31 +0,0 @@ -.ink_set{ - margin-top: 10px; -} - -.latitude, .longitude, .zoom { -/* display:none;*/ -} - -#showmap{ - width:500px; - height:380px; - border: 2px solid rgb(207, 203, 203); - margin-top:10px; -} - -.submit_button{ - margin-top:20px; -} - -.gm_lat{ - margin-left: 20px; -} - -.gm_log{ - margin-left: 10px; -} - -.gm_zoom{ - margin-left: 35px; -} -