aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/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/prosilver/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/prosilver/template/ucp_agreement.html')
-rw-r--r--phpBB/styles/prosilver/template/ucp_agreement.html27
1 files changed, 25 insertions, 2 deletions
diff --git a/phpBB/styles/prosilver/template/ucp_agreement.html b/phpBB/styles/prosilver/template/ucp_agreement.html
index 67dcb35e7b..d64e2aebbe 100644
--- a/phpBB/styles/prosilver/template/ucp_agreement.html
+++ b/phpBB/styles/prosilver/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();
+ }
+
+// ]]>
+</script>
+
+ <form method="post" action="{S_UCP_ACTION}" id="register">
+ <p class="rightside">
+ <label for="lang">{L_LANGUAGE}:</label><select name="lang" id="lang" onchange="change_language(this.value); return false;" title="{L_LANGUAGE}">{S_LANG_OPTIONS}</select>
+ </p>
+ <div class="clear"></div>
+ {S_HIDDEN_FIELDS}
+ </form>
+<!-- ENDIF -->
+
<form method="post" action="{S_UCP_ACTION}" id="agreement">
<div class="panel">
@@ -45,4 +68,4 @@
<!-- ENDIF -->
-<!-- INCLUDE overall_footer.html --> \ No newline at end of file
+<!-- INCLUDE overall_footer.html -->