diff options
Diffstat (limited to 'views/default/page_elements/messages.php')
-rw-r--r-- | views/default/page_elements/messages.php | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/views/default/page_elements/messages.php b/views/default/page_elements/messages.php deleted file mode 100644 index f44d1204b..000000000 --- a/views/default/page_elements/messages.php +++ /dev/null @@ -1,28 +0,0 @@ -<?php -/** - * Elgg global system message list - * Lists all system messages - * - * @package Elgg - * @subpackage Core - * - * @uses $vars['object'] The array of message registers - */ - -if (isset($vars['object']) && is_array($vars['object']) && sizeof($vars['object']) > 0) { - - echo '<ul class="elgg-system-messages">'; - - foreach ($vars['object'] as $type => $list ) { - foreach ($list as $message) { - echo "<li class=\"elgg-state-$type radius8\">"; - echo elgg_view('output/longtext', array( - 'value' => $message, - 'parse_urls' => false - )); - echo '</li>'; - } - } - - echo '</ul>'; -} |