diff options
Diffstat (limited to 'mod/page.php')
-rw-r--r-- | mod/page.php | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/mod/page.php b/mod/page.php index fdb8ee38f..df17dbf52 100644 --- a/mod/page.php +++ b/mod/page.php @@ -112,16 +112,7 @@ function page_content(&$a) { xchan_query($r); $r = fetch_post_tags($r,true); - $body = prepare_body($r[0],true); + $o .= prepare_page($r[0]); + return $o; - - return $o . replace_macros(get_markup_template('page_display.tpl'),array( - '$author' => (($naked) ? '' : $item['author']['xchan_name']), - '$auth_url' => (($naked) ? '' : $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' => $body - )); } - - |