By the way, here is the code I removed from the Profile.template.php file, maybe someone will be able to say what it is for.
<script type="text/javascript"><!-- // --><![CDATA[
function tick()
{
if (typeof(document.forms.creator) != "undefined")
{
calcCharLeft();
setTimeout("tick()", 1000);
}
else
setTimeout("tick()", 800);
}
function calcCharLeft()
{
var maxLength = ', $context['signature_limits']['max_length'], ';
var oldSignature = "", currentSignature = document.forms.creator.signature.value;
if (!document.getElementById("signatureLeft"))
return;
if (oldSignature != currentSignature)
{
oldSignature = currentSignature;
if (currentSignature.replace(/\r/, "").length > maxLength)
document.forms.creator.signature.value = currentSignature.replace(/\r/, "").substring(0, maxLength);
currentSignature = document.forms.creator.signature.value.replace(/\r/, "");
}
setInnerHTML(document.getElementById("signatureLeft"), maxLength - currentSignature.length);
}
addLoadEvent(tick);
// ]]></script>