rhosocial/yii2-organization

View on GitHub

Showing 816 of 816 total issues

Line exceeds 120 characters; contains 393 characters
Open

    'The organization where this department affiliated to has checked the "Exclude other members", meaning that members who have joined other organizations (or their subordinate departments) can no longer join this department.' => '本部门所在的组织已经勾选“排除其他成员”,意味着,已经加入其它组织(或其下属部门)的成员不能再加入本部门。',

Line exceeds 120 characters; contains 127 characters
Open

            'data-confirm' => Yii::t('organization', 'Are you sure you want to withdraw from this organization / department?'),

Line exceeds 120 characters; contains 125 characters
Open

                Yii::$app->session->setFlash(Module::SESSION_KEY_MESSAGE, "($u) " . Yii::t('organization', 'Member added.'));

Line exceeds 120 characters; contains 154 characters
Open

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

Line exceeds 120 characters; contains 123 characters
Open

        $searchModel->query = $searchModel->query->andWhere([$searchModel->memberUserAlias . '.guid' => $user->getGUID()]);

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 148 characters
Open

        <?= Html::a(Yii::t('organization', 'Manage members.'), ['manage-member', 'id' => $organization->getID()], ['class' => 'btn btn-primary']) ?>

Line exceeds 120 characters; contains 124 characters
Open

        parent::__construct(Yii::t('organization', "The number of departments has reached the maximum."), $code, $previous);

Line exceeds 120 characters; contains 125 characters
Open

            if ($org->topOrganization->isDisallowMemberJoinOther && !$org->topOrganization->equals($this->topOrganization)) {
Severity: Minor
Found in Organization.php by phpcodesniffer

Line exceeds 120 characters; contains 124 characters
Open

                    echo "The upper limit is " . ($remaining + (int)$user->getCreatorsAtOrganizationsOnly()->count()). "\n";

Line exceeds 120 characters; contains 121 characters
Open

        return $this->getOfMembers()->andWhere(['role' => [(new DepartmentAdmin)->name, (new OrganizationAdmin)->name]]);
Severity: Minor
Found in UserOrganizationTrait.php by phpcodesniffer

Line exceeds 120 characters; contains 134 characters
Open

    public function setUpOrganization($name, $nickname = '', $gravatar_type = 0, $gravatar = '', $timezone = 'UTC', $description = '')
Severity: Minor
Found in UserOrganizationTrait.php by phpcodesniffer

Line exceeds 120 characters; contains 151 characters
Open

    public function createOrganization($name, $parent = null, $nickname = '', $gravatar_type = 0, $gravatar = '', $timezone = 'UTC', $description = '')
Severity: Minor
Found in UserOrganizationTrait.php by phpcodesniffer

Line exceeds 120 characters; contains 149 characters
Open

    public function createDepartment($name, $parent = null, $nickname = '', $gravatar_type = 0, $gravatar = '', $timezone = 'UTC', $description = '')
Severity: Minor
Found in UserOrganizationTrait.php by phpcodesniffer

Line exceeds 120 characters; contains 201 characters
Open

    'Only the users from the above IP address (segment) can join the organization / department proactively.' => '只有来自上述 IP 地址(段)的用户才可以主动加入本组织/部门。',

Line exceeds 120 characters; contains 228 characters
Open

    'You can assign a unique code to the organization, and we will generate a unique entrance URL based on this code.' => '您可以为本组织指定一个唯一的代码,我们会根据此代码生成唯一的入口 URL。',

Line exceeds 120 characters; contains 140 characters
Open

    'If you do not want users to join the organization, please leave blank.' => '如果不想让用户主动加入本组织,请留空。',

Line exceeds 120 characters; contains 158 characters
Open

    'If the join time is the same as the last update time, there is no change.' => '如果加入时间与上次更新时间相同,则表示没有改动。',

Line exceeds 120 characters; contains 127 characters
Open

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

Line exceeds 120 characters; contains 184 characters
Open

                Yii::t('organization', 'This organization does not allow the organization and its subordinates\' members to join other organizations or their subordinates.') . "<br>" .
Severity: Minor
Found in forms/SettingsForm.php by phpcodesniffer
Severity
Category
Status
Source
Language