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) {
|
Zeile 430 | Zeile 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 439 | Zeile 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);
|