diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-07-18 07:05:49 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-07-18 07:05:49 +0000 |
commit | 71f1192f48046e2ac95f272538937cd1b0e4bbc1 (patch) | |
tree | 0846a540b697e403949c36d79f114303215b2186 /includes | |
parent | 306d3b150b1ad18ce41fea6c8f22cf116ed650ce (diff) | |
download | brdo-71f1192f48046e2ac95f272538937cd1b0e4bbc1.tar.gz brdo-71f1192f48046e2ac95f272538937cd1b0e4bbc1.tar.bz2 |
#159804 by myself: closure should be filled last, so we have a predictable place to collect queries and strings used on the page
Diffstat (limited to 'includes')
-rw-r--r-- | includes/theme.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index d53f4d840..f778fe262 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1636,7 +1636,6 @@ function template_preprocess_page(&$variables) { $variables['head_title'] = implode(' | ', $head_title); $variables['base_path'] = base_path(); $variables['breadcrumb'] = theme('breadcrumb', drupal_get_breadcrumb()); - $variables['closure'] = theme('closure'); $variables['feed_icons'] = drupal_get_feeds(); $variables['footer_message'] = filter_xss_admin(variable_get('site_footer', FALSE)) . "\n" . theme('blocks', 'footer'); $variables['head'] = drupal_get_html_head(); @@ -1655,6 +1654,8 @@ function template_preprocess_page(&$variables) { $variables['scripts'] = drupal_get_js(); $variables['tabs'] = theme('menu_local_tasks'); $variables['title'] = drupal_get_title(); + // Closure should be filled last. + $variables['closure'] = theme('closure'); if ((arg(0) == 'node') && is_numeric(arg(1))) { $variables['node'] = node_load(arg(1)); |