sort out the unobscure mess

This commit is contained in:
friendica
2014-06-15 19:21:32 -07:00
parent 0e4a28678d
commit e1ec1e7c5f
3 changed files with 5 additions and 2 deletions

View File

@@ -1314,12 +1314,15 @@ function prepare_page($item) {
$naked = 1;
// ... other possible options
}
$body = prepare_body($item,true);
return replace_macros(get_markup_template('page_display.tpl'),array(
'$author' => (($naked) ? '' : $item['author']['xchan_name']),
'$auth_url' => (($naked) ? '' : zid($item['author']['xchan_url'])),
'$date' => (($naked) ? '' : datetime_convert('UTC',date_default_timezone_get(),$item['created'],'Y-m-d H:i')),
'$title' => smilies(bbcode($item['title'])),
'$body' => prepare_body($item,true),
'$body' => $body,
'$preview' => $preview,
'$link' => $link,
));