1
0

Added hooks to trackback listing in order to let plugins change it (the avatar plugin in example)

This commit is contained in:
Grischa Brockhaus
2007-12-22 18:49:03 +00:00
parent 1388926481
commit 4227ee1038
3 changed files with 8 additions and 3 deletions

View File

@ -304,7 +304,7 @@ function serendipity_printComments($comments, $parentid = 0, $depth = 0, $trace
return true;
}
$serendipity['smarty']->assign_by_ref('comments', $_smartyComments);
$serendipity['smarty']->assign_by_ref($smarty_block == 'COMMENTS'?'comments':'trackbacks', $_smartyComments);
unset($_smartyComments);
return serendipity_smarty_fetch($smarty_block, $smarty_file);