mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
replaced \' with ' in template to let it parse javascript correctly. admin_attachments.php changes. added real media streaming.
git-svn-id: file:///svn/phpbb/trunk@3932 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -373,7 +373,7 @@ class Template
|
||||
|
||||
$template_php = str_replace(' ?><?php ', '', $template_php);
|
||||
|
||||
return (!$no_echo) ? $template_php : "\$$echo_var .= '" . addslashes($template_php) . "'";
|
||||
return (!$no_echo) ? str_replace("\\'", "'", $template_php) : "\$$echo_var .= '" . addslashes($template_php) . "'";
|
||||
}
|
||||
|
||||
function compile_var_tags(&$text_blocks)
|
||||
|
Reference in New Issue
Block a user