X-Git-Url: https://git.p6c8.net/devedit.git/blobdiff_plain/c1dcb108a10c76b1fef0cb8f0cacf3bb6961612b..28756a17617639eff8ce8d5014d3ec0acdd146d2:/templates/dirlist.htm?ds=sidebyside

diff --git a/templates/dirlist.htm b/templates/dirlist.htm
index 59abf66..2db1617 100644
--- a/templates/dirlist.htm
+++ b/templates/dirlist.htm
@@ -37,11 +37,11 @@
 <td>{DIR} <input type="text" name="newfile"> <input type="submit" value="Create!"></td>
 </form>
 </tr>
-
+{IF dir_writeable}
 <tr>
-<td colspan="2"><a href="{SCRIPT}?command=upload&file={DIR}">Upload a file</a></td>
+<td colspan="2"><a href="{SCRIPT}?command=upload&amp;file={DIR}">Upload a file</a></td>
 </tr>
-</table>
+{ENDIF}</table>
 
 <hr>