diff options
| author | floam <floam@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-02-28 23:52:53 +0000 | 
|---|---|---|
| committer | floam <floam@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-02-28 23:52:53 +0000 | 
| commit | c8c790d4ac3dff8b028471ef2ce5062f4f9c80c7 (patch) | |
| tree | c9d1fc417833a5e5fdb855804d9538d701ff0021 | |
| parent | 281ef4cf8b5c7a7268ff615da7201fd8404a60ac (diff) | |
| download | ioquake3-aero-c8c790d4ac3dff8b028471ef2ce5062f4f9c80c7.tar.gz ioquake3-aero-c8c790d4ac3dff8b028471ef2ce5062f4f9c80c7.zip | |
I guess unset and false are the same thing in php
git-svn-id: svn://svn.icculus.org/quake3/trunk@600 edf5b092-35ff-0310-97b2-ce42778d08ea
| -rw-r--r-- | web/include/getdata.php | 24 | 
1 files changed, 12 insertions, 12 deletions
| diff --git a/web/include/getdata.php b/web/include/getdata.php index 09903be..9c6b0ea 100644 --- a/web/include/getdata.php +++ b/web/include/getdata.php @@ -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 @@ THIS AGREEMENT.  	<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; | 
