X-Git-Url: https://git.p6c8.net/devedit.git/blobdiff_plain/bcb55273938af55f30b100d396f0a0cfda990bce..b4a18168323d91c911689ae9a9cddb2b7ab51997:/templates/dirlist.htm

diff --git a/templates/dirlist.htm b/templates/dirlist.htm
index 8a8c9ee..7338db2 100644
--- a/templates/dirlist.htm
+++ b/templates/dirlist.htm
@@ -14,8 +14,8 @@
 
 <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>
 
@@ -39,7 +39,7 @@
 </tr>
 {IF dir_writeable}
 <tr>
-<td colspan="2"><a href="{SCRIPT}?command=upload&amp;file={DIR}">Upload a file</a></td>
+<td colspan="2"><a href="{SCRIPT}?command=upload&amp;file={DIR_URL}">Upload a file</a></td>
 </tr>
 {ENDIF}</table>