Added hooks to trackback listing in order to let plugins change it (the avatar plugin in example)
This commit is contained in:
@ -3,6 +3,9 @@
|
|||||||
Version 1.3 ()
|
Version 1.3 ()
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|
||||||
|
* Added hooks to trackback listing in order to let plugins change
|
||||||
|
it (the avatar plugin in example) (brockhaus)
|
||||||
|
|
||||||
* Add more verbose CSS classes to remote RSS sidebar plugin, also
|
* Add more verbose CSS classes to remote RSS sidebar plugin, also
|
||||||
only encapsulate the first XML-Item as link. All following
|
only encapsulate the first XML-Item as link. All following
|
||||||
items are only encapsulated in <span>s. Also add possible
|
items are only encapsulated in <span>s. Also add possible
|
||||||
|
@ -304,7 +304,7 @@ function serendipity_printComments($comments, $parentid = 0, $depth = 0, $trace
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
$serendipity['smarty']->assign_by_ref('comments', $_smartyComments);
|
$serendipity['smarty']->assign_by_ref($smarty_block == 'COMMENTS'?'comments':'trackbacks', $_smartyComments);
|
||||||
unset($_smartyComments);
|
unset($_smartyComments);
|
||||||
|
|
||||||
return serendipity_smarty_fetch($smarty_block, $smarty_file);
|
return serendipity_smarty_fetch($smarty_block, $smarty_file);
|
||||||
|
@ -744,8 +744,10 @@ function &serendipity_smarty_printTrackbacks($params, &$smarty) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$tb =& serendipity_fetchTrackbacks($params['entry']);
|
$trackbacks =& serendipity_fetchTrackbacks($params['entry']);
|
||||||
return serendipity_printTrackbacks($tb);
|
|
||||||
|
$out = serendipity_printComments($trackbacks, VIEWMODE_LINEAR, 0, null, 'TRACKBACKS', 'trackbacks.tpl');
|
||||||
|
return $out;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user