From c9436762c708ca3240373ae317f2c457d9919864 Mon Sep 17 00:00:00 2001 From: Henry Sudhof Date: Sun, 14 Oct 2007 22:59:54 +0000 Subject: [PATCH] #14761 git-svn-id: file:///svn/phpbb/trunk@8193 89ea8834-ac86-4346-8a33-228a782c2dd0 --- .../styles/prosilver/template/ucp_agreement.html | 10 +++++----- .../styles/prosilver/template/ucp_register.html | 14 +++++++------- .../subsilver2/template/ucp_agreement.html | 16 ++++++++-------- .../styles/subsilver2/template/ucp_register.html | 16 ++++++++-------- 4 files changed, 28 insertions(+), 28 deletions(-) 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 @@
{S_HIDDEN_FIELDS} -   +  
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}); // ]]> - +
- + @@ -57,7 +57,7 @@ {S_HIDDEN_FIELDS} {S_FORM_TOKEN} - +
{SITENAME} - {L_REGISTRATION}
diff --git a/phpBB/styles/subsilver2/template/ucp_register.html b/phpBB/styles/subsilver2/template/ucp_register.html index 159c663915..6a5adb8be8 100644 --- a/phpBB/styles/subsilver2/template/ucp_register.html +++ b/phpBB/styles/subsilver2/template/ucp_register.html @@ -10,14 +10,14 @@ document.forms['register'].change_lang.value = lang_iso; document.forms['register'].submit.click(); } - + var old_func = window.onload; - + function disable(disabl) { document.getElementById("submit").disabled = disabl; } - + function disable_and_handle() { if (old_func) @@ -26,10 +26,10 @@ } disable(true); } - - + + window.onload = disable_and_handle; - setTimeout("disable(false)", {S_TIME}); + setInterval("disable(false)", {S_TIME}); // ]]> @@ -48,12 +48,12 @@ - + - +
{L_REG_COND}
{L_ITEMS_REQUIRED}