Added donation page to the website

This commit is contained in:
Lukas Eder 2013-02-08 10:22:08 +01:00
parent 1fe3fb0bd3
commit 8ddc178dc5
2 changed files with 39 additions and 1 deletions

35
jOOQ-website/donate.php Normal file
View File

@ -0,0 +1,35 @@
<?php
require 'frame.php';
function getH1() {
return 'Show us some love';
}
function getActiveMenu() {
return "donate";
}
function printContent() {
global $root;
global $minorVersion;
global $version;
?>
<h2>Get your geeky jOOQ t-shirt or mug from the shop</h2>
<p>
Get some of the jOOQ web shop's fancy merchandise and donate between 7&euro; and 12&euro; with your purchase. Happy shopping!
</p>
<p>
<a href="http://www.shirtcity.com/shop/jooq/" title="The jOOQ t-shirt and mug shop for true SQL nerds">http://www.shirtcity.com/shop/jooq/</a>
</p>
<h2>Donate directly through SourceForge / PayPal</h2>
<p>
If you don't need any merchandise, or if you want to donate a bigger amount, feel free to do so directly here:
</p>
<p>
<a href="https://sourceforge.net/p/jooq/donate" title="Donate to jOOQ">https://sourceforge.net/p/jooq/donate</a>
</p>
<p>
Your donations are highly valued and make up for the numerous amounts of hours (and love) put into jOOQ. It also helps buying those more and more demanding machines that can run 14 RDBMS in parallel, for integration tests :-)
</p>
<?php
}
?>

View File

@ -1,7 +1,7 @@
<?php
$root = "";
$minorVersion = "2.6";
$version = $minorVersion . ".0";
$version = $minorVersion . ".2";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
@ -132,6 +132,9 @@
<div class="navigation-item-left <?php if ($menu == 'community') print 'navigation-item-active'?>">
<a href="<?=$root?>/community.php" title="See who's behind jOOQ and contribute">Community</a>
</div>
<div class="navigation-item-left <?php if ($menu == 'donate') print 'navigation-item-active'?>">
<a href="<?=$root?>/donate.php" title="Show some love to the jOOQ developer">Donate</a>
</div>
</div>
</div>
</div>