diff options
author | floam <floam@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-02-28 23:51:28 +0000 |
---|---|---|
committer | floam <floam@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-02-28 23:51:28 +0000 |
commit | 281ef4cf8b5c7a7268ff615da7201fd8404a60ac (patch) | |
tree | 9d86dcfb43831fa70d7d866e253c6ee71178963e /web/include | |
parent | 16dd2d9a5f5112d009106a7be43c63bfee9c2343 (diff) | |
download | ioquake3-aero-281ef4cf8b5c7a7268ff615da7201fd8404a60ac.tar.gz ioquake3-aero-281ef4cf8b5c7a7268ff615da7201fd8404a60ac.zip |
try to make it actually work.
git-svn-id: svn://svn.icculus.org/quake3/trunk@599 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'web/include')
-rw-r--r-- | web/include/getdata.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/web/include/getdata.php b/web/include/getdata.php index 2d61ac1..09903be 100644 --- a/web/include/getdata.php +++ b/web/include/getdata.php @@ -1,12 +1,12 @@ <?php -switch ($_POST[$agree]) { - case "I Agree": +switch ($_GET[$agree]) { + case FALSE: $html = "<h2>KEINE DATEN FÜR SIE!</h2> <p>You'll need to agree to the EULA if you want the updated data.</p>"; //nazigerman for "NO DATA FOR YOU!" break; - case "I Do Not Agree": + case TRUE: $html = "<h2>You agree!</h2> <p>Good for you. Click here to download a tarball with the new data <tt>pk3</tt>s.</p>"; @@ -239,12 +239,12 @@ ORAL AGREEMENTS, PROPOSALS OR UNDERSTANDINGS, AND ANY OTHER COMMUNICATIONS BETWEEN ID AND YOU RELATING TO THE SUBJECT MATTER OF THIS AGREEMENT. </pre> -<form method=\"post\" action=\"?page=getdata\"> - <input type=\"submit\" id=\"agree\" value=\"I Agree\" /> - <input type=\"submit\" id=\"agree\" value=\"I Do Not Agree\" /> +<form method=\"post\" action=\"?page=getdata&agree=1\"> + <input type=\"submit\" id=\"agree\"/> </form> -</p> -"; +<form method=\"post\" action=\"?page=getdata&agree=0\"> + <input type=\"submit\" id=\"agree\"/> +</form> +</p>"; } echo $html; -echo $_POST[$agree]; |