2da1f5a69af82c8c7c4c11f54de02f47eec5730c
4 * webmail.php -- Displays the main frameset
6 * This file generates the main frameset. The files that are
7 * shown can be given as parameters. If the user is not logged in
8 * this file will verify username and password.
10 * @copyright © 1999-2006 The SquirrelMail Project Team
11 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
13 * @package squirrelmail
17 * Include the SquirrelMail initialization file.
19 require('../include/init.php');
21 if (sqgetGlobalVar('sort', $sort)) {
25 if (sqgetGlobalVar('startMessage', $startMessage)) {
26 $startMessage = (int) $startMessage;
29 if (!sqgetGlobalVar('mailbox', $mailbox)) {
33 sqgetGlobalVar('right_frame', $right_frame, SQ_GET
);
35 if(!sqgetGlobalVar('mailto', $mailto)) {
39 do_hook('webmail_top');
41 $oTemplate->assign('org_title',$org_title);
42 $oTemplate->assign('mailto',$mailto);
43 $oTemplate->assign('startMessage',$startMessage);
44 $oTemplate->assign('mailbox',$mailbox);
45 $oTemplate->assign('sort',$sort);
46 $oTemplate->assign('username',$username);
47 $oTemplate->assign('delimiter',$delimiter);
48 $oTemplate->assign('onetimepad',$onetimepad);
49 $oTemplate->assign('languages',$languages);
50 $oTemplate->assign('default_left_size',$default_left_size);
51 $oTemplate->assign('right_frame',$right_frame);
53 $oTemplate->display('webmail.tpl');
55 $oTemplate->display('footer.tpl');