- Added missing footer logic. Patch by Ax.

4.2.x
Dries Buytaert 2003-02-19 22:30:12 +00:00
parent 52314ddc32
commit 57ebd696c7
3 changed files with 13 additions and 1 deletions

View File

@ -78,6 +78,11 @@ img {
#sidebar {
background-color: #ddd;
}
#footer {
background-color: #eee;
padding: 15px 10px 5px 10px;
font-size: .7em;
}
table .node {
padding-bottom: 25px;
}

View File

@ -123,7 +123,10 @@ class Theme_xtemplate extends BaseTheme {
// so we need some output buffering
ob_start();
theme_blocks("all");
$this->template->assign("blocks", ob_get_contents());
$this->template->assign( array(
"blocks" => ob_get_contents(),
"footer" => variable_get("site_footer", "")
));
ob_end_clean();
$this->template->parse("footer");

View File

@ -96,6 +96,10 @@
</tr>
</table>
<div id="footer">
{footer}
</div>
</body>
</html>
<!-- END: footer -->