summaryrefslogtreecommitdiff
path: root/www/htdocs/link.php
diff options
context:
space:
mode:
authorrandomguy3 <randomguy3@7c02a99a-9b00-45e3-bf44-6f3dd7fddb64>2012-01-09 11:03:45 +0000
committerrandomguy3 <randomguy3@7c02a99a-9b00-45e3-bf44-6f3dd7fddb64>2012-01-09 11:03:45 +0000
commit73a06a245670e025438e4e9505135e1c8e50efb5 (patch)
tree82f7127a4ccb319d56bacd1fecfb18c28c290090 /www/htdocs/link.php
parent461398563dbcab1a05d2952dcca3a37b966f1fd0 (diff)
Move the website stuff out of tikzit into trunk
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@367 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
Diffstat (limited to 'www/htdocs/link.php')
-rw-r--r--www/htdocs/link.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/www/htdocs/link.php b/www/htdocs/link.php
new file mode 100644
index 0000000..2062440
--- /dev/null
+++ b/www/htdocs/link.php
@@ -0,0 +1,23 @@
+<?
+$dmg_ver = "0.4";
+$src_ver = "0.7";
+$win_ver = "0.7";
+$file_root = "http://sourceforge.net/projects/tikzit/files";
+
+$urls = array(
+'src' => "$file_root/tikzit-$src_ver/tikzit-$src_ver.tar.gz/download",
+'dmg' => "$file_root/tikzit-$dmg_ver/TikZiT-$dmg_ver.dmg/download",
+'win' => "$file_root/tikzit-$win_ver/tikzit-setup-$win_ver.exe/download"
+);
+
+
+$url = $urls[$_GET['to']];
+if ($url == '') $url='/';
+?>
+<html>
+<head>
+ <title>Redirecting...</title>
+ <meta http-equiv="refresh" content="0;url=<?=$url?>" />
+</head>
+<body></body>
+</html>