]> git.p6c8.net - devedit.git/commitdiff
Preserve the directory listing filter if the user changes the directory using
authorpcanterino <>
Mon, 15 Aug 2005 14:25:34 +0000 (14:25 +0000)
committerpcanterino <>
Mon, 15 Aug 2005 14:25:34 +0000 (14:25 +0000)
the input field at the bottom of the directory listing

templates/dirlist.htm

index 7338db2f994a3deb95207487cbda3f14caec0d90..7b047d97b7e0ef605dec7a30a3efe0d77652ce06 100644 (file)
@@ -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