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

« back to all changes in this revision

Viewing changes to src/options.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
 * Displays the options page. Pulls from proper user preference files
7
7
 * and config.php. Displays preferences as selected and other options.
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: options.php,v 1.121.2.14 2006/04/14 22:27:08 jervfors Exp $
 
11
 * @version $Id: options.php 12970 2008-02-26 20:28:56Z pdontthink $
12
12
 * @package squirrelmail
13
13
 * @subpackage prefs
14
14
 */
15
15
 
 
16
/** This is the options page */
 
17
define('PAGE_NAME', 'options');
 
18
 
16
19
/**
17
20
 * Path for SquirrelMail required files.
18
21
 * @ignore
44
47
define('SMOPT_PAGE_FOLDER', 'folder');
45
48
define('SMOPT_PAGE_ORDER', 'order');
46
49
 
 
50
/**
 
51
  * Save submitted options and calculate the most 
 
52
  * we need to refresh the page
 
53
  *
 
54
  * @param string $optpage      The name of the page being submitted
 
55
  * @param array  $optpage_data An array of all the submitted options
 
56
  *
 
57
  * @return int The highest level of screen refresh needed per
 
58
  *             the options that were changed.  This value will
 
59
  *             correspond to the SMOPT_REFRESH_* constants found
 
60
  *             in functions/options.php.
 
61
  *
 
62
  */
47
63
function process_optionmode_submit($optpage, $optpage_data) {
48
64
    /* Initialize the maximum option refresh level. */
49
65
    $max_refresh = SMOPT_REFRESH_NONE;
470
486
</table>
471
487
</td></tr>
472
488
</table>
473
 
</body></html>
 
 
b'\\ No newline at end of file'
 
489
</body></html>