fix string, thanks Thierry Godefroy
[squirrelmail.git] / templates / default / printer_friendly_top.tpl
1 <?php
2 /**
3 * printer_friendly_top.tpl
4 *
5 * Top frame of the printer-friendly window. Bt default, this is only displayed
6 * when javascript is enabled.
7 *
8 * There are no additional variables given to this template.
9 *
10 * @copyright &copy; 1999-2006 The SquirrelMail Project Team
11 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
12 * @version $Id$
13 * @package squirrelmail
14 * @subpackage templates
15 */
16
17 /** add required includes **/
18
19 /** extract template variables **/
20 extract($t);
21
22 /** Begin template **/
23 ?>
24 <script type="text/javascript">
25 <!--
26 function printPopup() {
27 parent.frames[1].focus();
28 parent.frames[1].print();
29 }
30 -->
31 </script>
32 <div class="printerFriendlyTop">
33 <table class="table_blank" cellspacing="0">
34 <tr>
35 <td>
36 <input type="button" value="<?php echo _("Print"); ?>" onclick="printPopup()" />
37 <input type="button" value="<?php echo _("Close"); ?>" onclick="window.parent.close()" />
38 </td>
39 </tr>
40 </table>
41 </div>