1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/17100] Move date format select HTML to HTML files

PHPBB3-17100
This commit is contained in:
Marc Alexander
2023-04-10 10:53:58 +02:00
parent dda8766471
commit 9ee130fc59
4 changed files with 55 additions and 19 deletions

View File

@@ -129,6 +129,7 @@ class forms extends AbstractExtension
'CHECKED' => (bool) ($form_data['checked'] ?? false),
'CLASS' => (string) ($form_data['class'] ?? ''),
'VALUE' => (string) ($form_data['value']),
'DATA' => $form_data['data'] ?? [],
]);
}
catch (\Twig\Error\Error $e)
@@ -181,6 +182,8 @@ class forms extends AbstractExtension
'TOGGLEABLE' => (bool) ($form_data['toggleable'] ?? false),
'OPTIONS' => $form_data['options'] ?? [],
'GROUP_ONLY' => (bool) ($form_data['group_only'] ?? false),
'DATA' => $form_data['data'] ?? [],
'SIZE' => (int) ($form_data['size'] ?? 0),
]);
}
catch (\Twig\Error\Error $e)