Import default subject/body for e-mails templates; fixes #496

Signed-off-by: Marco Vogt (vogti) <mail@mdvogt.de>
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Marco Vogt (vogti)
2014-12-11 14:07:18 +01:00
committed by Michael Kaufmann (d00p)
parent b0d5049e68
commit 6bfa95f8a8
17 changed files with 420 additions and 441 deletions

View File

@@ -32,16 +32,19 @@ return array(
),
'template' => array(
'label' => $lng['admin']['templates']['action'],
'type' => 'select',
'select_var' => $template_options
'type' => 'hidden',
'value' => $template,
'display' => $lng['admin']['templates'][$template]
),
'subject' => array(
'label' => $lng['admin']['templates']['subject'],
'type' => 'text'
'type' => 'text',
'value' => $subject
),
'mailbody' => array(
'label' => $lng['admin']['templates']['mailbody'],
'type' => 'textarea',
'value' => $body,
'cols' => 60,
'rows' => 12
)