add the same capability to trackbacks
This commit is contained in:
parent
0a7a26b67d
commit
66f94e7d1a
@ -767,7 +767,23 @@ function &serendipity_smarty_printTrackbacks($params, &$smarty) {
|
|||||||
|
|
||||||
$trackbacks =& serendipity_fetchTrackbacks($params['entry']);
|
$trackbacks =& serendipity_fetchTrackbacks($params['entry']);
|
||||||
|
|
||||||
$out = serendipity_printComments($trackbacks, VIEWMODE_LINEAR, 0, null, 'TRACKBACKS', 'trackbacks.tpl');
|
if (empty($params['depth'])) {
|
||||||
|
$params['depth'] = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (empty($params['trace'])) {
|
||||||
|
$params['trace'] = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (empty($params['block'])) {
|
||||||
|
$params['block'] = 'TRACKBACKS';
|
||||||
|
}
|
||||||
|
|
||||||
|
if (empty($params['template'])) {
|
||||||
|
$params['template'] = 'trackbacks.tpl';
|
||||||
|
}
|
||||||
|
|
||||||
|
$out = serendipity_printComments($trackbacks, VIEWMODE_LINEAR, $params['depth'], $params['trace'], $params['block'], $params['template']);
|
||||||
return $out;
|
return $out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user