diff options
-rw-r--r-- | mod/blog/lib/blog.php | 4 | ||||
-rw-r--r-- | views/default/layout/shells/content/filter.php | 4 |
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'), |