some work on mail/file template formfields

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-03-05 11:46:35 +01:00
parent 8256f31374
commit 54ce296018
6 changed files with 222 additions and 23 deletions

View File

@@ -32,8 +32,8 @@ return array(
'template' => array(
'label' => $lng['admin']['templates']['action'],
'type' => 'hidden',
'value' => $template,
'display' => $template
'value' => $template_name,
'display' => $template_name
),
'subject' => array(
'label' => $lng['admin']['templates']['subject'],
@@ -46,9 +46,18 @@ return array(
'cols' => 60,
'rows' => 12,
'value' => $mailbody
),
'subjectid' => array(
'type' => 'hidden',
'value' => $subjectid
),
'mailbodyid' => array(
'type' => 'hidden',
'value' => $mailbodyid
)
)
)
)
)
),
'template_replacers' => include __DIR__ . '/template.replacers.php'
);