- Added missing footer logic. Patch by Ax.
parent
52314ddc32
commit
57ebd696c7
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -96,6 +96,10 @@
|
|||
</tr>
|
||||
</table>
|
||||
|
||||
<div id="footer">
|
||||
{footer}
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<!-- END: footer -->
|
||||
|
|
Loading…
Reference in New Issue