Skip to content
Snippets Groups Projects
Commit 34189043 authored by runemaster's avatar runemaster
Browse files

Implement Deuce's cool new can_delete function.

parent 905eff3f
No related branches found
No related tags found
No related merge requests found
load("html_inc/msgslib.ssjs");
load("html_inc/mime_decode.ssjs");
if(sub=='mail') {
template.can_delete=true;
}
else {
template.can_delete=msg_area.sub[sub].is_operator;
}
template.can_delete=can_delete(m)
if(msgbase.open!=undefined && msgbase.open()==false) {
error(msgbase.last_error);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment