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