projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Happy New Year
[squirrelmail.git]
/
plugins
/
info
/
options.php
diff --git
a/plugins/info/options.php
b/plugins/info/options.php
index 8da3dd9e2e8703c99ac6dad0761845689dea74d4..b14bc67c0c0ef06691c3ab82885da1f77580c46a 100644
(file)
--- a/
plugins/info/options.php
+++ b/
plugins/info/options.php
@@
-6,7
+6,7
@@
* This is where it all happens :)
*
* @author Jason Munro <jason at stdbev.com>
* This is where it all happens :)
*
* @author Jason Munro <jason at stdbev.com>
- * @copyright
© 1999-2006
The SquirrelMail Project Team
+ * @copyright
1999-2018
The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package plugins
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package plugins
@@
-26,7
+26,7
@@
require_once(SM_PATH . 'plugins/info/functions.php');
global $username, $color, $folder_prefix, $default_charset;
$default_charset = strtoupper($default_charset);
global $username, $color, $folder_prefix, $default_charset;
$default_charset = strtoupper($default_charset);
-displayPageHeader($color
, 'None'
);
+displayPageHeader($color);
$mailbox = 'INBOX';
/**
$mailbox = 'INBOX';
/**
@@
-53,7
+53,8
@@
for($i = 0; $i <= 9; $i++){
/* END GLOBALS */
/* END GLOBALS */
-$imap_stream = sqimap_login($username, false, $imapServerAddress, $imapPort, 0);
+global $imap_stream_options; // in case not defined in config
+$imap_stream = sqimap_login($username, false, $imapServerAddress, $imapPort, 0, $imap_stream_options);
$caps_array = get_caps($imap_stream);
$list = array ('TEST_0',
'TEST_1',
$caps_array = get_caps($imap_stream);
$list = array ('TEST_0',
'TEST_1',
@@
-75,7
+76,7
@@
echo '<br /><div style="text-align: center;"><b>'._("IMAP server information")."
"</b><br />\n";
foreach($caps_array[0] as $value) {
"</b><br />\n";
foreach($caps_array[0] as $value) {
- echo
htmlspecial
chars($value);
+ echo
sm_encode_html_special_
chars($value);
}
echo "</td></tr><tr><td>\n";
}
echo "</td></tr><tr><td>\n";
@@
-92,8
+93,8
@@
if (!isset($submit) || $submit == 'default') {
}
}
else {
}
}
else {
- echo 'folder_prefix = ' .
htmlspecial
chars($folder_prefix)."<br />\n" .
- 'default_charset = '.
htmlspecial
chars($default_charset)."\n";
+ echo 'folder_prefix = ' .
sm_encode_html_special_
chars($folder_prefix)."<br />\n" .
+ 'default_charset = '.
sm_encode_html_special_
chars($default_charset)."\n";
}
echo "<br /></td></tr></table><br />\n";
}
echo "<br /></td></tr></table><br />\n";
@@
-203,6
+204,6
@@
sqimap_logout($imap_stream);
*
* Hook allows attaching plugin to bottom of info plugin
*/
*
* Hook allows attaching plugin to bottom of info plugin
*/
-do_hook('info_bottom');
+do_hook('info_bottom'
, $null
);
?>
</body></html>
?>
</body></html>