oa-toolbar-menu-button.tpl.php in Open Atrium Toolbar 7.2
Provides the view for the toolbar menu button.
$oa_toolbar_btn_class - Style to append to button
2 theme calls to oa-toolbar-menu-button.tpl.php
- oa_toolbar_block_view in ./
oa_toolbar.module - Implements hook_block_view()
- oa_toolbar_oa_drupal_admin_render in plugins/
content_types/ oa_drupal_admin.inc - Render callback.
File
templates/oa-toolbar-menu-button.tpl.phpView source
<?php
/**
* @file
* Provides the view for the toolbar menu button.
*
* $oa_toolbar_btn_class - Style to append to button
*/
?>
<div id="toolbar-menu-button" class="toggle-tray <?php
print $oa_toolbar_btn_class;
?>">
<?php
if (!empty($icon)) {
?>
<i class="<?php
print $icon;
?>"></i>
<?php
}
?>
<span><?php
print $caption;
?></span>
<?php
if (!empty($show_caret)) {
?>
<span class="caret"></span>
<?php
}
?>
</div>