printf('<tr><td>%s</td><td><input type="text" name="attributes" style="width:300px" value="%s" /></td></tr>', _('Show Attributtes'), htmlspecialchars($request['attr']));
printf('<tr><td>&nbsp;</td><td><input type="checkbox" name="sys_attr" id="sys_attr" %s/> <label for="sys_attr">%s</label></td></tr>', $request['sys_attr'] ? 'checked="checked" ' : '', _('Include system attributes'));
printf('<tr><td>&nbsp;</td><td><input type="checkbox" id="save_as_file" name="save_as_file" onclick="export_field_toggle(this)" /> <label for="save_as_file">%s</label></td></tr>', _('Save as file'));
printf('<tr><td>&nbsp;</td><td><input type="checkbox" id="compress" name="compress" disabled="disabled" /> <label for="compress">%s</label></td></tr>', _('Compress'));
echo '</table>';
echo '</fieldset>';
echo '</td>';
echo '</tr>';
echo '<tr>';
echo '<td>';
echo '<table style="width: 100%">';
echo '<tr>';
echo '<td style="width: 50%">';
echo '<fieldset style="height: 100px">';
printf('<legend>%s</legend>', _('Export format'));
foreach (Exporter::types() as $index => $exporter) {
    printf('<input type="radio" name="exporter_id" id="exporter_id_%s" value="%s"%s/>', htmlspecialchars($exporter['type']), htmlspecialchars($exporter['type']), $exporter['type'] === $request['exporter_id'] ? ' checked="checked"' : '');
    printf('<label for="exporter_id_%s">%s</label><br />', htmlspecialchars($exporter['type']), $exporter['type']);
}
echo '</fieldset>';
echo '</td>';
echo '<td style="width: 50%">';
echo '<fieldset style="height: 100px">';
printf('<legend>%s</legend>', _('Line ends'));
foreach ($available_formats as $id => $desc) {
    printf('<input type="radio" name="format" value="%s" id="%s"%s /><label for="%s">%s</label><br />', htmlspecialchars($id), htmlspecialchars($id), $request['format'] == $id ? ' checked="checked"' : '', htmlspecialchars($id), $desc);
}
echo '</fieldset>';
echo '</td></tr>';
echo '</table>';
echo '</td>';