template.php 234 Bytes
Newer Older
1
2
3
4
5
<?php

function _phptemplate_variables($hook, $vars) {
  $vars = array();
  if ($hook == 'page') {
JohnAlbin's avatar
JohnAlbin committed
6
    if (module_exists('page_title')) {
7
      $vars['head_title'] = page_title_page_get_title();
JohnAlbin's avatar
JohnAlbin committed
8
    }
9
10
  }
  return $vars;
JohnAlbin's avatar
JohnAlbin committed
11
}