summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMark Campbell-Smith <mcampbellsmith@gmail.com>2014-04-02 11:50:11 +1100
committerMark Campbell-Smith <mcampbellsmith@gmail.com>2014-04-02 11:50:11 +1100
commit95a61601f3c8d15bdaa8bbd7cbb7eee50595da2e (patch)
treedbe0762dda54aa119421ca0127eaf939de744c29 /index.php
parent7e5b03076d4acb4384a67fad9ef021573aa13239 (diff)
downloadRunnerUpLive-95a61601f3c8d15bdaa8bbd7cbb7eee50595da2e.zip
add geolocation for initial map
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index a5d4136..f64a792 100755
--- a/index.php
+++ b/index.php
@@ -72,7 +72,6 @@ $track_form .= '
<input id="latest" type="checkbox" onchange="toggleLatest();"> '.$lang_latest.'<br />
</form>
';
-
// map api select form
$api_form = '
<u>'.$lang_api.'</u><br />
@@ -140,6 +139,8 @@ print
var layer_ump = "'.$layer_ump.'";
</script>
<script type="text/javascript" src="main.js"></script>
+ <script language="javascript" src="http://j.maxmind.com/app/geoip.js"></script>
+
';
if ($mapapi == "gmaps") {
print