menu-block-wrapper.tpl.php 843 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * @file
  4. * Default theme implementation to wrap menu blocks.
  5. *
  6. * Available variables:
  7. * - $content: The renderable array containing the menu.
  8. * - $classes: A string containing the CSS classes for the DIV tag. Includes:
  9. * menu-block-DELTA, menu-name-NAME, parent-mlid-MLID, and menu-level-LEVEL.
  10. * - $classes_array: An array containing each of the CSS classes.
  11. *
  12. * The following variables are provided for contextual information.
  13. * - $delta: (string) The menu_block's block delta.
  14. * - $config: An array of the block's configuration settings. Includes
  15. * menu_name, parent_mlid, title_link, admin_title, level, follow, depth,
  16. * expanded, and sort.
  17. *
  18. * @see template_preprocess_menu_block_wrapper()
  19. */
  20. ?>
  21. <div id="<?php print $htmlid; ?>" class="<?php print $classes; ?>">
  22. <?php print render($content); ?>
  23. </div>