From 65eafbac7fe1460444724477b8bf97d95c788155 Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Tue, 28 Oct 2008 02:03:00 +0000 Subject: [PATCH] Move titles of programmes into the centre of the screen and make the episodes appear below them when clicked. --- playonwii/index.php | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/playonwii/index.php b/playonwii/index.php index f2bdcf3..ef0c805 100644 --- a/playonwii/index.php +++ b/playonwii/index.php @@ -199,10 +199,11 @@ foreach( $sorted_fns as $filename ) span.smalltime:hover { color: red; } - th { + h2 { font-size: x-large; font-weight: normal; color: blue; + margin: 2px; } td.dates { font-size: small; @@ -243,20 +244,19 @@ function title_click( table_id )
\n"; ksort( $titles ); $table_counter = 0; foreach( $titles as $title => $arr ) { list( $num, $date, $channel, $sub_title ) = $arr[0]; - print "$title"; + print "

$title

\n"; - print ""; + print ""; foreach( $arr as $lst ) { list( $num, $date, $channel, $sub_title, $description, $filename ) = $lst; - print ""; - print ""; + print "\n"; } - print "\n"; - print ""; + print "\n"; $table_counter += 1; } print "\n"; -- 2.11.4.GIT