The branch, master has been updated via ac60daf5e17669ec2a806807f90c3579f905d6cf (commit) from 09478279a1fecf4791a1b03e5f446dbb3e785a52 (commit)
- Log ----------------------------------------------------------------- commit ac60daf5e17669ec2a806807f90c3579f905d6cf Author: Michal Čihař mcihar@novell.com Date: Mon Oct 25 13:12:01 2010 +0200
Add Flattr.
-----------------------------------------------------------------------
Summary of changes: templates/_page.tpl | 14 ++++++++++++++ templates/donate.tpl | 2 +- 2 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/templates/_page.tpl b/templates/_page.tpl index 21ce4ec..aef3070 100644 --- a/templates/_page.tpl +++ b/templates/_page.tpl @@ -25,6 +25,19 @@ <meta http-equiv="X-Generated" content="${generated}" /> <meta name="verify-v1" content="3AM2eNj0zQ1Ao/N2eGE02S45V3p5KQxAyMIxdUJhtEQ=" /> <meta name="robots" content="index, follow" /> +<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.5.0/load.js?mode=auto'; + + t.parentNode.insertBefore(s, t); + })(); +/* ]]> */ +</script> </head> <body> <div id="header"> @@ -46,6 +59,7 @@ <li><a href="${base_url}about-website.${file_ext}" title="Information about website">About</a></li> <li class="last">Valid <a href="http://validator.w3.org/check/referer">HTML</a> and <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></li> <li class="logo"><a href="http://sourceforge.net/projects/phpmyadmin"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=23067&type=10" width="80" height="15" alt="Get phpMyAdmin at SourceForge.net. Fast, secure and Free Open Source software downloads" /></a></li> + <li class="logo"><a class="FlattrButton" style="display:none;" rev="flattr;button:compact;" href="http://www.phpmyadmin.net/"></a></li> </ul> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); diff --git a/templates/donate.tpl b/templates/donate.tpl index e86a4a9..c900f34 100644 --- a/templates/donate.tpl +++ b/templates/donate.tpl @@ -8,7 +8,7 @@ <h2>Donations</h2> <p> We invite you to <a href="https://sourceforge.net/donate/index.php?group_id=23067" rel="payment">contribute money</a> to our project. Donations will be used for -the promotion of phpMyAdmin. Thanks. +the promotion of phpMyAdmin. Thanks. Alternatively you can appreciate our work using <a href="https://flattr.com/thing/56976/phpMyAdmin">Flattr</a>. </p>
<h2>Recent donors</h2>
hooks/post-receive