mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 04:12:00 +02:00
re-enable e_parse html wrap method, UI wrap option for text fields added
This commit is contained in:
@@ -685,7 +685,7 @@ class e_parse
|
||||
*/
|
||||
|
||||
//TODO handle htmlwrap somehow
|
||||
return $str;
|
||||
//return $str;
|
||||
|
||||
// Don't wrap if non-numeric width
|
||||
$width = intval($width);
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user