From 1c1437995cb215c99cd4679eebd811576f020bc8 Mon Sep 17 00:00:00 2001 From: Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> Date: Sun, 23 Nov 2008 17:07:07 +0000 Subject: [PATCH] page.tmpl: optionally include "add comment" link --- templates/page.tmpl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/templates/page.tmpl b/templates/page.tmpl index 94412078a..ea50fb722 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -71,6 +71,16 @@ <div id="comments"> <TMPL_VAR COMMENTS> </div> + +<TMPL_UNLESS COMMENTURL> +<div class="addcomment">Comments on this page are closed.</div> +</TMPL_UNLESS> +</TMPL_IF> + +<TMPL_IF COMMENTURL> +<div class="addcomment"> +<a href="<TMPL_VAR COMMENTURL>">Add a comment</a> +</div> </TMPL_IF> <div id="footer" class="pagefooter"> -- 2.26.2