aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-01 01:22:20 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-01 01:22:20 +0000
commitd637ae03eae7ef8e1c7a19d822bc58dfe29c171b (patch)
treedc904bd3ba92e8c364a35d6d78f2992ab6241419 /views
parent46bdb46333958d1919522ff68cecbb3149e69bc6 (diff)
downloadelgg-d637ae03eae7ef8e1c7a19d822bc58dfe29c171b.tar.gz
elgg-d637ae03eae7ef8e1c7a19d822bc58dfe29c171b.tar.bz2
fixed hardcoded string in user/default view
git-svn-id: http://code.elgg.org/elgg/trunk@8890 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-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(