diff -r c4b74f49d336 -r a6496f95e0fc web/index.php --- a/web/index.php Fri Dec 16 10:44:06 2011 +0100 +++ b/web/index.php Fri Dec 16 11:46:21 2011 +0100 @@ -15,7 +15,7 @@
@@ -33,9 +33,14 @@ continue; list($title, $stream_id, $thumbnail, $date) = explode(";", $line); + if (strlen($title) >= 37) { + $title = substr($title, 0, 35) . "..."; + } + echo "
" . - "thumbnail" . - "$title
$date" . + "thumbnail" . + "
$title
" . + "
$date
" . "
"; } ?>