aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/views/default/thewire/previous.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/thewire/views/default/thewire/previous.php')
-rw-r--r--mod/thewire/views/default/thewire/previous.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/mod/thewire/views/default/thewire/previous.php b/mod/thewire/views/default/thewire/previous.php
new file mode 100644
index 000000000..e1ca83e24
--- /dev/null
+++ b/mod/thewire/views/default/thewire/previous.php
@@ -0,0 +1,11 @@
+<?php
+/**
+ * Serve up html for a post
+ */
+
+$guid = (int) get_input('guid');
+
+$parent = thewire_get_parent($guid);
+if ($parent) {
+ echo elgg_view_entity($parent);
+}