Commit 648f1e00 authored by Dries's avatar Dries

- Applied Ax's Xtemplate footer patch though shuffled around a bit with the
  variable names.
parent fe4b713b
......@@ -90,7 +90,7 @@ function header($title = "") {
}
if (!arg(0)) {
$this->template->assign("message", variable_get("xtemplate_message", l("edit message", "admin/system/themes/settings")));
$this->template->assign("header_message", variable_get("xtemplate_message", l("edit message", "admin/system/themes/settings")));
$this->template->parse("header.message");
}
......@@ -128,7 +128,8 @@ function footer() {
theme_blocks("all");
$this->template->assign( array(
"blocks" => ob_get_contents(),
"footer" => variable_get("site_footer", "")
"footer_message" => variable_get("site_footer", ""),
"footer" => theme_footer()
));
ob_end_clean();
......
......@@ -39,7 +39,7 @@
<tr>
<td valign="top" width="100%">
<!-- BEGIN: message -->
<div id="message">{message}</div>
<div id="message">{header_message}</div>
<!-- END: message -->
<div id="main">
<!-- END: header -->
......@@ -97,9 +97,9 @@
</table>
<div id="footer">
{footer}
{footer_message}
</div>
{footer}
</body>
</html>
<!-- END: footer -->
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment