mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +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>';
|
||||
}, $str);
|
||||
|
||||
// fix <buttononly.../> --> <button type="buttononly".../>
|
||||
$str = preg_replace('#<buttononly\s(.*?)/>#u', '<button type="buttononly" $1/>', $str);
|
||||
// fix <buttononly.../> --> <button doSubmit="false".../>
|
||||
$str = preg_replace('#<buttononly\s(.*?)/>#u', '<button doSubmit="false" $1/>', $str);
|
||||
|
||||
$str = preg_replace_callback(ADD_ET2_PREFIX_REGEXP, static function (array $matches)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user