public/main/social/group_topics.php
Variable "group_id" is not in valid camel caps format Open
Open
$group_id = intval($_GET['id']);
- Exclude checks
Variable "is_member" is not in valid camel caps format Open
Open
$is_member = false;
- Exclude checks
Variable "parent_id" is not in valid camel caps format Open
Open
$parent_id = intval($_POST['parent_id']);
- Exclude checks
Variable "group_info" is not in valid camel caps format Open
Open
if (empty($group_info)) {
- Exclude checks
Variable "group_info" is not in valid camel caps format Open
Open
if (GROUP_PERMISSION_CLOSED == $group_info['visibility'] && !$is_member) {
- Exclude checks
Variable "friend_html" is not in valid camel caps format Open
Open
$friend_html = SocialManager::listMyFriendsBlock(api_get_user_id());
- Exclude checks
Variable "message_id" is not in valid camel caps format Open
Open
$message_id = $res;
- Exclude checks
Variable "message_id" is not in valid camel caps format Open
Open
if ($("#msg_'.$message_id.'").length) {
- Exclude checks
Variable "message_id" is not in valid camel caps format Open
Open
$message_id
- Exclude checks
Variable "group_role" is not in valid camel caps format Open
Open
in_array($group_role, [GROUP_USER_PERMISSION_ADMIN, GROUP_USER_PERMISSION_MODERATOR])
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
$usergroup->delete_topic($group_id, $topic_id);
- Exclude checks
Variable "social_layout" is not in valid camel caps format Open
Open
$tpl->display($social_layout);
- Exclude checks
Variable "message_id" is not in valid camel caps format Open
Open
$message_id = isset($_GET['msg_id']) ? intval($_GET['msg_id']) : null;
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
if (empty($group_id)) {
- Exclude checks
Variable "social_layout" is not in valid camel caps format Open
Open
$social_layout = $tpl->get_template('social/groups_topics.tpl');
- Exclude checks
Variable "group_info" is not in valid camel caps format Open
Open
$group_info = $usergroup->get($group_id);
- Exclude checks
Variable "is_member" is not in valid camel caps format Open
Open
$is_member = $usergroup->is_group_member($group_id);
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
$interbreadcrumb[] = ['url' => 'group_view.php?id='.$group_id, 'name' => Security::remove_XSS($group_info['title'])];
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
$group_id,
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
$is_member = $usergroup->is_group_member($group_id);
- Exclude checks
Variable "is_member" is not in valid camel caps format Open
Open
if (GROUP_PERMISSION_CLOSED == $group_info['visibility'] && !$is_member) {
- Exclude checks
Variable "topic_id" is not in valid camel caps format Open
Open
$topic_id,
- Exclude checks
Variable "is_member" is not in valid camel caps format Open
Open
$is_member,
- 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 "group_id" is not in valid camel caps format Open
Open
$group_id = intval($_POST['group_id']);
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
$group_id,
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
header('Location: ' . api_get_path(WEB_PATH).'resources/usergroups/show/'.$group_id);
- Exclude checks
Variable "topic_id" is not in valid camel caps format Open
Open
$topic_id = $res;
- Exclude checks
Variable "topic_id" is not in valid camel caps format Open
Open
$topic_id = isset($_GET['topic_id']) ? intval($_GET['topic_id']) : null;
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
$group_info = $usergroup->get($group_id);
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
$group_id,
- Exclude checks
Variable "group_info" is not in valid camel caps format Open
Open
$interbreadcrumb[] = ['url' => 'group_view.php?id='.$group_id, 'name' => Security::remove_XSS($group_info['title'])];
- Exclude checks
Variable "social_left_content" is not in valid camel caps format Open
Open
$social_left_content = null; //SocialManager::show_social_menu('member_list', $group_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 "group_id" is not in valid camel caps format Open
Open
header("Location: group_view.php?id=$group_id");
- Exclude checks
Variable "edit_message_id" is not in valid camel caps format Open
Open
$edit_message_id = intval($_POST['message_id']);
- Exclude checks
Variable "edit_message_id" is not in valid camel caps format Open
Open
$edit_message_id,
- Exclude checks
Variable "topic_id" is not in valid camel caps format Open
Open
$topic_id
- Exclude checks
Variable "topic_id" is not in valid camel caps format Open
Open
$topic_id = isset($_GET['topic_id']) ? intval($_GET['topic_id']) : null;
- Exclude checks
Variable "group_message" is not in valid camel caps format Open
Open
$group_message = MessageManager::display_message_for_group(
- Exclude checks
Variable "group_message" is not in valid camel caps format Open
Open
$tpl->assign('group_message', $group_message);
- Exclude checks
Variable "group_role" is not in valid camel caps format Open
Open
$group_role = $usergroup->get_user_group_role(api_get_user_id(), $group_id);
- Exclude checks
Variable "is_member" is not in valid camel caps format Open
Open
if ('add_message_group' === $_POST['action'] && !$is_member) {
- Exclude checks
Variable "parent_id" is not in valid camel caps format Open
Open
$parent_id,
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_SOCIAL;
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
$group_role = $usergroup->get_user_group_role(api_get_user_id(), $group_id);
- Exclude checks
Variable "social_right_content" is not in valid camel caps format Open
Open
$social_right_content = '';
- Exclude checks
Variable "parent_id" is not in valid camel caps format Open
Open
$parent_id,
- Exclude checks
Variable "message_id" is not in valid camel caps format Open
Open
scrollTop: $("#msg_'.$message_id.'").offset().top
- 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 "topic_id" is not in valid camel caps format Open
Open
$usergroup->delete_topic($group_id, $topic_id);
- Exclude checks
Variable "topic_id" is not in valid camel caps format Open
Open
$topic_id
- Exclude checks