Happy New Year
[squirrelmail.git] / templates / default / webmail.tpl
CommitLineData
86030f14 1<?php
86030f14 2/**
3 * webmail.tpl
4 *
5 * Template for rendering the main squirrelmail window
a4467cd7 6 *
7 * The following variables are available in this template:
8 * $nav_size - integer width of the navigation frame
9 * $nav_on_left - boolean TRUE if the mavigation from should be on the
10 * left side of the page. FALSE if it is on the right.
86030f14 11 *
353d074a 12 * @copyright 1999-2018 The SquirrelMail Project Team
86030f14 13 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
14 * @version $Id$
15 * @package squirrelmail
16 * @subpackage templates
17 */
18
19/** add required includes */
20
21
22/** extract variables */
23extract($t);
86030f14 24
a4467cd7 25$output = '';
26if ($nav_on_left) {
27 $output .= "<frameset cols=\"$nav_size, *\" id=\"fs1\">\n";
86030f14 28}
29else {
a4467cd7 30 $output .= "<frameset cols=\"*, $nav_size\" id=\"fs1\">\n";
86030f14 31}
32
a4467cd7 33$left_frame = '<frame src="left_main.php" name="left" frameborder="1" title="'. _("Folder List") .'" />'."\n";
34$right_frame = '<frame src="'.$right_frame_url.'" name="right" frameborder="1" title="'. _("Message List") .'" />'."\n";
86030f14 35
a4467cd7 36if ($nav_on_left) {
37 $output .= $left_frame . $right_frame;
86030f14 38} else {
86030f14 39 $output .= $right_frame . $left_frame;
40}
a4467cd7 41
c2b22517 42echo $output ."\n</frameset>\n</html>";