From d0a1ed9227a5166aa56d37ccea142cdb1e0ae082 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 5 Feb 2017 11:54:27 -0500 Subject: Add configuration parameter to disable email configuration from user interface --- app/Template/config/email.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'app/Template/config/email.php') diff --git a/app/Template/config/email.php b/app/Template/config/email.php index bc2c2ae5..be729f5d 100644 --- a/app/Template/config/email.php +++ b/app/Template/config/email.php @@ -6,11 +6,15 @@
- form->label(t('Email sender address'), 'mail_sender_address') ?> - form->text('mail_sender_address', $values, $errors, array('placeholder="'.MAIL_FROM.'"')) ?> + + form->label(t('Email sender address'), 'mail_sender_address') ?> + form->text('mail_sender_address', $values, $errors, array('placeholder="'.MAIL_FROM.'"')) ?> - form->label(t('Email transport'), 'mail_transport') ?> - form->select('mail_transport', $mail_transports, $values, $errors) ?> + form->label(t('Email transport'), 'mail_transport') ?> + form->select('mail_transport', $mail_transports, $values, $errors) ?> + +

+
hook->render('template:config:email', array('values' => $values, 'errors' => $errors)) ?> -- cgit v1.2.3