mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 01:25:01 +02:00
Issue #4368 Fixed hardcoded string for 'related' content. Now uses tablerender(). Shortcode processing of {---CAPTION---} added.
This commit is contained in:
@@ -4600,9 +4600,10 @@ var_dump($select_options);*/
|
||||
|
||||
if(count($list))
|
||||
{
|
||||
return "<div class='e-related clearfix hidden-print'>".$head.implode("\n",$list).$tp->parseTemplate($TEMPLATE['end']). '</div>';
|
||||
$text = "<div class='e-related clearfix hidden-print'>".$head.implode("\n",$list).$tp->parseTemplate($TEMPLATE['end']). '</div>';
|
||||
$caption = $tp->parseTemplate(varset($TEMPLATE['caption']));
|
||||
return e107::getRender()->tablerender($caption, $text, 'related', true);
|
||||
|
||||
// return "<div class='e-related clearfix hidden-print'><hr><h4>".defset('LAN_RELATED', 'Related')."</h4><ul class='e-related'>".implode("\n",$list)."</div>"; //XXX Tablerender?
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user