X-Git-Url: https://git.p6c8.net/devedit.git/blobdiff_plain/a07b98187cfa4eba82ab509350c1d317e802c1a6..a1f4ead2c1859852a3a8c6a370c45d32d4a80c0f:/templates/viewfile.htm diff --git a/templates/viewfile.htm b/templates/viewfile.htm index 56d6595..4aaf594 100644 --- a/templates/viewfile.htm +++ b/templates/viewfile.htm @@ -12,7 +12,7 @@ <p>(equals <a href="{URL}" target="_blank">{URL}</a>)</p> -<p><a href="{SCRIPT}?command=show&file={DIR}">Back to {DIR}</a></p> +<p><a href="{SCRIPT}?command=show&file={DIR_URL}">Back to {DIR}</a></p> <div style="background-color:#FFFFE0;border:1px solid black;margin-top:10px;width:100%"> <pre style="color:#0000C0;"> @@ -20,7 +20,7 @@ </pre> </div> -<br> +{IF editable}<p><a href="{SCRIPT}?command=beginedit&file={FILE_URL}">Edit this file</a></p>{ELSE}<br>{ENDIF} <hr>