Add a notice if the module cron is disabled
This commit is contained in:
parent
224e82f9fa
commit
904554a0e1
3 changed files with 7 additions and 0 deletions
|
@ -166,6 +166,11 @@ else
|
||||||
{
|
{
|
||||||
print '<br>'.$langs->trans("NothingToSetup");
|
print '<br>'.$langs->trans("NothingToSetup");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Display a notice if the 'cron' module is not enabled
|
||||||
|
if (! in_array('cron', $conf->modules, true)) {
|
||||||
|
print '<div class="info"><p>' . $langs->trans('NoticeCronIsDisabled') . "</p></div>\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,7 @@ ModulesendrecurringinvoicebymailDesc = Send FactureRec generated invoices by mai
|
||||||
sendrecurringinvoicebymailSetup = sendrecurringinvoicebymail setup
|
sendrecurringinvoicebymailSetup = sendrecurringinvoicebymail setup
|
||||||
Settings = Settings
|
Settings = Settings
|
||||||
sendrecurringinvoicebymailSetupPage = sendrecurringinvoicebymail setup page
|
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_DEFAULT = Default mail body's format
|
||||||
SENDRECURRINGINVOICEBYMAIL_BODY_ISHTML_DEFAULTTooltip = -1 for auto-detect, 0 for plaintext, 1 for HTML
|
SENDRECURRINGINVOICEBYMAIL_BODY_ISHTML_DEFAULTTooltip = -1 for auto-detect, 0 for plaintext, 1 for HTML
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,7 @@ ModulesendrecurringinvoicebymailDesc = Envoi par mail des factures générées p
|
||||||
sendrecurringinvoicebymailSetup = Configuration du module sendrecurringinvoicebymail
|
sendrecurringinvoicebymailSetup = Configuration du module sendrecurringinvoicebymail
|
||||||
Settings = Réglages
|
Settings = Réglages
|
||||||
sendrecurringinvoicebymailSetupPage = Page de configuration du module sendrecurringinvoicebymail
|
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_DEFAULT = Format par défaut du corps du mail
|
||||||
SENDRECURRINGINVOICEBYMAIL_BODY_ISHTML_DEFAULTTooltip = -1: auto-détection, 0: texte pur, 1: HTML
|
SENDRECURRINGINVOICEBYMAIL_BODY_ISHTML_DEFAULTTooltip = -1: auto-détection, 0: texte pur, 1: HTML
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue