[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    www/sites/games
From:       Emil Sedgh <emilsedgh () gmail ! com>
Date:       2009-03-04 19:05:10
Message-ID: 1236193510.341341.27931.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 935277 by esedgh:

fixing some more issues that made notices on server


 M  +1 -1      get.php  
 M  +1 -5      news.php  
 M  +0 -4      style.css  


--- trunk/www/sites/games/get.php #935276:935277
@@ -102,7 +102,7 @@
         <?php
           foreach ( $platforms as $platform ) {
             $default = '';
-            if ( $_GET['platform'] == $platform ) {
+            if ( isset($_GET['platform']) && $_GET['platform'] == $platform ) {
               $default = 'selected="selected"';
             }
             print "<option value='".$platform."' $default>$platform</option>";
--- trunk/www/sites/games/news.php #935276:935277
@@ -3,11 +3,7 @@
 	include "header.inc";
 	include('gamesHeader.php');
 
-	if ( $_GET['showAll'] ) {
-		$num = 1000;
-	} else {
-		$num = 5;
-	}
+	$num = isset($_GET['showAll']) ? 1000 : 5;
 	kde_general_news('./news.rdf', $num, False);
 ?>
 	<a href="./news.php?showAll=True">
--- trunk/www/sites/games/style.css #935276:935277
@@ -67,10 +67,6 @@
 	background-repeat:repeat-y;
 }
 
-.ImageGal_center3{
-	background-image: url('./pics/gallery/center3.png');
-}
-
 .ImageGal_right3{
 	background-image: url('./pics/gallery/right3.png');
 	background-repeat:repeat-y;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic