diff options
Diffstat (limited to 'views/default/page/elements/messages.php')
-rw-r--r-- | views/default/page/elements/messages.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/page/elements/messages.php b/views/default/page/elements/messages.php index 869ce2b5e..edd40d71e 100644 --- a/views/default/page/elements/messages.php +++ b/views/default/page/elements/messages.php @@ -8,7 +8,7 @@ * * @uses $vars['object'] The array of message registers */ -echo '<div style="width:990px;margin:0px auto;position:relative;">'; + echo '<ul class="elgg-system-messages">'; // hidden li so we validate @@ -18,10 +18,10 @@ 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 autop($message); + echo elgg_autop($message); echo '</li>'; } } } -echo '</ul></div>'; +echo '</ul>'; |