From 774c77b5be52c731d810af27f5f4d7d29824da1c Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 11 Jan 2019 16:53:22 +0100 Subject: [PATCH] * Mail: add default value settings for S/MIME passphrase expiration in site configurations --- mail/inc/class.mail_ui.inc.php | 6 +++++- mail/templates/default/config.xet | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index 0b11c749ce..9c2ff02c67 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -3203,6 +3203,7 @@ $filter['before']= date("d-M-Y", $cutoffdate2); self::callWizard($e->getMessage().' '.lang('Please configure your S/MIME certificate in Encryption tab located at Edit Account dialog.')); } Framework::message($e->getMessage()); + $configs = Api\Config::read('mail'); // do NOT include any default CSS $smimeHtml = $this->get_email_header(). '
'.lang("This message is smime encrypted and password protected.").'
'. @@ -3212,7 +3213,10 @@ $filter['before']= date("d-M-Y", $cutoffdate2); ''. ''. '
'. - lang("Remember the password for ").' '.lang("minutes."). + lang("Remember the password for "). + ' '.lang("minutes."). '
'. ''. ''; diff --git a/mail/templates/default/config.xet b/mail/templates/default/config.xet index 54e7906ddc..c312d63b8d 100644 --- a/mail/templates/default/config.xet +++ b/mail/templates/default/config.xet @@ -85,6 +85,10 @@ + + + +