diff options
Diffstat (limited to 'httemplate/browse/part_export.cgi')
-rwxr-xr-x | httemplate/browse/part_export.cgi | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/httemplate/browse/part_export.cgi b/httemplate/browse/part_export.cgi deleted file mode 100755 index 1cd201360..000000000 --- a/httemplate/browse/part_export.cgi +++ /dev/null @@ -1,65 +0,0 @@ -<% include("/elements/header.html", "Export Listing") %> - -Provisioning services to external machines, databases and APIs.<BR><BR> - -<A HREF="<% $p %>edit/part_export.cgi"><I>Add a new export</I></A><BR><BR> - -<SCRIPT> -function part_export_areyousure(href) { - if (confirm("Are you sure you want to delete this export?") == true) - window.location.href = href; -} -</SCRIPT> - -<% include('/elements/table-grid.html') %> -% my $bgcolor1 = '#eeeeee'; -% my $bgcolor2 = '#ffffff'; -% my $bgcolor = ''; - - <TR> - <TH COLSPAN=2 CLASS="grid" BGCOLOR="#cccccc">Export</TH> - <TH CLASS="grid" BGCOLOR="#cccccc">Options</TH> - </TR> - -% foreach my $part_export ( sort { -% $a->getfield('exportnum') <=> $b->getfield('exportnum') -% } qsearch('part_export',{}) -% ) { -% if ( $bgcolor eq $bgcolor1 ) { -% $bgcolor = $bgcolor2; -% } else { -% $bgcolor = $bgcolor1; -% } - - <TR> - - <TD CLASS="grid" BGCOLOR="<% $bgcolor %>"><A HREF="<% $p %>edit/part_export.cgi?<% $part_export->exportnum %>"><% $part_export->exportnum %></A></TD> - - <TD CLASS="grid" BGCOLOR="<% $bgcolor %>"><% $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> - - <TD CLASS="inv" BGCOLOR="<% $bgcolor %>"> - <% itable() %> -% my %opt = $part_export->options; -% foreach my $opt ( keys %opt ) { - - <TR> - <TD ALIGN="right" VALIGN="top" WIDTH="33%"><% $opt %>: </TD> - <TD ALIGN="left" WIDTH="67%"><% encode_entities($opt{$opt}) %></TD> - </TR> -% } - - </TABLE> - </TD> - - </TR> - -% } - -</TABLE> - -<% include('/elements/footer.html') %> - -<%init> -die "access denied" - unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); -</%init> |