aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/profile/views/default/profile/userdetails.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/profile/views/default/profile/userdetails.php b/mod/profile/views/default/profile/userdetails.php
index 1456db7b9..169eae92e 100644
--- a/mod/profile/views/default/profile/userdetails.php
+++ b/mod/profile/views/default/profile/userdetails.php
@@ -136,15 +136,18 @@
<td colspan="2">
<div id="profile_info_column_right">
<p class="profile_aboutme_title"><b><?php echo elgg_echo("profile:aboutme"); ?></b></p>
- <?php echo autop(filter_tags($vars['entity']->description)); ?>
<?php if ($vars['entity']->isBanned()) { ?>
<div id="profile_banned">
<?php
- // echo elgg_echo('profile:banned');
+ echo elgg_echo('profile:banned');
?>
</div><!-- /#profile_info_column_right -->
+ <?php } else { ?>
+
+ <?php echo autop(filter_tags($vars['entity']->description)); ?>
+
<?php } ?>
</div><!-- /#profile_info_column_right -->