diff options
author | David M <davidmj@users.sourceforge.net> | 2007-06-09 12:18:54 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2007-06-09 12:18:54 +0000 |
commit | 9f4fceb9b6ba01b3a6b107b6c4a9298765d3f927 (patch) | |
tree | ee4a16caaad6769d09a10ae3f6355a62a99f2870 /phpBB | |
parent | 192819575088e005c681099f7811eaafdf7cc81b (diff) | |
download | forums-9f4fceb9b6ba01b3a6b107b6c4a9298765d3f927.tar forums-9f4fceb9b6ba01b3a6b107b6c4a9298765d3f927.tar.gz forums-9f4fceb9b6ba01b3a6b107b6c4a9298765d3f927.tar.bz2 forums-9f4fceb9b6ba01b3a6b107b6c4a9298765d3f927.tar.xz forums-9f4fceb9b6ba01b3a6b107b6c4a9298765d3f927.zip |
#12251
git-svn-id: file:///svn/phpbb/trunk@7738 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/docs/CHANGELOG.html | 1 | ||||
-rw-r--r-- | phpBB/includes/acp/acp_styles.php | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 3ebded2d2b..a489065b37 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -254,6 +254,7 @@ p a { <li>[Fix] Seperated PREVIOUS/NEXT language vars for pagination and next/previous step (Bug #12197)</li> <li>[Feature] append_sid() supporting anchor (Bug #11535) - patch provided by Schumi and ToonArmy</li> <li>[Fix] Remember selected language while registering after submit (Bug #11435)</li> + <li>[Fix] UTF-8 support in theme and template editors (Bug #12251)</li> </ul> diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php index f1e0fdef77..cc3a54ad04 100644 --- a/phpBB/includes/acp/acp_styles.php +++ b/phpBB/includes/acp/acp_styles.php @@ -670,7 +670,7 @@ parse_css_file = {PARSE_CSS_FILE} $_POST['template_data'] = (isset($_POST['template_data']) && !empty($_POST['template_data'])) ? str_replace(array("\r\n", "\r"), array("\n", "\n"), $_POST['template_data']) : ''; $template_data = (STRIP) ? stripslashes($_POST['template_data']) : $_POST['template_data']; - $template_file = request_var('template_file', ''); + $template_file = request_var('template_file', '', true); $text_rows = max(5, min(999, request_var('text_rows', 20))); $save_changes = (isset($_POST['save'])) ? true : false; @@ -1023,7 +1023,7 @@ parse_css_file = {PARSE_CSS_FILE} $_POST['template_data'] = (isset($_POST['template_data']) && !empty($_POST['template_data'])) ? str_replace(array("\r\n", "\r"), array("\n", "\n"), $_POST['template_data']) : ''; $theme_data = (STRIP) ? stripslashes($_POST['template_data']) : $_POST['template_data']; - $theme_file = request_var('template_file', ''); + $theme_file = request_var('template_file', '', true); $text_rows = max(5, min(999, request_var('text_rows', 20))); $save_changes = (isset($_POST['save'])) ? true : false; |