print.pre.php 413 B

12345678910111213141516
  1. <?php
  2. // print '<pre>';
  3. // print_r($vars);
  4. // print '</pre>';
  5. $vars['print']['site_name'] = variable_get('site_name', '');
  6. $vars['print']['site_slogan'] = variable_get('site_slogan', '');
  7. $site_title = array();
  8. // $site_title[] = $vars['print']['title'];
  9. $site_title[] = $vars['print']['site_name'];
  10. $site_title[] = $vars['print']['site_slogan'];
  11. $vars['print']['site_title'] = implode(' | ', $site_title);