/[drupal]/drupal/modules/toolbar/toolbar.tpl.php
ViewVC logotype

Contents of /drupal/modules/toolbar/toolbar.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.6 - (show annotations) (download) (as text)
Tue Oct 27 04:12:39 2009 UTC (4 weeks, 3 days ago) by webchick
Branch: MAIN
CVS Tags: DRUPAL-7-0-UNSTABLE-10
Changes since 1.5: +11 -3 lines
File MIME type: text/x-php
#610204 by effulgentsia, Gábor Hojtsy, sun, Damien Tournoud and ksenzee: API changes to support overlays: lays ground work for implementation.
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>

  ViewVC Help
Powered by ViewVC 1.1.2