librefm-commits
[Top][All Lists]
Advanced

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

[Librefm-commits] [1772] add "ul" tag to beginning of list, add line bre


From: Matt Lee
Subject: [Librefm-commits] [1772] add "ul" tag to beginning of list, add line breaks
Date: Sun, 24 May 2009 15:56:40 +0000

Revision: 1772
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1772
Author:   mattl
Date:     2009-05-24 15:56:40 +0000 (Sun, 24 May 2009)
Log Message:
-----------
add "ul" tag to beginning of list, add line breaks

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

Modified: trunk/gnukebox/display.php
===================================================================
--- trunk/gnukebox/display.php  2009-05-24 15:55:29 UTC (rev 1771)
+++ trunk/gnukebox/display.php  2009-05-24 15:56:40 UTC (rev 1772)
@@ -52,18 +52,17 @@
                die($e->getMessage());
        }
 
-?>
+       echo "<ul>\n";
 
-<?php
 
+
                        foreach($res as &$row){
 
-                       echo "<li>" . $row['username'] . " listened to " . 
$row['artist'] . "&mdash;" . $row['track'] . 'at <abbr title=\'' . 
strftime('%c', $row['time']) . '\'>' . human_timestamp($row['time']) . 
'</abbr></li>';
+                       echo "<li>" . $row['username'] . " listened to " . 
$row['artist'] . "&mdash;" . $row['track'] . 'at <abbr title=\'' . 
strftime('%c', $row['time']) . '\'>' . human_timestamp($row['time']) . 
'</abbr></li>\n';
 
                        }
 
-               ?>
-               </ul>
+       echo "</ul>\";
 
 </body>
 </html>





reply via email to

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