[gimp-help-2] (GIMP) Flattr button for donations.



commit 9bbd9d12de5d90281d543a4673464dfefecc4a7c
Author: Roman Joost <roman bromeco de>
Date:   Wed Aug 22 13:08:27 2012 +1000

    (GIMP) Flattr button for donations.

 web/includes/flattr.html |   15 +++++++++++++++
 web/style.css            |    3 +++
 web/website.xml          |    4 ++++
 3 files changed, 22 insertions(+), 0 deletions(-)
---
diff --git a/web/includes/flattr.html b/web/includes/flattr.html
new file mode 100644
index 0000000..f8bda97
--- /dev/null
+++ b/web/includes/flattr.html
@@ -0,0 +1,15 @@
+<span>
+<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>
+<a class="FlattrButton" style="display:none;" 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>
diff --git a/web/style.css b/web/style.css
index 923d385..2f9a6e5 100644
--- a/web/style.css
+++ b/web/style.css
@@ -294,3 +294,6 @@ dd {
   margin: 0 auto;
 }
 
+.Flattr {
+  float: right;
+}
diff --git a/web/website.xml b/web/website.xml
index f08f9f6..b5d07c7 100644
--- a/web/website.xml
+++ b/web/website.xml
@@ -21,6 +21,10 @@
       </para>
     </note>
 
+    <para class="Flattr">
+      <?dbhtml-include href="includes/flattr.html" ?>
+    </para>
+
     <variablelist>
       <varlistentry>
         <term>Online Manual â HTML</term>



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