diff options
author | TheTroll <trolldev@gmail.com> | 2010-03-29 21:40:48 +0200 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-03-29 21:40:48 +0200 |
commit | 757a348d254dc4dffe2042b0690942208222f106 (patch) | |
tree | ffe9cf47fe79eac7cccbd83b609c59e9ac9661d3 | |
parent | e5be8abc4947cc00fb199dfdd4ab394f1a88a99c (diff) | |
download | istreamdev-757a348d254dc4dffe2042b0690942208222f106.tar.gz istreamdev-757a348d254dc4dffe2042b0690942208222f106.tar.bz2 |
Replace | by <br>
-rw-r--r-- | bin/vdr.php | 6 |
1 files changed, 3 insertions, 3 deletions
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("/\|/", "<br>", 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("/\|/", "<br>", substr($allepg[$i], 2)); else if(ereg("^E ", $allepg[$i])) { $time = substr($allepg[$i], 2); |