aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-12-07 19:17:40 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-12-07 19:17:40 -0800
commitb9f5076cfc254fffe708d32aa2752adbc1857675 (patch)
treefb6eebbca74410f4b2d3a235d9fcc94b21cad7b1 /view
parent241607e7d73d9bdbbae253b73de91c3847c6df76 (diff)
downloadvolse-hubzilla-b9f5076cfc254fffe708d32aa2752adbc1857675.tar.gz
volse-hubzilla-b9f5076cfc254fffe708d32aa2752adbc1857675.tar.bz2
volse-hubzilla-b9f5076cfc254fffe708d32aa2752adbc1857675.zip
move the diaspora templates out of core (except for diaspora_vcard, which is still stuck here for the present time)
Diffstat (limited to 'view')
-rw-r--r--view/tpl/diaspora_comment.tpl11
-rw-r--r--view/tpl/diaspora_comment_relay.tpl12
-rw-r--r--view/tpl/diaspora_consensus.tpl17
-rw-r--r--view/tpl/diaspora_conversation.tpl29
-rw-r--r--view/tpl/diaspora_like.tpl12
-rw-r--r--view/tpl/diaspora_like_relay.tpl13
-rw-r--r--view/tpl/diaspora_message.tpl13
-rw-r--r--view/tpl/diaspora_photo.tpl13
-rw-r--r--view/tpl/diaspora_post.tpl13
-rw-r--r--view/tpl/diaspora_relay_retraction.tpl10
-rw-r--r--view/tpl/diaspora_relayable_retraction.tpl11
-rw-r--r--view/tpl/diaspora_reshare.tpl13
-rw-r--r--view/tpl/diaspora_retract.tpl9
-rw-r--r--view/tpl/diaspora_share.tpl8
-rw-r--r--view/tpl/diaspora_signed_retract.tpl10
15 files changed, 0 insertions, 194 deletions
diff --git a/view/tpl/diaspora_comment.tpl b/view/tpl/diaspora_comment.tpl
deleted file mode 100644
index 27ec3dffc..000000000
--- a/view/tpl/diaspora_comment.tpl
+++ /dev/null
@@ -1,11 +0,0 @@
-<XML>
- <post>
- <comment>
- <guid>{{$guid}}</guid>
- <parent_guid>{{$parent_guid}}</parent_guid>
- <author_signature>{{$authorsig}}</author_signature>
- <text>{{$body}}</text>
- <diaspora_handle>{{$handle}}</diaspora_handle>
- </comment>
- </post>
-</XML> \ No newline at end of file
diff --git a/view/tpl/diaspora_comment_relay.tpl b/view/tpl/diaspora_comment_relay.tpl
deleted file mode 100644
index 37a9e88b3..000000000
--- a/view/tpl/diaspora_comment_relay.tpl
+++ /dev/null
@@ -1,12 +0,0 @@
-<XML>
- <post>
- <comment>
- <guid>{{$guid}}</guid>
- <parent_guid>{{$parent_guid}}</parent_guid>
- <parent_author_signature>{{$parentsig}}</parent_author_signature>
- <author_signature>{{$authorsig}}</author_signature>
- <text>{{$body}}</text>
- <diaspora_handle>{{$handle}}</diaspora_handle>
- </comment>
- </post>
-</XML> \ No newline at end of file
diff --git a/view/tpl/diaspora_consensus.tpl b/view/tpl/diaspora_consensus.tpl
deleted file mode 100644
index b6b7cf13d..000000000
--- a/view/tpl/diaspora_consensus.tpl
+++ /dev/null
@@ -1,17 +0,0 @@
-<poll>
-<guid>{{$guid_q}}</guid>
-<question>{{$question}}</question>
-<poll_answer>
- <guid>{{$guid_y}}</guid>
- <answer>{{$agree}}</answer>
-</poll_answer>
-<poll_answer>
- <guid>{{$guid_n}}</guid>
- <answer>{{$disagree}}</answer>
-</poll_answer>
-<poll_answer>
- <guid>{{$guid_a}}</guid>
- <answer>{{$abstain}}</answer>
-</poll_answer>
-</poll>
-
diff --git a/view/tpl/diaspora_conversation.tpl b/view/tpl/diaspora_conversation.tpl
deleted file mode 100644
index dc4482e4b..000000000
--- a/view/tpl/diaspora_conversation.tpl
+++ /dev/null
@@ -1,29 +0,0 @@
-<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>
diff --git a/view/tpl/diaspora_like.tpl b/view/tpl/diaspora_like.tpl
deleted file mode 100644
index a27e92240..000000000
--- a/view/tpl/diaspora_like.tpl
+++ /dev/null
@@ -1,12 +0,0 @@
-<XML>
- <post>
- <like>
- <positive>{{$positive}}</positive>
- <guid>{{$guid}}</guid>
- <target_type>{{$target_type}}</target_type>
- <parent_guid>{{$parent_guid}}</parent_guid>
- <author_signature>{{$authorsig}}</author_signature>
- <diaspora_handle>{{$handle}}</diaspora_handle>
- </like>
- </post>
-</XML>
diff --git a/view/tpl/diaspora_like_relay.tpl b/view/tpl/diaspora_like_relay.tpl
deleted file mode 100644
index 8209540c5..000000000
--- a/view/tpl/diaspora_like_relay.tpl
+++ /dev/null
@@ -1,13 +0,0 @@
-<XML>
- <post>
- <like>
- <positive>{{$positive}}</positive>
- <guid>{{$guid}}</guid>
- <target_type>{{$target_type}}</target_type>
- <parent_guid>{{$parent_guid}}</parent_guid>
- <parent_author_signature>{{$parentsig}}</parent_author_signature>
- <author_signature>{{$authorsig}}</author_signature>
- <diaspora_handle>{{$handle}}</diaspora_handle>
- </like>
- </post>
-</XML>
diff --git a/view/tpl/diaspora_message.tpl b/view/tpl/diaspora_message.tpl
deleted file mode 100644
index 3413d79b0..000000000
--- a/view/tpl/diaspora_message.tpl
+++ /dev/null
@@ -1,13 +0,0 @@
-<XML>
- <post>
- <message>
- <guid>{{$msg.guid}}</guid>
- <parent_guid>{{$msg.parent_guid}}</parent_guid>
- <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>
- </post>
-</XML>
diff --git a/view/tpl/diaspora_photo.tpl b/view/tpl/diaspora_photo.tpl
deleted file mode 100644
index 256459d8d..000000000
--- a/view/tpl/diaspora_photo.tpl
+++ /dev/null
@@ -1,13 +0,0 @@
-<XML>
- <post>
- <photo>
- <guid>{{$guid}}</guid>
- <diaspora_handle>{{$handle}}</diaspora_handle>
- <public>{{$public}}</public>
- <created_at>{{$created_at}}</created_at>
- <remote_photo_path>{{$path}}</remote_photo_path>
- <remote_photo_name>{{$filename}}</remote_photo_name>
- <status_message_guid>{{$msg_guid}}</status_message_guid>
- </photo>
- </post>
-</XML>
diff --git a/view/tpl/diaspora_post.tpl b/view/tpl/diaspora_post.tpl
deleted file mode 100644
index ebfe9e5b7..000000000
--- a/view/tpl/diaspora_post.tpl
+++ /dev/null
@@ -1,13 +0,0 @@
-<XML>
- <post>
- <status_message>
- <raw_message>{{$body}}</raw_message>
- <guid>{{$guid}}</guid>
- <diaspora_handle>{{$handle}}</diaspora_handle>
- {{$poll}}
- <public>{{$public}}</public>
- <created_at>{{$created}}</created_at>
- <provider_display_name>{{$provider}}</provider_display_name>
- </status_message>
- </post>
-</XML>
diff --git a/view/tpl/diaspora_relay_retraction.tpl b/view/tpl/diaspora_relay_retraction.tpl
deleted file mode 100644
index 5e7aed41f..000000000
--- a/view/tpl/diaspora_relay_retraction.tpl
+++ /dev/null
@@ -1,10 +0,0 @@
-<XML>
- <post>
- <relayable_retraction>
- <target_type>{{$type}}</target_type>
- <target_guid>{{$guid}}</target_guid>
- <target_author_signature>{{$signature}}</target_author_signature>
- <sender_handle>{{$handle}}</sender_handle>
- </relayable_retraction>
- </post>
-</XML>
diff --git a/view/tpl/diaspora_relayable_retraction.tpl b/view/tpl/diaspora_relayable_retraction.tpl
deleted file mode 100644
index 4e3ff3243..000000000
--- a/view/tpl/diaspora_relayable_retraction.tpl
+++ /dev/null
@@ -1,11 +0,0 @@
-<XML>
- <post>
- <relayable_retraction>
- <parent_author_signature>{{$parentsig}}</parent_author_signature>
- <target_guid>{{$guid}}</target_guid>
- <target_type>{{$target_type}}</target_type>
- <sender_handle>{{$handle}}</sender_handle>
- <target_author_signature>{{$authorsig}}</target_author_signature>
- </relayable_retraction>
- </post>
-</XML>
diff --git a/view/tpl/diaspora_reshare.tpl b/view/tpl/diaspora_reshare.tpl
deleted file mode 100644
index 963bb9e12..000000000
--- a/view/tpl/diaspora_reshare.tpl
+++ /dev/null
@@ -1,13 +0,0 @@
-<XML>
- <post>
- <reshare>
- <root_diaspora_id>{{$root_handle}}</root_diaspora_id>
- <root_guid>{{$root_guid}}</root_guid>
- <guid>{{$guid}}</guid>
- <diaspora_handle>{{$handle}}</diaspora_handle>
- <public>{{$public}}</public>
- <created_at>{{$created}}</created_at>
- <provider_display_name>{{$provider}}</provider_display_name>
- </reshare>
- </post>
-</XML>
diff --git a/view/tpl/diaspora_retract.tpl b/view/tpl/diaspora_retract.tpl
deleted file mode 100644
index 9df066d38..000000000
--- a/view/tpl/diaspora_retract.tpl
+++ /dev/null
@@ -1,9 +0,0 @@
-<XML>
- <post>
- <retraction>
- <post_guid>{{$guid}}</post_guid>
- <diaspora_handle>{{$handle}}</diaspora_handle>
- <type>{{$type}}</type>
- </retraction>
- </post>
-</XML>
diff --git a/view/tpl/diaspora_share.tpl b/view/tpl/diaspora_share.tpl
deleted file mode 100644
index 59eb06124..000000000
--- a/view/tpl/diaspora_share.tpl
+++ /dev/null
@@ -1,8 +0,0 @@
-<XML>
- <post>
- <request>
- <sender_handle>{{$sender}}</sender_handle>
- <recipient_handle>{{$recipient}}</recipient_handle>
- </request>
- </post>
-</XML> \ No newline at end of file
diff --git a/view/tpl/diaspora_signed_retract.tpl b/view/tpl/diaspora_signed_retract.tpl
deleted file mode 100644
index f0f346da8..000000000
--- a/view/tpl/diaspora_signed_retract.tpl
+++ /dev/null
@@ -1,10 +0,0 @@
-<XML>
- <post>
- <signed_retraction>
- <target_guid>{{$guid}}</target_guid>
- <target_type>{{$type}}</target_type>
- <sender_handle>{{$handle}}</sender_handle>
- <target_author_signature>{{$signature}}</target_author_signature>
- </signed_retraction>
- </post>
-</XML>