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:
@@ -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});
|
||||
|
||||
Reference in New Issue
Block a user