Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-40255 theme_boxxie/theme_formfactor: Added block-region class to …

…layout files to enable dnd file uploader to work.
  • Loading branch information...
commit d80a7da7c1566f40a50411b826cc7db4e547ee48 1 parent 6420fea
@lazydaisy lazydaisy authored
View
6 theme/boxxie/layout/frontpage.php
@@ -70,7 +70,7 @@
</div>
<?php if ($hassidepre) { ?>
- <div id="region-pre">
+ <div id="region-pre" class="block-region">
<div class="region-content">
<?php echo $OUTPUT->blocks_for_region('side-pre') ?>
</div>
@@ -78,7 +78,7 @@
<?php } ?>
<?php if ($hassidepost) { ?>
- <div id="region-post">
+ <div id="region-post" class="block-region">
<div class="region-content">
<?php echo $OUTPUT->blocks_for_region('side-post') ?>
</div>
@@ -102,7 +102,7 @@
if ($hasheading || $hasnavbar) { ?>
- <div class="myclear"></div>
+ <div class="myclear"></div>
</div> <!-- END #page -->
</div> <!-- END #page-wrapper -->
View
4 theme/boxxie/layout/general.php
@@ -79,7 +79,7 @@
</div>
<?php if ($hassidepre) { ?>
- <div id="region-pre">
+ <div id="region-pre" class="block-region">
<div class="region-content">
<?php echo $OUTPUT->blocks_for_region('side-pre') ?>
</div>
@@ -87,7 +87,7 @@
<?php } ?>
<?php if ($hassidepost) { ?>
- <div id="region-post">
+ <div id="region-post" class="block-region">
<div class="region-content">
<?php echo $OUTPUT->blocks_for_region('side-post') ?>
</div>
View
26 theme/formfactor/layout/frontpage.php
@@ -31,16 +31,16 @@
<!-- START OF HEADER -->
<div id="page-header" class="clearfix">
- <div id="page-header-wrapper">
- <h1 class="headermain"><?php echo $PAGE->heading ?></h1>
- <div class="headermenu">
- <?php
- echo $OUTPUT->login_info();
- echo $OUTPUT->lang_menu();
- echo $PAGE->headingmenu;
- ?>
- </div>
- </div>
+ <div id="page-header-wrapper">
+ <h1 class="headermain"><?php echo $PAGE->heading ?></h1>
+ <div class="headermenu">
+ <?php
+ echo $OUTPUT->login_info();
+ echo $OUTPUT->lang_menu();
+ echo $PAGE->headingmenu;
+ ?>
+ </div>
+ </div>
</div>
<?php if ($hascustommenu) { ?>
@@ -49,7 +49,7 @@
<ul id="page-navigation" class="clearfix">
<li>&nbsp;</li>
</ul>
- <?php } ?>
+ <?php } ?>
<!-- END OF HEADER -->
@@ -69,7 +69,7 @@
</div>
<?php if ($hassidepre) { ?>
- <div id="region-pre">
+ <div id="region-pre" class="block-region">
<div class="region-content">
<?php echo $OUTPUT->blocks_for_region('side-pre') ?>
</div>
@@ -77,7 +77,7 @@
<?php } ?>
<?php if ($hassidepost) { ?>
- <div id="region-post">
+ <div id="region-post" class="block-region">
<div class="region-content">
<?php echo $OUTPUT->blocks_for_region('side-post') ?>
</div>
View
42 theme/formfactor/layout/general.php
@@ -33,22 +33,22 @@
<?php if ($hasheading || $hasnavbar) { ?>
<div id="page-header" class="clearfix">
- <div id="page-header-wrapper">
-
- <?php if ($hasheading) { ?>
- <h1 class="headermain"><?php echo $PAGE->heading ?></h1>
- <div class="headermenu">
- <?php
- echo $OUTPUT->login_info();
- if (!empty($PAGE->layout_options['langmenu'])) {
- echo $OUTPUT->lang_menu();
- }
- echo $PAGE->headingmenu
- ?>
- </div>
- <?php } ?>
-
- </div>
+ <div id="page-header-wrapper">
+
+ <?php if ($hasheading) { ?>
+ <h1 class="headermain"><?php echo $PAGE->heading ?></h1>
+ <div class="headermenu">
+ <?php
+ echo $OUTPUT->login_info();
+ if (!empty($PAGE->layout_options['langmenu'])) {
+ echo $OUTPUT->lang_menu();
+ }
+ echo $PAGE->headingmenu
+ ?>
+ </div>
+ <?php } ?>
+
+ </div>
</div>
<?php if ($hasheading) { ?>
@@ -59,11 +59,11 @@
<li>&nbsp;</li>
</ul>
<?php } ?>
- <?php } ?>
+ <?php } ?>
<?php if ($hasnavbar) { ?>
- <div class="navbar clearfix">
- <div class="breadcrumb"><?php echo $OUTPUT->navbar(); ?></div>
+ <div class="navbar clearfix">
+ <div class="breadcrumb"><?php echo $OUTPUT->navbar(); ?></div>
<div class="navbutton"> <?php echo $PAGE->button; ?></div>
</div>
<?php } ?>
@@ -85,7 +85,7 @@
</div>
<?php if ($hassidepre) { ?>
- <div id="region-pre">
+ <div id="region-pre" class="block-region">
<div class="region-content">
<?php echo $OUTPUT->blocks_for_region('side-pre') ?>
</div>
@@ -93,7 +93,7 @@
<?php } ?>
<?php if ($hassidepost) { ?>
- <div id="region-post">
+ <div id="region-post" class="block-region">
<div class="region-content">
<?php echo $OUTPUT->blocks_for_region('side-post') ?>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.