Vergleich admin/modules/tools/mailerrors.php - 1.8.9 - 1.8.15

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

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

 

// Log admin action
log_admin_action($num_deleted);

	}

$plugins->run_hooks("admin_tools_mailerrors_prune_commit");

	}

$plugins->run_hooks("admin_tools_mailerrors_prune_commit");


// Log admin action
log_admin_action($num_deleted);

 

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


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

Zeile 71Zeile 71
	$log['subject'] = htmlspecialchars_uni($log['subject']);
$log['error'] = htmlspecialchars_uni($log['error']);
$log['smtperror'] = htmlspecialchars_uni($log['smtpcode']);

	$log['subject'] = htmlspecialchars_uni($log['subject']);
$log['error'] = htmlspecialchars_uni($log['error']);
$log['smtperror'] = htmlspecialchars_uni($log['smtpcode']);

	$log['dateline'] = date($mybb->settings['dateformat'], $log['dateline']).", ".date($mybb->settings['timeformat'], $log['dateline']);

	$log['dateline'] = my_date('relative', $log['dateline']);

	$log['message'] = nl2br(htmlspecialchars_uni($log['message']));

?>

	$log['message'] = nl2br(htmlspecialchars_uni($log['message']));

?>

Zeile 214Zeile 214
		$log['subject'] = htmlspecialchars_uni($log['subject']);
$log['toemail'] = htmlspecialchars_uni($log['toemail']);
$log['error'] = htmlspecialchars_uni($log['error']);

		$log['subject'] = htmlspecialchars_uni($log['subject']);
$log['toemail'] = htmlspecialchars_uni($log['toemail']);
$log['error'] = htmlspecialchars_uni($log['error']);

		$log['dateline'] = date($mybb->settings['dateformat'], $log['dateline']).", ".date($mybb->settings['timeformat'], $log['dateline']);

		$log['dateline'] = my_date('relative', $log['dateline']);


$table->construct_cell($form->generate_check_box("log[{$log['eid']}]", $log['eid'], ''));
$table->construct_cell("<a href=\"javascript:MyBB.popupWindow('index.php?module=tools-mailerrors&amp;action=view&amp;eid={$log['eid']}', null, true);\">{$log['subject']}</a>");


$table->construct_cell($form->generate_check_box("log[{$log['eid']}]", $log['eid'], ''));
$table->construct_cell("<a href=\"javascript:MyBB.popupWindow('index.php?module=tools-mailerrors&amp;action=view&amp;eid={$log['eid']}', null, true);\">{$log['subject']}</a>");