]> git.p6c8.net - devedit.git/blobdiff - templates/dirlist.htm
When removing multiple files, just redirect if all files have been removed
[devedit.git] / templates / dirlist.htm
index ca83e305bd48a7f11a5b77894b795bfa477e3a0b..10ade36ba964c9ff9553c38a875dcecebbbb4af2 100644 (file)
 
 <hr>
 
+{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>
+
 <table border="0">
 <tr>
 <form action="{SCRIPT}">
 <td>{DIR} <input type="text" name="newfile"> <input type="submit" value="Create!"></td>
 </form>
 </tr>
-</table>
+{IF dir_writeable}
+<tr>
+<td colspan="2"><a href="{SCRIPT}?command=upload&amp;file={DIR_URL}">Upload a file</a></td>
+</tr>
+{ENDIF}</table>
 
 <hr>
 
+<table border="0" width="100%">
+<tr>
+<td>
+<table border="0">
+<tr>
+<form action="{SCRIPT}">
+<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>
+</form>
+</tr>
+<tr>
+<form action="{SCRIPT}">
+<input type="hidden" name="command" value="show">
+<input type="hidden" name="file" value="{DIR}">
+<td>Filter:</td>
+<td><input type="text" name="filter" value="{FILTER}"></td>
+<td><input type="submit" value="Filter!"></td>
+</form>
+</tr>
+</table>
+</td>
+<td align="right" valign="top"><a href="{SCRIPT}?command=about" target="_blank"><i>About Dev-Editor</i></a></td>
+</tr>
+</table>
 </body>
 </html>
\ No newline at end of file

patrick-canterino.de