aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/views/default
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-06-22 20:28:53 -0400
committercash <cash.costello@gmail.com>2011-06-22 20:28:53 -0400
commit58e020e604e7e4f897a9025e73d9afb1ddba62ff (patch)
tree1687113d9025f00575d2ef95af2fdc5b78998d43 /mod/thewire/views/default
parent49853b53578ea3254543020e553b29a7a33ab0af (diff)
downloadelgg-58e020e604e7e4f897a9025e73d9afb1ddba62ff.tar.gz
elgg-58e020e604e7e4f897a9025e73d9afb1ddba62ff.tar.bz2
added @username in the reply text for a wire post
Diffstat (limited to 'mod/thewire/views/default')
-rw-r--r--mod/thewire/views/default/thewire/reply.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/thewire/views/default/thewire/reply.php b/mod/thewire/views/default/thewire/reply.php
index 3794e1454..341b691b1 100644
--- a/mod/thewire/views/default/thewire/reply.php
+++ b/mod/thewire/views/default/thewire/reply.php
@@ -5,7 +5,10 @@
$post = $vars['post'];
$poster = $post->getOwnerEntity();
-
+$poster_details = array(
+ htmlspecialchars($poster->name, ENT_QUOTES, 'UTF-8'),
+ htmlspecialchars($poster->username, ENT_QUOTES, 'UTF-8'),
+);
?>
-<b><?php echo elgg_echo('thewire:replying', array($poster->name)); ?>: </b>
+<b><?php echo elgg_echo('thewire:replying', $poster_details); ?>: </b>
<?php echo $post->description; \ No newline at end of file