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

« back to all changes in this revision

Viewing changes to functions/display_messages.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
 * display_messages.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 contains all messages, including information, error, and just
10
7
 * about any other message you can think of.
11
8
 *
12
 
 * @version $Id: display_messages.php,v 1.57.2.20 2006/02/03 22:27:47 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: display_messages.php,v 1.57.2.22 2006/05/14 17:45:29 tokul Exp $
13
12
 * @package squirrelmail
14
13
 */
15
14
 
24
23
              '<tr><td align="center">'.
25
24
              '<a href="'.sqm_baseuri()."src/right_main.php?sort=$sort&amp;startMessage=$startMessage&amp;mailbox=$urlMailbox\">".
26
25
              sprintf (_("Click here to return to %s"),
27
 
                  imap_utf7_decode_local($mailbox)).
 
26
                  htmlspecialchars(imap_utf7_decode_local($mailbox))).
28
27
              '</a></td></tr>';
29
28
    error_box($string, $color);
30
29
}