summaryrefslogtreecommitdiff
path: root/httemplate/elements/google_maps_api_key.html
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-09-23 21:46:14 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-09-27 12:22:33 -0500
commit302a18ba3d7f4a2527f68e7e07989d37a6db38fc (patch)
tree242aba375ea569edd025fe9caf5a583ed3ca6c9f /httemplate/elements/google_maps_api_key.html
parent90c1ccf59eae95cb54907d6cb0ffc989eb3d2399 (diff)
71873: GlobalVision - directions [better error handling]
Diffstat (limited to 'httemplate/elements/google_maps_api_key.html')
-rw-r--r--httemplate/elements/google_maps_api_key.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/httemplate/elements/google_maps_api_key.html b/httemplate/elements/google_maps_api_key.html
new file mode 100644
index 000000000..0a4b7646c
--- /dev/null
+++ b/httemplate/elements/google_maps_api_key.html
@@ -0,0 +1,15 @@
+% if ($opt{'autherror'}) {
+<P STYLE="color: red;">
+There was an authentication error when loading google maps.
+Please check validity of existing key.
+</P>
+% }
+
+<P>In order to display google maps, your site administrator will need to set the
+<B>google_maps_api_key</B> setting under Configuration -> Settings. Please see the Google Maps
+<a href="https://developers.google.com/maps/documentation/javascript/get-api-key" target="_top">Get
+a Key/Authentication</a> documentation for information on acquiring a key.</P>
+
+<%init>
+my %opt = @_;
+</%init>