Show warning about not selecting export type

This commit is contained in:
Miles Lott 2001-05-30 00:16:31 +00:00
parent 4fc0e56713
commit 698b5a0c06

View File

@ -83,6 +83,13 @@
$phpgw->common->phpgw_footer();
}
else
{
if ($conv_type == 'none')
{
echo lang('<b>No conversion type &lt;none&gt; could be located.</b> Please choose a conversion type from the list');
$download = 'off';
}
else
{
include ($phpgw_info['server']['app_root'].$sep.'export'.$sep.$conv_type);
$buffer=array();
@ -132,6 +139,7 @@
$buffer = $this->export_end_file($buffer);
$tsvfilename = $phpgw_info['server']['temp_dir'].$sep.$tsvfilename;
}
if ( ($download == 'on') || ($o->type == 'pdb') )
{