| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * printer_friendly_main.php |
| 5 | * |
| 6 | * Copyright (c) 1999-2002 The SquirrelMail Project Team |
| 7 | * Licensed under the GNU GPL. For full terms see the file COPYING. |
| 8 | * |
| 9 | * $Id$ |
| 10 | */ |
| 11 | |
| 12 | /*****************************************************************/ |
| 13 | /*** THIS FILE NEEDS TO HAVE ITS FORMATTING FIXED!!! ***/ |
| 14 | /*** PLEASE DO SO AND REMOVE THIS COMMENT SECTION. ***/ |
| 15 | /*** + Base level indent should begin at left margin, as ***/ |
| 16 | /*** the require_once below looks. ***/ |
| 17 | /*** + All identation should consist of four space blocks ***/ |
| 18 | /*** + Tab characters are evil. ***/ |
| 19 | /*** + all comments should use "slash-star ... star-slash" ***/ |
| 20 | /*** style -- no pound characters, no slash-slash style ***/ |
| 21 | /*** + FLOW CONTROL STATEMENTS (if, while, etc) SHOULD ***/ |
| 22 | /*** ALWAYS USE { AND } CHARACTERS!!! ***/ |
| 23 | /*** + Please use ' instead of ", when possible. Note " ***/ |
| 24 | /*** should always be used in _( ) function calls. ***/ |
| 25 | /*** Thank you for your help making the SM code more readable. ***/ |
| 26 | /*****************************************************************/ |
| 27 | |
| 28 | require_once('../src/validate.php'); |
| 29 | require_once('../functions/page_header.php'); |
| 30 | |
| 31 | displayHtmlHeader( _("Printer Friendly"), '', FALSE ); |
| 32 | |
| 33 | echo "<frameset rows=\"50, *\" noresize border=\"0\">\n". |
| 34 | "<frame src=\"printer_friendly_top.php\" name=\"top_frame\" scrolling=\"off\">". |
| 35 | '<frame src="printer_friendly_bottom.php?passed_ent_id='; |
| 36 | echo $passed_ent_id . '&mailbox=' . urlencode($mailbox) . |
| 37 | '&passed_id=' . $passed_id; |
| 38 | echo "\" name=\"bottom_frame\">". |
| 39 | "</frameset>\n". |
| 40 | "</html>\n"; |
| 41 | |
| 42 | ?> |