aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/start.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-06-12 21:56:35 -0400
committerCash Costello <cash.costello@gmail.com>2012-06-12 21:56:35 -0400
commitfd4f7ef53452f8ccd1c53b82e6b2cc0c86788e3f (patch)
tree3e783b134f18033550336791391bf27f6c4736b2 /mod/thewire/start.php
parent35059d588ac7bfc4a1881740468361e2416011de (diff)
downloadelgg-fd4f7ef53452f8ccd1c53b82e6b2cc0c86788e3f.tar.gz
elgg-fd4f7ef53452f8ccd1c53b82e6b2cc0c86788e3f.tar.bz2
Fixes #4567 adds a wire post view
Diffstat (limited to 'mod/thewire/start.php')
-rw-r--r--mod/thewire/start.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/mod/thewire/start.php b/mod/thewire/start.php
index 5d5786e2f..8e3b5224a 100644
--- a/mod/thewire/start.php
+++ b/mod/thewire/start.php
@@ -77,7 +77,8 @@ function thewire_init() {
* thewire/owner/<username> View this user's wire posts
* thewire/following/<username> View the posts of those this user follows
* thewire/reply/<guid> Reply to a post
- * thewire/view/<guid> View a conversation thread
+ * thewire/view/<guid> View a post
+ * thewire/thread/<id> View a conversation thread
* thewire/tag/<tag> View wire posts tagged with <tag>
*
* @param array $page From the page_handler function
@@ -104,6 +105,12 @@ function thewire_page_handler($page) {
include "$base_dir/owner.php";
break;
+ case "view":
+ if (isset($page[1])) {
+ set_input('guid', $page[1]);
+ }
+ include "$base_dir/view.php";
+
case "thread":
if (isset($page[1])) {
set_input('thread_id', $page[1]);