page.tmpl: optionally include "add comment" link

master
Simon McVittie 2008-11-23 17:07:07 +00:00
parent 8776c76e32
commit 1c1437995c
1 changed files with 10 additions and 0 deletions

View File

@ -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">