Update template to use new variable names.
This commit is contained in:
parent
56a5fd5fa6
commit
572290ba1f
1 changed files with 2 additions and 2 deletions
|
|
@ -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/}) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue