aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/subsilver2/template/ucp_agreement.html
diff options
context:
space:
mode:
authorGabriel Vazquez <leviatan21@phpbb.com>2009-06-24 03:11:20 +0000
committerGabriel Vazquez <leviatan21@phpbb.com>2009-06-24 03:11:20 +0000
commit8d106c79c54a4b870c65112fc50dbb2dd755936a (patch)
tree4577d2a74e2e96375828d4542fe57fab5a8b583b /phpBB/styles/subsilver2/template/ucp_agreement.html
parent19e2dcd5db7f2a910409b82ce315265608ae8266 (diff)
downloadforums-8d106c79c54a4b870c65112fc50dbb2dd755936a.tar
forums-8d106c79c54a4b870c65112fc50dbb2dd755936a.tar.gz
forums-8d106c79c54a4b870c65112fc50dbb2dd755936a.tar.bz2
forums-8d106c79c54a4b870c65112fc50dbb2dd755936a.tar.xz
forums-8d106c79c54a4b870c65112fc50dbb2dd755936a.zip
Fixed Bug #15085 - [Feature] Add language selection on the registration terms page
Authorised by: AcydBurn git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9666 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/styles/subsilver2/template/ucp_agreement.html')
-rw-r--r--phpBB/styles/subsilver2/template/ucp_agreement.html27
1 files changed, 25 insertions, 2 deletions
diff --git a/phpBB/styles/subsilver2/template/ucp_agreement.html b/phpBB/styles/subsilver2/template/ucp_agreement.html
index f1ea9df73a..d5420f66a6 100644
--- a/phpBB/styles/subsilver2/template/ucp_agreement.html
+++ b/phpBB/styles/subsilver2/template/ucp_agreement.html
@@ -1,8 +1,31 @@
<!-- INCLUDE overall_header.html -->
+<!-- IF S_SHOW_COPPA or S_REGISTRATION -->
+<!-- IF S_LANG_OPTIONS -->
+<script type="text/javascript">
+// <![CDATA[
+ /**
+ * Change language
+ */
+ function change_language(lang_iso)
+ {
+ document.forms['register'].change_lang.value = lang_iso;
+ document.forms['register'].submit();
+ }
-<!-- IF S_SHOW_COPPA or S_REGISTRATION -->
+// ]]>
+</script>
+
+ <form method="post" action="{S_UCP_ACTION}" id="register">
+ <table width="100%" cellspacing="0">
+ <tr>
+ <td class="gensmall" align="{S_CONTENT_FLOW_END}">{L_LANGUAGE}: <select name="lang" id="lang" onchange="change_language(this.value); return false;" title="{L_LANGUAGE}">{S_LANG_OPTIONS}</select></td>
+ </tr>
+ </table>
+ {S_HIDDEN_FIELDS}
+ </form>
+<!-- ENDIF -->
<form method="post" action="{S_UCP_ACTION}">
@@ -58,4 +81,4 @@
<!-- ENDIF -->
-<!-- INCLUDE overall_footer.html --> \ No newline at end of file
+<!-- INCLUDE overall_footer.html -->