[Scummvm-cvs-logs] SF.net SVN: scummvm:[34600] web/trunk

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Thu Sep 18 13:55:05 CEST 2008


Revision: 34600
          http://scummvm.svn.sourceforge.net/scummvm/?rev=34600&view=rev
Author:   fingolfin
Date:     2008-09-18 11:55:05 +0000 (Thu, 18 Sep 2008)

Log Message:
-----------
WEB: Changed HTTP_GET_VARS to _GET

Modified Paths:
--------------
    web/trunk/documentation.php
    web/trunk/index.php
    web/trunk/screenshots.php

Modified: web/trunk/documentation.php
===================================================================
--- web/trunk/documentation.php	2008-09-18 08:19:00 UTC (rev 34599)
+++ web/trunk/documentation.php	2008-09-18 11:55:05 UTC (rev 34600)
@@ -19,7 +19,7 @@
 
 echo '<div class="par-item">';
 
-$view = $HTTP_GET_VARS['view'];
+$view = $_GET['view'];
 
 if ($view and file_exists($file_root."/docs/".$view.".xml")) {
   echo  '  <div class="par-head">';

Modified: web/trunk/index.php
===================================================================
--- web/trunk/index.php	2008-09-18 08:19:00 UTC (rev 34599)
+++ web/trunk/index.php	2008-09-18 11:55:05 UTC (rev 34600)
@@ -8,8 +8,8 @@
 
 html_page_header('ScummVM :: Home', array("index.css"));
 
-if (array_key_exists('shownews', $HTTP_GET_VARS)) {
-  $shownews = $HTTP_GET_VARS['shownews'];
+if (array_key_exists('shownews', $_GET)) {
+  $shownews = $_GET['shownews'];
 } else {
   $shownews = 0;
 }

Modified: web/trunk/screenshots.php
===================================================================
--- web/trunk/screenshots.php	2008-09-18 08:19:00 UTC (rev 34599)
+++ web/trunk/screenshots.php	2008-09-18 11:55:05 UTC (rev 34600)
@@ -8,21 +8,21 @@
 
 $offset = $cat1 = $cat2 = $screenshotID = "";
 
-if (array_key_exists('offset', $HTTP_GET_VARS)) {
-  $offset = $HTTP_GET_VARS['offset'];
+if (array_key_exists('offset', $_GET)) {
+  $offset = $_GET['offset'];
 }
 
-if (array_key_exists('cat1', $HTTP_GET_VARS)) {
-  $cat1 = $HTTP_GET_VARS['cat1'];
+if (array_key_exists('cat1', $_GET)) {
+  $cat1 = $_GET['cat1'];
 }
 
-if (array_key_exists('cat2', $HTTP_GET_VARS)) {
-  $cat2 = $HTTP_GET_VARS['cat2'];
+if (array_key_exists('cat2', $_GET)) {
+  $cat2 = $_GET['cat2'];
 }
 
 // TODO: Replace screenshotID by cat3 field (this will require changes to the JavaScript code)
-if (array_key_exists('screenshotID', $HTTP_GET_VARS)) {
-  $screenshotID = $HTTP_GET_VARS['screenshotID'];
+if (array_key_exists('screenshotID', $_GET)) {
+  $screenshotID = $_GET['screenshotID'];
 }
 
 // If a full screenshotID was provided, ignore all other params and display the corresponding page


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list