X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fbrowse%2Fpart_export.cgi;h=1cd201360880f368fd6a9d6aa9c7a2ddc8b7c3b7;hb=9bdca2fe23584918219395b62effbb9ef0fc5f1c;hp=76662e0c92205390a2494fab7e181fbfb1393e54;hpb=c0567c688084e89fcd11bf82348b6c418f1254ac;p=freeside.git
diff --git a/httemplate/browse/part_export.cgi b/httemplate/browse/part_export.cgi
index 76662e0c9..1cd201360 100755
--- a/httemplate/browse/part_export.cgi
+++ b/httemplate/browse/part_export.cgi
@@ -1,7 +1,9 @@
-
-<%= header("Export Listing", menubar( 'Main Menu' => "$p#sysadmin" )) %>
+<% include("/elements/header.html", "Export Listing") %>
+
Provisioning services to external machines, databases and APIs.
-Add a new export
+
+Add a new export
+
-<%= table() %>
-
- Export |
- Options |
-
+<% include('/elements/table-grid.html') %>
+% my $bgcolor1 = '#eeeeee';
+% my $bgcolor2 = '#ffffff';
+% my $bgcolor = '';
-<% foreach my $part_export ( sort {
- $a->getfield('exportnum') <=> $b->getfield('exportnum')
- } qsearch('part_export',{}) ) {
-%>
- <%= $part_export->exportnum %> |
- <%= $part_export->exporttype %> to <%= $part_export->machine %> (edit | delete) |
-
- <%= itable() %>
- <% my %opt = $part_export->options;
- foreach my $opt ( keys %opt ) { %>
- |
<%= $opt %> | <%= $opt{$opt} %> |
- <% } %>
-
-
+ Export |
+ Options |
-<% } %>
+% foreach my $part_export ( sort {
+% $a->getfield('exportnum') <=> $b->getfield('exportnum')
+% } qsearch('part_export',{})
+% ) {
+% if ( $bgcolor eq $bgcolor1 ) {
+% $bgcolor = $bgcolor2;
+% } else {
+% $bgcolor = $bgcolor1;
+% }
+
+
+
+ <% $part_export->exportnum %> |
+
+ <% $part_export->exporttype %> to <% $part_export->machine %> (edit | delete) |
+
+
+ <% itable() %>
+% my %opt = $part_export->options;
+% foreach my $opt ( keys %opt ) {
+
+ |
+ <% $opt %>: |
+ <% encode_entities($opt{$opt}) %> |
+
+% }
+
+
+
+
+
+
+% }
-