I have a custom formatting function to shorten long text in a textfield:
function dadabik_kurz_150 ($value){
if ($GLOBALS['function'] === 'search' && strlen_custom($value) > 150){
return nl2br(substr_custom($value, 0, 150).' ...mehr');
}
else
{
return nl2br($value);
}
}
Is it...