From a44b01482cc77f30684a92fe139fe2af642ce93a Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Fri, 18 Apr 2008 21:41:51 +0200 Subject: Added different button for streaming to browser and playback on tv. Fixed style of infobox caption. --- css/styles.css | 1 + live/img/stream_button.png | Bin 0 -> 832 bytes pages/pageelems.ecpp | 4 ++-- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 live/img/stream_button.png diff --git a/css/styles.css b/css/styles.css index 25b82ca..ef50772 100644 --- a/css/styles.css +++ b/css/styles.css @@ -539,6 +539,7 @@ div#infobox div.st_header div.caption { float: left; overflow: hidden; font-weight: bold; + padding-left: 0px; } div#infobox div.st_content { diff --git a/live/img/stream_button.png b/live/img/stream_button.png new file mode 100644 index 0000000..069097b Binary files /dev/null and b/live/img/stream_button.png differ diff --git a/pages/pageelems.ecpp b/pages/pageelems.ecpp index 13a5828..1d2114c 100644 --- a/pages/pageelems.ecpp +++ b/pages/pageelems.ecpp @@ -107,7 +107,7 @@ int update_status(1); tChannelID channelId; string linkText; -<%cpp> if (LiveSetup().GetUseStreamdev() && LiveFeatures().Loaded()) { " alt="" <& tooltip.hint text=(tr("Stream this channel into browser.")) &>> <$ linkText $><%cpp> } +<%cpp> if (LiveSetup().GetUseStreamdev() && LiveFeatures().Loaded()) { " alt="" <& tooltip.hint text=(tr("Stream this channel into browser.")) &>> <$ linkText $><%cpp> } @@ -266,7 +266,7 @@ int update_status(1); "><& pageelems.event_timer epgid=(epgid) &> "><%cpp>if (elapsed > 0) { <& pageelems.ajax_action_href action="switch_channel" tip=(tr("Switch to this channel.")) param=(channelId) image="zap.png" alt="" &><%cpp> } "><%cpp>if (LiveFeatures().Recent()) { " alt="" <& tooltip.hint text=(tr("Search for repeats.")) &>><%cpp> } else { <%cpp> } - "><%cpp>if (LiveSetup().GetUseStreamdev() && elapsed > 0 && LiveFeatures().Loaded()) { " alt="" <& tooltip.hint text=(tr("Stream this channel into browser.")) &>><%cpp> } else { <%cpp> } + "><%cpp>if (LiveSetup().GetUseStreamdev() && elapsed > 0 && LiveFeatures().Loaded()) { " alt="" <& tooltip.hint text=(tr("Stream this channel into browser.")) &>><%cpp> } else { <%cpp> } "><& pageelems.imdb_info_href title=(title) &> <%cpp> } -- cgit v1.2.3