Permalink
Browse files

MDL-38898 theme_bootstrap: Made changes to layout/general.php to enab…

…le drag-n-drop support in Bootstrap theme.
  • Loading branch information...
1 parent 3a8c438 commit c9ff4d0e0fa679ed7cfddf14456fc91c64131301 @lazydaisy lazydaisy committed Apr 20, 2013
Showing with 13 additions and 6 deletions.
  1. +13 −6 theme/bootstrap/layout/general.php
@@ -131,29 +131,36 @@
<?php if ($layout !== 'content-only') {
if ($layout === 'pre-and-post') { ?>
- <aside id="region-pre" class="span4 block-region desktop-first-column region-content">
+ <aside class="span4 desktop-first-column">
<?php } else if ($layout === 'side-pre-only') { ?>
- <aside id="region-pre" class="span3 block-region desktop-first-column region-content">
+ <aside class="span3 desktop-first-column">
<?php } ?>
+ <div id="region-pre" class="block-region">
+ <div class="region-content">
<?php
if (!right_to_left()) {
echo $OUTPUT->blocks_for_region('side-pre');
} else if ($hassidepost) {
echo $OUTPUT->blocks_for_region('side-post');
- }
- ?>
- </aside>
+ } ?>
+ </div>
+ </div>
+ </aside>
<?php if ($layout === 'pre-and-post') {
?></div></div><?php // Close row-fluid and span9.
}
if ($layout === 'side-post-only' OR $layout === 'pre-and-post') { ?>
- <aside id="region-post" class="span3 block-region region-content">
+ <aside class="span3">
+ <div id="region-post" class="block-region">
+ <div class="region-content">
<?php if (!right_to_left()) {
echo $OUTPUT->blocks_for_region('side-post');
} else {
echo $OUTPUT->blocks_for_region('side-pre');
} ?>
+ </div>
+ </div>
</aside>
<?php } ?>
<?php } ?>

0 comments on commit c9ff4d0

Please sign in to comment.