From a195c17105c442e8f4f4f0a734990f7d22ab294d Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 18 Jan 2019 15:58:16 +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 7b2709028a..b5f9aff667 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -3193,6 +3193,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.").'
'. @@ -3202,7 +3203,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 @@ + + + +