Vergleich usercp.php - 1.6.16 - 1.6.18

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 613Zeile 613
			{
if($title['posts'] <= $mybb->user['postnum'])
{

			{
if($title['posts'] <= $mybb->user['postnum'])
{

					$defaulttitle = $title['title'];

					$defaulttitle = htmlspecialchars_uni($title['title']);

					break;
}
}
}
else
{

					break;
}
}
}
else
{

			$defaulttitle = $mybb->usergroup['usertitle'];

			$defaulttitle = htmlspecialchars_uni($mybb->usergroup['usertitle']);

		}

if(trim($user['usertitle']) == '')

		}

if(trim($user['usertitle']) == '')

Zeile 2720Zeile 2720
	{
$memberlistlink = $moderaterequestslink = '';
$memberlistlink = " [<a href=\"managegroup.php?gid=".$usergroup['gid']."\">".$lang->view_members."</a>]";

	{
$memberlistlink = $moderaterequestslink = '';
$memberlistlink = " [<a href=\"managegroup.php?gid=".$usergroup['gid']."\">".$lang->view_members."</a>]";

 
		$usergroup['title'] = htmlspecialchars_uni($usergroup['title']);

		if($usergroup['type'] != 4)
{
$usergroup['joinrequests'] = '--';

		if($usergroup['type'] != 4)
{
$usergroup['joinrequests'] = '--';

Zeile 2741Zeile 2742
	// Do the primary group first
$query = $db->simple_select("usergroups", "*", "gid='".$mybb->user['usergroup']."'");
$usergroup = $db->fetch_array($query);

	// Do the primary group first
$query = $db->simple_select("usergroups", "*", "gid='".$mybb->user['usergroup']."'");
$usergroup = $db->fetch_array($query);

 
	$usergroup['title'] = htmlspecialchars_uni($usergroup['title']);
$usergroup['usertitle'] = htmlspecialchars_uni($usergroup['usertitle']);
$usergroup['description'] = htmlspecialchars_uni($usergroup['description']);

	$leavelink = "<div style=\"text-align:center;\"><span class=\"smalltext\">{$lang->usergroup_leave_primary}</span></div>";
$trow = alt_trow();
if($usergroup['candisplaygroup'] == 1 && $usergroup['gid'] == $mybb->user['displaygroup'])

	$leavelink = "<div style=\"text-align:center;\"><span class=\"smalltext\">{$lang->usergroup_leave_primary}</span></div>";
$trow = alt_trow();
if($usergroup['candisplaygroup'] == 1 && $usergroup['gid'] == $mybb->user['displaygroup'])

Zeile 2777Zeile 2781
			{
$leavelink = "<div style=\"text-align: center;\"><a href=\"usercp.php?action=usergroups&amp;leavegroup=".$usergroup['gid']."&amp;my_post_key={$mybb->post_code}\">".$lang->usergroup_leave."</a></div>";
}

			{
$leavelink = "<div style=\"text-align: center;\"><a href=\"usercp.php?action=usergroups&amp;leavegroup=".$usergroup['gid']."&amp;my_post_key={$mybb->post_code}\">".$lang->usergroup_leave."</a></div>";
}

 
			$usergroup['title'] = htmlspecialchars_uni($usergroup['title']);
$usergroup['usertitle'] = htmlspecialchars_uni($usergroup['usertitle']);

			if($usergroup['description'])
{

			if($usergroup['description'])
{

 
				$usergroup['description'] = htmlspecialchars_uni($usergroup['description']);

				$description = "<br /><span class=\"smalltext\">".$usergroup['description']."</span>";
}
else

				$description = "<br /><span class=\"smalltext\">".$usergroup['description']."</span>";
}
else

Zeile 2822Zeile 2829
	while($usergroup = $db->fetch_array($query))
{
$trow = alt_trow();

	while($usergroup = $db->fetch_array($query))
{
$trow = alt_trow();

 
		$usergroup['title'] = htmlspecialchars_uni($usergroup['title']);

		if($usergroup['description'])
{

		if($usergroup['description'])
{

 
			$usergroup['description'] = htmlspecialchars_uni($usergroup['description']);

			$description = "<br /><span class=\"smallfont\">".$usergroup['description']."</span>";
}
else

			$description = "<br /><span class=\"smallfont\">".$usergroup['description']."</span>";
}
else

Zeile 3053Zeile 3062
	}

$lang->posts_day = $lang->sprintf($lang->posts_day, my_number_format($perday), $percent);

	}

$lang->posts_day = $lang->sprintf($lang->posts_day, my_number_format($perday), $percent);

	$usergroup = $groupscache[$mybb->user['usergroup']]['title'];

	$usergroup = htmlspecialchars_uni($groupscache[$mybb->user['usergroup']]['title']);


$colspan = 1;
if($mybb->user['avatar'])


$colspan = 1;
if($mybb->user['avatar'])