* Finish task#4355.
This commit is contained in:
@@ -19,7 +19,7 @@ $lang->null = 'null';
|
||||
$lang->ellipsis = '…';
|
||||
$lang->percent = '%';
|
||||
|
||||
$lang->zentaoPMS = 'ZenTao';
|
||||
$lang->zentaoPMS = 'ZenTao';
|
||||
$lang->welcome = "%s PMS";
|
||||
$lang->logout = 'Logout';
|
||||
$lang->login = 'Login';
|
||||
@@ -81,6 +81,7 @@ $lang->homepage = 'Set as Home';
|
||||
$lang->tutorial = 'Tutorial';
|
||||
$lang->changeLog = 'Change Log';
|
||||
$lang->manual = 'Manual';
|
||||
$lang->manualUrl = 'http://www.zentao.net/book/zentaopmshelp.html?fullScreen=zentao';
|
||||
$lang->customMenu = 'Custom Menu';
|
||||
$lang->customField = 'Custom Field';
|
||||
$lang->lineNumber = 'Line No.';
|
||||
@@ -621,7 +622,7 @@ if(isset($config->global->flow) and $config->global->flow == 'onlyStory')
|
||||
/* Adjust sub menu of product module. */
|
||||
unset($lang->product->menu->project);
|
||||
unset($lang->product->menu->doc);
|
||||
|
||||
|
||||
/* Rename product module. */
|
||||
$lang->menu->product = "{$lang->productCommon}|product|index";
|
||||
|
||||
@@ -809,7 +810,7 @@ if(isset($config->global->flow) and $config->global->flow == 'onlyTest')
|
||||
|
||||
$lang->build->menu = $lang->product->menu;
|
||||
$lang->build->menuOrder = $lang->product->menuOrder;
|
||||
|
||||
|
||||
/* Adjust menu group. */
|
||||
$lang->menugroup->bug = 'bug';
|
||||
$lang->menugroup->testcase = 'testcase';
|
||||
@@ -817,8 +818,8 @@ if(isset($config->global->flow) and $config->global->flow == 'onlyTest')
|
||||
$lang->menugroup->testsuite = 'testsuite';
|
||||
$lang->menugroup->testreport = 'testtask';
|
||||
$lang->menugroup->build = 'product';
|
||||
|
||||
/* Adjust search objects. */
|
||||
|
||||
/* Adjust search objects. */
|
||||
unset($lang->searchObjects['story']);
|
||||
unset($lang->searchObjects['task']);
|
||||
unset($lang->searchObjects['release']);
|
||||
|
||||
@@ -81,6 +81,7 @@ $lang->homepage = '设为模块首页';
|
||||
$lang->tutorial = '新手教程';
|
||||
$lang->changeLog = '修改日志';
|
||||
$lang->manual = '手册';
|
||||
$lang->manualUrl = 'http://www.zentao.net/book/zentaopmshelp.html?fullScreen=zentao';
|
||||
$lang->customMenu = '自定义导航';
|
||||
$lang->customField = '自定义表单项';
|
||||
$lang->lineNumber = '行号';
|
||||
|
||||
@@ -288,7 +288,7 @@ class commonModel extends model
|
||||
|
||||
/**
|
||||
* Print about bar.
|
||||
*
|
||||
*
|
||||
* @static
|
||||
* @access public
|
||||
* @return void
|
||||
@@ -301,7 +301,7 @@ class commonModel extends model
|
||||
echo "<a data-toggle='dropdown'>" . $lang->help . " <span class='caret'></span></a>";
|
||||
echo "<ul class='dropdown-menu'>";
|
||||
if(!commonModel::isTutorialMode() and $app->user->account != 'guest') echo '<li>' . html::a(helper::createLink('tutorial', 'start'), $lang->tutorial, '', "class='iframe' data-width='800' data-headerless='true' data-backdrop='true' data-keyboard='true'") . "</li>";
|
||||
echo '<li>' . html::a('javascript:;', $lang->manual, '', "class='open-help-tab'") . '</li>';
|
||||
echo '<li>' . html::a($lang->manualUrl, $lang->manual, '_blank', "class='open-help-tab'") . '</li>';
|
||||
echo '<li>' . html::a(helper::createLink('misc', 'changeLog'), $lang->changeLog, '', "class='iframe' data-width='800' data-headerless='true' data-backdrop='true' data-keyboard='true'") . '</li>';
|
||||
echo "</ul></li>\n";
|
||||
echo '<li>' . html::a(helper::createLink('misc', 'about'), $lang->aboutZenTao, '', "class='about iframe' data-width='900' data-headerless='true' data-backdrop='true' data-keyboard='true' data-class='modal-about'") . '</li>';
|
||||
@@ -858,8 +858,8 @@ EOD;
|
||||
|
||||
/**
|
||||
* Print back link
|
||||
*
|
||||
* @param string $backLink
|
||||
*
|
||||
* @param string $backLink
|
||||
* @static
|
||||
* @access public
|
||||
* @return void
|
||||
@@ -876,9 +876,9 @@ EOD;
|
||||
|
||||
/**
|
||||
* Print pre and next link
|
||||
*
|
||||
* @param string $preAndNext
|
||||
* @param string $linkTemplate
|
||||
*
|
||||
* @param string $preAndNext
|
||||
* @param string $linkTemplate
|
||||
* @static
|
||||
* @access public
|
||||
* @return void
|
||||
|
||||
Reference in New Issue
Block a user