mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
add identifier choice
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9110 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c7b35ff5c7
commit
af4c27f832
12 changed files with 89 additions and 14 deletions
|
|
@ -15,7 +15,7 @@ class HTMLDisplayHandler {
|
|||
else
|
||||
$skin = $oModule->module_config->skin;
|
||||
|
||||
if ($skin){
|
||||
if ($skin && is_string($skin)){
|
||||
$theme_skin = explode('.', $skin);
|
||||
if (count($theme_skin) == 2)
|
||||
$template_path = sprintf('./themes/%s/modules/%s/', $theme_skin[0], $theme_skin[1]);
|
||||
|
|
@ -24,6 +24,7 @@ class HTMLDisplayHandler {
|
|||
}else{
|
||||
$template_path = $oModule->getTemplatePath();
|
||||
}
|
||||
|
||||
$tpl_file = $oModule->getTemplateFile();
|
||||
|
||||
$output = $oTemplate->compile($template_path, $tpl_file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue