aboutsummaryrefslogtreecommitdiff
path: root/views/default/user
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/user')
-rw-r--r--views/default/user/default.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/views/default/user/default.php b/views/default/user/default.php
index f5247361c..71eb273f0 100644
--- a/views/default/user/default.php
+++ b/views/default/user/default.php
@@ -2,9 +2,6 @@
/**
* Elgg user display
*
- * @package Elgg
- * @subpackage Core
- *
* @uses $vars['entity'] ElggUser entity
* @uses $vars['size'] Size of the icon
*/
@@ -37,10 +34,11 @@ if (elgg_get_context() == 'gallery') {
echo $icon;
} else {
if ($user->isBanned()) {
+ $banned = elgg_echo('banned');
$params = array(
'entity' => $user,
'title' => $title,
- 'metadata' => '<ul class="elgg-menu elgg-menu-metadata"><li>banned</li></ul>',
+ 'metadata' => '<ul class="elgg-menu elgg-menu-metadata"><li>$banned</li></ul>',
);
} else {
$params = array(