From e3f72a5ad92ce4c75f8d91f1925491f53fbdbe52 Mon Sep 17 00:00:00 2001 From: Christian Wieninger Date: Thu, 10 Jan 2008 19:23:57 +0100 Subject: - favorites in 'detailed mode' --- pages/whats_on.ecpp | 34 ++++++++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 6 deletions(-) (limited to 'pages') diff --git a/pages/whats_on.ecpp b/pages/whats_on.ecpp index 9a60e7f..a902ae6 100644 --- a/pages/whats_on.ecpp +++ b/pages/whats_on.ecpp @@ -225,6 +225,7 @@ if (type == "now") { // last result? SearchResults::iterator nextres = result; bool bottom = (++nextres == results.end()); + if (mode == "list") { <& pageelems.epg_tool_box detail=(0) epgid=(epgId) title=(result->Title()) startTime=(result->StartTime()) endTime=(result->StopTime()) lastCurrentChanel=(bottom ? 1 : 0) &> @@ -239,14 +240,35 @@ if (type == "now") { % if (!longDescription.empty()) { <& tooltip.hint text=(longDescription) &><& tooltip.display domId=(epgId) &> % } - ><$ (result->Title()) $>
<$ (result->ShortText()) $> - + ><$ (result->Title()) $>
<$ (result->ShortText()) $> + ">
><$ (channelname) $>
- -% } -<%cpp> + +% } else { +
+ +
+
+ <& pageelems.epg_tool_box detail=(1) epgid=(epgId) title=(result->Title()) startTime=(result->StartTime()) endTime=(result->StopTime()) &> +
+
+
<$ (FormatDateTime(tr("%I:%M %p"), result->StartTime())) $> - <$ (FormatDateTime(tr("%I:%M %p"), result->StopTime())) $>
+
<$ diffstring $>
+
<$ (result->Title()) $>
+
<$ (result->ShortText()) $>
+
<$ truncDescription $>
+% if (truncated) { + +% } +
+
+
+<%cpp> } + } } - + % if (mode == "list") { % } -- cgit v1.2.3