4 * printer_friendly top frame
6 * top frame of printer_friendly_main.php
7 * displays some javascript buttons for printing & closing
9 * @copyright © 1999-2006 The SquirrelMail Project Team
10 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
12 * @package squirrelmail
16 * Include the SquirrelMail initialization file.
18 include('../include/init.php');
21 displayHtmlHeader( _("Printer Friendly"),
22 "<script type=\"text/javascript\">\n".
24 "function printPopup() {\n".
25 "parent.frames[1].focus();\n".
26 "parent.frames[1].print();\n".
29 "</script>\n", FALSE );
32 echo '<body text="'.$color[8].'" bgcolor="'.$color[3].'" link="'.$color[7].'" vlink="'.$color[7].'" alink="'.$color[7]."\">\n" .
35 '<input type="button" value="' . _("Print") . '" onclick="printPopup()" /> '.
36 '<input type="button" value="' . _("Close") . '" onclick="window.parent.close()" />'.
40 $oTemplate->display('footer.tpl');