diff --git a/module/admin/control.php b/module/admin/control.php index 2822fea231..f0d958145d 100755 --- a/module/admin/control.php +++ b/module/admin/control.php @@ -55,17 +55,10 @@ class admin extends control $langNotCN = common::checkNotCN(); $dateUsed = $this->admin->genDateUsed(); - $zentaoData = $this->admin->getZentaoData(); - $hasInternet = $zentaoData->hasData; - - $this->view->title = $this->lang->admin->common; - $this->view->plugins = $zentaoData->plugins; - $this->view->patches = $zentaoData->patches; - $this->view->dateUsed = $dateUsed; - $this->view->hasInternet = $hasInternet; - $this->view->dynamics = $zentaoData->news; - $this->view->publicClass = $zentaoData->publicClass; - $this->view->langNotCN = $langNotCN; + $this->view->title = $this->lang->admin->common; + $this->view->zentaoData = $this->admin->getZentaoData(); + $this->view->dateUsed = $dateUsed; + $this->view->langNotCN = $langNotCN; $this->display(); } diff --git a/module/admin/view/index.html.php b/module/admin/view/index.html.php index cc7e7ec861..88a7728cd3 100755 --- a/module/admin/view/index.html.php +++ b/module/admin/view/index.html.php @@ -11,9 +11,9 @@ */ ?> - +hasData);?>