mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Convert <buttononly/> => <button doSubmit="false"/>
This commit is contained in:
parent
8b147bc285
commit
72736566e2
@ -149,8 +149,8 @@ function send_template()
|
|||||||
return $tag.'></et2-number>';
|
return $tag.'></et2-number>';
|
||||||
}, $str);
|
}, $str);
|
||||||
|
|
||||||
// fix <buttononly.../> --> <button type="buttononly".../>
|
// fix <buttononly.../> --> <button doSubmit="false".../>
|
||||||
$str = preg_replace('#<buttononly\s(.*?)/>#u', '<button type="buttononly" $1/>', $str);
|
$str = preg_replace('#<buttononly\s(.*?)/>#u', '<button doSubmit="false" $1/>', $str);
|
||||||
|
|
||||||
$str = preg_replace_callback(ADD_ET2_PREFIX_REGEXP, static function (array $matches)
|
$str = preg_replace_callback(ADD_ET2_PREFIX_REGEXP, static function (array $matches)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user