From: Christian Weiske Date: Wed, 10 Aug 2016 19:56:26 +0000 (+0200) Subject: add p-name and u-url X-Git-Tag: v1.0.0~19 X-Git-Url: https://git.cweiske.de/anoweco.git/commitdiff_plain/eb59a11b5dea806a6c06f5ba803a45fdd5b63b88 add p-name and u-url --- diff --git a/data/templates/post-like.htm b/data/templates/post-like.htm index f02d1fc..ede0db0 100644 --- a/data/templates/post-like.htm +++ b/data/templates/post-like.htm @@ -11,7 +11,7 @@ {{author.name}} {% endspaceless %} - likes + likes {{attribute(json, 'like-of').0}}.

diff --git a/data/templates/post-reply.htm b/data/templates/post-reply.htm index 24c2769..e7deba7 100644 --- a/data/templates/post-reply.htm +++ b/data/templates/post-reply.htm @@ -11,11 +11,12 @@ {{author.name}} {% endspaceless %} - wrote the following reply to + wrote + the following reply to {{attribute(json, 'in-reply-to').0}}:

-
{{htmlContent|raw}}
+
{{htmlContent|raw}}

Reply to this comment

diff --git a/www/comment.php b/www/comment.php index 43dbd2e..beaad96 100644 --- a/www/comment.php +++ b/www/comment.php @@ -38,8 +38,10 @@ $vars = array( 'url' => Urls::full(Urls::user($rowUser->user_id)), 'imageurl' => Urls::userImg($rowUser), ), + 'postUrl' => Urls::full(Urls::comment($rowComment->comment_id)), 'replyUrl' => Urls::full( - '/reply.php?url=' . urlencode(Urls::full($rowComment->comment_id)) + '/reply.php?url=' + . urlencode(Urls::full(Urls::comment($rowComment->comment_id))) ), );