Zeile 43 | Zeile 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 69 | Zeile 69 |
---|
$log['toemail'] = htmlspecialchars_uni($log['toemail']); $log['fromemail'] = htmlspecialchars_uni($log['fromemail']); $log['subject'] = htmlspecialchars_uni($log['subject']);
|
$log['toemail'] = htmlspecialchars_uni($log['toemail']); $log['fromemail'] = htmlspecialchars_uni($log['fromemail']); $log['subject'] = htmlspecialchars_uni($log['subject']);
|
$log['dateline'] = date($mybb->settings['dateformat'], $log['dateline']).", ".date($mybb->settings['timeformat'], $log['dateline']);
| $log['dateline'] = my_date('relative', $log['dateline']);
|
if($mybb->settings['mail_logging'] == 1) { $log['message'] = $lang->na;
| if($mybb->settings['mail_logging'] == 1) { $log['message'] = $lang->na;
|
Zeile 289 | Zeile 289 |
---|
{ $table->construct_cell($form->generate_check_box("log[{$log['mid']}]", $log['mid'], ''), array("width" => 1)); $log['subject'] = htmlspecialchars_uni($log['subject']);
|
{ $table->construct_cell($form->generate_check_box("log[{$log['mid']}]", $log['mid'], ''), array("width" => 1)); $log['subject'] = htmlspecialchars_uni($log['subject']);
|
$log['dateline'] = date($mybb->settings['dateformat'], $log['dateline']).", ".date($mybb->settings['timeformat'], $log['dateline']);
| $log['dateline'] = my_date('relative', $log['dateline']);
|
if($log['type'] == 2) {
| if($log['type'] == 2) {
|