diff --git a/website/download.php b/website/download.php index fd2fb832..af96922d 100644 --- a/website/download.php +++ b/website/download.php @@ -2,6 +2,7 @@ $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'; @@ -20,6 +21,36 @@ if ($type == 'ipkg') if ($type == 'src') $file = 'filebot-'.$version.'-src.zip'; -header('HTTP/1.1 302 Found'); -header('Location: '.$folder.'/'.$file.'/download'); +$downloadPage = $folder.'/'.$file.'/download'; +if ($mode != 's') { + header('HTTP/1.1 302 Found'); + header('Location: '.$downloadPage); +} else { +?> + + + Download <? print($file) ?> from SourceForge.net + + + +
+
+
+ + + + +
+ +

+ Shutter at the thought of how many hours and days of time FileBot has saved you? + You can show your appreciation and support for future development by donating! +

+
+
+ + + + diff --git a/website/index.html b/website/index.html index 4935d5e4..c9cf02ba 100644 --- a/website/index.html +++ b/website/index.html @@ -272,17 +272,17 @@ Today is the day

Download