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

« back to all changes in this revision

Viewing changes to plugins/mail_fetch/options.php

  • Committer: Bazaar Package Importer
  • Author(s): Thijs Kinkhorst
  • Date: 2005-02-06 21:41:51 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050206214151-z4n1o8mnttgzuj0y
Tags: 2:1.4.4-3
* Move default_pref config file from /var to /etc, as per Debian policy
  (Closes: #293281)
* [JvW] (finally) override two lintian warnings about nonstandard
  permissions that are intentional (Closes: #293366)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
/**
4
4
 * mail_fetch/options.php
5
5
 *
6
 
 * Copyright (c) 1999-2003 The SquirrelMail Project Team
 
6
 * Copyright (c) 1999-2005 The SquirrelMail Project Team
7
7
 * Licensed under the GNU GPL. For full terms see the file COPYING.
8
8
 *
9
9
 * Setup of the mailfetch plugin.
10
10
 *
11
 
 * $Id: options.php,v 1.28 2003/12/01 21:56:50 cigamit Exp $
12
 
 * @package plugins
13
 
 * @subpackage mail_fetch
 
11
 * $Id: options.php,v 1.21.2.8 2004/12/27 15:03:58 kink Exp $
14
12
 */
15
13
 
16
 
/** @ignore */
17
14
define('SM_PATH','../../');
18
15
 
19
16
require_once(SM_PATH . 'include/validate.php');
162
159
            html_tag( 'table',
163
160
                html_tag( 'tr',
164
161
                    html_tag( 'td',
165
 
                        _("You should be aware that the encryption used to store your password is not perfectly secure.  However, if you are using pop, there is inherently no encryption anyway. Additionally, the encryption that we do to save it on the server can be undone by a hacker reading the source to this file." ) ,
 
162
                        _("You should be aware that the encryption used to store your password is not perfectly secure. However, if you are using pop, there is inherently no encryption anyway. Additionally, the encryption that we do to save it on the server can be undone by a hacker reading the source to this file." ) ,
166
163
                    'left' )
167
164
                ) .
168
165
                html_tag( 'tr',
281
278
                    html_tag( 'td',
282
279
                        "<INPUT TYPE=\"hidden\" NAME=\"mf_sn\" VALUE=\"$mf_sn\">" .
283
280
                        '<INPUT TYPE="hidden" NAME="mf_action" VALUE="confirm_delete">' .
284
 
                        '<br>' . _("Selected Server:") . " <b>" . htmlentities($mailfetch_server_[$mf_sn]) . "</b><br>" .
 
281
                        '<br>' . _("Selected Server:") . " <b>" . htmlspecialchars($mailfetch_server_[$mf_sn]) . "</b><br>" .
285
282
                        _("Confirm delete of selected server?") . '<br><br>' .
286
283
                        '<input type=submit name=submit_mailfetch value="' . _("Confirm Delete") . '">' .
287
284
                        '<br></form>' ,
308
305
            html_tag( 'table' ) .
309
306
                html_tag( 'tr',
310
307
                    html_tag( 'th', _("Server:"), 'right' ) .
311
 
                    html_tag( 'td', '<input type="text" name="mf_server" value="' . htmlentities($mailfetch_server_[$mf_sn]) . '" size="40">', 'left' )
 
308
                    html_tag( 'td', '<input type="text" name="mf_server" value="' . htmlspecialchars($mailfetch_server_[$mf_sn]) . '" size="40">', 'left' )
312
309
                ) .
313
310
                html_tag( 'tr',
314
311
                    html_tag( 'th', _("Port:"), 'right' ) .
315
 
                    html_tag( 'td', '<input type="text" name="mf_port" value="' . $mailfetch_port_[$mf_sn] . '" size="40">', 'left' )
 
312
                    html_tag( 'td', '<input type="text" name="mf_port" value="' . htmlspecialchars($mailfetch_port_[$mf_sn]) . '" size="40">', 'left' )
316
313
                ) .
317
314
                html_tag( 'tr',
318
315
                    html_tag( 'th', _("Alias:"), 'right' ) .
319
 
                    html_tag( 'td', '<input type="text" name="mf_alias" value="' . htmlentities($mailfetch_alias_[$mf_sn]) . '" size="40">', 'left' )
 
316
                    html_tag( 'td', '<input type="text" name="mf_alias" value="' . htmlspecialchars($mailfetch_alias_[$mf_sn]) . '" size="40">', 'left' )
320
317
                ) .
321
318
                html_tag( 'tr',
322
319
                    html_tag( 'th', _("Username:"), 'right' ) .
323
 
                    html_tag( 'td', '<input type="text" name="mf_user" value="' . $mailfetch_user_[$mf_sn] . '" size="20">', 'left' )
 
320
                    html_tag( 'td', '<input type="text" name="mf_user" value="' . htmlspecialchars($mailfetch_user_[$mf_sn]) . '" size="20">', 'left' )
324
321
                ) .
325
322
                html_tag( 'tr',
326
323
                    html_tag( 'th', _("Password:"), 'right' ) .
327
 
                    html_tag( 'td', '<input type="password" name="mf_pass" value="' . $mailfetch_pass_[$mf_sn] . '" size="20">', 'left' )
 
324
                    html_tag( 'td', '<input type="password" name="mf_pass" value="' . htmlspecialchars($mailfetch_pass_[$mf_sn]) . '" size="20">', 'left' )
328
325
                ) .
329
326
                html_tag( 'tr' ) .
330
327
                    html_tag( 'th', _("Store in Folder:"), 'right' ) .