MDL-36978 theme_standardold: fixes misplaced block region check in layout/frontpage.php which, with hindsight should have been fixed in MDL-23226.

This commit is contained in:
Mary Evans
2012-12-08 22:50:33 +00:00
parent 0b7c52dd4c
commit 2a6e3435d0
+3 -4
View File
@@ -49,12 +49,13 @@ echo $OUTPUT->doctype() ?>
<div id="page-content">
<table id="region-main-box" class="layout-table" summary="layout">
<tr id="region-post-box">
<?php if ($hassidepre) { ?>
<td id="region-pre" class="block-region">
<div class="region-content">
<?php echo $OUTPUT->blocks_for_region('side-pre') ?>
</div>
</td>
<?php if ($hassidepre) { ?>
<?php } ?>
<td id="region-main-wrap">
<div id="region-main">
<div class="region-content">
@@ -62,9 +63,7 @@ echo $OUTPUT->doctype() ?>
</div>
</div>
</td>
<?php
}
if ($hassidepost) { ?>
<?php if ($hassidepost) { ?>
<td id="region-post" class="block-region">
<div class="region-content">
<?php echo $OUTPUT->blocks_for_region('side-post') ?>