Update template to use new variable names.

This commit is contained in:
Uriel 2008-12-28 23:44:03 +01:00
parent 56a5fd5fa6
commit 572290ba1f

View file

@ -26,7 +26,7 @@ gensidebar
%} %}
</div> </div>
% if (! ~ $#wiki 0 && test -f $body.md && check_user $wiki_editors_group) { % if (! ~ $#wiki 0 && test -f $local_path.md && check_user $wiki_editors_group) {
<div> <div>
<form action="/_apps/dirdir/edit" method="POST"> <form action="/_apps/dirdir/edit" method="POST">
<input type="hidden" name="edit_wiki_page" value="%($req_path%)" /> <input type="hidden" name="edit_wiki_page" value="%($req_path%)" />
@ -47,7 +47,7 @@ gensidebar
% if (! ~ $#allowComments 0) { % if (! ~ $#allowComments 0) {
%{ %{
cdir = $body.md_werc/comments cdir = $local_path.md_werc/comments
if (test -d $cdir) { if (test -d $cdir) {
echo '<hr /><h2>Comments</h2>' echo '<hr /><h2>Comments</h2>'
for(c in `{ls $cdir/}) { for(c in `{ls $cdir/}) {