From 97e6cec67c0c99ce1b6f0667a09f1e009100189d Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 13 Jan 2008 21:14:32 +0000 Subject: ACLs --- httemplate/misc/batch-cust_pay.html | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'httemplate/misc/batch-cust_pay.html') diff --git a/httemplate/misc/batch-cust_pay.html b/httemplate/misc/batch-cust_pay.html index 341629ba6..ae608e1b9 100644 --- a/httemplate/misc/batch-cust_pay.html +++ b/httemplate/misc/batch-cust_pay.html @@ -1,8 +1,5 @@ -<% include("/elements/header.html", 'Quick payment entry', - menubar( - 'Main Menu' => $p, #popurl(1), - ), - ( $cgi->param('error') ? '' : 'onload="addRow()"' ), +<% include('/elements/header.html', 'Quick payment entry', '' + ( $cgi->param('error') ? '' : 'onload="addRow()"' ), ) %> @@ -387,5 +384,11 @@ - - +<% include('/elements/footer.html') %> + +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Post payment batch'); + + -- cgit v1.2.1