aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjaviexin <javiexin@gmail.com>2015-06-30 14:35:01 +0200
committerjaviexin <javiexin@gmail.com>2015-06-30 14:35:01 +0200
commit80fee7422cdd448db7b908316c532b8674d81e5d (patch)
tree883845a3aaa215fb58570b1cb5dc5b83eb7312ac
parent558d604d83fd5ded2edc854a9944ad0d1188e2e5 (diff)
downloadforums-80fee7422cdd448db7b908316c532b8674d81e5d.tar
forums-80fee7422cdd448db7b908316c532b8674d81e5d.tar.gz
forums-80fee7422cdd448db7b908316c532b8674d81e5d.tar.bz2
forums-80fee7422cdd448db7b908316c532b8674d81e5d.tar.xz
forums-80fee7422cdd448db7b908316c532b8674d81e5d.zip
[ticket/13934] Add enctype clause for profile fields
Adds a template variable (the same) in all places where profile fields may need an enctype clause in the corresponding forms. PHPBB3-13934
-rw-r--r--phpBB/adm/style/acp_profile.html2
-rw-r--r--phpBB/adm/style/acp_users_profile.html2
-rw-r--r--phpBB/styles/prosilver/template/ucp_register.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/adm/style/acp_profile.html b/phpBB/adm/style/acp_profile.html
index 64bc3df09b..df59294985 100644
--- a/phpBB/adm/style/acp_profile.html
+++ b/phpBB/adm/style/acp_profile.html
@@ -17,7 +17,7 @@
</div>
<!-- ENDIF -->
- <form id="add_profile_field" method="post" action="{U_ACTION}">
+ <form id="add_profile_field" method="post" action="{U_ACTION}"{S_FORM_ENCTYPE}>
<!-- IF S_STEP_ONE -->
diff --git a/phpBB/adm/style/acp_users_profile.html b/phpBB/adm/style/acp_users_profile.html
index 573534fc95..9296638ff6 100644
--- a/phpBB/adm/style/acp_users_profile.html
+++ b/phpBB/adm/style/acp_users_profile.html
@@ -1,4 +1,4 @@
- <form id="user_profile" method="post" action="{U_ACTION}">
+ <form id="user_profile" method="post" action="{U_ACTION}"{S_FORM_ENCTYPE}>
<fieldset>
<legend>{L_USER_PROFILE}</legend>
diff --git a/phpBB/styles/prosilver/template/ucp_register.html b/phpBB/styles/prosilver/template/ucp_register.html
index 020f69cb26..cbad22d594 100644
--- a/phpBB/styles/prosilver/template/ucp_register.html
+++ b/phpBB/styles/prosilver/template/ucp_register.html
@@ -14,7 +14,7 @@
// ]]>
</script>
-<form method="post" action="{S_UCP_ACTION}" id="register">
+<form id="register" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
<div class="panel">
<div class="inner">