diff options
Diffstat (limited to 'app/Template/config/email.php')
-rw-r--r-- | app/Template/config/email.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/Template/config/email.php b/app/Template/config/email.php new file mode 100644 index 00000000..6ff76eca --- /dev/null +++ b/app/Template/config/email.php @@ -0,0 +1,18 @@ +<div class="page-header"> + <h2><?= t('Email settings') ?></h2> +</div> +<form method="post" action="<?= $this->url->href('ConfigController', 'save', array('redirect' => 'email')) ?>" autocomplete="off"> + <?= $this->form->csrf() ?> + + <?= $this->form->label(t('Email sender address'), 'mail_sender_address') ?> + <?= $this->form->text('mail_sender_address', $values, $errors, array('placeholder="'.MAIL_FROM.'"')) ?> + + <?= $this->form->label(t('Email transport'), 'mail_transport') ?> + <?= $this->form->select('mail_transport', $mail_transports, $values, $errors) ?> + + <?= $this->hook->render('template:config:email', array('values' => $values, 'errors' => $errors)) ?> + + <div class="form-actions"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> + </div> +</form> |