mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
allow text like html markup for htmlarea in mode="ascii", which is effectivly a textarea. Allows html-tag eg. in tracker
This commit is contained in:
parent
ed2faae25b
commit
7d935da352
@ -1348,6 +1348,7 @@ class etemplate_old extends boetemplate
|
||||
|
||||
self::$request->set_to_process($form_name,$cell['type'],array(
|
||||
'needed' => $cell['needed'],
|
||||
'mode' => $mode, // need mode to not run purify for $mode=='ascii'
|
||||
));
|
||||
}
|
||||
else
|
||||
@ -2228,8 +2229,12 @@ class etemplate_old extends boetemplate
|
||||
}
|
||||
break;
|
||||
case 'htmlarea':
|
||||
self::set_array($content,$form_name,html::purify($value));
|
||||
break;
|
||||
if ($attr['mode'] !== 'ascii')
|
||||
{
|
||||
self::set_array($content,$form_name,html::purify($value));
|
||||
break;
|
||||
}
|
||||
// fall-throught for mode 'ascii', which is identical to textarea
|
||||
case 'int':
|
||||
case 'float':
|
||||
case 'passwd':
|
||||
|
Loading…
Reference in New Issue
Block a user