Added company name and company URL to the template of a user's history email

This commit is contained in:
Dmitriy Simushev 2012-02-12 18:31:31 +00:00
parent c490ea8523
commit 35e6787a1e
3 changed files with 5 additions and 3 deletions

View File

@ -225,7 +225,7 @@ leftMenu.client_settings=Settings
license.title=License license.title=License
localedirection=ltr localedirection=ltr
localeid=English (en) localeid=English (en)
mail.user.history.body=Hello {0}!\n\nYour chat history: \n\n{1}\n--- \nRegards,\nMibew mail.user.history.body=Hello {0}!\n\nYour chat history: \n\n{1}\n--- \nRegards,\n{2} and Mibew\n{3}
mail.user.history.subject=Mibew: dialog history mail.user.history.subject=Mibew: dialog history
mailthread.close=Close... mailthread.close=Close...
mailthread.enter_email=Enter your email: mailthread.enter_email=Enter your email:

View File

@ -224,7 +224,7 @@ leftMenu.client_settings=
license.title=Ëèöåíçèÿ license.title=Ëèöåíçèÿ
localedirection=ltr localedirection=ltr
localeid=Russian (ru) localeid=Russian (ru)
mail.user.history.body=Здраствуйте, {0}!\n\nПо Вашему запросу, высылаем историю: \n\n{1}\n--- \nС уважением,\nMibew Мессенджер mail.user.history.body=Здраствуйте, {0}!\n\nПо Вашему запросу, высылаем историю диалога с менеджером компании {2}: \n\n{1}\n--- \nС уважением,\n{2} и Mibew Мессенджер\n{3}
mail.user.history.subject=Ìåññåíäæåð: èñòîðèÿ äèàëîãà mail.user.history.subject=Ìåññåíäæåð: èñòîðèÿ äèàëîãà
mailthread.close=Çàêðûòü... mailthread.close=Çàêðûòü...
mailthread.enter_email=Ââåäèòå Âàø E-mail: mailthread.enter_email=Ââåäèòå Âàø E-mail:

View File

@ -61,8 +61,10 @@ foreach( $output as $msg ) {
$history .= $msg; $history .= $msg;
} }
loadsettings();
$subject = getstring("mail.user.history.subject"); $subject = getstring("mail.user.history.subject");
$body = getstring2("mail.user.history.body", array($thread['userName'],$history) ); $body = getstring2("mail.user.history.body", array($thread['userName'],$history,$settings['title'],$settings['hosturl']) );
$link = connect(); $link = connect();
webim_mail($email, $webim_mailbox, $subject, $body, $link); webim_mail($email, $webim_mailbox, $subject, $body, $link);