summaryrefslogtreecommitdiff
path: root/themes/chameleon/chameleon.theme
diff options
context:
space:
mode:
Diffstat (limited to 'themes/chameleon/chameleon.theme')
-rw-r--r--themes/chameleon/chameleon.theme14
1 files changed, 9 insertions, 5 deletions
diff --git a/themes/chameleon/chameleon.theme b/themes/chameleon/chameleon.theme
index 86c774c10..9f73c1fbd 100644
--- a/themes/chameleon/chameleon.theme
+++ b/themes/chameleon/chameleon.theme
@@ -74,11 +74,9 @@ function chameleon_page($content) {
$output .= $tabs;
}
- if ($help = menu_get_active_help()) {
- $output .= "<div id=\"help\">$help</div><hr />";
- }
+ $output .= theme('help');
- $output .= theme_status_messages();
+ $output .= theme('status_messages');
$output .= "\n<!-- begin content -->\n";
$output .= $content;
@@ -140,7 +138,6 @@ function chameleon_node($node, $main = 0, $page = 0) {
}
function chameleon_comment($comment, $link = "") {
-
$submitted = array(t('By %author at %date', array('%author' => format_name($comment), '%date' => format_date($comment->timestamp. 'small'))));
$links = array($link);
@@ -152,4 +149,11 @@ function chameleon_comment($comment, $link = "") {
return $output;
}
+
+function chameleon_help() {
+ if ($help = menu_get_active_help()) {
+ return '<div class="help">'. $help .'</div><hr />';
+ }
+}
+
?>