phpBB

Code Changes

File: styles/subsilver2/template/ucp_agreement.html

  Unmodified   Added   Modified   Removed
Line 2Line 2




<script type="text/javascript" defer="defer" >




<!-- IF S_SHOW_COPPA or S_REGISTRATION -->

<!-- IF S_LANG_OPTIONS -->
<script type="text/javascript">

// <![CDATA[

// <![CDATA[


var old_func = window.onload;

function disable(disabl)

	/**
* Change language
*/
function change_language(lang_iso)

	{

	{

		document.getElementById("agreed").disabled = disabl;


		document.forms['register'].change_lang.value = lang_iso;
document.forms['register'].submit();

	}


	}


	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>


// ]]>
</script>


<!-- IF S_SHOW_COPPA or S_REGISTRATION -->









	<form method="post" action="{S_UCP_ACTION}" id="register">
<table width="100%" cellspacing="0">
<tr>
<td class="gensmall" align="{S_CONTENT_FLOW_END}">{L_LANGUAGE}: <select name="lang" id="lang" onchange="change_language(this.value); return false;" title="{L_LANGUAGE}">{S_LANG_OPTIONS}</select></td>
</tr>
</table>
{S_HIDDEN_FIELDS}
</form>
<!-- ENDIF -->


<form method="post" action="{S_UCP_ACTION}">



<form method="post" action="{S_UCP_ACTION}">


Line 83Line 82
<!-- ENDIF -->

<!-- INCLUDE overall_footer.html -->

<!-- ENDIF -->

<!-- INCLUDE overall_footer.html -->