diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-04 03:57:19 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-04 03:57:19 +0000 |
commit | 37b78e02594e95ac059a69fe47ee62bf24ce5db5 (patch) | |
tree | 25c2d9222d30847680ddf664a1a8565868163408 /modules/system | |
parent | 89586bac91ecdd20255f615abd7993dc79092a50 (diff) | |
download | brdo-37b78e02594e95ac059a69fe47ee62bf24ce5db5.tar.gz brdo-37b78e02594e95ac059a69fe47ee62bf24ce5db5.tar.bz2 |
#646874 by sun and David_Rothstein: Remove assumptions about Contextual links and Shortcut modules from template files.
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/page.tpl.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/system/page.tpl.php b/modules/system/page.tpl.php index da5219774..7324c7430 100644 --- a/modules/system/page.tpl.php +++ b/modules/system/page.tpl.php @@ -34,7 +34,13 @@ * - $breadcrumb: The breadcrumb trail for the current page. * * Page content (in order of occurrence in the default page.tpl.php): + * - $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: The page title, for use in the actual HTML content. + * - $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. * - $messages: HTML for status and error messages. Should be displayed * prominently. * - $tabs (array): Tabs linking to any sub-pages beneath the current page @@ -113,7 +119,9 @@ <div id="content" class="column"><div class="section"> <?php if ($page['highlight']): ?><div id="highlight"><?php print render($page['highlight']); ?></div><?php endif; ?> <a id="main-content"></a> + <?php print render($title_prefix); ?> <?php if ($title): ?><h1 class="title" id="page-title"><?php print $title; ?></h1><?php endif; ?> + <?php print render($title_suffix); ?> <?php if ($tabs): ?><div class="tabs"><?php print render($tabs); ?></div><?php endif; ?> <?php print render($page['help']); ?> <?php if ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?> |