]> git.p6c8.net - devedit.git/blobdiff - templates/dirlist.htm
Trying to simplify some of Dev-Editor's functions:
[devedit.git] / templates / dirlist.htm
index c87faac046e85c01fcb632b1b0108bf49710205a..7b047d97b7e0ef605dec7a30a3efe0d77652ce06 100644 (file)
@@ -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>
 
@@ -51,7 +51,8 @@
 <table border="0">
 <tr>
 <form action="{SCRIPT}">
-<input type="hidden" name="command" value="show">
+<input type="hidden" name="command" value="show">{IF filter}
+<input type="hidden" name="filter" value="{FILTER}">{ENDIF}
 <td>Go to directory/file:</td>
 <td><input type="text" name="file" value="{DIR}"></td>
 <td><input type="submit" value="Go!"></td>

patrick-canterino.de