clean up comment preview
Remove actions from it, and avoid a broken title link.master
parent
35ea80bdfe
commit
9a5085e512
|
@ -673,6 +673,8 @@ sub previewcomment ($$$) {
|
|||
template => $template);
|
||||
});
|
||||
|
||||
$template->param(have_actions => 0);
|
||||
|
||||
return $template->output;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
<div class="comment" id="<TMPL_VAR NAME=INLINEPAGE>">
|
||||
|
||||
<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>
|
||||
|
|
Loading…
Reference in New Issue