Vergleich admin/modules/tools/adminlog.php - 1.8.7 - 1.8.11

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 102Zeile 102
	");
while($user = $db->fetch_array($query))
{

	");
while($user = $db->fetch_array($query))
{

		$user_options[$user['uid']] = $user['username'];

		$user_options[$user['uid']] = htmlspecialchars_uni($user['username']);

	}

$module_options = array();

	}

$module_options = array();

Zeile 238Zeile 238
	{
$information = '';
$trow = alt_trow();

	{
$information = '';
$trow = alt_trow();

 
		$logitem['username'] = htmlspecialchars_uni($logitem['username']);

		$username = format_name($logitem['username'], $logitem['usergroup'], $logitem['displaygroup']);

$logitem['data'] = my_unserialize($logitem['data']);

		$username = format_name($logitem['username'], $logitem['usergroup'], $logitem['displaygroup']);

$logitem['data'] = my_unserialize($logitem['data']);

Zeile 283Zeile 284
	");
while($user = $db->fetch_array($query))
{

	");
while($user = $db->fetch_array($query))
{

		$user_options[$user['uid']] = $user['username'];

		$user_options[$user['uid']] = htmlspecialchars_uni($user['username']);

	}

$module_options = array();

	}

$module_options = array();

Zeile 487Zeile 488
			if(isset($lang->$detail_lang_string))
{
$lang_string = $detail_lang_string;

			if(isset($lang->$detail_lang_string))
{
$lang_string = $detail_lang_string;

 
			}
break;
case 'admin_log_tools_spamlog_prune': // Spam Log Pruning
if($logitem['data'][1] && !$logitem['data'][2])
{
$lang_string = 'admin_log_tools_spamlog_prune_user';
}
elseif($logitem['data'][2] && !$logitem['data'][1])
{
$lang_string = 'admin_log_tools_spamlog_prune_email';
}
elseif($logitem['data'][1] && $logitem['data'][2])
{
$lang_string = 'admin_log_tools_spamlog_prune_user_email';

			}
break;
// == USERS ==
case 'admin_log_user_admin_permissions_edit': // editing default/group/user admin permissions

			}
break;
// == USERS ==
case 'admin_log_user_admin_permissions_edit': // editing default/group/user admin permissions

			if($logitem['data'][0] > 0)














			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
$lang_string .= '_user';

			{
// User
$lang_string .= '_user';

			}

			}

			elseif($logitem['data'][0] < 0)
{
// Group
$logitem['data'][0] = abs($logitem['data'][0]);
$lang_string .= '_group';

			elseif($logitem['data'][0] < 0)
{
// Group
$logitem['data'][0] = abs($logitem['data'][0]);
$lang_string .= '_group';

			}

			}

			break;

			break;

		case 'admin_log_user_admin_permissions_delete': // deleting group/user admin permissions
if($logitem['data'][0] > 0)
{
// User
$lang_string .= '_user';

		case 'admin_log_user_awaiting_activation_activate':
if($logitem['data'][0] == 'deleted')
{
$lang_string .= '_deleted';


			}

			}

			elseif($logitem['data'][0] < 0)

			else

			{

			{

				// Group
$logitem['data'][0] = abs($logitem['data'][0]);
$lang_string .= '_group';

				$lang_string .= '_activated';



			}
break;
case 'admin_log_user_banning_': // banning

			}
break;
case 'admin_log_user_banning_': // banning