Skip to content
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 c274d5e commit 0248eee12962369c73d6c98b4d58809d357b89c1 @lazydaisy lazydaisy committed
Showing with 3 additions and 4 deletions.
  1. +3 −4 theme/standardold/layout/frontpage.php
View
7 theme/standardold/layout/frontpage.php
@@ -49,12 +49,13 @@
<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 @@
</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 0248eee

Please sign in to comment.
Something went wrong with that request. Please try again.