X-Git-Url: https://git.p6c8.net/devedit.git/blobdiff_plain/a07b98187cfa4eba82ab509350c1d317e802c1a6..49d3533bb98307db019d423a7fd070f29c9cb7ee:/templates/viewfile.htm?ds=sidebyside

diff --git a/templates/viewfile.htm b/templates/viewfile.htm
index 56d6595..30db604 100644
--- a/templates/viewfile.htm
+++ b/templates/viewfile.htm
@@ -20,7 +20,7 @@
 </pre>
 </div>
 
-<br>
+{IF editable}<p><a href="{SCRIPT}?command=beginedit&amp;file={FILE}">Edit this file</a></p>{ELSE}<br>{ENDIF}
 
 <hr>