2009-07-04 05:37:30 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Default template for admin toolbar.
|
|
|
|
*
|
|
|
|
* Available variables:
|
2012-08-03 15:31:18 +00:00
|
|
|
* - $attributes: An instance of Attributes class that can be manipulated as an
|
|
|
|
* array and printed as a string.
|
|
|
|
* It includes the 'class' information, which includes:
|
2009-10-27 04:12:39 +00:00
|
|
|
* - toolbar: The current template type, i.e., "theming hook".
|
2009-07-04 05:37:30 +00:00
|
|
|
* - $toolbar['toolbar_user']: User account / logout links.
|
|
|
|
* - $toolbar['toolbar_menu']: Top level management menu links.
|
2009-10-17 00:51:53 +00:00
|
|
|
* - $toolbar['toolbar_drawer']: A place for extended toolbar content.
|
2009-07-04 05:37:30 +00:00
|
|
|
*
|
|
|
|
* @see template_preprocess()
|
2009-10-27 04:12:39 +00:00
|
|
|
* @see template_preprocess_toolbar()
|
2009-07-04 05:37:30 +00:00
|
|
|
*/
|
|
|
|
?>
|
2012-08-03 15:31:18 +00:00
|
|
|
<nav id="toolbar" role="navigation" class="<?php print $attributes['class']; ?> clearfix" <?php print $attributes; ?>>
|
2009-07-04 05:37:30 +00:00
|
|
|
<div class="toolbar-menu clearfix">
|
2009-12-16 19:41:22 +00:00
|
|
|
<?php print render($toolbar['toolbar_home']); ?>
|
2009-11-15 21:13:26 +00:00
|
|
|
<?php print render($toolbar['toolbar_user']); ?>
|
|
|
|
<?php print render($toolbar['toolbar_menu']); ?>
|
2009-10-17 00:51:53 +00:00
|
|
|
<?php if ($toolbar['toolbar_drawer']):?>
|
2009-11-15 21:13:26 +00:00
|
|
|
<?php print render($toolbar['toolbar_toggle']); ?>
|
2009-10-17 00:51:53 +00:00
|
|
|
<?php endif; ?>
|
2009-07-04 05:37:30 +00:00
|
|
|
</div>
|
|
|
|
|
2011-09-21 09:50:30 +00:00
|
|
|
<?php print render($toolbar['toolbar_drawer']); ?>
|
2012-01-27 15:17:34 +00:00
|
|
|
</nav>
|