* finish task #1519.

This commit is contained in:
wangyidong
2013-07-12 02:15:36 +00:00
parent 95045da1b3
commit 1233dee29e
9 changed files with 26 additions and 13 deletions
+3 -1
View File
@@ -17,11 +17,13 @@ class editor extends control
* @access public
* @return void
*/
public function index()
public function index($type = 'editor')
{
$this->app->loadLang('extension');
$this->view->title = $this->lang->editor->common;
$this->view->position[] = $this->lang->editor->common;
$this->view->moduleList = $this->editor->getModules();
$this->view->tab = $type;
$this->display();
}