Still use page_display.tpl for pages.
This commit is contained in:
parent
d06fd40696
commit
7f1253ed11
13
mod/page.php
13
mod/page.php
@ -112,7 +112,16 @@ function page_content(&$a) {
|
|||||||
xchan_query($r);
|
xchan_query($r);
|
||||||
$r = fetch_post_tags($r,true);
|
$r = fetch_post_tags($r,true);
|
||||||
|
|
||||||
$o .= prepare_body($r[0],true);
|
$body = prepare_body($r[0],true);
|
||||||
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
|
||||||
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user