summaryrefslogtreecommitdiff
path: root/themes/chameleon
diff options
context:
space:
mode:
Diffstat (limited to 'themes/chameleon')
-rw-r--r--themes/chameleon/chameleon.theme6
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/chameleon/chameleon.theme b/themes/chameleon/chameleon.theme
index 3389b27af..d72e2d2ae 100644
--- a/themes/chameleon/chameleon.theme
+++ b/themes/chameleon/chameleon.theme
@@ -1,5 +1,4 @@
<?php
-
// $Id$
function chameleon_help($section) {
@@ -66,8 +65,9 @@ function chameleon_header($title = "") {
$output .= "<small>$help</small><hr />";
}
- if ($message = drupal_get_message()) {
- $output .= "<strong>". t("Status") ."</strong>: ". $message->message ."<hr />";
+ foreach (drupal_get_messages() as $message) {
+ list($message, $type) = $message;
+ $output .= "<strong>". t("Status") ."</strong>: $message<hr />";
}
return $output;