From 80f8c3f1583fab11ce02472f4cd5c6b2f833cf9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20M=C3=A4del?= Date: Mon, 5 Nov 2018 11:56:55 +0100 Subject: [PATCH] Added configurable google maps key --- application/config/config.sample.php | 10 ++++++++++ application/views/layout/header.php | 2 +- application/views/layout/mini_header.php | 2 +- application/views/view_log/qso.php | 2 +- install/config/config.php | 10 ++++++++++ 5 files changed, 23 insertions(+), 3 deletions(-) diff --git a/application/config/config.sample.php b/application/config/config.sample.php index 9e713a9f..47dc6b45 100644 --- a/application/config/config.sample.php +++ b/application/config/config.sample.php @@ -33,6 +33,16 @@ $config['table_name'] = "TABLE_HRD_CONTACTS_V01"; $config['locator'] = ""; $config['display_freq'] = true; +/* +|-------------------------------------------------------------------------- +| Google Maps JavaScript API Key +|-------------------------------------------------------------------------- +| visit https://developers.google.com/maps/documentation/javascript/get-api-key +| +| 'gmaps_api_key' API key from Google Cloud Plattform +*/ +$config['gmaps_api_key'] = ""; + /* |-------------------------------------------------------------------------- | Authentication diff --git a/application/views/layout/header.php b/application/views/layout/header.php index ad601737..d0e23ec6 100644 --- a/application/views/layout/header.php +++ b/application/views/layout/header.php @@ -10,7 +10,7 @@ - + diff --git a/application/views/layout/mini_header.php b/application/views/layout/mini_header.php index 42be5105..8746f514 100644 --- a/application/views/layout/mini_header.php +++ b/application/views/layout/mini_header.php @@ -10,7 +10,7 @@ - + diff --git a/application/views/view_log/qso.php b/application/views/view_log/qso.php index 85f32148..79db9e07 100644 --- a/application/views/view_log/qso.php +++ b/application/views/view_log/qso.php @@ -19,7 +19,7 @@ line-height: 1.7; margin: 10px 0; } - + diff --git a/install/config/config.php b/install/config/config.php index 13ae46ab..0d058855 100644 --- a/install/config/config.php +++ b/install/config/config.php @@ -32,6 +32,16 @@ $config['table_name'] = "TABLE_HRD_CONTACTS_V01"; $config['locator'] = "%baselocator%"; $config['display_freq'] = false; +/* +|-------------------------------------------------------------------------- +| Google Maps JavaScript API Key +|-------------------------------------------------------------------------- +| visit https://developers.google.com/maps/documentation/javascript/get-api-key +| +| 'gmaps_api_key' API key from Google Cloud Plattform +*/ +$config['gmaps_api_key'] = ""; + /* |-------------------------------------------------------------------------- | Authentication