Introduction
Introduction Statistics Contact Development Disclaimer Help
Update template to use new variable names. - swerc - anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log
Files
Refs
README
---
commit 937c28ebef8381ab1bf5836702330d2eac157ac6
parent 530f3638b73b9e73aafa20cc168bafd7d5e331ab
Author: [email protected] <unknown>
Date: Sun, 28 Dec 2008 23:44:03 +0100
Update template to use new variable names.
Diffstat:
M lib/default_master.tpl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/default_master.tpl b/lib/default_master.tpl
@@ -26,7 +26,7 @@ gensidebar
%}
</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_grou…
<div>
<form action="/_apps/dirdir/edit" method="POST">
<input type="hidden" name="edit_wiki_page" value="%($req_path%)" />
@@ -47,7 +47,7 @@ gensidebar
% if (! ~ $#allowComments 0) {
%{
-cdir = $body.md_werc/comments
+cdir = $local_path.md_werc/comments
if (test -d $cdir) {
echo '<hr /><h2>Comments</h2>'
for(c in `{ls $cdir/}) {
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.