]> git.p6c8.net - devedit.git/blobdiff - templates/dirlist.htm
In some parts of file "Command.pm", make use of new methods defined by the
[devedit.git] / templates / dirlist.htm
index 7338db2f994a3deb95207487cbda3f14caec0d90..10ade36ba964c9ff9553c38a875dcecebbbb4af2 100644 (file)
 
 <hr>
 
 
 <hr>
 
-{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}
+{IF empty}<p><i>This directory is empty or nothing is matching against your wildcard</i></p>{ELSE}<form>
+<input type="hidden" name="command" value="remove_multi">
+<input type="hidden" name="file" value="{DIR}">
+
+<table border="0" style="font-family:'Courier New',Courier,monospace;font-size:10pt;">
+{DIRLIST}</table>
+
+<hr>
+
+<p><input type="submit" value="Delete selected files"></p>
+
+</form>{ENDIF}
 
 <hr>
 
 
 <hr>
 
@@ -51,7 +61,8 @@
 <table border="0">
 <tr>
 <form action="{SCRIPT}">
 <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>
 <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