BUGFIX: fixed invalid HTML output from page comments template

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@102320 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Will Rossiter 2010-04-12 00:35:52 +00:00 committed by Sam Minnee
parent 30e6e91a81
commit a3e8e4e60d

View File

@ -7,13 +7,13 @@
</p> </p>
<p class="info"> <p class="info">
<% if CommenterURL %> <% if CommenterURL %>
<span><% _t('PBY','Posted by') %> <a href="$CommenterURL.ATT">$Name.XML</a>, $Created.Nice ($Created.Ago)</span> <% _t('PBY','Posted by') %> <a href="$CommenterURL.ATT">$Name.XML</a>, $Created.Nice ($Created.Ago)
<% else %> <% else %>
<span><% _t('PBY','Posted by') %> $Name.XML, $Created.Nice ($Created.Ago)</span> <% _t('PBY','Posted by') %> $Name.XML, $Created.Nice ($Created.Ago)
<% end_if %> <% end_if %>
</p>
<br /> <ul class="actionLinks">
<ul class="actionLinks">
<% if ApproveLink %> <% if ApproveLink %>
<li><a href="$ApproveLink" class="approvelink"><% _t('APPROVE', 'approve this comment') %></a></li> <li><a href="$ApproveLink" class="approvelink"><% _t('APPROVE', 'approve this comment') %></a></li>
<% end_if %> <% end_if %>
@ -26,5 +26,4 @@
<% if DeleteLink %> <% if DeleteLink %>
<li class="last"><a href="$DeleteLink" class="deletelink"><% _t('REMCOM','remove this comment') %></a></li> <li class="last"><a href="$DeleteLink" class="deletelink"><% _t('REMCOM','remove this comment') %></a></li>
<% end_if %> <% end_if %>
</ul> </ul>
</p>