aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire
diff options
context:
space:
mode:
Diffstat (limited to 'mod/thewire')
-rw-r--r--mod/thewire/pages/thewire/previous.php15
1 files changed, 13 insertions, 2 deletions
diff --git a/mod/thewire/pages/thewire/previous.php b/mod/thewire/pages/thewire/previous.php
index 05fc3267e..e1244c20c 100644
--- a/mod/thewire/pages/thewire/previous.php
+++ b/mod/thewire/pages/thewire/previous.php
@@ -4,8 +4,19 @@
*/
$guid = (int) get_input('guid');
+$title = elgg_echo('thewire:previous');
$parent = thewire_get_parent($guid);
if ($parent) {
- echo elgg_view_entity($parent);
-} \ No newline at end of file
+
+ $body=elgg_view_entity($parent);
+}
+
+$body = elgg_view_layout('content', array(
+ 'filter' => false,
+ 'content' => $body,
+ 'title' => $title,
+ 'buttons' => false,
+));
+
+echo elgg_view_page($title, $body); \ No newline at end of file