diff options
Diffstat (limited to 'phpBB/styles')
-rw-r--r-- | phpBB/styles/prosilver/template/ucp_agreement.html | 21 | ||||
-rw-r--r-- | phpBB/styles/prosilver/template/ucp_register.html | 18 | ||||
-rw-r--r-- | phpBB/styles/subsilver2/template/ucp_agreement.html | 24 | ||||
-rw-r--r-- | phpBB/styles/subsilver2/template/ucp_register.html | 20 |
4 files changed, 0 insertions, 83 deletions
diff --git a/phpBB/styles/prosilver/template/ucp_agreement.html b/phpBB/styles/prosilver/template/ucp_agreement.html index 9aaee00d58..67dcb35e7b 100644 --- a/phpBB/styles/prosilver/template/ucp_agreement.html +++ b/phpBB/styles/prosilver/template/ucp_agreement.html @@ -1,26 +1,5 @@ <!-- INCLUDE overall_header.html --> -<script type="text/javascript" defer="defer" > -// <![CDATA[ - function disable(disabl, name) - { - document.getElementById(name).disabled = disabl; - if (disabl) - { - document.getElementById(name).className = 'button1 disabled'; - } - else - { - document.getElementById(name).className = 'button1 enabled'; - } - } - - <!-- IF S_TIME --> - onload_functions.push('disable(true, "agreed")'); - setInterval('disable(false, "agreed")', {S_TIME}); - <!-- ENDIF --> -// ]]> -</script> <!-- IF S_SHOW_COPPA or S_REGISTRATION --> diff --git a/phpBB/styles/prosilver/template/ucp_register.html b/phpBB/styles/prosilver/template/ucp_register.html index 5b5309ce93..721028cef6 100644 --- a/phpBB/styles/prosilver/template/ucp_register.html +++ b/phpBB/styles/prosilver/template/ucp_register.html @@ -11,24 +11,6 @@ document.forms['register'].submit.click(); } - function disable(disabl, name) - { - document.getElementById(name).disabled = disabl; - if (disabl) - { - document.getElementById(name).className = 'button1 disabled'; - } - else - { - document.getElementById(name).className = 'button1 enabled'; - } - } - - <!-- IF S_TIME --> - onload_functions.push('disable(true, "submit")'); - setInterval('disable(false, "submit")', {S_TIME}); - <!-- ENDIF --> - // ]]> </script> diff --git a/phpBB/styles/subsilver2/template/ucp_agreement.html b/phpBB/styles/subsilver2/template/ucp_agreement.html index c02ebe18e6..f1ea9df73a 100644 --- a/phpBB/styles/subsilver2/template/ucp_agreement.html +++ b/phpBB/styles/subsilver2/template/ucp_agreement.html @@ -1,30 +1,6 @@ <!-- INCLUDE overall_header.html --> -<script type="text/javascript" defer="defer" > -// <![CDATA[ - var old_func = window.onload; - - function disable(disabl) - { - document.getElementById("agreed").disabled = disabl; - } - - function disable_and_handle() - { - if (old_func) - { - old_func(); - } - disable(true); - } - - <!-- IF S_TIME --> - window.onload = disable_and_handle; - setInterval("disable(false)", {S_TIME}); - <!-- ENDIF --> -// ]]> -</script> <!-- IF S_SHOW_COPPA or S_REGISTRATION --> diff --git a/phpBB/styles/subsilver2/template/ucp_register.html b/phpBB/styles/subsilver2/template/ucp_register.html index 6a5adb8be8..dac9283b28 100644 --- a/phpBB/styles/subsilver2/template/ucp_register.html +++ b/phpBB/styles/subsilver2/template/ucp_register.html @@ -11,26 +11,6 @@ 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) - { - old_func(); - } - disable(true); - } - - <!-- IF S_TIME --> - window.onload = disable_and_handle; - setInterval("disable(false)", {S_TIME}); - <!-- ENDIF --> // ]]> </script> |