forked from extern/egroupware
fix sharing password in mail.compose
This commit is contained in:
parent
125a8abf61
commit
0141cba334
@ -263,7 +263,7 @@ function send_template()
|
|||||||
return '<et2-nextmatch-header-' . $matches[2] . ' ' . stringAttrs($attrs) . '/>';
|
return '<et2-nextmatch-header-' . $matches[2] . ' ' . stringAttrs($attrs) . '/>';
|
||||||
}, $str);
|
}, $str);
|
||||||
|
|
||||||
$str = preg_replace('#<passwd ([^/>]+)(/|></passwd)>#', '<et2-password $1></et2-password>', $str);
|
$str = preg_replace('#<passwd ([^>]+)(/|></passwd)>#', '<et2-password $1></et2-password>', $str);
|
||||||
|
|
||||||
// fix <button(only)?.../> --> <et2-(button|image) (noSubmit="true")?.../>
|
// fix <button(only)?.../> --> <et2-(button|image) (noSubmit="true")?.../>
|
||||||
$str = preg_replace_callback('#<button(only)?\s(.*?)(/|></button)>#s', function ($matches) use ($name)
|
$str = preg_replace_callback('#<button(only)?\s(.*?)(/|></button)>#s', function ($matches) use ($name)
|
||||||
|
Loading…
Reference in New Issue
Block a user