Showing 816 of 816 total issues
Line exceeds 120 characters; contains 332 characters Open
Open
'If this option is enabled, all members of the organization (including subordinate departments) who have the "Set Up Organization" permission will not be able to set up a new organization.' => '若启用本选项,则本组织(含下属部门)中,所有具有“开设组织”权限的成员将无法开设新组织。',
- Exclude checks
Line exceeds 120 characters; contains 162 characters Open
Open
if ($this->isDepartment() && !$this->parent->equals($this->topOrganization) && $this->isOnlyAcceptSuperiorOrgMember && !$this->parent->hasMember($user)) {
- Exclude checks
Line exceeds 120 characters; contains 223 characters Open
Open
[['exclude_other_members', 'disallow_member_join_other', 'only_accept_current_org_member', 'only_accept_superior_org_member', 'exit_allow_withdraw_actively'], 'boolean', 'trueValue' => '1', 'falseValue' => '0'],
- Exclude checks
Line exceeds 120 characters; contains 124 characters Open
Open
[$this->contentAttribute, 'default', 'value' => is_numeric($this->defaultLimit) ? (int)$this->defaultLimit : 50]
- Exclude checks
Line exceeds 120 characters; contains 130 characters Open
Open
$this->addConfirmText = Yii::t('organization', 'Are you sure to add this user to the organization / department?');
- Exclude checks
Line exceeds 120 characters; contains 129 characters Open
Open
return Url::to(['remove-member', 'user' => $model->memberUser->getID(), 'org' => $model->organization->getID()]);
- Exclude checks
Line exceeds 120 characters; contains 155 characters Open
Open
return Yii::$app->authManager->checkAccess($this->operator->getGUID(), (new ManageMember)->name, ['organization' => $model->organization]);
- Exclude checks
Line exceeds 120 characters; contains 136 characters Open
Open
'data-confirm' => Yii::t('organization', 'Are you sure you want to remove this member from the organization / department?'),
- Exclude checks
Line exceeds 120 characters; contains 170 characters Open
Open
Yii::$app->session->setFlash(Module::SESSION_KEY_MESSAGE, $this->joinFailedMessage . ' ' . Yii::t('organization', 'Your current IP address is not allowed.'));
- Exclude checks
Line exceeds 120 characters; contains 174 characters Open
Open
'You can open up to {limit,plural,=1{only one organization} other{# organizations}}.' => '您可以开设最多{limit,plural,=1{仅一个组织} other{ # 个组织}}。',
- Exclude checks
Line exceeds 120 characters; contains 177 characters Open
Open
Yii::$app->session->setFlash(Module::SESSION_KEY_MESSAGE, $this->joinFailedMessage . ($model->hasErrors('password') ? ' ' . $model->getFirstError('password') : ''));
- Exclude checks
Line exceeds 120 characters; contains 300 characters Open
Open
'If you check "Only accept organization members", let the user try to join the organization where this department affiliated to first before joining this department.' => '如果您勾选“只接受组织成员”,则在加入本部门之前,先让用户尝试加入本部门所属组织。',
- Exclude checks
Line exceeds 120 characters; contains 269 characters Open
Open
'If you only limit an address, such as {ip}, you can only enter the IP address itself, we will automatically fill "/32" at the end.' => '如果只限定某个地址,如 {ip},则只输入 IP 地址即可,我们会在提交后自动在结尾补齐“/32”。',
- Exclude checks
Line exceeds 120 characters; contains 230 characters Open
Open
Yii::t('organization', 'If this option is enabled, all members of the organization (including subordinate departments) who have the "Set Up Organization" permission will not be able to set up a new organization.'),
- Exclude checks
Line exceeds 120 characters; contains 251 characters Open
Open
'join_entrance_url' => Yii::t('organization', 'You can assign a unique code to the ' . ($this->organization->isOrganization() ? 'organization' : 'department') . ', and we will generate a unique entrance URL based on this code.') . "<br>" .
- Exclude checks
Line exceeds 120 characters; contains 142 characters Open
Open
return Yii::$app->authManager->checkAccess($this->operator->getGUID(), (new ManageProfile)->name, ['organization' => $model]);
- Exclude checks
Line exceeds 120 characters; contains 133 characters Open
Open
Yii::$app->session->setFlash(OrganizationController::SESSION_KEY_RESULT, OrganizationController::RESULT_SUCCESS);
- Exclude checks
Line exceeds 120 characters; contains 122 characters Open
Open
<?= Html::a(Yii::t('organization', 'Back to Organization List'), ['index'], ['class' => 'btn btn-primary']) ?>
- Exclude checks
Line exceeds 120 characters; contains 136 characters Open
Open
echo ($keepMember) ? ("But he is still a member of it.\n") : ("At the same time, he was also removed from the organization.\n");
- Exclude checks
Line exceeds 120 characters; contains 129 characters Open
Open
Yii::$app->session->setFlash(OrganizationController::SESSION_KEY_MESSAGE, $this->organizationSetUpFailedMessage);
- Exclude checks