my $subpage_name=$config{postal_pagename} || "comments";
my $comment_page=$destpage . "/" . $subpage_name;
-
add_depends($params{page},$comment_page);
+
+ my $about_link=undef;
+ my $about_page=bestlink($page,"about_comments");
+
+ if ($about_page){
+ $about_link=htmllink($page,$destpage,$about_page,
+ linktext=>gettext("About Comments"));
+ }
+
my $comment_link=undef;
if (exists $pagesources{$comment_page}){
$comment_link=htmllink($page,$destpage,$comment_page,
linktext=>gettext("Read Comments"));
}
- debug("comment_link=".$comment_link) if (defined($comment_link));
-
$template->param(POSTAL_DIV=>1,
POSTAL_PREFIX=>$config{postal_prefix},
POSTAL_KEY=>$key,
POSTAL_HOST=>$config{postal_host},
+ defined($about_link) ? (POSTAL_ABOUT_LINK=>$about_link):(),
defined($comment_link) ? (POSTAL_COMMENT_LINK=>$comment_link) :());
}
<TMPL_IF POSTAL_DIV>
<div class="pagecomments">
+<TMPL_IF POSTAL_ABOUT_LINK>
+<TMPL_VAR NAME="POSTAL_ABOUT_LINK">
+</TMPL_IF>
<a name="pagecomments"></a>
<a href="mailto:<TMPL_VAR NAME="POSTAL_PREFIX"><TMPL_VAR NAME="POSTAL_KEY">@<TMPL_VAR NAME="POSTAL_HOST">">Send Comment</a>
<TMPL_IF POSTAL_COMMENT_LINK>
--- /dev/null
+
+Comments on this wiki are sent by email, and will be read by a human
+before posting. Your email address will not be displayed on the
+wiki. If you don't want your real name to be displayed either, don't
+put it in the From: header.