r600 - trunk/web/include

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Feb 28 18:52:53 EST 2006


Author: floam
Date: 2006-02-28 18:52:53 -0500 (Tue, 28 Feb 2006)
New Revision: 600

Modified:
   trunk/web/include/getdata.php
Log:
I guess unset and false are the same thing in php


Modified: trunk/web/include/getdata.php
===================================================================
--- trunk/web/include/getdata.php	2006-02-28 23:51:28 UTC (rev 599)
+++ trunk/web/include/getdata.php	2006-02-28 23:52:53 UTC (rev 600)
@@ -1,17 +1,6 @@
 <?php
 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 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>";
-		break;
-	default:
+	case NULL:
 		$html = "
 <h2>EULA</h2>
 <p>In order for us to distribute the updated pk3 files from id
@@ -246,5 +235,16 @@
 	<input type=\"submit\" id=\"agree\"/>
 </form>
 </p>";
+	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 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>";
+		break;
 }
 echo $html;




More information about the quake3-commits mailing list