1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Fixed bug #69352 (Support loading Google JSAPI over HTTPS)

This commit is contained in:
Kalle Sommer Nielsen
2015-04-02 04:03:19 +02:00
parent 424be3254e
commit 2c73b63d0e

View File

@@ -210,7 +210,7 @@ function google_cse($default = '', $lang = 'en') {
JavaScript and reload to continue.
</noscript>
<div id="cse" style="width: 100%;"></div>
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script src="//www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
document.getElementById("cse").innerHTML = "Loading...";
google.load('search', '1', {language : '<?php echo $lang; ?>', style : google.loader.themes.MINIMALIST});