* Rename the privilege of custom-limitTaskDate.
This commit is contained in:
@@ -62,6 +62,7 @@ $lang->custom->percent = $lang->stage->percent;
|
||||
$lang->custom->setPercent = "Enable or Disable {$lang->stage->percent}";
|
||||
$lang->custom->beginAndEndDate = 'Begin & End';
|
||||
$lang->custom->beginAndEndDateRange = 'The Range Of Begin & End';
|
||||
$lang->custom->limitTaskDateAction = 'Set start and end date required';
|
||||
|
||||
$lang->custom->unitList['efficiency'] = 'Working Hours/';
|
||||
$lang->custom->unitList['manhour'] = 'Man-hour/';
|
||||
|
||||
@@ -62,6 +62,7 @@ $lang->custom->percent = $lang->stage->percent;
|
||||
$lang->custom->setPercent = "Enable or Disable {$lang->stage->percent}";
|
||||
$lang->custom->beginAndEndDate = 'Begin & End';
|
||||
$lang->custom->beginAndEndDateRange = 'The Range Of Begin & End';
|
||||
$lang->custom->limitTaskDateAction = 'Set start and end date required';
|
||||
|
||||
$lang->custom->unitList['efficiency'] = 'Working Hours/';
|
||||
$lang->custom->unitList['manhour'] = 'Man-hour/';
|
||||
|
||||
@@ -62,6 +62,7 @@ $lang->custom->percent = $lang->stage->percent;
|
||||
$lang->custom->setPercent = "Enable or Disable {$lang->stage->percent}";
|
||||
$lang->custom->beginAndEndDate = 'Begin & End';
|
||||
$lang->custom->beginAndEndDateRange = 'The Range Of Begin & End';
|
||||
$lang->custom->limitTaskDateAction = 'Set start and end date required';
|
||||
|
||||
$lang->custom->unitList['efficiency'] = 'Working Hours/';
|
||||
$lang->custom->unitList['manhour'] = 'Man-hour/';
|
||||
|
||||
@@ -62,6 +62,7 @@ $lang->custom->percent = $lang->stage->percent;
|
||||
$lang->custom->setPercent = "是否启用{$lang->stage->percent}";
|
||||
$lang->custom->beginAndEndDate = '起止日期';
|
||||
$lang->custom->beginAndEndDateRange = '起止日期范围';
|
||||
$lang->custom->limitTaskDateAction = '设置起止日期必填';
|
||||
|
||||
$lang->custom->unitList['efficiency'] = '工时/';
|
||||
$lang->custom->unitList['manhour'] = '人时/';
|
||||
|
||||
@@ -1448,7 +1448,7 @@ $lang->resource->custom->kanban = 'kanban';
|
||||
$lang->resource->custom->code = 'code';
|
||||
$lang->resource->custom->hours = 'hours';
|
||||
$lang->resource->custom->percent = 'percent';
|
||||
$lang->resource->custom->limitTaskDate = 'beginAndEndDate';
|
||||
$lang->resource->custom->limitTaskDate = 'limitTaskDateAction';
|
||||
|
||||
$lang->custom->methodOrder[10] = 'set';
|
||||
$lang->custom->methodOrder[15] = 'product';
|
||||
|
||||
@@ -1289,7 +1289,7 @@ class groupModel extends model
|
||||
foreach($views as $moduleMenu)
|
||||
{
|
||||
$viewID = 0;
|
||||
if($moduleMenu != 'general')
|
||||
if($moduleMenu != 'general' and isset($this->lang->mainNav->{$moduleMenu}))
|
||||
{
|
||||
if(!$hasStored)
|
||||
{
|
||||
@@ -1332,7 +1332,7 @@ class groupModel extends model
|
||||
if(!$hasStored)
|
||||
{
|
||||
$moduleData = new stdclass();
|
||||
$moduleData->parent = $viewID;
|
||||
$moduleData->parent = (isset($this->lang->navGroup->{$moduleName}) and !in_array($moduleMenu, array('misc', 'conference'))) ? $viewPairs[$moduleMenu] : 0;
|
||||
$moduleData->code = $moduleName;
|
||||
$moduleData->type = 'module';
|
||||
$moduleData->order = $moduleOrder * 10;
|
||||
|
||||
Reference in New Issue
Block a user