]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
using all rather than everyone to be more consistent
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Fri, 10 Dec 2010 12:10:02 +0000 (12:10 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Fri, 10 Dec 2010 12:10:02 +0000 (12:10 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7594 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/blog/lib/blog.php
views/default/layout/shells/content/filter.php

index 035105a7d9ab9376f35c0a8bb68996cead8cca8d..f3d059ae34b333dfbec12114e9994c33000dc14a 100644 (file)
@@ -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
index 0b256245007e303db9343919bb3762bae0074385..d84c27a63d11db84fccdc52ae6c0e0a7d3573b19 100644 (file)
@@ -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'),