From f54aab6a3eff4d917e1768f340b4774aec5bef61 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 25 Feb 2004 22:38:43 +0000 Subject: - Fixed bug #6048: display footer in theme chameleon. --- themes/chameleon/chameleon.theme | 5 +++++ themes/chameleon/common.css | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/themes/chameleon/chameleon.theme b/themes/chameleon/chameleon.theme index b5326e426..9a35e51d6 100644 --- a/themes/chameleon/chameleon.theme +++ b/themes/chameleon/chameleon.theme @@ -81,6 +81,10 @@ function chameleon_page($content, $title = NULL, $breadcrumb = NULL) { $output .= $content; $output .= "\n\n"; + if ($footer = variable_get('site_footer', '')) { + $output .= "
$footer
\n"; + } + $output .= " \n"; if ($blocks = theme_blocks("right")) { @@ -89,6 +93,7 @@ function chameleon_page($content, $title = NULL, $breadcrumb = NULL) { $output .= " \n"; $output .= " \n"; + $output .= theme_closure(); $output .= " \n"; $output .= "\n"; diff --git a/themes/chameleon/common.css b/themes/chameleon/common.css index 8c3d36926..9a79d97e8 100644 --- a/themes/chameleon/common.css +++ b/themes/chameleon/common.css @@ -70,7 +70,11 @@ br { vertical-align: top; width: 60%; } - +#footer { + font-size: 0.8em; + padding-top: 2em; + text-align: center; +} /* region-specific tags */ .title { margin: 0 0 .25em 0; -- cgit v1.2.3