diff options
author | Alib <aliboba@free.fr> | 2010-02-26 17:52:47 +0100 |
---|---|---|
committer | Alib <aliboba@free.fr> | 2010-02-26 17:52:47 +0100 |
commit | 307dc9c35c0e2eb9481bb9fa9213773ab01f633b (patch) | |
tree | 32fdc0a788e8173dd066e98601fbeac574edbbba /includes/inc_vdr.php | |
parent | c717ff82b3d58a1dc43323b53f3e4a4c9bf8b4ec (diff) | |
parent | c098143b66784a518de81bc3f639993ac1d6f3ec (diff) | |
download | istreamdev-307dc9c35c0e2eb9481bb9fa9213773ab01f633b.tar.gz istreamdev-307dc9c35c0e2eb9481bb9fa9213773ab01f633b.tar.bz2 |
Merge branch 'master' of projects.vdr-developer.org:istreamdev
Diffstat (limited to 'includes/inc_vdr.php')
-rwxr-xr-x | includes/inc_vdr.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/inc_vdr.php b/includes/inc_vdr.php index d8ebf93..ac6be1d 100755 --- a/includes/inc_vdr.php +++ b/includes/inc_vdr.php @@ -248,10 +248,11 @@ function vdrlistchannels($category = "NULL") print "<li class=\"withimage\">"; $chan2=addslashes($chan); print " <a class=\"noeffect\" href=\"javascript:sendForm('$chan2');\">\r\n"; - if (!file_exists('logos/'.$chan.'.png')) + $channoslash = preg_replace("$/$", " ", $chan); + if (!file_exists('logos/'.$channoslash.'.png')) print " <img src=\"logos/nologoTV.png\" />\r\n"; else - print " <img src=\"logos/{$chan}.png\" />\r\n"; + print " <img src=\"logos/{$channoslash}.png\" />\r\n"; print " <span class=\"name\">$chan</span>\r\n"; print " <span class=\"comment\">$epgtitle</span><span class=\"arrow\"></span></a>\r\n</li>\r\n"; print " <form name=\"$chan\" id=\"$chan\" method=\"post\" action=\"index.php\">"; |