thomascube
2007-01-03 462a9d991de33535def90be94450bd69abd4d536
Fixed template parsing (multibyte substring issues)

1 files modified
2 ■■■ changed files
program/include/rcube_shared.inc 2 ●●● patch | view | raw | blame | history
program/include/rcube_shared.inc
@@ -217,7 +217,7 @@
    $output_lc = rc_strtolower($output);
    if(($fpos = strrstr($output_lc, '</body>')) ||
       ($fpos = strrstr($output_lc, '</html>')))
      $output = rc_substr($output,0,$fpos) . "$__page_footer\n" . rc_substr($output,$fpos);
      $output = substr($output, 0, $fpos) . "$__page_footer\n" . substr($output, $fpos);
    else
      $output .= "\n$__page_footer";