| 1 |
<?php
|
| 2 |
// $Id: toolbar.tpl.php,v 1.5 2009/10/17 00:51:53 dries Exp $
|
| 3 |
|
| 4 |
/**
|
| 5 |
* @file
|
| 6 |
* Default template for admin toolbar.
|
| 7 |
*
|
| 8 |
* Available variables:
|
| 9 |
* - $classes: String of classes that can be used to style contextually through
|
| 10 |
* CSS. It can be manipulated through the variable $classes_array from
|
| 11 |
* preprocess functions. The default value has the following:
|
| 12 |
* - toolbar: The current template type, i.e., "theming hook".
|
| 13 |
* - $toolbar['toolbar_user']: User account / logout links.
|
| 14 |
* - $toolbar['toolbar_menu']: Top level management menu links.
|
| 15 |
* - $toolbar['toolbar_drawer']: A place for extended toolbar content.
|
| 16 |
*
|
| 17 |
* Other variables:
|
| 18 |
* - $classes_array: Array of html class attribute values. It is flattened
|
| 19 |
* into a string within the variable $classes.
|
| 20 |
*
|
| 21 |
* @see template_preprocess()
|
| 22 |
* @see template_preprocess_toolbar()
|
| 23 |
*/
|
| 24 |
?>
|
| 25 |
<div id="toolbar" class="<?php print $classes; ?> clearfix">
|
| 26 |
<div class="toolbar-menu clearfix">
|
| 27 |
<?php if ($toolbar['toolbar_drawer']):?>
|
| 28 |
<span class="toggle toggle-active"><?php print t('Open'); ?></span>
|
| 29 |
<?php endif; ?>
|
| 30 |
<?php print render($toolbar['toolbar_menu']); ?>
|
| 31 |
<?php print render($toolbar['toolbar_user']); ?>
|
| 32 |
</div>
|
| 33 |
|
| 34 |
<div class="toolbar-drawer clearfix">
|
| 35 |
<?php print render($toolbar['toolbar_drawer']); ?>
|
| 36 |
</div>
|
| 37 |
|
| 38 |
<div class="shadow"></div>
|
| 39 |
</div>
|