diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-30 01:57:29 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-30 01:57:29 +0000 |
commit | 6644a332427c94352b47fa3901040ca415c1abe4 (patch) | |
tree | e190267fdaf812b5f78414ad2d521ba77c7bad0a /mod/thewire | |
parent | 9d8a1ea11a1851958393d8e680424d87aa87472d (diff) | |
download | elgg-6644a332427c94352b47fa3901040ca415c1abe4.tar.gz elgg-6644a332427c94352b47fa3901040ca415c1abe4.tar.bz2 |
Refs #3200 pulling in e1d75071737b2ed35cf9 from anirupdutta's pull request
git-svn-id: http://code.elgg.org/elgg/trunk@8880 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/thewire')
-rw-r--r-- | mod/thewire/pages/thewire/previous.php | 15 |
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 |