summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.26/modules/toolbar/toolbar.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.26/modules/toolbar/toolbar.tpl.php')
-rw-r--r--kolab.org/www/drupal-7.26/modules/toolbar/toolbar.tpl.php39
1 files changed, 39 insertions, 0 deletions
diff --git a/kolab.org/www/drupal-7.26/modules/toolbar/toolbar.tpl.php b/kolab.org/www/drupal-7.26/modules/toolbar/toolbar.tpl.php
new file mode 100644
index 0000000..e852129
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/modules/toolbar/toolbar.tpl.php
@@ -0,0 +1,39 @@
+<?php
+
+/**
+ * @file
+ * Default template for admin toolbar.
+ *
+ * Available variables:
+ * - $classes: String of classes that can be used to style contextually through
+ * CSS. It can be manipulated through the variable $classes_array from
+ * preprocess functions. The default value has the following:
+ * - toolbar: The current template type, i.e., "theming hook".
+ * - $toolbar['toolbar_user']: User account / logout links.
+ * - $toolbar['toolbar_menu']: Top level management menu links.
+ * - $toolbar['toolbar_drawer']: A place for extended toolbar content.
+ *
+ * Other variables:
+ * - $classes_array: Array of html class attribute values. It is flattened
+ * into a string within the variable $classes.
+ *
+ * @see template_preprocess()
+ * @see template_preprocess_toolbar()
+ *
+ * @ingroup themeable
+ */
+?>
+<div id="toolbar" class="<?php print $classes; ?> clearfix">
+ <div class="toolbar-menu clearfix">
+ <?php print render($toolbar['toolbar_home']); ?>
+ <?php print render($toolbar['toolbar_user']); ?>
+ <?php print render($toolbar['toolbar_menu']); ?>
+ <?php if ($toolbar['toolbar_drawer']):?>
+ <?php print render($toolbar['toolbar_toggle']); ?>
+ <?php endif; ?>
+ </div>
+
+ <div class="<?php echo $toolbar['toolbar_drawer_classes']; ?>">
+ <?php print render($toolbar['toolbar_drawer']); ?>
+ </div>
+</div>