X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fbrowse%2Fpart_export.cgi;h=1cd201360880f368fd6a9d6aa9c7a2ddc8b7c3b7;hb=bf4223e554e0eb72f45f82392442780e8af4e0f9;hp=0f6731739ffbd83ba3cb26cc3c5be525b22e2ce7;hpb=3ce7691203a7737406bf2d4442f7fd84b81f847e;p=freeside.git diff --git a/httemplate/browse/part_export.cgi b/httemplate/browse/part_export.cgi index 0f6731739..1cd201360 100755 --- a/httemplate/browse/part_export.cgi +++ b/httemplate/browse/part_export.cgi @@ -1,7 +1,9 @@ - -<% include("/elements/header.html","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

+ -<% table() %> +<% include('/elements/table-grid.html') %> +% my $bgcolor1 = '#eeeeee'; +% my $bgcolor2 = '#ffffff'; +% my $bgcolor = ''; + - Export - Options + Export + Options + % foreach my $part_export ( sort { % $a->getfield('exportnum') <=> $b->getfield('exportnum') -% } qsearch('part_export',{}) ) { -% +% } 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; + + + <% $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}) %> + +% } + + + - <% $opt %><% encode_entities($opt{$opt}) %> -% } + - - - % } - - - + +<% include('/elements/footer.html') %> + +<%init> +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); +