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

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 43Zeile 43
			$db->delete_query("maillogs", "mid IN ({$log_ids})");
$num_deleted = $db->affected_rows();
}

			$db->delete_query("maillogs", "mid IN ({$log_ids})");
$num_deleted = $db->affected_rows();
}

 

// Log admin action
log_admin_action($num_deleted);

	}

$plugins->run_hooks("admin_tools_maillogs_prune_commit");

	}

$plugins->run_hooks("admin_tools_maillogs_prune_commit");


// Log admin action
log_admin_action($num_deleted);

 

flash_message($lang->selected_logs_deleted, 'success');
admin_redirect("index.php?module=tools-maillogs");


flash_message($lang->selected_logs_deleted, 'success');
admin_redirect("index.php?module=tools-maillogs");

Zeile 430Zeile 430
	{
$from_type = "email";
}

	{
$from_type = "email";
}

	$form_container->output_row($lang->from, "", $form->generate_select_box('from_type', $user_email, $from_type)." ".$form->generate_text_box('from_value', $from_filter, array('id' => 'from_value')), 'from_value');

	$form_container->output_row($lang->from, "", $form->generate_select_box('from_type', $user_email, $from_type)." ".$form->generate_text_box('from_value', htmlspecialchars_uni($from_filter), array('id' => 'from_value')), 'from_value');

	if($to_username)
{
$to_type = "user";

	if($to_username)
{
$to_type = "user";

Zeile 439Zeile 439
	{
$to_type = "email";
}

	{
$to_type = "email";
}

	$form_container->output_row($lang->to, "", $form->generate_select_box('to_type', $user_email, $to_type)." ".$form->generate_text_box('to_value', $to_filter, array('id' => 'to_value')), 'to_value');

	$form_container->output_row($lang->to, "", $form->generate_select_box('to_type', $user_email, $to_type)." ".$form->generate_text_box('to_value', htmlspecialchars_uni($to_filter), array('id' => 'to_value')), 'to_value');

	$form_container->end();
$buttons = array();
$buttons[] = $form->generate_submit_button($lang->filter_user_email_log);

	$form_container->end();
$buttons = array();
$buttons[] = $form->generate_submit_button($lang->filter_user_email_log);