- Applied Ax's Xtemplate footer patch though shuffled around a bit with the
variable names.4.2.x
parent
fe4b713b68
commit
648f1e00a7
|
@ -90,7 +90,7 @@ class Theme_xtemplate extends BaseTheme {
|
|||
}
|
||||
|
||||
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 @@ class Theme_xtemplate extends BaseTheme {
|
|||
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 -->
|
||||
|
|
Loading…
Reference in New Issue