om-maximenu-tabbed-content.tpl.php in OM Maximenu 6
Same filename and directory in other branches
om_maximenu_tabbed_content.tpl.php Default theme implementation of om maximenu contents with tabbed blocks
Available variables:
- $links: link array
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
1 theme call to om-maximenu-tabbed-content.tpl.php
- om-maximenu-tabbed.tpl.php in tpl/
om-maximenu-tabbed.tpl.php - om_maximenu_tabbed.tpl.php Default theme implementation of om maximenu with tabbed blocks
File
tpl/om-maximenu-tabbed-content.tpl.phpView source
<?php
/**
* @file om_maximenu_tabbed_content.tpl.php
* Default theme implementation of om maximenu contents with tabbed blocks
*
* Available variables:
* - $links: link array
*
* 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_tabbed()
* @see template_preprocess_om_maximenu_tabbed_links()
* @see template_preprocess_om_maximenu_tabbed_content()
*
*/
?>
<div class="om-maximenu-tabbed-content">
<div class="om-maximenu-tabbed-content-inner">
<?php
foreach ($links['links'] as $key => $content) {
?>
<?php
$permission = om_maximenu_link_visible($content['roles']);
?>
<?php
if (!empty($permission) && !empty($content['content'])) {
?>
<div id="om-tabbed-content-<?php
print $links['code'] . '-' . $key;
?>" class="om-tabbed-content om-tabbed-content-hide">
<div class="om-tabbed-content-inner">
<?php
print om_maximenu_content_render($content['content']);
?>
<div class="om-clearfix"></div>
</div><!-- /.om-tabbed-content-inner -->
</div><!-- /.om-tabbed-content -->
<?php
}
?>
<?php
}
?>
<div class="om-clearfix"></div>
</div><!-- /.om-maximenu-tabbed-content-inner -->
</div><!-- /.om-maximenu-tabbed-content -->