1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-23 00:32:57 +02:00
git-svn-id: file:///svn/phpbb/trunk@8193 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof
2007-10-14 22:59:54 +00:00
parent be73d432d5
commit c9436762c7
4 changed files with 28 additions and 28 deletions

View File

@@ -4,12 +4,12 @@
// <![CDATA[
var old_func = window.onload;
function disable(disabl)
{
document.getElementById("agreed").disabled = disabl;
}
function disable_and_handle()
{
if (old_func)
@@ -18,18 +18,18 @@
}
disable(true);
}
<!-- IF S_TIME -->
<!-- IF S_TIME -->
window.onload = disable_and_handle;
setTimeout("disable(false)", {S_TIME});
setInterval("disable(false)", {S_TIME});
<!-- ENDIF -->
// ]]>
</script>
<!-- IF S_SHOW_COPPA or S_REGISTRATION -->
<form method="post" action="{S_UCP_ACTION}">
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<th height="25">{SITENAME} - {L_REGISTRATION}</th>
@@ -57,7 +57,7 @@
{S_HIDDEN_FIELDS}
{S_FORM_TOKEN}
</form>
<!-- ELSEIF S_AGREEMENT -->
<table class="tablebg" width="100%" cellspacing="1">

View File

@@ -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);
}
<!-- IF S_TIME -->
<!-- IF S_TIME -->
window.onload = disable_and_handle;
setTimeout("disable(false)", {S_TIME});
setInterval("disable(false)", {S_TIME});
<!-- ENDIF -->
// ]]>
</script>
@@ -48,12 +48,12 @@
<!-- ENDIF -->
<!-- IF L_REG_COND -->
<tr>
<tr>
<td class="row2" colspan="2"><span class="gensmall">{L_REG_COND}</span></td>
</tr>
<!-- ENDIF -->
<!-- IF .profile_fields -->
<tr>
<tr>
<td class="row2" colspan="2"><span class="gensmall">{L_ITEMS_REQUIRED}</span></td>
</tr>
<!-- ENDIF -->