X-Git-Url: https://git.p6c8.net/devedit.git/blobdiff_plain/99160ca341366b244e9319bcbe33f6d0c26712e3..1fbf10bec35aeb289a9cf3e1c65a826883bffdea:/templates/viewfile.htm?ds=inline diff --git a/templates/viewfile.htm b/templates/viewfile.htm index 30db604..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> -{IF editable}<p><a href="{SCRIPT}?command=beginedit&file={FILE}">Edit this file</a></p>{ELSE}<br>{ENDIF} +{IF editable}<p><a href="{SCRIPT}?command=beginedit&file={FILE_URL}">Edit this file</a></p>{ELSE}<br>{ENDIF} <hr>