4 ** printer_friendly_top.php
6 ** Copyright (c) 1999-2000 The SquirrelMail development team
7 ** Licensed under the GNU GPL. For full terms see the file COPYING.
9 ** top frame of printer_friendly_main.php
10 ** displays some javascript buttons for printing & closing
15 require_once('../src/validate.php');
16 require_once('../functions/strings.php');
17 require_once('../config/config.php');
18 require_once('../src/load_prefs.php');
21 <!DOCTYPE HTML
PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">
24 <script language
="javascript">
26 function printPopup() {
27 parent
.frames
[1].focus();
28 parent
.frames
[1].print();
37 printf ('<LINK REL="stylesheet" TYPE="text/css" HREF="%s">', $theme_css);
42 printf('<body text="%s" bgcolor="%s" link="%s" vlink="%s" alink="%s">',
43 $color[8], $color[3], $color[7], $color[7], $color[7]);
45 <table width
="100%" height
="100%" cellpadding
="0" cellspacing
="0" border
="0"><tr
><td valign
="middle" align
="center">
48 <input type
="button" value
="Print" onClick
="printPopup()">
49 <input type
="button" value
="Close Window" onClick
="window.parent.close()">