aboutsummaryrefslogtreecommitdiff
path: root/views/default/page
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-19 17:32:22 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-19 17:32:22 +0000
commit4e6be980c9ebcc35aaaf6f1c0df9403703e3b8cf (patch)
tree09de882f452c0fc32c0b90aab8d2edfc526e11e5 /views/default/page
parent67bee86f7fa86273494302bdb816fc27022ea037 (diff)
downloadelgg-4e6be980c9ebcc35aaaf6f1c0df9403703e3b8cf.tar.gz
elgg-4e6be980c9ebcc35aaaf6f1c0df9403703e3b8cf.tar.bz2
system messages use autop() for formatting rather than output/longtext
git-svn-id: http://code.elgg.org/elgg/trunk@8336 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page')
-rw-r--r--views/default/page/elements/messages.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/views/default/page/elements/messages.php b/views/default/page/elements/messages.php
index e4e6030f1..91221e174 100644
--- a/views/default/page/elements/messages.php
+++ b/views/default/page/elements/messages.php
@@ -15,10 +15,7 @@ if (isset($vars['object']) && is_array($vars['object']) && sizeof($vars['object'
foreach ($vars['object'] as $type => $list ) {
foreach ($list as $message) {
echo "<li class=\"elgg-message elgg-state-$type\">";
- echo elgg_view('output/longtext', array(
- 'value' => $message,
- 'parse_urls' => false
- ));
+ echo autop($message);
echo '</li>';
}
}