c51c3965709fc91257f23512678d0d2556df2b5b
[squirrelmail.git] / templates / default / plugins / fortune / mailbox_index_before.tpl
1 <?php
2
3 /**
4 * mailbox_index_before.tpl
5 *
6 * Template for outputting a fortune above the message
7 * list for the fortune plugin.
8 *
9 * The following variables are available in this template:
10 * + $color - SquirrelMail colors array
11 * + $fortune - The fortune string to be displayed
12 *
13 * @copyright &copy; 1999-2006 The SquirrelMail Project Team
14 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
15 * @version $Id$
16 * @package squirrelmail
17 * @subpackage plugins
18 */
19
20
21 // retrieve the template vars
22 //
23 extract($t);
24
25
26 ?>
27 <table cellpadding="0" cellspacing="0" border="0" bgcolor="<?php echo $color[10]; ?>" align="center">
28 <tr>
29 <td>
30 <table width="100%" cellpadding="2" cellspacing="1" border="0" bgcolor="<?php echo $color[5]; ?>">
31 <tr>
32 <td align="center">
33 <table>
34 <tr>
35 <td>
36 <div style="text-align: center;"><em><?php echo _("Today's Fortune"); ?></em></div>
37 <pre>
38 <?php echo $fortune; ?></pre>
39 </td>
40 </tr>
41 </table>
42 </td>
43 </tr>
44 </table>
45 </td>
46 </tr>
47 </table>