4
4
* mail_fetch/options.php
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.
9
9
* Setup of the mailfetch plugin.
11
* $Id: options.php,v 1.28 2003/12/01 21:56:50 cigamit Exp $
13
* @subpackage mail_fetch
11
* $Id: options.php,v 1.21.2.8 2004/12/27 15:03:58 kink Exp $
17
14
define('SM_PATH','../../');
19
16
require_once(SM_PATH . 'include/validate.php');
162
159
html_tag( 'table',
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." ) ,
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") . '">' .
308
305
html_tag( 'table' ) .
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' )
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' )
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' )
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' )
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' )
329
326
html_tag( 'tr' ) .
330
327
html_tag( 'th', _("Store in Folder:"), 'right' ) .