mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-31 16:23:50 +02:00
neatify widescreen toggle
git-svn-id: http://www.observium.org/svn/observer/trunk@2435 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
+2
-3
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user