diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-02-25 22:38:43 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-02-25 22:38:43 +0000 |
commit | f54aab6a3eff4d917e1768f340b4774aec5bef61 (patch) | |
tree | b0b627402f3eddfa0a257ec2fbb829bac9f3c16d | |
parent | a283a3b7b88cc8b5ebcb148612fc358bcc098874 (diff) | |
download | brdo-f54aab6a3eff4d917e1768f340b4774aec5bef61.tar.gz brdo-f54aab6a3eff4d917e1768f340b4774aec5bef61.tar.bz2 |
- Fixed bug #6048: display footer in theme chameleon.
-rw-r--r-- | themes/chameleon/chameleon.theme | 5 | ||||
-rw-r--r-- | themes/chameleon/common.css | 6 |
2 files changed, 10 insertions, 1 deletions
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<!-- end content -->\n"; + if ($footer = variable_get('site_footer', '')) { + $output .= " <div id=\"footer\">$footer</div>\n"; + } + $output .= " </td>\n"; if ($blocks = theme_blocks("right")) { @@ -89,6 +93,7 @@ function chameleon_page($content, $title = NULL, $breadcrumb = NULL) { $output .= " </tr>\n"; $output .= " </table>\n"; + $output .= theme_closure(); $output .= " </body>\n"; $output .= "</html>\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; |