1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

Removing minimum times from registration

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8408 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof
2008-02-27 15:10:52 +00:00
parent 0a37e9a929
commit 38c636deb5
5 changed files with 5 additions and 95 deletions

View File

@@ -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 -->

View File

@@ -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>