diff options
author | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2008-10-29 01:28:19 +0100 |
---|---|---|
committer | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2008-10-29 01:28:19 +0100 |
commit | da560175d35965dbca9856f7192e0da172fa7d32 (patch) | |
tree | b580272ae3f53c35468d40b08c2c25d9cbef6f93 /pages | |
parent | c21fc68e0ceb5d65240e7835b035bd6148d9e4ff (diff) | |
download | vdr-plugin-live-da560175d35965dbca9856f7192e0da172fa7d32.tar.gz vdr-plugin-live-da560175d35965dbca9856f7192e0da172fa7d32.tar.bz2 |
Added switch to this channel in the schedule page submenu.
There the switch channel button is always present, even if the selected
channel has no EPG data associated with it.
Diffstat (limited to 'pages')
-rw-r--r-- | pages/pageelems.ecpp | 3 | ||||
-rw-r--r-- | pages/schedule.ecpp | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/pages/pageelems.ecpp b/pages/pageelems.ecpp index 785f37f..e8dd1fb 100644 --- a/pages/pageelems.ecpp +++ b/pages/pageelems.ecpp @@ -105,9 +105,8 @@ int update_status(1); <%def vlc_stream_channel> <%args> tChannelID channelId; - string linkText; </%args> -<%cpp> if (LiveSetup().GetUseStreamdev() && LiveFeatures<features::streamdev_server>().Loaded()) { </%cpp><a href="vlc.html?channel=<$ channelId $>"><img src="<$ LiveSetup().GetThemedLink("img", "stream_button.png") $>" alt="" <& tooltip.hint text=(tr("Stream this channel into browser.")) &>></img> <$ linkText $></a><%cpp> } </%cpp> +<%cpp> if (LiveSetup().GetUseStreamdev() && LiveFeatures<features::streamdev_server>().Loaded()) { </%cpp><a href="vlc.html?channel=<$ channelId $>"><img src="<$ LiveSetup().GetThemedLink("img", "stream_button.png") $>" alt="" <& tooltip.hint text=(tr("Stream this channel into browser.")) &>></img></a><%cpp> } </%cpp> </%def> diff --git a/pages/schedule.ecpp b/pages/schedule.ecpp index f2a0907..1417eee 100644 --- a/pages/schedule.ecpp +++ b/pages/schedule.ecpp @@ -145,5 +145,5 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html"); <%include>page_exit.eh</%include> <%def channel_selection> -<form action="schedule.html" method="get" id="channels"><span><label for="channel"><$ tr("Show schedule of channel") $>: </label><& channels_widget name=("channel") selected=(Channel ? *Channel->GetChannelID().ToString() : "") onchange=("document.forms.channels.submit()") &> <& pageelems.vlc_stream_channel channelId=(Channel->GetChannelID()) linkText=(tr("Stream into browser")) &></span></form> +<form action="schedule.html" method="get" id="channels"><span><label for="channel"><$ tr("Show schedule of channel") $>: </label><& channels_widget name=("channel") selected=(Channel ? *Channel->GetChannelID().ToString() : "") onchange=("document.forms.channels.submit()") &> <& pageelems.ajax_action_href action="switch_channel" tip=(tr("Switch to this channel.")) param=(Channel->GetChannelID()) image="zap.png" alt="" &><& pageelems.vlc_stream_channel channelId=(Channel->GetChannelID()) &></span></form> </%def> |