In post.php replace this code:
if(strlen($title) < 10 or strlen($title) > 160) {
echo "<div class='errors'>$lang[239] <a href='javascript:history.go(-1)'>$lang[135]</a></div></div></div></div>";
$smarty->display('footer.php');
die();
}
With this code:
if(strlen($title) > 200) {
echo "<div class='errors'>$lang[239] <a href='javascript:history.go(-1)'>$lang[135]</a></div></div></div></div>";
$smarty->display('footer.php');
die();
}
if(strlen($title) < 5) {
echo "<div class='errors'>$lang[239] <a href='javascript:history.go(-1)'>$lang[135]</a></div></div></div></div>";
$smarty->display('footer.php');
die();
}