Vergleich admin/modules/tools/adminlog.php - 1.6.12 - 1.6.17

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 128Zeile 128
	$perpage = intval($mybb->input['perpage']);
if(!$perpage)
{

	$perpage = intval($mybb->input['perpage']);
if(!$perpage)
{

 
		if(!$mybb->settings['threadsperpage'] || (int)$mybb->settings['threadsperpage'] < 1)
{
$mybb->settings['threadsperpage'] = 20;
}


		$perpage = $mybb->settings['threadsperpage'];
}


		$perpage = $mybb->settings['threadsperpage'];
}


Zeile 143Zeile 148
	if($mybb->input['filter_module'])
{
$where .= " AND module='".$db->escape_string($mybb->input['filter_module'])."'";

	if($mybb->input['filter_module'])
{
$where .= " AND module='".$db->escape_string($mybb->input['filter_module'])."'";

	}


	}


	// Order?
switch($mybb->input['sortby'])
{

	// Order?
switch($mybb->input['sortby'])
{

Zeile 156Zeile 161
	}
$order = $mybb->input['order'];
if($order != 'asc')

	}
$order = $mybb->input['order'];
if($order != 'asc')

	{

	{

		$order = 'desc';
}


		$order = 'desc';
}


Zeile 172Zeile 177
	if($mybb->input['page'] != "last")
{
$pagecnt = intval($mybb->input['page']);

	if($mybb->input['page'] != "last")
{
$pagecnt = intval($mybb->input['page']);

	}

	}


$postcount = intval($rescount);
$pages = $postcount / $perpage;


$postcount = intval($rescount);
$pages = $postcount / $perpage;

Zeile 261Zeile 266
	while($user = $db->fetch_array($query))
{
$user_options[$user['uid']] = $user['username'];

	while($user = $db->fetch_array($query))
{
$user_options[$user['uid']] = $user['username'];

	}

	}


$module_options = array();
$module_options[''] = $lang->all_modules;


$module_options = array();
$module_options[''] = $lang->all_modules;

Zeile 464Zeile 469
			}
break;
// == USERS ==

			}
break;
// == USERS ==

		case 'admin_log_user_admin_permissions_edit': // default/group/user admin permissions














		case 'admin_log_user_admin_permissions_edit': // editing default/group/user admin permissions
if($logitem['data'][0] > 0)
{
// User
$lang_string .= '_user';
}
elseif($logitem['data'][0] < 0)
{
// Group
$logitem['data'][0] = abs($logitem['data'][0]);
$lang_string .= '_group';
}
break;
case 'admin_log_user_admin_permissions_delete': // deleting group/user admin permissions

			if($logitem['data'][0] > 0)
{
// User

			if($logitem['data'][0] > 0)
{
// User

Zeile 479Zeile 497
			break;
case 'admin_log_user_banning_': // banning
if($logitem['data'][2] == 0)

			break;
case 'admin_log_user_banning_': // banning
if($logitem['data'][2] == 0)

			{

			{

				$lang_string = 'admin_log_user_banning_add_permanent';
}
else
{

				$lang_string = 'admin_log_user_banning_add_permanent';
}
else
{

				$logitem['data'][2] = my_date($mybb->settings['dateformat'], $logitem['data'][2]);
$lang_string = 'admin_log_user_banning_add_temporary';











				$logitem['data'][2] = my_date($mybb->settings['dateformat'], $logitem['data'][2]);
$lang_string = 'admin_log_user_banning_add_temporary';
}
break;
case 'admin_log_user_groups_join_requests':
if($logitem['data'][0] == 'approve')
{
$lang_string = 'admin_log_user_groups_join_requests_approve';
}
else
{
$lang_string = 'admin_log_user_groups_join_requests_deny';

			}
break;
case 'admin_log_user_users_inline_banned':

			}
break;
case 'admin_log_user_users_inline_banned':