diff --git a/addons/devteam/Devteam.php b/addons/devteam/Devteam.php index 7e0b598a..10a311e6 100644 --- a/addons/devteam/Devteam.php +++ b/addons/devteam/Devteam.php @@ -40,7 +40,7 @@ class Devteam extends Addons{ $config = $this->getConfig(); $this->assign('addons_config', $config); if($config['display']){ - $this->template('widget'); + echo $this->fetch('widget'); } } } \ No newline at end of file diff --git a/addons/sitestat/Sitestat.php b/addons/sitestat/Sitestat.php index 2d41ab3e..781aabec 100644 --- a/addons/sitestat/Sitestat.php +++ b/addons/sitestat/Sitestat.php @@ -48,7 +48,7 @@ class Sitestat extends Addons{ $info['category'] = db('Category')->count(); $info['model'] = db('Model')->count(); $this->assign('info',$info); - $this->template('index/info'); + echo $this->fetch('index/info'); } } } \ No newline at end of file diff --git a/addons/systeminfo/Systeminfo.php b/addons/systeminfo/Systeminfo.php index 29408a5d..61fd10b3 100644 --- a/addons/systeminfo/Systeminfo.php +++ b/addons/systeminfo/Systeminfo.php @@ -71,7 +71,7 @@ class Systeminfo extends Addons { $this->assign('addons_config', $config); if ($config['display']) { - $this->template('widget'); + echo $this->fetch('widget'); } } } \ No newline at end of file