You are here

om-maximenu-accordion-content.tpl.php in OM Maximenu 6

om_maximenu_accordion_content.tpl.php Default theme implementation of om maximenu contents with accordion blocks

Available variables:

  • $content: link content blocks

Helper variables:

  • $zebra: Same output as $block_zebra but independent of any block region.
  • $key: link id.
  • $id: automatic id given in order of appearance.
  • $is_front: Flags true when presented in the front page.
  • $logged_in: Flags true when the current user is a logged-in member.
  • $is_admin: Flags true when the current user is an administrator.
  • $user: (object) user properties

File

tpl/om-maximenu-accordion-content.tpl.php
View source
<?php

/**
 * @file om_maximenu_accordion_content.tpl.php
 * Default theme implementation of om maximenu contents with accordion blocks
 *
 * Available variables:
 * - $content: link content blocks
 *
 * Helper variables:
 * - $zebra: Same output as $block_zebra but independent of any block region.
 * - $key: link id.
 * - $id: automatic id given in order of appearance.
 * - $is_front: Flags true when presented in the front page.
 * - $logged_in: Flags true when the current user is a logged-in member.
 * - $is_admin: Flags true when the current user is an administrator.
 * - $user: (object) user properties
 *
 * @see template_preprocess_om_maximenu_accordion()
 * @see template_preprocess_om_maximenu_accordion_links()
 * @see template_preprocess_om_maximenu_accordion_content() 
 *
 */
?>

<?php

if (!empty($content)) {
  ?>
  <div class="om-maximenu-accordion-content">
    <?php

  print om_maximenu_content_render($content);
  ?>
    <div class="om-clearfix"></div>
    <div class="om-maximenu-arrow"></div>
  </div><!-- /.om-maximenu-accordion-content -->
<?php

}