print.tpl.php in Printer, email and PDF versions 7
Same filename and directory in other branches
Default print module template
3 theme calls to print.tpl.php
- print_controller_html in ./
print.pages.inc - Generate an HTML version of the printer-friendly page
- print_mail_form_submit in print_mail/
print_mail.inc - Process the send by-email form submission.
- print_pdf_generate_path in print_pdf/
print_pdf.pages.inc
File
print.tpl.phpView 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" />
<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>