print.pre.php 599 B

123456789101112131415161718192021222324
  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);
  12. $footer_message_msg = variable_get('footer_message_msg', '');
  13. // print '<pre>';
  14. // print_r($footer_message_msg);
  15. // print '</pre>';
  16. $vars['site_footer'] = $footer_message_msg['value'];