* Add search tab.
This commit is contained in:
@@ -627,7 +627,7 @@ $lang->admin->menu->company['subMenu']->browseGroup = array('link' => "{$lang->p
|
||||
$lang->admin->menu->dev['subMenu'] = new stdclass();
|
||||
$lang->admin->menu->dev['subMenu']->api = array('link' => "API|dev|api");
|
||||
$lang->admin->menu->dev['subMenu']->db = array('link' => "$lang->db|dev|db");
|
||||
$lang->admin->menu->dev['subMenu']->langItem = array('link' => "{$lang->langItem}|dev|langItem");
|
||||
$lang->admin->menu->dev['subMenu']->langItem = array('link' => "{$lang->langItem}|dev|langitem");
|
||||
$lang->admin->menu->dev['subMenu']->editor = array('link' => "$lang->editor|dev|editor");
|
||||
$lang->admin->menu->dev['subMenu']->entry = array('link' => "{$lang->admin->entry}|entry|browse", 'subModule' => 'entry');
|
||||
|
||||
|
||||
@@ -243,3 +243,6 @@ $config->dev->postParams['testcase']['create']['keywords'] = 'string';
|
||||
|
||||
$config->disableFeature = array();
|
||||
if(!helper::hasFeature('waterfall')) $config->disableFeature = array('design', 'stage', 'programplan', 'weekly', 'researchplan', 'researchreport', 'gapanalysis');
|
||||
|
||||
$config->dev->disableMainMenu = array();
|
||||
if($config->systemMode == 'light') $config->dev->disableMainMenu = array('project');
|
||||
|
||||
@@ -83,15 +83,16 @@ class dev extends control
|
||||
}
|
||||
|
||||
/**
|
||||
* LangItem.
|
||||
* Lang item.
|
||||
*
|
||||
* @param string $type
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function langItem()
|
||||
public function langItem($type = 'common')
|
||||
{
|
||||
$this->view->title = $this->lang->langItem;
|
||||
|
||||
$this->view->title = $this->lang->langItem;
|
||||
$this->view->type = $type;
|
||||
$this->display();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -177,3 +177,9 @@ if($config->systemMode != 'ALM') unset($lang->dev->groupList['program']);
|
||||
$lang->dev->endGroupList['admin'] = 'Admin';
|
||||
$lang->dev->endGroupList['system'] = 'System';
|
||||
$lang->dev->endGroupList['other'] = 'Andere';
|
||||
|
||||
$lang->dev->featureBar['langItem']['common'] = 'Common';
|
||||
$lang->dev->featureBar['langItem']['first'] = 'First Menu';
|
||||
$lang->dev->featureBar['langItem']['second'] = 'Second Menu';
|
||||
$lang->dev->featureBar['langItem']['third'] = 'Third Menu';
|
||||
$lang->dev->featureBar['langItem']['feature'] = 'Search Tab';
|
||||
|
||||
@@ -177,3 +177,9 @@ if($config->systemMode != 'ALM') unset($lang->dev->groupList['program']);
|
||||
$lang->dev->endGroupList['admin'] = 'Admin';
|
||||
$lang->dev->endGroupList['system'] = 'System';
|
||||
$lang->dev->endGroupList['other'] = 'Others';
|
||||
|
||||
$lang->dev->featureBar['langItem']['common'] = 'Common';
|
||||
$lang->dev->featureBar['langItem']['first'] = 'First Menu';
|
||||
$lang->dev->featureBar['langItem']['second'] = 'Second Menu';
|
||||
$lang->dev->featureBar['langItem']['third'] = 'Third Menu';
|
||||
$lang->dev->featureBar['langItem']['feature'] = 'Search Tab';
|
||||
|
||||
@@ -177,3 +177,9 @@ if($config->systemMode != 'ALM') unset($lang->dev->groupList['program']);
|
||||
$lang->dev->endGroupList['admin'] = 'Admin';
|
||||
$lang->dev->endGroupList['system'] = 'System';
|
||||
$lang->dev->endGroupList['other'] = 'Others';
|
||||
|
||||
$lang->dev->featureBar['langItem']['common'] = 'Common';
|
||||
$lang->dev->featureBar['langItem']['first'] = 'First Menu';
|
||||
$lang->dev->featureBar['langItem']['second'] = 'Second Menu';
|
||||
$lang->dev->featureBar['langItem']['third'] = 'Third Menu';
|
||||
$lang->dev->featureBar['langItem']['feature'] = 'Search Tab';
|
||||
|
||||
@@ -177,3 +177,9 @@ if($config->systemMode != 'ALM') unset($lang->dev->groupList['program']);
|
||||
$lang->dev->endGroupList['admin'] = '后台';
|
||||
$lang->dev->endGroupList['system'] = '系统';
|
||||
$lang->dev->endGroupList['other'] = '其他';
|
||||
|
||||
$lang->dev->featureBar['langItem']['common'] = '公共';
|
||||
$lang->dev->featureBar['langItem']['first'] = '一级菜单';
|
||||
$lang->dev->featureBar['langItem']['second'] = '二级菜单';
|
||||
$lang->dev->featureBar['langItem']['third'] = '三级菜单';
|
||||
$lang->dev->featureBar['langItem']['feature'] = '检索标签';
|
||||
|
||||
@@ -11,6 +11,15 @@
|
||||
* */
|
||||
?>
|
||||
<?php include 'header.html.php';?>
|
||||
<div id='mainMenu' class='clearfix'>
|
||||
<div class="btn-toolBar pull-left">
|
||||
<?php foreach($lang->dev->featureBar['langItem'] as $key => $label):?>
|
||||
<?php $active = $type == $key ? 'btn-active-text' : '';?>
|
||||
<?php $label = "<span class='text'>$label</span>";?>
|
||||
<?php echo html::a(inlink('langItem', "type=$key"), $label, '', "class='btn btn-link $active'");?>
|
||||
<?php endforeach;?>
|
||||
</div>
|
||||
</div>
|
||||
<div id='mainContent' class='main-content flex'>
|
||||
<div class="side-left">
|
||||
<div class="title">默认值</div>
|
||||
|
||||
Reference in New Issue
Block a user