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