diff options
author | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
commit | c82d349f864e6bd9f96fd1156903bc1f7193a203 (patch) | |
tree | e117a87533656110b6acd56fc0ca64289892a9f5 /httemplate/misc/cdr-import.html | |
parent | 74e058c8a010ef6feb539248a550d0bb169c1e94 (diff) |
This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'.TORRUS_1_0_9
Diffstat (limited to 'httemplate/misc/cdr-import.html')
-rw-r--r-- | httemplate/misc/cdr-import.html | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/httemplate/misc/cdr-import.html b/httemplate/misc/cdr-import.html deleted file mode 100644 index 7af6c521f..000000000 --- a/httemplate/misc/cdr-import.html +++ /dev/null @@ -1,61 +0,0 @@ -<% include("/elements/header.html",'Call Detail Record Import') %> - -<% include( '/elements/form-file_upload.html', - 'name' => 'CDRImportForm', - 'action' => 'process/cdr-import.html', - 'num_files' => 1, - 'fields' => [ 'format', 'cdrbatch', ], - 'message' => 'CDR import successful', - 'url' => $p."search/cdr.html?cdrbatch=$cdrbatch", - ) -%> - -Import a file containing Call Detail Records (CDRs).<BR><BR> - -<INPUT TYPE="hidden" NAME="cdrbatch" VALUE="<% $cdrbatch %>"%> - -<% ntable('#cccccc', 2) %> - - <TR> - <TD>CDR Format</TD> - <TD> - <SELECT NAME="format"> -% foreach my $format ( keys %formats ) { - <OPTION VALUE="<% $format %>"><% $formats{$format} %></OPTION> -% } - </SELECT> - </TD> - </TR> - - <% include( '/elements/file-upload.html', - 'field' => 'file', - 'label' => 'Filename', - ) - %> - - <TR> - <TD COLSPAN=2 ALIGN="center" STYLE="padding-top:6px"> - <INPUT TYPE = "submit" - ID = "submit" - VALUE = "Import file" - onClick = "document.InventoryItemImportForm.submit.disabled=true;" - > - </TD> - </TR> - -</TABLE> - -</FORM> - -<% 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> |