You are here

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

File

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

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

    <?php

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

    print $module;
    ?> clearfix'>
      <div class="category-label"><?php

    print $module;
    ?></div>
      <?php

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

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

    }
    ?>
    </div>
    <?php

  }
  ?>

    <?php

}
?>
  </div>
  <div class="block-browser-sidebar">
    <div class='categories'><?php

print render($categories);
?></div>
    <div class='filter'><?php

print render($filter_label);
?></div>
    <?php

print render($help_text);
?>
  </div>
</div>