initial widescreen version :)

git-svn-id: http://www.observium.org/svn/observer/trunk@2412 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-09-04 21:50:48 +00:00
parent 1c65e69268
commit f096b307c4
4 changed files with 31 additions and 4 deletions
+11 -1
View File
@@ -25,6 +25,12 @@ include("../config.php");
include("../includes/functions.php");
include("includes/functions.inc.php");
include("includes/authenticate.inc.php");
if($_GET['widescreen'] == "yes") { $_SESSION['widescreen'] = 1; }
if($_GET['widescreen'] == "no") { unset($_SESSION['widescreen']); }
$start = utime();
$now = time();
@@ -66,6 +72,11 @@ if ($config['page_refresh']) { echo("<meta http-equiv='refresh' content='".$conf
<link href="<?php echo($config['stylesheet']); ?>" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="<?php echo($config['favicon']); ?>" />
<link rel="stylesheet" href="css/mktree.css" type="text/css" />
<?php
if ($_SESSION['widescreen']) { echo('<link rel="stylesheet" href="css/styles-wide.css" type="text/css" />'); }
?>
</head>
<body>
<script type="text/javascript" src="js/mktree.js"></script>
@@ -96,7 +107,6 @@ function popUp(URL)
<?php
include("includes/authenticate.inc.php");
include("includes/".$config['web_header']);
if ($_SESSION['authenticated']) { include("includes/print-menubar.php"); } else { echo('<hr color="#444444" />'); }