@@ 885-890 (lines=6) @@ | ||
882 | $block_template =& $block->getVar('template', 'n') ; |
|
883 | $block_template_tplset = '' ; |
|
884 | ||
885 | if (! $is_custom && $block_template) { |
|
886 | // find template of the block |
|
887 | $tplfile_handler = xoops_gethandler('tplfile'); |
|
888 | $found_templates = $tplfile_handler->find($GLOBALS['xoopsConfig']['template_set'], 'block', null, null, $block_template) ; |
|
889 | $block_template_tplset = count($found_templates) > 0 ? $GLOBALS['xoopsConfig']['template_set'] : 'default' ; |
|
890 | } |
|
891 | //HACK by domifara |
|
892 | /* |
|
893 | if ( !($block->getVar('c_type')) ){ |
@@ 200-205 (lines=6) @@ | ||
197 | $block_template =& $block->getVar('template', 'n') ; |
|
198 | $block_template_tplset = '' ; |
|
199 | ||
200 | if (! $is_custom && $block_template) { |
|
201 | // find template of the block |
|
202 | $tplfile_handler = xoops_gethandler('tplfile'); |
|
203 | $found_templates = $tplfile_handler->find($GLOBALS['xoopsConfig']['template_set'], 'block', null, null, $block_template) ; |
|
204 | $block_template_tplset = count($found_templates) > 0 ? $GLOBALS['xoopsConfig']['template_set'] : 'default' ; |
|
205 | } |
|
206 | //HACK by domifara |
|
207 | /* |
|
208 | if ( !($block->getVar('c_type')) ){ |