]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
system messages use autop() for formatting rather than output/longtext
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 19 Feb 2011 17:32:22 +0000 (17:32 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 19 Feb 2011 17:32:22 +0000 (17:32 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8336 36083f99-b078-4883-b0ff-0f9b5a30f544

views/default/page/elements/messages.php

index e4e6030f197207835e8eec2ab7a9c77858616c07..91221e1748591b3e926589b0d30d330806715687 100644 (file)
@@ -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>';
                }
        }