toolbar.tpl.php

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  1. cis7 modules/toolbar/toolbar.tpl.php
  2. cle7 modules/toolbar/toolbar.tpl.php
  3. ecd7 modules/toolbar/toolbar.tpl.php
  4. elmsmedia7 modules/toolbar/toolbar.tpl.php
  5. harmony7 modules/toolbar/toolbar.tpl.php
  6. icor7 modules/toolbar/toolbar.tpl.php
  7. meedjum_blog7 modules/toolbar/toolbar.tpl.php
  8. mooc7 modules/toolbar/toolbar.tpl.php

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 also

template_preprocess()

template_preprocess_toolbar()

15 string references to the theme hook from toolbar.tpl.php

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

admin_menu_toolbar_page_build in sites/all/modules/ulmus/admin_menu/admin_menu_toolbar/admin_menu_toolbar.module
Implementation of hook_page_build().
environment_indicator_admin_menu_output_alter in sites/all/modules/ulmus/environment_indicator/environment_indicator.module
Implements hook_admin_menu_output_alter().
environment_indicator_ctools_export_ui_form_submit in sites/all/modules/ulmus/environment_indicator/environment_indicator.module
Submit callback for environment_indicator_ctools_export_ui_form
environment_indicator_needs_js in sites/all/modules/ulmus/environment_indicator/environment_indicator.module
Helper function to check if the JS needs to be included.
environment_indicator_page_build in sites/all/modules/ulmus/environment_indicator/environment_indicator.module
Implements hook_page_build().

... See full list

File

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

Related topics

Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.