mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-19 21:03:54 -07:00
Переименование шаблонов email
Переименовываем шаблоны email для возможности их нормальной локализации через Crowdin.
This commit is contained in:
parent
328c6b2df6
commit
12dfc04697
37 changed files with 2 additions and 2 deletions
|
@ -98,11 +98,11 @@ class emailer
|
||||||
|
|
||||||
if (empty($this->tpl_msg[$template_lang . $template_file]))
|
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)))
|
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)))
|
if (!@file_exists(@bb_realpath($tpl_file)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue