From 70484d99a4db2ebccfb2c15de1845175ef69ca91 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 4 Oct 2024 17:49:05 +0200 Subject: [PATCH] Setup help --- htdocs/admin/agenda_reminder.php | 8 ++++++-- htdocs/fichinter/list.php | 2 +- htdocs/langs/en_US/admin.lang | 5 +++-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/htdocs/admin/agenda_reminder.php b/htdocs/admin/agenda_reminder.php index f1ed4448623..30a5d1cb61c 100644 --- a/htdocs/admin/agenda_reminder.php +++ b/htdocs/admin/agenda_reminder.php @@ -171,7 +171,10 @@ print ''."\n"; // AGENDA REMINDER BROWSER print ''."\n"; -print ''.$langs->trans('AGENDA_REMINDER_BROWSER').''."\n"; +print ''; +print $langs->trans('AGENDA_REMINDER_BROWSER').'
'; +print ''.$langs->trans('AGENDA_REMINDER_BROWSERHelp').''; +print ''."\n"; print ' '."\n"; print ''."\n"; @@ -211,7 +214,8 @@ $job->fetch(0, 'ActionComm', 'sendEmailsReminder'); // AGENDA REMINDER EMAIL print ''."\n"; -print ''.$langs->trans('AGENDA_REMINDER_EMAIL', $langs->transnoentities("Module2300Name")); +print ''; +print $langs->trans('AGENDA_REMINDER_EMAIL', $langs->transnoentities("Module2300Name")); if (isModEnabled('cron')) { if (getDolGlobalString('AGENDA_REMINDER_EMAIL')) { if ($job->id > 0) { diff --git a/htdocs/fichinter/list.php b/htdocs/fichinter/list.php index 35206e7fcd6..c63333d751e 100644 --- a/htdocs/fichinter/list.php +++ b/htdocs/fichinter/list.php @@ -1008,7 +1008,7 @@ while ($i < $imaxinloop) { if (!empty($arrayfields['fd.description']['checked'])) { $text = dolGetFirstLineOfText(dol_string_nohtmltag($obj->descriptiondetail, 1)); print ''; - print '
'; + print '
'; print dol_escape_htmltag($text); print '
'; print ''; diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang index d8b86c9cc10..729216e5900 100644 --- a/htdocs/langs/en_US/admin.lang +++ b/htdocs/langs/en_US/admin.lang @@ -1879,9 +1879,10 @@ AGENDA_DEFAULT_VIEW = Which view do you want to open by default when selecting m AGENDA_EVENT_PAST_COLOR = Past event color AGENDA_EVENT_CURRENT_COLOR = Current event color AGENDA_EVENT_FUTURE_COLOR = Future event color -AGENDA_REMINDER_BROWSER = Allow event reminders on user's browser (When remind date is reached, a popup is shown by the browser).
Remind option/delay is defined by the user on event creation. +AGENDA_REMINDER_BROWSER = Allow event reminders on user's browser +AGENDA_REMINDER_BROWSERHelp = When remind date is reached, a popup is shown by the browser). Remind option/delay is defined by the user on event creation. AGENDA_REMINDER_BROWSER_SOUND = Enable sound notification -AGENDA_REMINDER_EMAIL = Allow event reminders by emailsby emails AGENDA_REMINDER_EMAIL_NOTE = Note: The frequency of the scheduled job %s must be enough to be sure that the remind are sent at the correct moment. AGENDA_SHOW_LINKED_OBJECT = Show linked object into agenda view AGENDA_USE_EVENT_TYPE = Use events types (managed in menu Setup -> Dictionaries -> Type of agenda events)