You are here

context-block-browser.tpl.php in Context 6

File

theme/context-block-browser.tpl.php
View source
<div class='context-block-browser clearfix'>

  <div class='categories'><?php

print theme('select', $categories);
?></div>

  <?php

foreach ($blocks as $module => $module_blocks) {
  ?>

  <?php

  if (!empty($module_blocks)) {
    ?>
  <div class='category category-<?php

    print $module;
    ?> clearfix'>
    <?php

    foreach ($module_blocks as $block) {
      ?>
      <?php

      print theme('context_block_browser_item', $block);
      ?>
    <?php

    }
    ?>
  </div>
  <?php

  }
  ?>

  <?php

}
?>

</div>