Improved default signature for tickets
This commit is contained in:
parent
cbdf74e00c
commit
d5361c3147
@ -104,6 +104,7 @@ class modTicket extends DolibarrModules
|
|||||||
// List of particular constants to add when module is enabled
|
// List of particular constants to add when module is enabled
|
||||||
// (key, 'chaine', value, desc, visible, 'current' or 'allentities', deleteonunactive)
|
// (key, 'chaine', value, desc, visible, 'current' or 'allentities', deleteonunactive)
|
||||||
// Example:
|
// Example:
|
||||||
|
$default_signature = $langs->trans('TicketMessageMailSignatureText', $conf->global->MAIN_INFO_SOCIETE_NOM);
|
||||||
$this->const = array(
|
$this->const = array(
|
||||||
1 => array('TICKET_ENABLE_PUBLIC_INTERFACE', 'chaine', '0', 'Enable ticket public interface', 0),
|
1 => array('TICKET_ENABLE_PUBLIC_INTERFACE', 'chaine', '0', 'Enable ticket public interface', 0),
|
||||||
2 => array('TICKET_ADDON', 'chaine', 'mod_ticket_simple', 'Ticket ref module', 0),
|
2 => array('TICKET_ADDON', 'chaine', 'mod_ticket_simple', 'Ticket ref module', 0),
|
||||||
@ -115,7 +116,8 @@ class modTicket extends DolibarrModules
|
|||||||
8 => array('TICKET_PRODUCT_CATEGORY', 'chaine', 0, 'The category of product that is being used for ticket accounting', 0),
|
8 => array('TICKET_PRODUCT_CATEGORY', 'chaine', 0, 'The category of product that is being used for ticket accounting', 0),
|
||||||
9 => array('TICKET_NOTIFICATION_EMAIL_FROM', 'chaine', $conf->global->MAIN_MAIL_EMAIL_FROM, 'Sender of ticket replies sent from Dolibarr', 0),
|
9 => array('TICKET_NOTIFICATION_EMAIL_FROM', 'chaine', $conf->global->MAIN_MAIL_EMAIL_FROM, 'Sender of ticket replies sent from Dolibarr', 0),
|
||||||
10 => array('TICKET_MESSAGE_MAIL_INTRO', 'chaine', $langs->trans('TicketMessageMailIntroText'), 'Introduction text of ticket replies sent from Dolibarr', 0),
|
10 => array('TICKET_MESSAGE_MAIL_INTRO', 'chaine', $langs->trans('TicketMessageMailIntroText'), 'Introduction text of ticket replies sent from Dolibarr', 0),
|
||||||
11 => array('TICKET_MESSAGE_MAIL_SIGNATURE', 'chaine', $langs->trans('TicketMessageMailSignatureText'), 'Signature of ticket replies sent from Dolibarr', 0)
|
11 => array('TICKET_MESSAGE_MAIL_SIGNATURE', 'chaine', $default_signature, 'Signature of ticket replies sent from Dolibarr', 0)
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -224,7 +224,7 @@ TicketMessageMailIntroText=Hello,<br>A new answer has been added to a ticket tha
|
|||||||
TicketMessageMailIntroHelpAdmin=This text will be inserted before the answer when replying to a ticket from Dolibarr
|
TicketMessageMailIntroHelpAdmin=This text will be inserted before the answer when replying to a ticket from Dolibarr
|
||||||
TicketMessageMailSignature=Signature
|
TicketMessageMailSignature=Signature
|
||||||
TicketMessageMailSignatureHelp=This text is added only at the end of the email and will not be saved.
|
TicketMessageMailSignatureHelp=This text is added only at the end of the email and will not be saved.
|
||||||
TicketMessageMailSignatureText=<p>Sincerely,</p><p>--</p>
|
TicketMessageMailSignatureText=Message sent by <b>%s</b> via Dolibarr
|
||||||
TicketMessageMailSignatureLabelAdmin=Signature of response email
|
TicketMessageMailSignatureLabelAdmin=Signature of response email
|
||||||
TicketMessageMailSignatureHelpAdmin=This text will be inserted after the response message.
|
TicketMessageMailSignatureHelpAdmin=This text will be inserted after the response message.
|
||||||
TicketMessageHelp=Only this text will be saved in the message list on ticket card.
|
TicketMessageHelp=Only this text will be saved in the message list on ticket card.
|
||||||
|
|||||||
@ -213,7 +213,7 @@ TicketMessageMailIntroText=Bonjour, <br> Une nouvelle réponse a été ajoutée
|
|||||||
TicketMessageMailIntroHelpAdmin=Ce texte sera inséré après le message de réponse.
|
TicketMessageMailIntroHelpAdmin=Ce texte sera inséré après le message de réponse.
|
||||||
TicketMessageMailSignature=Signature
|
TicketMessageMailSignature=Signature
|
||||||
TicketMessageMailSignatureHelp=Ce texte est ajouté seulement à la fin de l'email et ne sera pas sauvegardé.
|
TicketMessageMailSignatureHelp=Ce texte est ajouté seulement à la fin de l'email et ne sera pas sauvegardé.
|
||||||
TicketMessageMailSignatureText=<p> Cordialement, </p> <p> -- </p>
|
TicketMessageMailSignatureText=Message envoyé par <b>%s</b> via Dolibarr
|
||||||
TicketMessageMailSignatureLabelAdmin=Signature de l'email de réponse
|
TicketMessageMailSignatureLabelAdmin=Signature de l'email de réponse
|
||||||
TicketMessageMailSignatureHelpAdmin=Ce texte sera inséré après le message de réponse.
|
TicketMessageMailSignatureHelpAdmin=Ce texte sera inséré après le message de réponse.
|
||||||
TicketMessageHelp=Seul ce texte sera sauvegardé dans la liste des messages sur la fiche ticket.
|
TicketMessageHelp=Seul ce texte sera sauvegardé dans la liste des messages sur la fiche ticket.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user