From a7af47b58f459aada222788b59f6051521fb4a44 Mon Sep 17 00:00:00 2001
From: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
Date: Fri, 22 Jun 2012 15:49:04 +0100
Subject: [PATCH] Make 2.3 blocks drag-drop compatible

---
 aardvark_postit/layout/profileblock.php |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/aardvark_postit/layout/profileblock.php b/aardvark_postit/layout/profileblock.php
index 5be3398..7b63d7d 100644
--- a/aardvark_postit/layout/profileblock.php
+++ b/aardvark_postit/layout/profileblock.php
@@ -85,21 +85,29 @@ if (!isloggedin() or isguestuser()) {
 
                 <div id="profilebar-block1">
                     <h4><?php echo get_string('myblocks','theme_aardvark_postit');?></h4>
+                    <div id="pbar-pre" class="block-region">
+                        <div class="region-content">
                     <?php {
                         if ($haspbarpre)
                             echo $OUTPUT->blocks_for_region('pbar-pre');
                           }
                      ?>
+                        </div>
+                    </div>
                 </div>
 
 
                 <div id="profilebar-block2">
                     <h4><?php echo get_string('myblocks','theme_aardvark_postit');?></h4>
+                    <div id="pbar-post" class="block-region">
+                        <div class="region-content">
                     <?php {
                         if ($haspbarpost)
                             echo $OUTPUT->blocks_for_region('pbar-post');
                           }
                      ?>
+                        </div>
+                    </div>
                 </div>
 
             <div id="profilebar-account" class="profileoptions">
-- 
1.7.2.5

