From fd4f7ef53452f8ccd1c53b82e6b2cc0c86788e3f Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Tue, 12 Jun 2012 21:56:35 -0400 Subject: Fixes #4567 adds a wire post view --- mod/thewire/pages/thewire/view.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 mod/thewire/pages/thewire/view.php (limited to 'mod/thewire/pages') diff --git a/mod/thewire/pages/thewire/view.php b/mod/thewire/pages/thewire/view.php new file mode 100644 index 000000000..f45f94bfe --- /dev/null +++ b/mod/thewire/pages/thewire/view.php @@ -0,0 +1,30 @@ +getOwnerEntity(); +if (!$owner) { + forward(); +} + +$title = elgg_echo('thewire:by', array($owner->name)); + +elgg_push_breadcrumb(elgg_echo('thewire'), 'thewire/all'); +elgg_push_breadcrumb($owner->name, 'thewire/owner/' . $owner->username); +elgg_push_breadcrumb($title); + +$content = elgg_view_entity($post); + +$body = elgg_view_layout('content', array( + 'filter' => false, + 'content' => $content, + 'title' => $title, +)); + +echo elgg_view_page($title, $body); -- cgit v1.2.3