Vergleich admin/modules/tools/adminlog.php - 1.8.9 - 1.8.22

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 488Zeile 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)
{
// 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';
}
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 525Zeile 539
			else
{
$lang_string .= '_activated';

			else
{
$lang_string .= '_activated';

			}
break;

			}
break;

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

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

Zeile 542Zeile 556
			if($logitem['data'][0] == 'approve')
{
$lang_string = 'admin_log_user_groups_join_requests_approve';

			if($logitem['data'][0] == 'approve')
{
$lang_string = 'admin_log_user_groups_join_requests_approve';

			}
else
{

			}
else
{

				$lang_string = 'admin_log_user_groups_join_requests_deny';
}
break;

				$lang_string = 'admin_log_user_groups_join_requests_deny';
}
break;

Zeile 563Zeile 577

$plugin_array = array('logitem' => &$logitem, 'lang_string' => &$lang_string);
$plugins->run_hooks("admin_tools_get_admin_log_action", $plugin_array);


$plugin_array = array('logitem' => &$logitem, 'lang_string' => &$lang_string);
$plugins->run_hooks("admin_tools_get_admin_log_action", $plugin_array);

 

foreach($logitem['data'] as $key => $value)
{
$logitem['data'][$key] = htmlspecialchars_uni($value);
}


if(isset($lang->$lang_string))
{


if(isset($lang->$lang_string))
{