From f963c2a373a1c2047767f08d112a7c551fb7dc0b Mon Sep 17 00:00:00 2001 From: molong Date: Mon, 28 Aug 2017 09:59:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=92=E4=BB=B6=EF=BC=8C=E8=A7=86=E5=9B=BE?= =?UTF-8?q?=E6=B8=B2=E6=9F=93bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- addons/devteam/Devteam.php | 2 +- addons/sitestat/Sitestat.php | 2 +- addons/systeminfo/Systeminfo.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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