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:
@@ -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 -->
|
||||
|
||||
|
@@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user