You are here

template.php in Page Title 5.2

Same filename and directory in other branches
  1. 5 template.php
  2. 6 template.php

File

template.php
View source
<?php

function _phptemplate_variables($hook, $vars) {
  $vars = array();
  if ($hook == 'page') {
    if (module_exists('page_title')) {
      $vars['head_title'] = page_title_page_get_title();
    }
  }
  return $vars;
}

Functions