git.p6c8.net
/
devedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Tool.pm: Be consistent (lc instead of uc)
[devedit.git]
/
templates
/
viewfile.htm
diff --git
a/templates/viewfile.htm
b/templates/viewfile.htm
index fdc96b8144ee7d7ce084f2f0b3c8b72b9970dd37..7303f1fe1b7c4627560e2721e5d5a9d286720b27 100644
(file)
--- a/
templates/viewfile.htm
+++ b/
templates/viewfile.htm
@@
-12,7
+12,7
@@
<p>(equals <a href="{URL}" target="_blank">{URL}</a>)</p>
<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&
amp;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;">
<div style="background-color:#FFFFE0;border:1px solid black;margin-top:10px;width:100%">
<pre style="color:#0000C0;">
@@
-20,7
+20,10
@@
</pre>
</div>
</pre>
</div>
-<br>
+<ul>
+<li><a href="{SCRIPT}?command=download&file={FILE_URL}">Download this file</a></li>{IF editable}
+<li><a href="{SCRIPT}?command=beginedit&file={FILE_URL}">Edit this file</a></li>{ENDIF}
+</ul>
<hr>
<hr>
patrick-canterino.de