rhosocial/yii2-organization

View on GitHub

Showing 816 of 816 total issues

Line exceeds 120 characters; contains 155 characters
Open

    'The organization does not allow users who have joined other organizations to join.' => '本组织不允许已经加入其他组织的用户加入。',

Line exceeds 120 characters; contains 183 characters
Open

    'Only the users through the above entrance URL can join this organization / department proactively.' => '用户只有通过上述特定入口 URL 才能加入本组织/部门。',

Line exceeds 120 characters; contains 129 characters
Open

                if ($this->only_accept_superior_org_member != ($this->organization->isOnlyAcceptSuperiorOrgMember ? '1' : '0')) {
Severity: Minor
Found in forms/SettingsForm.php by phpcodesniffer

Line exceeds 120 characters; contains 124 characters
Open

            $models = $this->createOrganization($name, null, $nickname, $gravatar_type, $gravatar, $timezone, $description);
Severity: Minor
Found in UserOrganizationTrait.php by phpcodesniffer

Line exceeds 120 characters; contains 135 characters
Open

                $organization->type == Organization::TYPE_ORGANIZATION ? (new RevokeOrganization)->name : (new RevokeDepartment)->name,
Severity: Minor
Found in UserOrganizationTrait.php by phpcodesniffer

Line exceeds 120 characters; contains 142 characters
Open

                return Yii::$app->authManager->checkAccess($this->operator->getGUID(), (new ManageProfile)->name, ['organization' => $model]);

Line exceeds 120 characters; contains 150 characters
Open

    'Are you sure you want to remove this member from the organization / department?' => '您确定要从当前组织/部门中移除此成员吗?',

Line exceeds 120 characters; contains 305 characters
Open

    'If you check "Exclude other members", members of other organizations (or their subordinate departments) can not join this organization and subordinate departments.' => '如果您勾选“排除其他成员”,则其它组织(或其下属部门)的成员不能加入本组织和下属部门。',

Line exceeds 120 characters; contains 196 characters
Open

    'If you allow the member to withdraw proactively, the password is also needed to provide when withdrawing.' => '如果您允许成员主动退出,则退出时依然需要提供此密码。',

Line exceeds 120 characters; contains 122 characters
Open

        if (!Yii::$app->authManager->checkAccess($user->getGUID(), (new ManageProfile)->name, ['organization' => $org])) {

Line exceeds 120 characters; contains 160 characters
Open

                Yii::$app->session->setFlash(Module::SESSION_KEY_MESSAGE, '(' . $org->profile->name . ' ' . $org->getID() . ') ' . $this->updateSuccessMessage);

Line exceeds 120 characters; contains 121 characters
Open

                    $this->organization->isOnlyAcceptSuperiorOrgMember = ($this->only_accept_superior_org_member == '1');
Severity: Minor
Found in forms/SettingsForm.php by phpcodesniffer

Line exceeds 120 characters; contains 125 characters
Open

                Yii::t('organization', 'For example, the local address segment is {ip}.', ['ip' => '127.0.0.0/8']) . "<br>" .
Severity: Minor
Found in forms/SettingsForm.php by phpcodesniffer

Line exceeds 120 characters; contains 142 characters
Open

                            throw new UnauthorizedHttpException(Yii::t('organization', 'You do not have access to set up new organization.'));

Line exceeds 120 characters; contains 124 characters
Open

            throw new UnauthorizedHttpException(Yii::t('organization', 'You do not have access to set up new department.'));

Line exceeds 120 characters; contains 145 characters
Open

            <?= Html::a(Yii::t('organization', 'Add member'), ['add-member', 'org' => $organization->getID()], ['class' => 'btn btn-primary']) ?>

Line exceeds 120 characters; contains 134 characters
Open

            <?php if (Yii::$app->authManager->checkAccess($user, (new SetUpDepartment)->name, ['organization' => $organization])) : ?>

Line exceeds 120 characters; contains 138 characters
Open

        <?= Html::a(Yii::t('organization', 'Member List'), ['member', 'org' => $organization->getID()], ['class' => 'btn btn-primary']) ?>

Line exceeds 120 characters; contains 132 characters
Open

                    [ // Disallow user who does not have `setUpOrganization` permission to access this `set-up-organization` action.

Line exceeds 120 characters; contains 124 characters
Open

            [$this->contentAttribute, 'default', 'value' => is_numeric($this->defaultLimit) ? (int)$this->defaultLimit : 10]
Severity: Minor
Found in OrganizationLimit.php by phpcodesniffer
Severity
Category
Status
Source
Language