[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Librefm-commits] [1780] added more generic text, plus a copy of info. h
From: |
Matt Lee |
Subject: |
[Librefm-commits] [1780] added more generic text, plus a copy of info. html which will be displayed. |
Date: |
Sun, 24 May 2009 16:12:38 +0000 |
Revision: 1780
http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1780
Author: mattl
Date: 2009-05-24 16:12:37 +0000 (Sun, 24 May 2009)
Log Message:
-----------
added more generic text, plus a copy of info.html which will be displayed.
Modified Paths:
--------------
trunk/gnukebox/display.php
Added Paths:
-----------
trunk/gnukebox/info.html
Modified: trunk/gnukebox/display.php
===================================================================
--- trunk/gnukebox/display.php 2009-05-24 16:04:54 UTC (rev 1779)
+++ trunk/gnukebox/display.php 2009-05-24 16:12:37 UTC (rev 1780)
@@ -23,6 +23,8 @@
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">
@@ -35,6 +37,8 @@
<h1><a href="<?php echo $submissions_server ?>">GNUkebox</a></h1>
+ <?php include('info.html'); ?>
+
<h2>Last 100 tracks received</h2>
<?php
@@ -70,4 +74,5 @@
<address>Powered by <a href="http://gnukebox.org">GNUkebox</a> —
<a
href="http://svn.savannah.gnu.org/viewvc/trunk/gnukebox/?root=librefm">Source
code</a></address>
</body>
-</html>
\ No newline at end of file
+</html>
+} else { echo "<h1>GNUkebox!</h1><p>" . $_SERVER['SERVER-NAME'] . "</p>"; }
\ No newline at end of file
Added: trunk/gnukebox/info.html
===================================================================
--- trunk/gnukebox/info.html (rev 0)
+++ trunk/gnukebox/info.html 2009-05-24 16:12:37 UTC (rev 1780)
@@ -0,0 +1,14 @@
+<p>This is a public installation of GNUkebox, as part of the Libre.fm
+project. GNUkebox implements a basic server for storing listening data
+from various music applications, these are also known
+as <em>scrobbles</em>. GNUkebox is part
+of <a href="http://www.gnu.org/software/fm/">GNU FM</a>, and developed
+for <a href="http://libre.fm/">Libre.fm</a>
+by <a href="http://foocorp.org/">FooCorp</a>
+and <a
href="http://svn.savannah.gnu.org/viewvc/*checkout*/trunk/gnukebox/AUTHORS?root=librefm&content-type=text%2Fplain">contributors</a>.</p>
+
+<p>GNUkebox implements little more than this page. You can even turn
+this page off.</p>
+
+<p>If you'd like to use our server (everyone is welcome!), please
+visit <a href="http://libre.fm/">Libre.fm</a></p>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Librefm-commits] [1780] added more generic text, plus a copy of info. html which will be displayed.,
Matt Lee <=