From 757a348d254dc4dffe2042b0690942208222f106 Mon Sep 17 00:00:00 2001 From: TheTroll Date: Mon, 29 Mar 2010 21:40:48 +0200 Subject: Replace | by
--- bin/vdr.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/vdr.php') diff --git a/bin/vdr.php b/bin/vdr.php index f1bd495..c27dc4a 100644 --- a/bin/vdr.php +++ b/bin/vdr.php @@ -323,7 +323,7 @@ function vdrgetepgat($channum, $at) if(ereg("^T ", $epg[$i])) $title = substr($epg[$i], 2); else if(ereg("^D ", $epg[$i])) - $desc = substr($epg[$i], 2); + $desc = preg_replace("/\|/", "
", substr($epg[$i], 2)); else if(ereg("^E ", $epg[$i])) { $time = substr($epg[$i], 2); @@ -627,9 +627,9 @@ function vdrgetrecinfo($rec) $channame = substr($channame, strlen($channames[0])+1); } else if(ereg("^T", $allepg[$i])) - $epgtitle=substr($allepg[$i], 2); + $epgtitle = substr($allepg[$i], 2); else if(ereg("^D", $allepg[$i])) - $epgdesc=substr($allepg[$i], 2); + $epgdesc = preg_replace("/\|/", "
", substr($allepg[$i], 2)); else if(ereg("^E ", $allepg[$i])) { $time = substr($allepg[$i], 2); -- cgit v1.2.3