Handle Http for maps

This commit is contained in:
Ibnu Maksum
2024-03-24 13:35:31 +07:00
parent 3c2ca66b48
commit 18967b59e2
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@
{literal}
<script>
function getLocation() {
if (navigator.geolocation) {
if (window.location.protocol == "https:" && navigator.geolocation) {
navigator.geolocation.getCurrentPosition(showPosition);
} else {
setupMap(51.505, -0.09);

View File

@ -60,7 +60,7 @@
<td><a href="{$_url}customers/viewu/{$ds['username']}">{$ds['username']}</a></td>
<td>{$ds['namebp']}</td>
<td>{$ds['type']}</td>
<td>{$ds['plan_type']}</td>
<td>{$ds['plan_type']}</td>
<td>{Lang::dateAndTimeFormat($ds['recharged_on'],$ds['recharged_time'])}</td>
<td>{Lang::dateAndTimeFormat($ds['expiration'],$ds['time'])}</td>
<td>{$ds['method']}</td>