aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/conversation.php13
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']))
+ ));
+}
+