/[drupal]/contributions/modules/menu_block/menu-block-wrapper.tpl.php
ViewVC logotype

Contents of /contributions/modules/menu_block/menu-block-wrapper.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.7 - (show annotations) (download) (as text)
Fri Aug 14 16:26:33 2009 UTC (3 months, 1 week ago) by johnalbin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +4 -4 lines
File MIME type: text/x-php
Added context variable to hook_menu_block_tree_alter().
1 <?php
2 // $Id: menu-block-wrapper.tpl.php,v 1.6 2008/12/16 18:25:04 johnalbin Exp $
3
4 /**
5 * @file
6 * Default theme implementation to wrap menu blocks.
7 *
8 * Available variables:
9 * - $content: The unordered list containing the menu.
10 * - $classes: A string containing the CSS classes for the DIV tag. Includes:
11 * menu-block-DELTA, menu-name-NAME, parent-mlid-MLID, and menu-level-LEVEL.
12 * - $classes_array: An array containing each of the CSS classes.
13 *
14 * The following variables are provided for contextual information.
15 * - $settings: An array of the block's configuration settings. Includes
16 * menu_name, parent_mlid, level, follow, depth, expanded, and sort.
17 *
18 * @see template_preprocess_menu_block_wrapper()
19 * @see theme_menu_block_wrapper()
20 */
21 ?>
22 <div class="<?php print $classes; ?>">
23 <?php print $content; ?>
24 </div>

  ViewVC Help
Powered by ViewVC 1.1.2