librefm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Librefm-commits] [1786] fix 'display-things' logic


From: Matt Lee
Subject: [Librefm-commits] [1786] fix 'display-things' logic
Date: Sun, 24 May 2009 16:21:23 +0000

Revision: 1786
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1786
Author:   mattl
Date:     2009-05-24 16:21:22 +0000 (Sun, 24 May 2009)
Log Message:
-----------
fix 'display-things' logic

Modified Paths:
--------------
    trunk/gnukebox/display.php
    trunk/gnukebox/index.php

Modified: trunk/gnukebox/display.php
===================================================================
--- trunk/gnukebox/display.php  2009-05-24 16:17:23 UTC (rev 1785)
+++ trunk/gnukebox/display.php  2009-05-24 16:21:22 UTC (rev 1786)
@@ -23,8 +23,6 @@
 require_once('utils/human-time.php');
 require_once('temp-utils.php');
 
-if ($display-things) {
-
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  "http://www.w3.org/TR/html4/strict.dtd";>
@@ -75,10 +73,3 @@
 
 </body>
 </html>
-<?php
-
-} 
-else
- { echo "<h1>GNUkebox!</h1><p>Please configure your system for " . 
$_SERVER['SERVER_NAME'] . "</p>"; }
-
-?>
\ No newline at end of file

Modified: trunk/gnukebox/index.php
===================================================================
--- trunk/gnukebox/index.php    2009-05-24 16:17:23 UTC (rev 1785)
+++ trunk/gnukebox/index.php    2009-05-24 16:21:22 UTC (rev 1786)
@@ -38,6 +38,16 @@
        }
 } else {
        //If we're not handshaking then just display some nice stats
+
+       if ($display-things) {
+
        require_once('display.php');
+
+       } 
+       else
+        { 
+        echo "<h1>GNUkebox!</h1><p>Please configure your system for " . 
$_SERVER['SERVER_NAME'] . "</p>"; }
+
+?>
 }
 ?>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]