* 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();
}
+1
View File
@@ -3,4 +3,5 @@ $(function()
var showHeight = $(window).height() - $('#header').height() - $('#footer').height() - 20;
$('#editWin').height(showHeight);
$('#extendWin').height(showHeight);
if($('a.iframe').size()) $("a.iframe").colorbox({width:800, height:400, iframe:true, transition:'none', scrolling:true});
});
+2 -1
View File
@@ -1,5 +1,6 @@
<?php
$lang->editor->common = 'Extension editor';
$lang->editor->common = 'Editor';
$lang->editor->api = 'API';
$lang->editor->index = 'Index';
$lang->editor->newMethod = 'New method';
$lang->editor->extend = 'Extend';
+2 -1
View File
@@ -1,5 +1,6 @@
<?php
$lang->editor->common = '扩展编辑器';
$lang->editor->common = '编辑器';
$lang->editor->api = 'API';
$lang->editor->index = '首页';
$lang->editor->newMethod = '新增方法';
$lang->editor->extend = '扩展';
+1 -1
View File
@@ -10,7 +10,7 @@
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../extension/view/header.html.php';?>
<table class='table-1 bd-none'>
<tr valign='top'>
<td width='160'>