Fix Minor gmaps plugin call - Refs #10992

remotes/angel/1.11.x
José Loguercio 9 years ago
parent f9f485ffcb
commit 6b49c40c83
  1. 2
      main/auth/inscription.php
  2. 2
      main/auth/profile.php

@ -31,7 +31,7 @@ if ($allowedFieldsConfiguration !== false) {
}
$htmlHeadXtra[] = api_get_password_checker_js('#username', '#pass1');
$htmlHeadXtra[] = '<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=true" ></script>';
$htmlHeadXtra[] = '<script type="text/javascript" src="//maps.googleapis.com/maps/api/js?sensor=true" ></script>';
$htmlHeadXtra[] = '<script>
$(document).ready(function() {
initializeGeo(false, false);

@ -33,7 +33,7 @@ if (!(isset($_user['user_id']) && $_user['user_id']) || api_is_anonymous($_user[
$htmlHeadXtra[] = api_get_password_checker_js('#username', '#password1');
$htmlHeadXtra[] = '<link href="'. api_get_path(WEB_PATH) .'web/assets/cropper/dist/cropper.min.css" rel="stylesheet">';
$htmlHeadXtra[] = '<script src="'. api_get_path(WEB_PATH) .'web/assets/cropper/dist/cropper.min.js"></script>';
$htmlHeadXtra[] = '<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=true" ></script>';
$htmlHeadXtra[] = '<script type="text/javascript" src="//maps.googleapis.com/maps/api/js?sensor=true" ></script>';
$htmlHeadXtra[] = '<script>
$(document).ready(function() {
var $image = $("#previewImage");

Loading…
Cancel
Save