Skip to content

Commit 4357d19

Browse files
committed
updates
1 parent 17c3632 commit 4357d19

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/ImapAbuseCheck.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ public function process($type = 'spam', $limit = false)
287287
->setPlainmsg($this->plainmsg)
288288
->setHtmlmsg($this->htmlmsg)
289289
->save();
290-
$email_template = file_get_contents(__DIR__.'/templates/abuse.tpl');
290+
$email_template = file_get_contents(__DIR__.'/templates/admin/abuse.tpl');
291291
$message = str_replace(
292292
['{$email}', '{$ip}', '{$type}', '{$count}', '{$id}', '{$key}'],
293293
[$email, $ip, 'spam', 1, $id, md5("${id}${ip}${type}")],

src/abuse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function_requirements('abuse_admin');
8484
$smarty->assign($db->Record);
8585
$smarty->assign('post_location', 'abuse.php?id='.$id . ($logged_in === true || !isset($key) ? '' : '&key='.$key));
8686
$smarty->assign('response_status', make_select('response_status', ['resolved','notspam','notabuse','pending'], ['Resolved','Not Spam','Not Abuse','Pending'], $db->Record['abuse_status']));
87-
add_output($smarty->fetch('abuse.tpl'));
87+
add_output($smarty->fetch('admin/abuse.tpl'));
8888
} else {
8989
$eparts = explode('@', $server_data['email']);
9090
$anonemail = mb_substr($eparts[0], 0, 1);

src/abuse_admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function_requirements('has_acl');
2929
}
3030
page_title('Report Abuse');
3131
$headers = get_default_mail_headers(['TITLE' => 'Abuse', 'EMAIL_FROM' => 'abuse@interserver.net']);
32-
$email_template = file_get_contents(__DIR__.'/templates/abuse.tpl');
32+
$email_template = file_get_contents(__DIR__.'/templates/admin/abuse.tpl');
3333
/* stats to get
3434
biggest abusers (today, 3 day, 7 day, etc..)
3535
Optionally limit abuse results to a single username

0 commit comments

Comments
 (0)