Index: includes/theme.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/theme.inc,v retrieving revision 1.557 diff -u -p -r1.557 theme.inc --- includes/theme.inc 2 Dec 2009 14:56:32 -0000 1.557 +++ includes/theme.inc 3 Dec 2009 11:22:34 -0000 @@ -2246,6 +2246,10 @@ function template_preprocess(&$variables $variables['title_attributes_array'] = array(); $variables['content_attributes_array'] = array(); + // Initialize 'title_prefix' and 'title_suffix' renderable arrays. + $variables['title_prefix'] = array(); + $variables['title_suffix'] = array(); + // Set default variables that depend on the database. $variables['is_admin'] = FALSE; $variables['is_front'] = FALSE; Index: modules/block/block.tpl.php =================================================================== RCS file: /cvs/drupal/drupal/modules/block/block.tpl.php,v retrieving revision 1.6 diff -u -p -r1.6 block.tpl.php --- modules/block/block.tpl.php 19 Oct 2009 01:30:06 -0000 1.6 +++ modules/block/block.tpl.php 3 Dec 2009 11:23:04 -0000 @@ -11,7 +11,6 @@ * - $block->module: Module that generated the block. * - $block->delta: An ID for the block, unique within each module. * - $block->region: The block region embedding the current block. - * - $contextual_links (array): An array of contextual links for the block. * - $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 values can be one or more of the following: @@ -19,6 +18,12 @@ * - block-[module]: The module generating the block. For example, the user module * is responsible for handling the default user navigation block. In that case * the class would be "block-user". + * - $title_prefix (array): An array containing additional output populated by + * modules, intended to be displayed in front of the main title tag that + * appears in the template. + * - $title_suffix (array): An array containing additional output populated by + * modules, intended to be displayed after the main title tag that appears in + * the template. * * Helper variables: * - $classes_array: Array of html class attribute values. It is flattened @@ -37,14 +42,12 @@ */ ?>