1 <% include("/elements/header.html","Export Listing", menubar( 'Main Menu' => "$p#sysadmin" )) %>
2 Provisioning services to external machines, databases and APIs.<BR><BR>
3 <A HREF="<% $p %>edit/part_export.cgi"><I>Add a new export</I></A><BR><BR>
5 function part_export_areyousure(href) {
6 if (confirm("Are you sure you want to delete this export?") == true)
7 window.location.href = href;
13 <TH COLSPAN=2>Export</TH>
16 % foreach my $part_export ( sort {
17 % $a->getfield('exportnum') <=> $b->getfield('exportnum')
18 % } qsearch('part_export',{}) ) {
22 <TD><A HREF="<% $p %>edit/part_export.cgi?<% $part_export->exportnum %>"><% $part_export->exportnum %></A></TD>
23 <TD><% $part_export->exporttype %> to <% $part_export->machine %> (<A HREF="<% $p %>edit/part_export.cgi?<% $part_export->exportnum %>">edit</A> | <A HREF="javascript:part_export_areyousure('<% $p %>misc/delete-part_export.cgi?<% $part_export->exportnum %>')">delete</A>)</TD>
26 % my %opt = $part_export->options;
27 % foreach my $opt ( keys %opt ) {
29 <TR><TD><% $opt %></TD><TD><% encode_entities($opt{$opt}) %></TD></TR>
43 unless $FS::CurrentUser::CurrentUser->access_right('Configuration');