~ubuntu-branches/ubuntu/quantal/squirrelmail/quantal

« back to all changes in this revision

Viewing changes to src/right_main.php

  • Committer: Bazaar Package Importer
  • Author(s): Thijs Kinkhorst
  • Date: 2008-09-28 16:33:48 UTC
  • mfrom: (11.1.7 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080928163348-hgxf8au2d4zspabg
Tags: 2:1.4.15-3
Cookies sent over HTTPS will now be confined to HTTPS only
(cookie secure flag) and more support for the HTTPOnly cookie
attribute. Patch taken from upstream release.
(CVE-2008-3663, closes: #499942)

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 * This is where the mailboxes are listed. This controls most of what
7
7
 * goes on in SquirrelMail.
8
8
 *
9
 
 * @copyright © 1999-2006 The SquirrelMail Project Team
 
9
 * @copyright © 1999-2007 The SquirrelMail Project Team
10
10
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
11
 
 * @version $Id: right_main.php,v 1.104.2.17 2006/12/02 15:10:13 kink Exp $
 
11
 * @version $Id: right_main.php 12768 2007-11-19 04:20:34Z jangliss $
12
12
 * @package squirrelmail
13
13
 */
14
14
 
 
15
/** This is the right_main page */
 
16
define('PAGE_NAME', 'right_main');
 
17
 
15
18
/**
16
19
 * Path for SquirrelMail required files.
17
20
 * @ignore
20
23
 
21
24
/* SquirrelMail required files. */
22
25
require_once(SM_PATH . 'include/validate.php');
23
 
require_once(SM_PATH . 'functions/global.php');
24
26
require_once(SM_PATH . 'functions/imap.php');
25
27
require_once(SM_PATH . 'functions/date.php');
26
28
require_once(SM_PATH . 'functions/mime.php');
27
29
require_once(SM_PATH . 'functions/mailbox_display.php');
28
30
require_once(SM_PATH . 'functions/display_messages.php');
29
31
require_once(SM_PATH . 'functions/html.php');
30
 
require_once(SM_PATH . 'functions/plugin.php');
31
32
 
32
33
/***********************************************************
33
34
 * incoming variables from URL:                            *
71
72
if ( sqgetGlobalVar('newsort', $temp, SQ_GET) ) {
72
73
  $newsort = (int) $temp;
73
74
}
 
75
if ( !sqgetGlobalVar('preselected', $preselected, SQ_GET) || !is_array($preselected)) {
 
76
  $preselected = array();
 
77
} else {
 
78
  $preselected = array_keys($preselected);
 
79
}
74
80
if ( sqgetGlobalVar('checkall', $temp, SQ_GET) ) {
75
81
  $checkall = (int) $temp;
76
82
}
233
239
 
234
240
echo '</body></html>';
235
241
 
236
 
?>