aboutsummaryrefslogtreecommitdiff
path: root/mod/messageboard
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-06-03 01:40:06 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-06-03 01:40:06 +0000
commite8da61b8e8654caa45a5315ce338886e802f044d (patch)
tree0088c353bd748943036f29e0df9139decb6af29e /mod/messageboard
parent33f7cec924ff46d5f890130393fe023d2ddd6100 (diff)
downloadelgg-e8da61b8e8654caa45a5315ce338886e802f044d.tar.gz
elgg-e8da61b8e8654caa45a5315ce338886e802f044d.tar.bz2
Fixes #3138 using 'all' for group listing urls
git-svn-id: http://code.elgg.org/elgg/trunk@9133 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/messageboard')
-rw-r--r--mod/messageboard/pages/messageboard/owner.php2
-rw-r--r--mod/messageboard/start.php2
-rw-r--r--mod/messageboard/views/default/widgets/messageboard/content.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/mod/messageboard/pages/messageboard/owner.php b/mod/messageboard/pages/messageboard/owner.php
index 7fd88a9d4..58021c29e 100644
--- a/mod/messageboard/pages/messageboard/owner.php
+++ b/mod/messageboard/pages/messageboard/owner.php
@@ -24,7 +24,7 @@ if ($history_user) {
$title = elgg_echo('messageboard:owner_history', array($history_user->name, $page_owner->name));
if ($page_owner instanceof ElggGroup) {
- $mb_url = "messageboard/group/$page_owner->guid/owner";
+ $mb_url = "messageboard/group/$page_owner->guid/all";
} else {
$mb_url = "messageboard/owner/$page_owner->username";
}
diff --git a/mod/messageboard/start.php b/mod/messageboard/start.php
index 899df19c3..efe453286 100644
--- a/mod/messageboard/start.php
+++ b/mod/messageboard/start.php
@@ -36,7 +36,7 @@ function messageboard_init() {
* User's messageboard: messageboard/owner/<username>
* Y's history of posts on X's board: messageboard/owner/<X>/history/<Y>
* New post: messageboard/add/<guid> (container: user or group)
- * Group messageboard: messageboard/group/<guid>/owner
+ * Group messageboard: messageboard/group/<guid>/all (not implemented)
*
* @param array $page Array of page elements
* @return bool
diff --git a/mod/messageboard/views/default/widgets/messageboard/content.php b/mod/messageboard/views/default/widgets/messageboard/content.php
index 55b12f29b..63f389e6a 100644
--- a/mod/messageboard/views/default/widgets/messageboard/content.php
+++ b/mod/messageboard/views/default/widgets/messageboard/content.php
@@ -23,7 +23,7 @@ $options = array(
echo elgg_list_annotations($options);
if ($owner instanceof ElggGroup) {
- $url = "messageboard/group/$owner->guid/owner";
+ $url = "messageboard/group/$owner->guid/all";
} else {
$url = "messageboard/owner/$owner->username";
}