summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger (at) gmx (dot) de>2007-05-04 15:55:10 +0000
committerChristian Wieninger <cwieninger (at) gmx (dot) de>2007-05-04 15:55:10 +0000
commit25afcf3a861c420b5caa513939e664144739279f (patch)
tree1a96ad34a22ea543684fb9ba00421c2b6c238675 /pages
parentf70ef147a33991271f419c5db4aa83b0fb63cce6 (diff)
downloadvdr-plugin-live-25afcf3a861c420b5caa513939e664144739279f.tar.gz
vdr-plugin-live-25afcf3a861c420b5caa513939e664144739279f.tar.bz2
- the current event in schedules is now displayed in red
Diffstat (limited to 'pages')
-rw-r--r--pages/menu.ecpp2
-rw-r--r--pages/schedule.ecpp11
2 files changed, 10 insertions, 3 deletions
diff --git a/pages/menu.ecpp b/pages/menu.ecpp
index fb6b2f9..c02e9b6 100644
--- a/pages/menu.ecpp
+++ b/pages/menu.ecpp
@@ -22,7 +22,7 @@ std::string set_component;
<div class="menu">
<a href="whats_on.html?type=now" <& menu.setactive current=("now") &>><$ tr("What's on now?") $></a> |
<a href="whats_on.html?type=next" <& menu.setactive current=("next") &>><$ tr("What's on next?") $></a> |
- <a href="schedule.html" <& menu.setactive current=("schedule") &>><$ tr("Schedule") $></a> |
+ <a href="schedule.html#cur" <& menu.setactive current=("schedule") &>><$ tr("Schedule") $></a> |
<a href="timers.html" <& menu.setactive current=("timers") &>><$ tr("Timers") $></a> |
% if (LiveSetup().HaveEPGSearch()) {
<a href="searchepg.html" <& menu.setactive current=("searchepg") &>><$ tr("Search") $></a> |
diff --git a/pages/schedule.ecpp b/pages/schedule.ecpp
index 93143e5..d7b34dd 100644
--- a/pages/schedule.ecpp
+++ b/pages/schedule.ecpp
@@ -78,7 +78,6 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
string end(Event->EndTime() ? FormatDateTime(tr("%I:%M %p"), Event->EndTime()) : "");
string day(Event->StartTime() ? FormatDateTime(tr("%A, %b %d %Y"), Event->StartTime()) : "");
tEventID event = Event->EventID();
-
if (current_day != day) {
if (current_day != "") {
}>
@@ -96,7 +95,15 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
<tr class="<? active_line ? "active" ?>">
<td style="border-left: 1px solid black"><& pageelems.event_timer channelid=(channel_id) eventid=(event) &></td>
<td><$ start $> - <$ end $></td>
- <td><strong><$ title $></strong><br /><$ short_description $><br /></td>
+ <td>
+% if(Event == PresentEvent) {
+ <a name="cur" id="cur"></a><font color="#FF0000">
+% }
+ <strong><$ title $></strong><br /><$ short_description $><br />
+% if(Event == PresentEvent) {
+ </font>
+% }
+ </td>
<td style="border-right: 1px solid black">&nbsp;</td>
</tr>
% }