PageRenderTime 25ms CodeModel.GetById 25ms RepoModel.GetById 1ms app.codeStats 0ms

/sites/all/themes/BCTA/templates/print.tpl.php

https://bitbucket.org/luckyape/bcta
PHP | 31 lines | 22 code | 2 blank | 7 comment | 0 complexity | 1ac4617baab6e1c552e7794979b9dd1d MD5 | raw file
Possible License(s): LGPL-2.1, GPL-2.0, AGPL-1.0, AGPL-3.0, MIT
  1. <?php
  2. // $Id: print.tpl.php,v 1.8.2.15 2009/07/09 12:00:52 jcnventura Exp $
  3. /**
  4. * @file
  5. * Default print module template
  6. *
  7. * @ingroup print
  8. */
  9. ?>
  10. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  11. <html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $print['language']; ?>" xml:lang="<?php print $print['language']; ?>">
  12. <head>
  13. <?php print $print['head']; ?>
  14. <title><?php print $print['title']; ?></title>
  15. <?php print $print['scripts']; ?>
  16. <?php print $print['robots_meta']; ?>
  17. <?php print $print['base_href']; ?>
  18. <?php print $print['favicon']; ?>
  19. <?php print $print['css']; ?>
  20. </head>
  21. <body<?php print $print['sendtoprinter']; ?>>
  22. <div class="print-logo"><?php
  23. global $base_url, $base_path;
  24. echo '<a href="'.$base_url.'"><img alt="BCTA Bulletin" src="'.$base_url.'/'.path_to_theme().'/images/wrapper/bcta_header_mail.jpg" /></a>';?>
  25. </div>
  26. <h1 class="print-title"><?php print $print['title']; ?></h1>
  27. <div class="print-content"><?php print $print['content']; ?></div>
  28. </body>
  29. </html>