mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-21 15:56:30 +00:00
Added configurable google maps key
This commit is contained in:
parent
5523f9388a
commit
80f8c3f158
@ -33,6 +33,16 @@ $config['table_name'] = "TABLE_HRD_CONTACTS_V01";
|
|||||||
$config['locator'] = "";
|
$config['locator'] = "";
|
||||||
$config['display_freq'] = true;
|
$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
|
| Authentication
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<script type="text/javascript" src="<?php echo base_url(); ?>js/bootstrap-dropdown.js"></script>
|
<script type="text/javascript" src="<?php echo base_url(); ?>js/bootstrap-dropdown.js"></script>
|
||||||
<script type="text/javascript" src="<?php echo base_url(); ?>js/bootstrap-tabs.js"></script>
|
<script type="text/javascript" src="<?php echo base_url(); ?>js/bootstrap-tabs.js"></script>
|
||||||
<script type="text/javascript" src="<?php echo base_url(); ?>js/global.js"></script>
|
<script type="text/javascript" src="<?php echo base_url(); ?>js/global.js"></script>
|
||||||
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js"></script>
|
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=<?php echo $this->config->item('gmaps_api_key');?>"></script>
|
||||||
|
|
||||||
<!-- CSS Files -->
|
<!-- CSS Files -->
|
||||||
<link type="text/css" href="<?php echo base_url(); ?>css/flick/jquery-ui-1.8.12.custom.css" rel="stylesheet" />
|
<link type="text/css" href="<?php echo base_url(); ?>css/flick/jquery-ui-1.8.12.custom.css" rel="stylesheet" />
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<script type="text/javascript" src="<?php echo base_url(); ?>js/jquery-1.5.1.min.js"></script>
|
<script type="text/javascript" src="<?php echo base_url(); ?>js/jquery-1.5.1.min.js"></script>
|
||||||
<script type="text/javascript" src="<?php echo base_url(); ?>js/jquery-ui-1.8.12.custom.min.js"></script>
|
<script type="text/javascript" src="<?php echo base_url(); ?>js/jquery-ui-1.8.12.custom.min.js"></script>
|
||||||
<script type="text/javascript" src="<?php echo base_url(); ?>js/global.js"></script>
|
<script type="text/javascript" src="<?php echo base_url(); ?>js/global.js"></script>
|
||||||
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js"></script>
|
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=<?php echo $this->config->item('gmaps_api_key');?>"></script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ line-height: 1.7;
|
|||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false"></script>
|
<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false&key=<?php echo $this->config->item('gmaps_api_key');?>"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body onload="initialize()">
|
<body onload="initialize()">
|
||||||
|
@ -32,6 +32,16 @@ $config['table_name'] = "TABLE_HRD_CONTACTS_V01";
|
|||||||
$config['locator'] = "%baselocator%";
|
$config['locator'] = "%baselocator%";
|
||||||
$config['display_freq'] = false;
|
$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
|
| Authentication
|
||||||
|
Loading…
Reference in New Issue
Block a user