aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-15 01:32:11 -0800
committerfriendica <info@friendica.com>2013-01-15 01:32:11 -0800
commit62b1eb65dc1fe822f1e73d6c7469ac0213d117c4 (patch)
tree7eb34f990333316c963800659872f38c7dc4347c /include
parent639325b235deb67396b7e0b64c043f85599e6641 (diff)
downloadvolse-hubzilla-62b1eb65dc1fe822f1e73d6c7469ac0213d117c4.tar.gz
volse-hubzilla-62b1eb65dc1fe822f1e73d6c7469ac0213d117c4.tar.bz2
volse-hubzilla-62b1eb65dc1fe822f1e73d6c7469ac0213d117c4.zip
pages sorta working
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']))
+ ));
+}
+