Переименование шаблонов email

Переименовываем шаблоны email для возможности их нормальной локализации через Crowdin.
This commit is contained in:
Exile 2014-12-01 20:18:26 +03:00
commit 12dfc04697
37 changed files with 2 additions and 2 deletions

View file

@ -98,11 +98,11 @@ class emailer
if (empty($this->tpl_msg[$template_lang . $template_file]))
{
$tpl_file = LANG_ROOT_DIR ."$template_lang/email/$template_file.tpl";
$tpl_file = LANG_ROOT_DIR ."$template_lang/email/$template_file.html";
if (!@file_exists(@bb_realpath($tpl_file)))
{
$tpl_file = LANG_ROOT_DIR ."{$bb_cfg['default_lang']}/email/$template_file.tpl";
$tpl_file = LANG_ROOT_DIR ."{$bb_cfg['default_lang']}/email/$template_file.html";
if (!@file_exists(@bb_realpath($tpl_file)))
{