From e4bc53c61702b22c845cbbd22ba3335935ee2c9c Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 19 Mar 2011 15:33:06 +0000 Subject: Fixes #3176 replaced usage of index.php where appropriate git-svn-id: http://code.elgg.org/elgg/trunk@8770 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/thewire/pages/thewire/owner.php | 33 +++++++++++++++++++++++++++++++++ mod/thewire/pages/thewire/user.php | 33 --------------------------------- 2 files changed, 33 insertions(+), 33 deletions(-) create mode 100644 mod/thewire/pages/thewire/owner.php delete mode 100644 mod/thewire/pages/thewire/user.php (limited to 'mod/thewire/pages') diff --git a/mod/thewire/pages/thewire/owner.php b/mod/thewire/pages/thewire/owner.php new file mode 100644 index 000000000..5645b23ba --- /dev/null +++ b/mod/thewire/pages/thewire/owner.php @@ -0,0 +1,33 @@ +name)); + +elgg_push_breadcrumb(elgg_echo('thewire'), "thewire/all"); +elgg_push_breadcrumb($owner->name); + +if (get_loggedin_userid() == $owner->guid) { + $content = elgg_view_form('thewire/add'); + $content .= elgg_view('input/urlshortener'); +} + +$content .= elgg_list_entities(array( + 'type' => 'object', + 'subtype' => 'thewire', + 'owner_guid' => $owner->guid, + 'limit' => 15, +)); + +$body = elgg_view_layout('content', array( + 'filter_context' => 'mine', + 'content' => $content, + 'title' => $title, + 'buttons' => false, +)); + +echo elgg_view_page($title, $body); diff --git a/mod/thewire/pages/thewire/user.php b/mod/thewire/pages/thewire/user.php deleted file mode 100644 index 5645b23ba..000000000 --- a/mod/thewire/pages/thewire/user.php +++ /dev/null @@ -1,33 +0,0 @@ -name)); - -elgg_push_breadcrumb(elgg_echo('thewire'), "thewire/all"); -elgg_push_breadcrumb($owner->name); - -if (get_loggedin_userid() == $owner->guid) { - $content = elgg_view_form('thewire/add'); - $content .= elgg_view('input/urlshortener'); -} - -$content .= elgg_list_entities(array( - 'type' => 'object', - 'subtype' => 'thewire', - 'owner_guid' => $owner->guid, - 'limit' => 15, -)); - -$body = elgg_view_layout('content', array( - 'filter_context' => 'mine', - 'content' => $content, - 'title' => $title, - 'buttons' => false, -)); - -echo elgg_view_page($title, $body); -- cgit v1.2.3