public/main/social/group_view.php
Variable "social_right_content" is not in valid camel caps format Open
Open
$social_right_content .= Display::return_message(get_lang('Your message has been sent.'), 'confirmation', false);
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
'group_id' => $group_id,
- Exclude checks
Variable "member_content" is not in valid camel caps format Open
Open
$member_content .= '<div class="row">';
- Exclude checks
Variable "member_content" is not in valid camel caps format Open
Open
$member_content .= '</div>';
- Exclude checks
Variable "create_thread_link" is not in valid camel caps format Open
Open
if (!empty($create_thread_link)) {
- Exclude checks
Variable "create_thread_link" is not in valid camel caps format Open
Open
$create_thread_link = Display::div($create_thread_link, ['class' => 'pull-right']);
- Exclude checks
Variable "relation_group_title" is not in valid camel caps format Open
Open
$relation_group_title = '';
- Exclude checks
Variable "create_thread_link" is not in valid camel caps format Open
Open
$create_thread_link = Display::url(
- Exclude checks
Variable "param_names" is not in valid camel caps format Open
Open
$param_names = array_keys($_GET);
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
$usergroup->delete_user_rel_group($user_leaved, $group_id);
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
$group_id,
- Exclude checks
Variable "social_right_content" is not in valid camel caps format Open
Open
$social_right_content .= '</div>';
- Exclude checks
Variable "member_name" is not in valid camel caps format Open
Open
$member_content .= Display::div($member_name, ['class' => 'name']);
- Exclude checks
Variable "param_names" is not in valid camel caps format Open
Open
foreach ($param_names as $param) {
- Exclude checks
Variable "user_join" is not in valid camel caps format Open
Open
$user_join = intval($_GET['u']);
- Exclude checks
Variable "is_group_member" is not in valid camel caps format Open
Open
$is_group_member = $usergroup->is_group_member($group_id);
- Exclude checks
Variable "is_group_member" is not in valid camel caps format Open
Open
if ($is_group_member || GROUP_PERMISSION_OPEN == $groupInfo['visibility']) {
- Exclude checks
Variable "is_group_member" is not in valid camel caps format Open
Open
if ($is_group_member) {
- Exclude checks
Variable "member_content" is not in valid camel caps format Open
Open
$member_content .= '</div>';
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
$usergroup->add_user_to_group($user_join, $group_id);
- Exclude checks
Variable "social_right_content" is not in valid camel caps format Open
Open
$social_right_content .= '<div class="group-tool">';
- Exclude checks
Variable "social_right_content" is not in valid camel caps format Open
Open
$social_right_content .= '<div class="pull-right">';
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
'group_members.php?id='.$group_id,
- Exclude checks
Variable "member_content" is not in valid camel caps format Open
Open
$member_content .= '<div class="user-list">';
- Exclude checks
Variable "social_right_content" is not in valid camel caps format Open
Open
$social_right_content .= '<a
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
if (0 != $group_id) {
- Exclude checks
Variable "social_right_content" is not in valid camel caps format Open
Open
$social_right_content .= '<a
- Exclude checks
Variable "create_thread_link" is not in valid camel caps format Open
Open
$create_thread_link = Display::url(
- Exclude checks
Variable "member_content" is not in valid camel caps format Open
Open
$member_content .= '</div>';
- Exclude checks
Variable "member_content" is not in valid camel caps format Open
Open
$member_content .= '<div class="col-md-3">';
- Exclude checks
Variable "allowed_views" is not in valid camel caps format Open
Open
if (isset($_GET['view']) && in_array($_GET['view'], $allowed_views)) {
- Exclude checks
Variable "member_content" is not in valid camel caps format Open
Open
$member_content .= '<div class="items-user">';
- Exclude checks
Variable "is_group_member" is not in valid camel caps format Open
Open
$tpl->assign('is_group_member', $is_group_member);
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
href="group_view.php?id='.$group_id.'&action=join&u='.api_get_user_id().'">'.
- Exclude checks
Variable "member_content" is not in valid camel caps format Open
Open
$socialForum = Display::tabs($headers, [$content, $member_content], 'tabs');
- Exclude checks
Variable "social_right_content" is not in valid camel caps format Open
Open
$social_right_content .= '<a
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
$content = MessageManager::display_messages_for_group($group_id);
- Exclude checks
Variable "member_content" is not in valid camel caps format Open
Open
$member_content .= Display::div(
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
class="btn" href="group_view.php?id='.$group_id.'&action=join&u='.api_get_user_id().'">'.
- Exclude checks
Variable "friend_html" is not in valid camel caps format Open
Open
$tpl->assign('social_friend_block', $friend_html);
- Exclude checks
Variable "social_right_content" is not in valid camel caps format Open
Open
$tpl->assign('social_right_content', $social_right_content);
- Exclude checks
Variable "user_join" is not in valid camel caps format Open
Open
if (api_get_user_id() == $user_join && !empty($group_id)) {
- Exclude checks
Variable "create_thread_link" is not in valid camel caps format Open
Open
$create_thread_link = '';
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
$is_group_member = $usergroup->is_group_member($group_id);
- Exclude checks
Variable "social_right_content" is not in valid camel caps format Open
Open
$social_right_content .= Display::return_message(get_lang('You already sent an invitation'));
- Exclude checks
Variable "social_right_content" is not in valid camel caps format Open
Open
$social_right_content .= '</div>';
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_SOCIAL;
- Exclude checks
Variable "user_leaved" is not in valid camel caps format Open
Open
if (api_get_user_id() == $user_leaved) {
- Exclude checks
Variable "user_join" is not in valid camel caps format Open
Open
$user_join,
- Exclude checks
Variable "social_right_content" is not in valid camel caps format Open
Open
$social_right_content = null;
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
$groupInfo = $usergroup->get($group_id);
- Exclude checks
Variable "is_group_member" is not in valid camel caps format Open
Open
if (!$is_group_member) {
- Exclude checks
Variable "social_right_content" is not in valid camel caps format Open
Open
$social_right_content .= '</div>';
- Exclude checks
Variable "social_right_content" is not in valid camel caps format Open
Open
$social_right_content .= '</div>';
- Exclude checks
Variable "member_content" is not in valid camel caps format Open
Open
$member_content .= '<div class="group-tool">';
- Exclude checks
Variable "member_content" is not in valid camel caps format Open
Open
$member_content .= Display::url(
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
if (api_get_user_id() == $user_join && !empty($group_id)) {
- Exclude checks
Variable "is_group_member" is not in valid camel caps format Open
Open
if (!$is_group_member && GROUP_PERMISSION_CLOSED == $groupInfo['visibility']) {
- Exclude checks
Variable "member_content" is not in valid camel caps format Open
Open
$member_content .= Display::div($member_name, ['class' => 'name']);
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
$groupInfo = $usergroup->get($group_id);
- Exclude checks
Variable "user_leaved" is not in valid camel caps format Open
Open
$user_leaved = intval($_GET['u']);
- Exclude checks
Variable "user_join" is not in valid camel caps format Open
Open
$usergroup->add_user_to_group($user_join, $group_id);
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
href="group_view.php?id='.$group_id.'&action=join&u='.api_get_user_id().'">'.
- Exclude checks
Variable "social_right_content" is not in valid camel caps format Open
Open
$social_right_content .= '<div class="group-tool">';
- Exclude checks
Variable "friend_html" is not in valid camel caps format Open
Open
$friend_html = SocialManager::listMyFriendsBlock(
- Exclude checks
Variable "member_content" is not in valid camel caps format Open
Open
$member_content .= '</div>';
- Exclude checks
Variable "create_thread_link" is not in valid camel caps format Open
Open
$create_thread_link = Display::div($create_thread_link, ['class' => 'pull-right']);
- Exclude checks
Variable "member_content" is not in valid camel caps format Open
Open
$listMembers = $member_content;
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
$group_id = isset($_GET['id']) ? (int) $_GET['id'] : null;
- Exclude checks
Variable "user_leaved" is not in valid camel caps format Open
Open
$usergroup->delete_user_rel_group($user_leaved, $group_id);
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
$role = $usergroup->get_user_group_role(api_get_user_id(), $group_id);
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
$members = $usergroup->get_users_by_group($group_id, true);
- Exclude checks
Variable "member_content" is not in valid camel caps format Open
Open
$member_content .= '</div>';
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
class="btn" href="group_view.php?id='.$group_id.'&action=join&u='.api_get_user_id().'">'.
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
SocialManager::setSocialUserBlock($tpl, api_get_user_id(), 'groups', $group_id);
- Exclude checks
Variable "create_thread_link" is not in valid camel caps format Open
Open
$tpl->assign('create_link', $create_thread_link);
- Exclude checks
Variable "allowed_views" is not in valid camel caps format Open
Open
$allowed_views = ['mygroups', 'newest', 'pop'];
- Exclude checks
Variable "social_right_content" is not in valid camel caps format Open
Open
$social_right_content .= '<a
- Exclude checks
Variable "social_right_content" is not in valid camel caps format Open
Open
$social_right_content .= '<div class="pull-right">';
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
'group_id' => $group_id,
- Exclude checks
Variable "member_content" is not in valid camel caps format Open
Open
$member_content = '';
- Exclude checks
Variable "member_content" is not in valid camel caps format Open
Open
$member_content .= '<div class="pull-right">';
- Exclude checks
Variable "member_name" is not in valid camel caps format Open
Open
$member_name = Display::url(
- Exclude checks
Variable "member_content" is not in valid camel caps format Open
Open
$member_content .= '</div>';
- Exclude checks