[gimp-web/testing] Make the Flattr button use the same scheme as gimp.org



commit e2e6508a22b296d403cb3f30b443e849e0430240
Author: Michael Schumacher <schumaml gmx de>
Date:   Fri Nov 6 00:59:19 2015 +0100

    Make the Flattr button use the same scheme as gimp.org
    
    Currently, we get a mixed content warning for https://*.gimp.org due to the Flattr button. This change is 
supposed to address this issue.

 includes/wgo-page-init.xhtml |    4 ++--
 includes/wgo-scripts.xhtml   |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/includes/wgo-page-init.xhtml b/includes/wgo-page-init.xhtml
index 14116a6..f0bd105 100755
--- a/includes/wgo-page-init.xhtml
+++ b/includes/wgo-page-init.xhtml
@@ -27,8 +27,8 @@
   
   <span>[</span>
   <a class="FlattrButton" style="display:none;" rev="flattr;button:compact;" href="http://www.gimp.org/";></a>
-  <noscript><a href="http://flattr.com/thing/707850/GIMP-is-the-GNU-Image-Manipulation-Program"; 
target="_blank">
-  <img src="http://api.flattr.com/button/flattr-badge-large.png"; alt="Flattr this" title="Flattr this" 
border="0" /></a></noscript><span> | </span>
+  <noscript><a href="//flattr.com/thing/707850/GIMP-is-the-GNU-Image-Manipulation-Program" target="_blank">
+  <img src="//api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" 
/></a></noscript><span> | </span>
   <a href="bitcoin:1NVMCeoBfTAJQ1qwX2Dx1C8zkcRCQWwHBq?label=GIMP%20Donation"><img 
src="/donating/bitcoin-button.png" alt="Donate with Bitcoin" title="Donate with Bitcoin" border="0" /></a>
   <span>]</span>
 </div>
diff --git a/includes/wgo-scripts.xhtml b/includes/wgo-scripts.xhtml
index 419fccf..52054de 100755
--- a/includes/wgo-scripts.xhtml
+++ b/includes/wgo-scripts.xhtml
@@ -15,7 +15,7 @@
         var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
         s.type = 'text/javascript';
         s.async = true;
-        s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
+        s.src = '//api.flattr.com/js/0.6/load.js?mode=auto';
         t.parentNode.insertBefore(s, t);
     })();
 /* ]]> */</script>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]