aboutsummaryrefslogtreecommitdiff
path: root/mod/pages
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/pages
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/pages')
-rw-r--r--mod/pages/actions/pages/delete.php2
-rw-r--r--mod/pages/pages/pages/history.php2
-rw-r--r--mod/pages/pages/pages/revision.php2
-rw-r--r--mod/pages/pages/pages/view.php2
-rw-r--r--mod/pages/start.php4
-rw-r--r--mod/pages/views/default/pages/group_module.php2
6 files changed, 7 insertions, 7 deletions
diff --git a/mod/pages/actions/pages/delete.php b/mod/pages/actions/pages/delete.php
index 077561b1e..dfa0de98d 100644
--- a/mod/pages/actions/pages/delete.php
+++ b/mod/pages/actions/pages/delete.php
@@ -33,7 +33,7 @@ if ($page) {
}
}
if (elgg_instanceof($container, 'group')) {
- forward("pages/group/$container->guid/owner");
+ forward("pages/group/$container->guid/all");
} else {
forward("pages/owner/$container->username");
}
diff --git a/mod/pages/pages/pages/history.php b/mod/pages/pages/pages/history.php
index 7ed5ad7f7..a7ef57b6b 100644
--- a/mod/pages/pages/pages/history.php
+++ b/mod/pages/pages/pages/history.php
@@ -20,7 +20,7 @@ if (!$container) {
elgg_set_page_owner_guid($container->getGUID());
if (elgg_instanceof($container, 'group')) {
- elgg_push_breadcrumb($container->name, "pages/group/$container->guid/owner");
+ elgg_push_breadcrumb($container->name, "pages/group/$container->guid/all");
} else {
elgg_push_breadcrumb($container->name, "pages/owner/$container->username");
}
diff --git a/mod/pages/pages/pages/revision.php b/mod/pages/pages/pages/revision.php
index f542f5201..83d72286c 100644
--- a/mod/pages/pages/pages/revision.php
+++ b/mod/pages/pages/pages/revision.php
@@ -27,7 +27,7 @@ if (!$container) {
$title = $page->title . ": " . elgg_echo('pages:revision');
if (elgg_instanceof($container, 'group')) {
- elgg_push_breadcrumb($container->name, "pages/group/$container->guid/owner");
+ elgg_push_breadcrumb($container->name, "pages/group/$container->guid/all");
} else {
elgg_push_breadcrumb($container->name, "pages/owner/$container->username");
}
diff --git a/mod/pages/pages/pages/view.php b/mod/pages/pages/pages/view.php
index d3503709d..b9f1fde83 100644
--- a/mod/pages/pages/pages/view.php
+++ b/mod/pages/pages/pages/view.php
@@ -22,7 +22,7 @@ if (!$container) {
$title = $page->title;
if (elgg_instanceof($container, 'group')) {
- elgg_push_breadcrumb($container->name, "pages/group/$container->guid/owner");
+ elgg_push_breadcrumb($container->name, "pages/group/$container->guid/all");
} else {
elgg_push_breadcrumb($container->name, "pages/owner/$container->username");
}
diff --git a/mod/pages/start.php b/mod/pages/start.php
index 772fa2de9..2e2bc1ed6 100644
--- a/mod/pages/start.php
+++ b/mod/pages/start.php
@@ -95,7 +95,7 @@ function pages_init() {
* Edit page: pages/edit/<guid>
* History of page: pages/history/<guid>
* Revision of page: pages/revision/<id>
- * Group pages: pages/group/<guid>/owner
+ * Group pages: pages/group/<guid>/all
*
* Title is ignored
*
@@ -208,7 +208,7 @@ function pages_owner_block_menu($hook, $type, $return, $params) {
$return[] = $item;
} else {
if ($params['entity']->pages_enable != "no") {
- $url = "pages/group/{$params['entity']->guid}/owner";
+ $url = "pages/group/{$params['entity']->guid}/all";
$item = new ElggMenuItem('pages', elgg_echo('pages:group'), $url);
$return[] = $item;
}
diff --git a/mod/pages/views/default/pages/group_module.php b/mod/pages/views/default/pages/group_module.php
index 6befb1c65..1d3437e18 100644
--- a/mod/pages/views/default/pages/group_module.php
+++ b/mod/pages/views/default/pages/group_module.php
@@ -13,7 +13,7 @@ if ($group->pages_enable == "no") {
}
$all_link = elgg_view('output/url', array(
- 'href' => "pages/group/$group->guid/owner",
+ 'href' => "pages/group/$group->guid/all",
'text' => elgg_echo('link:view:all'),
));