summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-07 19:09:40 +0000
committerSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-07 19:09:40 +0000
commitf7b17ecdd359edd5e011d889ee1076313d788f26 (patch)
tree5a9f0926718927011e6a9d629b636317a5f842fc
parent416d738788c76d516dfc5884fafebafc157fd4cb (diff)
downloadvdr-plugin-live-f7b17ecdd359edd5e011d889ee1076313d788f26.tar.gz
vdr-plugin-live-f7b17ecdd359edd5e011d889ee1076313d788f26.tar.bz2
- added channel id to call to new timer page
-rw-r--r--pages/whats_on.ecpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/pages/whats_on.ecpp b/pages/whats_on.ecpp
index 80b9c54..75d4f12 100644
--- a/pages/whats_on.ecpp
+++ b/pages/whats_on.ecpp
@@ -56,6 +56,7 @@ if (type == "now") {
if (Event) {
std::string title(Event->Title() ? Event->Title() : "");
std::string channel_name(Channel->Name());
+ std::string channel_id(*Channel->GetChannelID().ToString());
std::string short_description(Event->ShortText() ? Event->ShortText() : "");
std::string description(Event->Description() ? Event->Description() : "");
std::string start(Event->StartTime() ? FormatDateTime(tr("%I:%M %p"), Event->StartTime()) : "");
@@ -71,7 +72,7 @@ if (type == "now") {
<tr><td class="station" colspan="2"><$ channel_name $></td></tr>
<tr>
<td class="tools">
- <a href="edit_timer.html?title=<$ title $>&start_h=<$ start_h $>&end_h=<$ end_h $>&start_m=<$ start_m $>&end_m=<$ end_m $>"><img src="/record.png" alt="" <& tooltip_widget tooltip=(tr("Record this")) &> border="0"/></a>
+ <a href="edit_timer.html?channel=<$ channel_id $>&title=<$ title $>&start_h=<$ start_h $>&end_h=<$ end_h $>&start_m=<$ start_m $>&end_m=<$ end_m $>"><img src="/record.png" alt="" <& tooltip_widget tooltip=(tr("Record this")) &> border="0"/></a>
</td>
<td class="content">
<div class="info"><$ start $> - <$ end $></div>