]> git.p6c8.net - devedit.git/blobdiff - templates/dirlist.htm
- Changed names of some {IF} blocks (make use of negations)
[devedit.git] / templates / dirlist.htm
index 8a8c9ee60747e163d1bfa620c64c08cec6ccb742..7338db2f994a3deb95207487cbda3f14caec0d90 100644 (file)
@@ -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>
 

patrick-canterino.de