Folder list not skipping INBOX for Courier; case seems to matter
[squirrelmail.git] / src / printer_friendly_top.php
1 <?php
2 /**
3 * printer_friendly top frame
4 *
5 * top frame of printer_friendly_main.php
6 * displays some javascript buttons for printing & closing
7 *
8 * @copyright (c) 1999-2004 The SquirrelMail Project Team
9 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
10 * @version $Id$
11 * @package squirrelmail
12 */
13
14 /**
15 * Path for SquirrelMail required files.
16 * @ignore
17 */
18 define('SM_PATH','../');
19
20 /* SquirrelMail required files. */
21 require_once(SM_PATH . 'include/validate.php');
22
23 displayHtmlHeader( _("Printer Friendly"),
24 "<script language=\"javascript\" type=\"text/javascript\">\n".
25 "<!--\n".
26 "function printPopup() {\n".
27 "parent.frames[1].focus();\n".
28 "parent.frames[1].print();\n".
29 "}\n".
30 "-->\n".
31 "</script>\n", FALSE );
32
33
34 echo '<body text="'.$color[8].'" bgcolor="'.$color[3].'" link="'.$color[7].'" vlink="'.$color[7].'" alink="'.$color[7]."\">\n" .
35 html_tag( 'div',
36 '<b>'.
37 '<form>'.
38 '<input type="button" value="' . _("Print") . '" onclick="printPopup()" /> '.
39 '<input type="button" value="' . _("Close") . '" onclick="window.parent.close()" />'.
40 '</form>'.
41 '</b>',
42 'right' );
43 ?>
44 </body></html>