blob: 769e180a87f8e8692e611c35479cd2f121329d7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<% include('elements/process.html',
'table' => 'log_email',
%processopts
) %>
<%init>
my %opts = @_;
my $curuser = $FS::CurrentUser::CurrentUser;
die "access denied"
unless $curuser->access_right([ 'View system logs', 'Configuration' ]);
my %processopts = $opts{'popup'}
? ( 'popup_reload' => 'Logging email added' )
: ( 'redirect' => $fsurl.'browse/log_email.html?' ); # id will be needlessly appended, should be harmless
</%init>
|