From b8478173a72e6f202bd3cd4e1e8024620e2ae0bd Mon Sep 17 00:00:00 2001 From: Thomas Keil Date: Mon, 8 Jan 2007 00:08:51 +0000 Subject: fixed styles on whats_on --- pages/whats_on.ecpp | 39 ++++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 17 deletions(-) (limited to 'pages') diff --git a/pages/whats_on.ecpp b/pages/whats_on.ecpp index 82ca0a7..16c34f5 100644 --- a/pages/whats_on.ecpp +++ b/pages/whats_on.ecpp @@ -27,6 +27,7 @@ if (type == "now") { } }> + VDR-Live - <$ head $> @@ -39,10 +40,12 @@ if (type == "now") {
- VDR Live! + <& menu >
-
+ +
+
<& pageelems.header_box content=(head) &> <{ @@ -66,26 +69,27 @@ if (type == "now") { std::string start_m(FormatDateTime( "%M", Event->StartTime())); std::string end_m(FormatDateTime( "%M", Event->EndTime())); - + if (description.length() > 300) { + description = description.substr(0,250) + "..."; + } }> - - - - - - - - -
+
+
<$ channel_name $>
-
- border="0"/> - + + +
<$ start $> - <$ end $>
<$ title $>
<$ short_description $>
-
<$ description $>
-
+
+ <$ description $> +
+
+
+ <{ } @@ -94,6 +98,7 @@ if (type == "now") { } } }> +
-- cgit v1.2.3