* finish task #39793.
This commit is contained in:
@@ -1736,7 +1736,8 @@ EOD;
|
||||
if(!defined('IN_UPGRADE') and $inProject)
|
||||
{
|
||||
/* Check program priv. */
|
||||
if($this->session->project and strpos(",{$this->app->user->view->projects},", ",{$this->session->project},") === false and !$this->app->user->admin) $this->loadModel('project')->accessDenied();
|
||||
$viewProjects = trim($this->app->user->view->projects, ',');
|
||||
if($this->session->project and $viewProjects and strpos(",{$viewProjects},", ",{$this->session->project},") === false and !$this->app->user->admin) $this->loadModel('project')->accessDenied();
|
||||
$this->resetProgramPriv($module, $method);
|
||||
if(!commonModel::hasPriv($module, $method)) $this->deny($module, $method, false);
|
||||
}
|
||||
|
||||
@@ -189,8 +189,6 @@ $lang->project->endList[365] = 'One year';
|
||||
$lang->project->endList[999] = 'Longtime';
|
||||
|
||||
$lang->project->empty = 'No project.';
|
||||
$lang->project->accessDenied = 'Access denied!';
|
||||
$lang->project->chooseProgramType = 'Select the project management model';
|
||||
$lang->project->nextStep = 'Next step';
|
||||
$lang->project->hoursUnit = '%s hours';
|
||||
$lang->project->membersUnit = '%s men';
|
||||
|
||||
@@ -189,8 +189,6 @@ $lang->project->endList[365] = '一年';
|
||||
$lang->project->endList[999] = '长期';
|
||||
|
||||
$lang->project->empty = '暂时没有项目';
|
||||
$lang->project->accessDenied = '您无权访问该项目!';
|
||||
$lang->project->chooseProgramType = '选中项目管理模型';
|
||||
$lang->project->nextStep = '下一步';
|
||||
$lang->project->hoursUnit = '%s 工时';
|
||||
$lang->project->membersUnit = '%s人';
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
<?php
|
||||
$lang->user->tokenInvalid = "Token denied, please login with password.";
|
||||
@@ -0,0 +1,2 @@
|
||||
<?php
|
||||
$lang->user->tokenInvalid = "Token 认证失败,请尝试使用密码登录。";
|
||||
Reference in New Issue
Block a user