diff options
author | friendica <info@friendica.com> | 2013-01-15 01:32:11 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-01-15 01:32:11 -0800 |
commit | 62b1eb65dc1fe822f1e73d6c7469ac0213d117c4 (patch) | |
tree | 7eb34f990333316c963800659872f38c7dc4347c /include/conversation.php | |
parent | 639325b235deb67396b7e0b64c043f85599e6641 (diff) | |
download | volse-hubzilla-62b1eb65dc1fe822f1e73d6c7469ac0213d117c4.tar.gz volse-hubzilla-62b1eb65dc1fe822f1e73d6c7469ac0213d117c4.tar.bz2 volse-hubzilla-62b1eb65dc1fe822f1e73d6c7469ac0213d117c4.zip |
pages sorta working
Diffstat (limited to 'include/conversation.php')
-rw-r--r-- | include/conversation.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/conversation.php b/include/conversation.php index e5c035335..29c5938b0 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1090,3 +1090,16 @@ function render_location_google($item) { } return $location; } + + + +function prepare_page($item) { + return replace_macros(get_markup_template('page_display.tpl'),array( + '$author' => $item['author']['xchan_name'], + '$auth_url' => $item['author']['xchan_url'], + '$date' => datetime_convert('UTC',date_default_timezone_get(),$item['created'],'Y-m-d H:i'), + '$title' => smilies(bbcode($item['title'])), + '$body' => smilies(bbcode($item['body'])) + )); +} + |