mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
yWeb/neutrinoyparser: add icons for scrabled and webtv channels
Origin commit data
------------------
Branch: ni/coolstream
Commit: 129dacc912
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-03-14 (Mon, 14 Mar 2016)
Origin message was:
------------------
- yWeb/neutrinoyparser: add icons for scrabled and webtv channels
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -450,6 +450,15 @@ std::string CNeutrinoYParser::func_get_bouquets_with_epg(CyhookHandler *hh, std:
|
||||
yresult += "</a>\n";
|
||||
}
|
||||
|
||||
if (!channel->getUrl().empty())
|
||||
{
|
||||
yresult += "<img src=\"/images/webtv.png\" alt=\"WebTV\" title=\"WebTV\" />\n";
|
||||
}
|
||||
|
||||
if (channel->scrambled)
|
||||
{
|
||||
yresult += "<img src=\"/images/key.png\" alt=\"Scrambled\" title=\"Scrambled\" />\n";
|
||||
}
|
||||
if (event.eventID)
|
||||
{
|
||||
yresult += string_printf("<a href=\"javascript:do_epg('"PRINTF_CHANNEL_ID_TYPE_NO_LEADING_ZEROS"','"PRINTF_CHANNEL_ID_TYPE_NO_LEADING_ZEROS"')\">"
|
||||
|
Reference in New Issue
Block a user