'imageurl' => Urls::userImg($rowUser),
),
'postUrl' => Urls::full(Urls::comment($rowComment->comment_id)),
- 'replyUrl' => Urls::full(
- '/reply.php?url='
- . urlencode(Urls::full(Urls::comment($rowComment->comment_id)))
+ 'replyUrl' => Urls::reply(
+ Urls::full(Urls::comment($rowComment->comment_id))
),
);
$vars['htmlContent'] = $htmlContent;
}
+if (isset($linkbackEndpoint) && $linkbackEndpoint) {
+ header('X-Pingback: ' . $linkbackEndpoint);
+ header('Link: <' . $linkbackEndpoint . '>; rel="webmention"');
+}
+
render($template, $vars);
?>