X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/79d2d44db2acc4aeaf60de17d86951e1d7259e1d..be2af2e5c1ddfe90802a67aa150cf17dbe903df0:/templates/comment.tmpl diff --git a/templates/comment.tmpl b/templates/comment.tmpl index 6f2b1619e..fb76ea004 100644 --- a/templates/comment.tmpl +++ b/templates/comment.tmpl @@ -1,6 +1,12 @@ -<div class="comment" id="<TMPL_VAR NAME=INLINEPAGE>"> +<div class="comment" id="<TMPL_VAR NAME=COMMENTID>"> -<div class="comment-subject"><a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a></div> +<div class="comment-subject"> +<TMPL_IF PERMALINK> +<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a> +<TMPL_ELSE> +<TMPL_VAR TITLE> +</TMPL_IF> +</div> <div class="inlinecontent"> <TMPL_VAR CONTENT> @@ -39,4 +45,15 @@ Comment by — <TMPL_VAR CTIME> </div> + +<TMPL_IF NAME="HAVE_ACTIONS"> +<div class="actions"> +<ul> +<TMPL_IF NAME="REMOVEURL"> +<li><a href="<TMPL_VAR REMOVEURL>" rel="nofollow">Remove comment</a></li> +</TMPL_IF> +</ul> +</div><!--.actions--> +</TMPL_IF> + </div><!--.comment-->