From 4e6be980c9ebcc35aaaf6f1c0df9403703e3b8cf Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 19 Feb 2011 17:32:22 +0000 Subject: 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 --- views/default/page/elements/messages.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'views/default/page') 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 "
  • "; - echo elgg_view('output/longtext', array( - 'value' => $message, - 'parse_urls' => false - )); + echo autop($message); echo '
  • '; } } -- cgit v1.2.3