X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fcdr-import.html;h=7af6c521fc414f5f346450c35fe01378b7c4b714;hb=38dd3ed3eeda0a467e1b4d8cedd741fc62aedc9c;hp=93de6e43f23bb8df38663eed18a67afd76f71003;hpb=1053db7f76169cbbc87840539959a4c362aff242;p=freeside.git diff --git a/httemplate/misc/cdr-import.html b/httemplate/misc/cdr-import.html index 93de6e43f..7af6c521f 100644 --- a/httemplate/misc/cdr-import.html +++ b/httemplate/misc/cdr-import.html @@ -1,16 +1,61 @@ -<%= include("/elements/header.html",'Call Detail Record Import') %> -
-<%= include('/elements/footer.html') %> +<% include('/elements/footer.html') %> + +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Import'); + +tie my %formats, 'Tie::IxHash', FS::cdr->import_formats; + +my $cdrbatch = time2str('webimport-%Y/%m/%d-%T'. "-$$-". rand() * 2**32, time); +%init>