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/includes/acp/acp_styles.php | |
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/includes/acp/acp_styles.php')
-rw-r--r-- | phpBB/includes/acp/acp_styles.php | 4 |
1 files changed, 2 insertions, 2 deletions
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; |