# Execute Dev-Editor's commands
#
# Author: Patrick Canterino <patrick@patshaping.de>
-# Last modified: 2005-02-14
+# Last modified: 2005-02-28
#
use strict;
$tpl->fillin('FILTER',encode_entities($filter2));
$tpl->fillin('FILTER_URL',escape($filter2));
+ $tpl->parse_if_block('empty',$dirlist eq '');
$tpl->parse_if_block('dir_writeable',$dir_writeable);
$tpl->parse_if_block('filter',$filter2);
$tpl->parse_if_block('gmt',$config->{'use_gmt'});
<hr>
-<table border="0" style="font-family:'Courier New',Courier,monospace;font-size:10pt;">
-{DIRLIST}</table>
+{IF empty}<p><i>This directory is empty or nothing is matching against your wildcard</i></p>{ELSE}<table border="0" style="font-family:'Courier New',Courier,monospace;font-size:10pt;">
+{DIRLIST}</table>{ENDIF}
<hr>