[Commits] [svn:einsteintoolkit] www/ (Rev. 1510)

barry.wardell at gmail.com barry.wardell at gmail.com
Mon May 23 13:17:30 CDT 2016


User: barry.wardell
Date: 2016/05/23 01:17 PM

Modified:
 /
  index.php

Log:
 Revert "Change Flickr embed on homepage to use https"
 
 This caused the badge to not appear correctly for both http and https.

File Changes:

Directory: /
============

File [modified]: index.php
Delta lines: +3 -3
===================================================================
--- index.php	2016-05-23 18:05:02 UTC (rev 1509)
+++ index.php	2016-05-23 18:17:29 UTC (rev 1510)
@@ -31,9 +31,9 @@
 <script type="text/javascript">
 zg_insert_badge = function() {
 var zg_bg_color = 'ffffff';
-var zgi_url = 'https://www.flickr.com/apps/badge/badge_iframe.gne?zg_bg_color='+zg_bg_color+'&zg_person_id=48081610%40N03';
+var zgi_url = 'http://www.flickr.com/apps/badge/badge_iframe.gne?zg_bg_color='+zg_bg_color+'&zg_person_id=48081610%40N03';
 document.write('<iframe style="background-color:#'+zg_bg_color+'; border-color:#'+zg_bg_color+'; border:none;" width="113" height="151" frameborder="0" scrolling="no" src="'+zgi_url+'" title="Flickr Badge"><\/iframe>');
-if (document.getElementById) document.write('<div id="zg_whatlink"><a href="https://www.flickr.com/badge.gne"	style="color:#3993ff;" onclick="zg_toggleWhat(); return false;">EinsteinToolkit at Flickr<\/a><\/div>');
+if (document.getElementById) document.write('<div id="zg_whatlink"><a href="http://www.flickr.com/badge.gne"	style="color:#3993ff;" onclick="zg_toggleWhat(); return false;">EinsteinToolkit at Flickr<\/a><\/div>');
 }
 zg_toggleWhat = function() {
 document.getElementById('zg_whatdiv').style.display = (document.getElementById('zg_whatdiv').style.display != 'none') ? 'none' : 'block';
@@ -43,7 +43,7 @@
 </script>
 <div class="zg_div"><div class="zg_div_inner">
 <script type="text/javascript">zg_insert_badge();</script>
-<div id="zg_whatdiv">This is a Flickr badge showing public photos and videos from <a href="https://www.flickr.com/photos/48081610@N03">EinsteinToolkit</a>. Make your own badge <a href="https://www.flickr.com/badge.gne">here</a>.</div>
+<div id="zg_whatdiv">This is a Flickr badge showing public photos and videos from <a href="http://www.flickr.com/photos/48081610@N03">EinsteinToolkit</a>. Make your own badge <a href="http://www.flickr.com/badge.gne">here</a>.</div>
 <script type="text/javascript">if (document.getElementById) document.getElementById('zg_whatdiv').style.display = 'none';</script>
 </div>
 </div>



More information about the Commits mailing list