Add toggle all checkbox and plugin output section in nav bar
[squirrelmail.git] / templates / default / webmail.tpl
1 <?php
2 /**
3 * webmail.tpl
4 *
5 * Template for rendering the main squirrelmail window
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.
11 *
12 * @copyright &copy; 1999-2006 The SquirrelMail Project Team
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 */
23 extract($t);
24
25 $output = '';
26 if ($nav_on_left) {
27 $output .= "<frameset cols=\"$nav_size, *\" id=\"fs1\">\n";
28 }
29 else {
30 $output .= "<frameset cols=\"*, $nav_size\" id=\"fs1\">\n";
31 }
32
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";
35
36 if ($nav_on_left) {
37 $output .= $left_frame . $right_frame;
38 } else {
39 $output .= $right_frame . $left_frame;
40 }
41
42 echo $output ."\n</frameset>\n</html>";