* remove donation reminders on download-page as it's in the app now anyway

This commit is contained in:
Reinhard Pointner 2013-04-24 08:14:22 +00:00
parent 7c715af107
commit 32b7e0a37d
1 changed files with 4 additions and 32 deletions

View File

@ -2,7 +2,6 @@
$version = isset($_GET['version']) ? $_GET['version'] : '@{version}'; // default version is hard-coded via deployment script
$arch = $_GET['arch'];
$type = $_GET['type'];
$mode = $_GET['mode'];
$folder = 'http://sourceforge.net/projects/filebot/files/filebot/FileBot_'.$version;
$file = 'undefined';
@ -21,36 +20,9 @@ if ($type == 'ipkg')
if ($type == 'src')
$file = 'filebot-'.$version.'-src.zip';
$downloadPage = $folder.'/'.$file.'/download';
if ($mode != 's') {
header('HTTP/1.1 302 Found');
header('Location: '.$downloadPage);
} else {
?>
<html>
<head>
<title>Download <? print($file) ?> from SourceForge.net</title>
<link rel="stylesheet" href="base.css" type="text/css" />
</head>
<body style="padding:0; margin:0; background:white">
<div style="font-size: 12px; margin-bottom:0px; border-bottom: 1px solid lightgray; box-shadow: 0px 0px 4px #a2a2a2; width:100%; height:75px; background:#E6E6E6">
<div style="float:left; width:630px; margin: 5px 5px 5px 40px; background: white; padding: 2px 5px; border-radius: 4px; box-shadow: 0 2px 5px #A2A2A2;">
<form style="float:right; margin: 15px 5px 0 5px" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHLwYJKoZIhvcNAQcEoIIHIDCCBxwCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYAA22BeMSrMxLoaDbRzGFYfXrN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eFvUFiSzgCcsMXDWsw==-----END PKCS7-----">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
<img src="images/money.png" style="float:left; margin:5px 10px 5px 5px; width:48px; height:48px" />
<p style="margin: 13px 20px">
Shudder at the thought of how many hours and days of time FileBot has saved you?
You can show your appreciation and <b>support for future development</b> by donating.
</p>
</div>
</div>
<iframe src="<? print($downloadPage) ?>" name="sourceforge" width="100%" height="1200" frameBorder="0" scrolling="no" seamless="seamless"></iframe>
</body>
</html>
<?
}
header('HTTP/1.1 302 Found');
header('Location: '.$downloadPage);
?>