';
echo '';
echo '';
printf('%s ',_('Export'));
echo '';
printf('%s %s ',_('Server'),server_select_list($ldapserver->server_id));
echo '';
printf('%s ',_('Base DN'));
printf(' ',htmlspecialchars($entry['dn']));
draw_chooser_link('export_form.dn');
echo ' ';
echo ' ';
echo '';
printf('%s ',_('Search Scope'));
echo '';
foreach ($available_scopes as $id => $desc)
printf('%s ',
htmlspecialchars($id),htmlspecialchars($id),($id == $entry['scope']) ? 'checked="true"' : '',
htmlspecialchars($id),htmlspecialchars($desc));
echo ' ';
echo ' ';
printf('%s ',
_('Search Filter'),htmlspecialchars($entry['filter']));
printf('%s ',
_('Show Attributtes'),htmlspecialchars($entry['attr']));
printf(' %s ',
$entry['sys_attr'] ? 'checked="true" ' : '',_('Include system attributes'));
printf(' %s ',
_('Save as file'));
printf(' %s ',
_('Compress'));
echo '
';
echo ' ';
echo ' ';
echo ' ';
echo '';
echo '';
echo '';
echo '';
echo '';
printf('%s ',_('Export format'));
foreach ($exporters as $index => $exporter) {
printf(' ',
htmlspecialchars($index),htmlspecialchars($index),($index==$entry['id']) ? ' checked="true"' : '');
printf('%s ',
htmlspecialchars($index),htmlspecialchars($exporter['desc']));
}
echo ' ';
echo ' ';
echo '';
echo '';
printf('%s ',_('Line ends'));
foreach ($available_formats as $id => $desc)
printf('%s ',
htmlspecialchars($id),htmlspecialchars($id),($entry['format']==$id) ? ' checked="true"' : '',
htmlspecialchars($id),htmlspecialchars($desc));
echo ' ';
echo ' ';
echo '
';
echo ' ';
echo ' ';
echo '