aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-06 11:41:08 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-06 11:41:08 +0000
commitd0f87eb8a30287dafe0c21b47e660552e1df5bdb (patch)
tree40006597f1c47ea6cfdc2db58f1ab5e5e62c8775 /mod
parent3ed13fc68a06f8c7e872cdf10d458fe9daf28be9 (diff)
downloadelgg-d0f87eb8a30287dafe0c21b47e660552e1df5bdb.tar.gz
elgg-d0f87eb8a30287dafe0c21b47e660552e1df5bdb.tar.bz2
Fixed user profile ban message
git-svn-id: https://code.elgg.org/elgg/trunk@3110 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-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 -->