1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 08:47:45 +02:00

Merge remote-tracking branch 'upstream/develop-ascraeus' into ticket/12594

This commit is contained in:
Yuriy Rusko
2014-05-28 01:02:39 +02:00
10 changed files with 85 additions and 12 deletions

View File

@@ -255,7 +255,12 @@ class messenger
}
}
$this->set_template_paths($template_lang . '_email', $template_paths);
$this->set_template_paths(array(
array(
'name' => $template_lang . '_email',
'ext_path' => 'language/' . $template_lang . '/email'
),
), $template_paths);
$this->template->set_filenames(array(
'body' => $template_file . '.txt',

View File

@@ -584,7 +584,12 @@ class p_master
if (is_dir($module_style_dir))
{
$template->set_custom_style('adm', array($module_style_dir, $phpbb_admin_path . 'style'));
$template->set_custom_style(array(
array(
'name' => 'adm',
'ext_path' => 'adm/style/',
),
), array($module_style_dir, $phpbb_admin_path . 'style'));
}
}