1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-23 14:44:29 +02:00

re-enable e_parse html wrap method, UI wrap option for text fields added

This commit is contained in:
secretr
2010-11-15 09:03:54 +00:00
parent 9a022dc873
commit aa0d2e8da4
2 changed files with 5 additions and 1 deletions

View File

@@ -1313,6 +1313,10 @@ class e_form
{
$value = $tp->html_truncate($value, $parms['htmltruncate'], '...');
}
if(vartrue($parms['wrap']))
{
$value = $tp->htmlwrap($value, (int)$parms['wrap'], varset($parms['wrapChar'], ' '));
}
$value = vartrue($parms['pre']).$value.vartrue($parms['post']);
break;