1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 19:24:01 +02:00

- added new query type to dbal's sql_build_array

- allow setting custom template path
- adjusted module class to correctly parse trees with more than one category
- added caching to module class


git-svn-id: file:///svn/phpbb/trunk@5268 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2005-10-09 17:59:27 +00:00
parent 9732b0deb2
commit 0513ef4d17
11 changed files with 142 additions and 47 deletions

View File

@@ -75,6 +75,19 @@ class template
return true;
}
function set_custom_template($template_path, $template_name, $static_lang = false)
{
global $phpbb_root_path;
$this->tpl = 'primary';
$this->root = $template_path;
$this->cachepath = $phpbb_root_path . 'cache/ctpl_' . $template_name . '_';
$this->static_lang = $static_lang;
return true;
}
// Sets the template filenames for handles. $filename_array
// should be a hash of handle => filename pairs.
function set_filenames($filename_array)