aboutsummaryrefslogtreecommitdiff
path: root/mod/file/pages/file/owner.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-06-26 07:35:36 -0400
committerCash Costello <cash.costello@gmail.com>2011-06-26 07:35:36 -0400
commitce0e0c2480b2506cc5688f94e659de30a952a58b (patch)
treed14b632c43e12c79dc7a8f534151fbe652ac5f2d /mod/file/pages/file/owner.php
parent9400f73770d2b50e42cc44a64c5f5888e52a8948 (diff)
downloadelgg-ce0e0c2480b2506cc5688f94e659de30a952a58b.tar.gz
elgg-ce0e0c2480b2506cc5688f94e659de30a952a58b.tar.bz2
made breadcrumbs consistent in content plugins
Diffstat (limited to 'mod/file/pages/file/owner.php')
-rw-r--r--mod/file/pages/file/owner.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/mod/file/pages/file/owner.php b/mod/file/pages/file/owner.php
index 69ec30425..a01e9cd22 100644
--- a/mod/file/pages/file/owner.php
+++ b/mod/file/pages/file/owner.php
@@ -17,20 +17,19 @@ $params = array();
if ($owner->guid == elgg_get_logged_in_user_guid()) {
// user looking at own files
- $title = elgg_echo('file:yours');
$params['filter_context'] = 'mine';
} else if (elgg_instanceof($owner, 'user')) {
// someone else's files
- $title = elgg_echo("file:user", array($owner->name));
// do not show button or select a tab when viewing someone else's posts
$params['filter_context'] = 'none';
$params['buttons'] = '';
} else {
// group files
- $title = elgg_echo("file:user", array($owner->name));
$params['filter'] = '';
}
+$title = elgg_echo("file:user", array($owner->name));
+
// List files
$content = elgg_list_entities(array(
'types' => 'object',