* finish task #1519.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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});
|
||||
});
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
$lang->editor->common = '扩展编辑器';
|
||||
$lang->editor->common = '编辑器';
|
||||
$lang->editor->api = 'API';
|
||||
$lang->editor->index = '首页';
|
||||
$lang->editor->newMethod = '新增方法';
|
||||
$lang->editor->extend = '扩展';
|
||||
|
||||
@@ -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'>
|
||||
|
||||
Reference in New Issue
Block a user