Commit 9f1071ec authored by Michael Schumacher's avatar Michael Schumacher

Added support for flattr buttons to script includes and button to main navigation menu

parent fc2e2a6a
......@@ -22,6 +22,9 @@
<span>]</span><br />
<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>
<a href="/donating/"><img src="/images/donate-sm.png" alt="Donate to GIMP" width="100" height="20" border="0" /></a>
<span>]</span>
</div>
......
......@@ -8,3 +8,15 @@
<script type="text/javascript" src="/includes/jqbrowser.js"></script>
<script type="text/javascript" src="/includes/wgo.js"></script>
<!-- code for the flattr button counter -->
<script type="text/javascript">
/* <![CDATA[ */
(function() {
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';
t.parentNode.insertBefore(s, t);
})();
/* ]]> */</script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment