diff options
author | marijus <mario@mariovavti.com> | 2014-08-26 09:14:03 +0200 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2014-08-26 09:14:03 +0200 |
commit | 592be716265b79ab68209838bf879c5d26b60439 (patch) | |
tree | 0d2db6e47e9f8183136bc3679898f192c1141064 /view/tpl/diaspora_conversation.tpl | |
parent | 9e8a2a06b538dd6d8919af9fb7ddfe55fc9e2a33 (diff) | |
parent | c99d89e441c742ceaaa299c9de9c2fb322b41993 (diff) | |
download | volse-hubzilla-592be716265b79ab68209838bf879c5d26b60439.tar.gz volse-hubzilla-592be716265b79ab68209838bf879c5d26b60439.tar.bz2 volse-hubzilla-592be716265b79ab68209838bf879c5d26b60439.zip |
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'view/tpl/diaspora_conversation.tpl')
-rw-r--r-- | view/tpl/diaspora_conversation.tpl | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/view/tpl/diaspora_conversation.tpl b/view/tpl/diaspora_conversation.tpl new file mode 100644 index 000000000..dc4482e4b --- /dev/null +++ b/view/tpl/diaspora_conversation.tpl @@ -0,0 +1,29 @@ +<XML> + <post> + <conversation> + <guid>{{$conv.guid}}</guid> + <subject>{{$conv.subject}}</subject> + <created_at>{{$conv.created_at}}</created_at> + + {{foreach $conv.messages as $msg}} + + <message> + <guid>{{$msg.guid}}</guid> + <parent_guid>{{$msg.parent_guid}}</parent_guid> + {{if $msg.parent_author_signature}} + <parent_author_signature>{{$msg.parent_author_signature}}</parent_author_signature> + {{/if}} + <author_signature>{{$msg.author_signature}}</author_signature> + <text>{{$msg.text}}</text> + <created_at>{{$msg.created_at}}</created_at> + <diaspora_handle>{{$msg.diaspora_handle}}</diaspora_handle> + <conversation_guid>{{$msg.conversation_guid}}</conversation_guid> + </message> + + {{/foreach}} + + <diaspora_handle>{{$conv.diaspora_handle}}</diaspora_handle> + <participant_handles>{{$conv.participant_handles}}</participant_handles> + </conversation> + </post> +</XML> |