X-Git-Url: https://git.p6c8.net/devedit.git/blobdiff_plain/a07b98187cfa4eba82ab509350c1d317e802c1a6..c752deb389730ae56c25888e6b82c89e30060ec9:/templates/dirlist.htm

diff --git a/templates/dirlist.htm b/templates/dirlist.htm
index 4ce6c19..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&amp;file={DIR}">Upload a file</a></td>
 </tr>
-</table>
+{ENDIF}</table>
 
 <hr>