#409 서명이 높이제한 이하일 때 맞추어 표시하도록 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3913 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
bnu 2008-03-06 21:12:55 +00:00
parent bb91283df4
commit 4d5c9246af
2 changed files with 2 additions and 2 deletions

View file

@ -304,7 +304,7 @@
$GLOBALS['__member_signature_max_height'] = $member_config->signature_max_height;
}
$max_signature_height = $GLOBALS['__member_signature_max_height'];
if($max_signature_height) $signature = sprintf('<div style="height:%dpx;overflow-y:auto;overflow-x:hidden;">%s</div>',$max_signature_height, $signature);
if($max_signature_height) $signature = sprintf('<div style="max-height:%dpx;overflow:auto;overflow-x:hidden;height:expression(this.scrollHeight > %d ? \'%dpx\': \'auto\')">%s</div>', $max_signature_height, $max_signature_height, $max_signature_height, $signature);
return $signature;
}