aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/subsilver2
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/styles/subsilver2')
-rw-r--r--phpBB/styles/subsilver2/template/ucp_agreement.html24
-rw-r--r--phpBB/styles/subsilver2/template/ucp_register.html20
2 files changed, 0 insertions, 44 deletions
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>