You are here

print.tpl.php in Printer, email and PDF versions 6

Default print module template

File

print.tpl.php
View source
<?php

/**
 * @file
 * Default print module template
 *
 * @ingroup print
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php

print $print['language'];
?>" xml:lang="<?php

print $print['language'];
?>">
  <head>
    <?php

print $print['head'];
?>
    <?php

print $print['base_href'];
?>
    <title><?php

print $print['title'];
?></title>
    <?php

print $print['scripts'];
?>
    <?php

print $print['sendtoprinter'];
?>
    <?php

print $print['robots_meta'];
?>
    <?php

print $print['favicon'];
?>
    <?php

print $print['css'];
?>
  </head>
  <body>
    <?php

if (!empty($print['message'])) {
  print '<div class="print-message">' . $print['message'] . '</div><p />';
}
?>
    <div class="print-logo"><?php

print $print['logo'];
?></div>
    <div class="print-site_name"><?php

print $print['site_name'];
?></div>
    <p />
    <div class="print-breadcrumb"><?php

print $print['breadcrumb'];
?></div>
    <hr class="print-hr" />
    <h1 class="print-title"><?php

print $print['title'];
?></h1>
    <div class="print-content"><?php

print $print['content'];
?></div>
    <div class="print-footer"><?php

print $print['footer_message'];
?></div>
    <hr class="print-hr" />
    <div class="print-source_url"><?php

print $print['source_url'];
?></div>
    <div class="print-links"><?php

print $print['pfp_links'];
?></div>
    <?php

print $print['footer_scripts'];
?>
  </body>
</html>

Related topics