mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Update references to TemplateHandler in common code paths
This commit is contained in:
parent
d46d25c69f
commit
45f016d53b
7 changed files with 9 additions and 11 deletions
|
|
@ -49,7 +49,7 @@ class HTMLDisplayHandler
|
|||
*/
|
||||
public function toDoc(&$oModule)
|
||||
{
|
||||
$oTemplate = TemplateHandler::getInstance();
|
||||
$oTemplate = Rhymix\Framework\Template::getInstance();
|
||||
|
||||
// SECISSUE https://github.com/xpressengine/xe-core/issues/1583
|
||||
$oSecurity = new Security();
|
||||
|
|
@ -291,7 +291,7 @@ class HTMLDisplayHandler
|
|||
|
||||
// convert the final layout
|
||||
Context::set('content', $output);
|
||||
$oTemplate = TemplateHandler::getInstance();
|
||||
$oTemplate = Rhymix\Framework\Template::getInstance();
|
||||
if(Mobile::isFromMobilePhone())
|
||||
{
|
||||
$this->_loadMobileJSCSS();
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ class RawDisplayHandler
|
|||
$tpl_file = $oModule->getTemplateFile();
|
||||
if ($tpl_path && $tpl_file)
|
||||
{
|
||||
$oTemplate = TemplateHandler::getInstance();
|
||||
$oTemplate = Rhymix\Framework\Template::getInstance();
|
||||
$output = $oTemplate->compile($tpl_path, $tpl_file);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue