Permalink
Browse files

MDL-36978 theme_standardold: fixes misplaced block region check in la…

…yout/frontpage.php which, with hindsight should have been fixed in MDL-23226.
  • Loading branch information...
1 parent 5fa7d72 commit bf5886726f5f528dde9c1a9d408a399ee6818fa9 @lazydaisy lazydaisy committed Dec 8, 2012
Showing with 3 additions and 4 deletions.
  1. +3 −4 theme/standardold/layout/frontpage.php
@@ -49,22 +49,21 @@
<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">
<?php echo $OUTPUT->main_content() ?>
</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') ?>

0 comments on commit bf58867

Please sign in to comment.