~ubuntu-branches/ubuntu/hardy/squirrelmail/hardy-updates

« back to all changes in this revision

Viewing changes to src/right_main.php

  • Committer: Bazaar Package Importer
  • Author(s): Thijs Kinkhorst
  • Date: 2006-07-04 14:49:23 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060704144923-w5l1xdbivclpkmda
Tags: 2:1.4.7-1
* New upstream bugfix release.
  + Addresses some low-impact, theoretical or disputed security bugs,
    for which the code is tightened just-in-case:
    - Possible local file inclusion (Closes: #373731, CVE-2006-2842)
    - XSS in search.php (Closes: #375782, CVE-2006-3174)
  + Adds note to db-backend.txt about postgreSQL (Closes: #376605).

* Checked for standards version to 3.7.2, no changes necessary.
* Update maintainer address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
/**
4
4
 * right_main.php
5
5
 *
6
 
 * Copyright (c) 1999-2006 The SquirrelMail Project Team
7
 
 * Licensed under the GNU GPL. For full terms see the file COPYING.
8
 
 *
9
6
 * This is where the mailboxes are listed. This controls most of what
10
7
 * goes on in SquirrelMail.
11
8
 *
12
 
 * @version $Id: right_main.php,v 1.104.2.12 2006/02/03 22:27:55 jervfors Exp $
 
9
 * @copyright © 1999-2006 The SquirrelMail Project Team
 
10
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
 
11
 * @version $Id: right_main.php,v 1.104.2.15 2006/06/02 02:52:15 jangliss Exp $
13
12
 * @package squirrelmail
14
13
 */
15
14
 
132
131
}
133
132
 
134
133
/* decide if we are thread sorting or not */
135
 
if ($allow_thread_sort == TRUE) {
 
134
if (!empty($allow_thread_sort) && ($allow_thread_sort == TRUE)) {
136
135
    if (isset($set_thread)) {
137
136
        if ($set_thread == 1) {
138
137
            setPref($data_dir, $username, "thread_$mailbox", 1);
220
219
 
221
220
    $numMessages = sqimap_get_num_messages ($imapConnection, $mailbox);
222
221
 
 
222
    // set 8th argument to false in order to make sure that cache is not used.
223
223
    showMessagesForMailbox($imapConnection, $mailbox, $numMessages,
224
224
                           $startMessage, $sort, $color, $show_num,
225
 
                           $use_mailbox_cache);
 
225
                           false);
226
226
 
227
227
    if (sqsession_is_registered('msgs') && isset($msgs)) {
228
228
        sqsession_register($msgs, 'msgs');
239
239
 
240
240
echo '</body></html>';
241
241
 
242
 
?>
 
 
b'\\ No newline at end of file'
 
242
?>