]> arthur.barton.de Git - ngircd-web.git/commitdiff
Add Flattr button to page footer
authorAlexander Barton <alex@barton.de>
Thu, 3 Jan 2013 21:54:28 +0000 (22:54 +0100)
committerAlexander Barton <alex@barton.de>
Thu, 3 Jan 2013 21:54:28 +0000 (22:54 +0100)
includes/common.php

index 00ba9b3c2d3c8431277e4690672cbc44709b6974..05deb25c35a87a64b6a6af23e2c64fa0fcf02e81 100644 (file)
@@ -64,7 +64,10 @@ function begin_page($lang = 'en', $title = null) {
 function end_page() {
        echo '</div>';
        echo '<p id="footer">ngIRCd &copy;2001-2013 Alexander Barton and ';
-       echo '<a href="doc/AUTHORS">Contributors</a></p>';
+       echo '<a href="doc/AUTHORS">Contributors</a><br />';
+       echo '<a href="http://flattr.com/thing/343331/ngIRCd" target="_blank">';
+       echo '<img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" />';
+       echo '</a></p>';
        echo '</div></body></html>';
 }