diff --git a/phpBB/styles/prosilver/template/ucp_agreement.html b/phpBB/styles/prosilver/template/ucp_agreement.html
index 4ac03eb5ca..3645f5147e 100644
--- a/phpBB/styles/prosilver/template/ucp_agreement.html
+++ b/phpBB/styles/prosilver/template/ucp_agreement.html
@@ -1,7 +1,7 @@
@@ -41,7 +41,7 @@
{L_COPPA_NO} {L_COPPA_YES}
-
+
@@ -51,7 +51,7 @@
{S_HIDDEN_FIELDS}
{S_FORM_TOKEN}
-
+
diff --git a/phpBB/styles/prosilver/template/ucp_register.html b/phpBB/styles/prosilver/template/ucp_register.html
index c8af288885..8fd722e241 100644
--- a/phpBB/styles/prosilver/template/ucp_register.html
+++ b/phpBB/styles/prosilver/template/ucp_register.html
@@ -10,7 +10,7 @@
document.forms['register'].change_lang.value = lang_iso;
document.forms['register'].submit.click();
}
-
+
function disable(disabl, name)
{
document.getElementById(name).disabled = disabl;
@@ -23,12 +23,12 @@
document.getElementById(name).className = 'button1 enabled';
}
}
-
+
onload_functions.push('disable(true, "submit")');
- setTimeout('disable(false, "submit")', {S_TIME});
+ setInterval('disable(false, "submit")', {S_TIME});
-
+
// ]]>
@@ -68,9 +68,9 @@
-
+
-
+
@@ -130,7 +130,7 @@
diff --git a/phpBB/styles/subsilver2/template/ucp_agreement.html b/phpBB/styles/subsilver2/template/ucp_agreement.html
index 04d978c70e..c02ebe18e6 100644
--- a/phpBB/styles/subsilver2/template/ucp_agreement.html
+++ b/phpBB/styles/subsilver2/template/ucp_agreement.html
@@ -4,12 +4,12 @@
//
+
+
window.onload = disable_and_handle;
- setTimeout("disable(false)", {S_TIME});
+ setInterval("disable(false)", {S_TIME});
// ]]>
-
+