neatify widescreen toggle

git-svn-id: http://www.observium.org/svn/observer/trunk@2435 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2011-09-08 16:16:45 +00:00
parent fc87f86127
commit f63b32b907
2 changed files with 17 additions and 13 deletions

View File

@@ -27,9 +27,8 @@ include("includes/functions.inc.php");
include("includes/authenticate.inc.php");
if($_GET['widescreen'] == "yes") { $_SESSION['widescreen'] = 1; }
if($_GET['widescreen'] == "no") { unset($_SESSION['widescreen']); }
if(strstr($_SERVER['REQUEST_URI'], 'widescreen=yes')) { $_SESSION['widescreen'] = 1; }
if(strstr($_SERVER['REQUEST_URI'], 'widescreen=no')) { unset($_SESSION['widescreen']); }
$start = utime();