diff --git a/admin/setup.php b/admin/setup.php index 81b5097..42c53fe 100644 --- a/admin/setup.php +++ b/admin/setup.php @@ -166,6 +166,11 @@ else { print '
'.$langs->trans("NothingToSetup"); } + + // Display a notice if the 'cron' module is not enabled + if (! in_array('cron', $conf->modules, true)) { + print '

' . $langs->trans('NoticeCronIsDisabled') . "

\n"; + } } diff --git a/langs/en_US/sendrecurringinvoicebymail.lang b/langs/en_US/sendrecurringinvoicebymail.lang index 86f7180..dc9d28f 100644 --- a/langs/en_US/sendrecurringinvoicebymail.lang +++ b/langs/en_US/sendrecurringinvoicebymail.lang @@ -28,6 +28,7 @@ ModulesendrecurringinvoicebymailDesc = Send FactureRec generated invoices by mai sendrecurringinvoicebymailSetup = sendrecurringinvoicebymail setup Settings = Settings sendrecurringinvoicebymailSetupPage = sendrecurringinvoicebymail setup page +NoticeCronIsDisabled = Notice: the cron / Scheduled Jobs module seems disabled. Unless you know what you are doing, invoices won't be generated and emails won't be sent. SENDRECURRINGINVOICEBYMAIL_BODY_ISHTML_DEFAULT = Default mail body's format SENDRECURRINGINVOICEBYMAIL_BODY_ISHTML_DEFAULTTooltip = -1 for auto-detect, 0 for plaintext, 1 for HTML diff --git a/langs/fr_FR/sendrecurringinvoicebymail.lang b/langs/fr_FR/sendrecurringinvoicebymail.lang index c7475ca..cdd1af6 100644 --- a/langs/fr_FR/sendrecurringinvoicebymail.lang +++ b/langs/fr_FR/sendrecurringinvoicebymail.lang @@ -28,6 +28,7 @@ ModulesendrecurringinvoicebymailDesc = Envoi par mail des factures générées p sendrecurringinvoicebymailSetup = Configuration du module sendrecurringinvoicebymail Settings = Réglages sendrecurringinvoicebymailSetupPage = Page de configuration du module sendrecurringinvoicebymail +NoticeCronIsDisabled = Notice : le module cron / Travaux Planifiés semble désactivé. Sauf cas particulier, les factures ne seront pas générées et les mails ne seront pas envoyés. SENDRECURRINGINVOICEBYMAIL_BODY_ISHTML_DEFAULT = Format par défaut du corps du mail SENDRECURRINGINVOICEBYMAIL_BODY_ISHTML_DEFAULTTooltip = -1: auto-détection, 0: texte pur, 1: HTML