aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-10 12:10:02 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-10 12:10:02 +0000
commita9ae73e5ec0f393bdfd0a05c014c6bdb49e72896 (patch)
treedae87f86607875afec3d7f2538adec19f2249e04
parentd33945f093dd12da159046b72753982f433fa3ee (diff)
downloadelgg-a9ae73e5ec0f393bdfd0a05c014c6bdb49e72896.tar.gz
elgg-a9ae73e5ec0f393bdfd0a05c014c6bdb49e72896.tar.bz2
using all rather than everyone to be more consistent
git-svn-id: http://code.elgg.org/elgg/trunk@7594 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/blog/lib/blog.php4
-rw-r--r--views/default/layout/shells/content/filter.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/mod/blog/lib/blog.php b/mod/blog/lib/blog.php
index 035105a7d..f3d059ae3 100644
--- a/mod/blog/lib/blog.php
+++ b/mod/blog/lib/blog.php
@@ -47,7 +47,7 @@ function blog_get_page_content_list($owner_guid = NULL) {
$return = array();
- $return['filter_context'] = $owner_guid ? 'mine' : 'everyone';
+ $return['filter_context'] = $owner_guid ? 'mine' : 'all';
$options = array(
'type' => 'object',
@@ -74,7 +74,7 @@ function blog_get_page_content_list($owner_guid = NULL) {
$return['buttons'] = '';
}
} else {
- $return['filter_context'] = 'everyone';
+ $return['filter_context'] = 'all';
}
// show all posts for admin or users looking at their own blogs
diff --git a/views/default/layout/shells/content/filter.php b/views/default/layout/shells/content/filter.php
index 0b2562450..d84c27a63 100644
--- a/views/default/layout/shells/content/filter.php
+++ b/views/default/layout/shells/content/filter.php
@@ -4,7 +4,7 @@
*
* Select between user, friends, and all content
*
- * @uses $vars['filter_context'] Filter context: everyone, friends, mine
+ * @uses $vars['filter_context'] Filter context: all, friends, mine
* @uses $vars['filter_override'] HTML for overriding the default filter (override)
* @uses $vars['context'] Page context (override)
*/
@@ -25,7 +25,7 @@ if (isloggedin() && $context) {
'all' => array(
'title' => elgg_echo('all'),
'url' => (isset($vars['all_link'])) ? $vars['all_link'] : "pg/$context/all/",
- 'selected' => ($filter_context == 'everyone'),
+ 'selected' => ($filter_context == 'all'),
),
'mine' => array(
'title' => elgg_echo('mine'),