function devel_themer_post_process_page

cis7 devel_themer.module devel_themer_post_process_page($page, $elements)
cle7 devel_themer.module devel_themer_post_process_page($page, $elements)
elmsmedia7 devel_themer.module devel_themer_post_process_page($page, $elements)
icor7 devel_themer.module devel_themer_post_process_page($page, $elements)
meedjum_blog7 devel_themer.module devel_themer_post_process_page($page, $elements)
mooc7 devel_themer.module devel_themer_post_process_page($page, $elements)
1 string reference to 'devel_themer_post_process_page'
devel_themer_page_alter in sites/all/modules/ulmus/devel_themer/devel_themer.module
Implements hook_page_alter().

File

sites/all/modules/ulmus/devel_themer/devel_themer.module, line 638

Code

function devel_themer_post_process_page($page, $elements) {
  if (!empty($GLOBALS['devel_theme_calls']) && $_SERVER['REQUEST_METHOD'] != 'POST') {
    $GLOBALS['devel_theme_calls']['devel_themer_uri'] = url("devel_themer/variables");
    $javascript = '<script type="text/javascript">jQuery.extend(Drupal.settings, ' . drupal_json_encode($GLOBALS['devel_theme_calls']) . ");</script>\n";
    $page = preg_replace('#</body>#', "\n$javascript\n</body>", $page, 1);
  }
  return $page;
}