]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Refs #3200 pulling in e1d75071737b2ed35cf9 from anirupdutta's pull request
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 30 Mar 2011 01:57:29 +0000 (01:57 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 30 Mar 2011 01:57:29 +0000 (01:57 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8880 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/thewire/pages/thewire/previous.php

index 05fc3267e8066a9de45c65d2e22ae65832625a21..e1244c20c243688fbd356220aeb77dd543feafdb 100644 (file)
@@ -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