Vergleich managegroup.php - 1.8.23 - 1.8.30

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 197Zeile 197
}
elseif($mybb->input['action'] == "joinrequests")
{

}
elseif($mybb->input['action'] == "joinrequests")
{

	$users = "";

	$users = $joinrequests = '';

	$plugins->run_hooks("managegroup_joinrequests_start");

$query = $db->query("

	$plugins->run_hooks("managegroup_joinrequests_start");

$query = $db->query("

Zeile 287Zeile 287
	elseif($usergroup['type'] == 2)
{
$usergrouptype = $lang->group_private;

	elseif($usergroup['type'] == 2)
{
$usergrouptype = $lang->group_private;

	}

	}

	else
{
$usergrouptype = $lang->group_default;

	else
{
$usergrouptype = $lang->group_default;

Zeile 302Zeile 302
		LEFT JOIN ".TABLE_PREFIX."users u ON (u.uid=g.uid)
WHERE g.gid = '{$gid}'
");

		LEFT JOIN ".TABLE_PREFIX."users u ON (u.uid=g.uid)
WHERE g.gid = '{$gid}'
");





	$leaders_array = array();

if($db->num_rows($query))

	$leaders_array = array();

if($db->num_rows($query))

Zeile 317Zeile 317
			$leader_profile_link = build_profile_link($leader_name, $leader['uid']);

$leaders_array[] = $leader['uid'];

			$leader_profile_link = build_profile_link($leader_name, $leader['uid']);

$leaders_array[] = $leader['uid'];





			// Get commas...
if($loop != $leader_count)
{

			// Get commas...
if($loop != $leader_count)
{

Zeile 407Zeile 407
		$user['username'] = format_name($user['username'], $user['usergroup'], $user['displaygroup']);
$user['profilelink'] = build_profile_link($user['username'], $user['uid']);
if(in_array($user['uid'], $leaders_array))

		$user['username'] = format_name($user['username'], $user['usergroup'], $user['displaygroup']);
$user['profilelink'] = build_profile_link($user['username'], $user['uid']);
if(in_array($user['uid'], $leaders_array))

		{

		{

			$leader = $lang->leader;

			$leader = $lang->leader;

		}
else
{

		}
else
{

			$leader = '';
}


			$leader = '';
}


Zeile 422Zeile 422
			$disabled = 'disabled="disabled"';
}
else

			$disabled = 'disabled="disabled"';
}
else

		{

		{

			++$removeable_count;
}


			++$removeable_count;
}


Zeile 430Zeile 430
		{
eval("\$checkbox = \"".$templates->get("managegroup_user_checkbox")."\";");
}

		{
eval("\$checkbox = \"".$templates->get("managegroup_user_checkbox")."\";");
}





		eval("\$users .= \"".$templates->get("managegroup_user")."\";");
}


		eval("\$users .= \"".$templates->get("managegroup_user")."\";");
}


Zeile 439Zeile 439
		eval("\$users = \"".$templates->get("managegroup_no_users")."\";");
}


		eval("\$users = \"".$templates->get("managegroup_no_users")."\";");
}


	$add_user = '';
$remove_users = '';

	$add_user = $remove_users = $invite_user = '';


	if($groupleader['canmanagemembers'] == 1)
{
eval("\$add_user = \"".$templates->get("managegroup_adduser")."\";");

	if($groupleader['canmanagemembers'] == 1)
{
eval("\$add_user = \"".$templates->get("managegroup_adduser")."\";");