{BEGIN <%- @location %>_block}
{BEGIN range_block}
<%= @message 'DATA_RANGE' %>
{END range_block} <% if @page.exportSelectFields :%>
<%= @message 'CHOOSE_EXPORT_FIELDS' %>
{$exportFieldsCtrl}
<% end %> <% if @page.exportFormat == 2 :%>
<%= @message 'TEXT_FORMATTING' %>
<% end %> <% exportFileTypes = @th.options( @page ).export().exportFileTypes %> <% noChoice = Object.keys( exportFileTypes ).filter( (type, i, arr) => ( exportFileTypes[ type ] ) ).length == 1 %> <% checked = if noChoice then 'checked' else '' %>
<%= @message 'OUTPUT_FORMAT' %>
<% if exportFileTypes.excel : %>
<% if @ext == 'php' :%> {BEGIN groupExcel} {END groupExcel} <% else :%> <% end %>
<% end %> <% if exportFileTypes.word : %>
<% end %> <% if exportFileTypes.csv : %>
<% if @page.exportSelectDelimiter :%>
<% end %> <% end %> <% if exportFileTypes.xml : %>
<% end %>
{END <%- @location %>_block}