X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=plugins%2Finfo%2Ffunctions.php;h=36bff635d67d386368d1e2987b4f2404dedef69f;hb=dd0bbc43b28ae8ed9782713d6dda17fd90410d1e;hp=412a2d894b9a5ac5e8dd880e1402d1b0559cf33f;hpb=a9e1e670fab4399260e0790e018393c7dcefcecc;p=squirrelmail.git diff --git a/plugins/info/functions.php b/plugins/info/functions.php index 412a2d89..36bff635 100644 --- a/plugins/info/functions.php +++ b/plugins/info/functions.php @@ -1,25 +1,28 @@ - + * @copyright © 1999-2006 The SquirrelMail Project Team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License + * @version $Id$ * @package plugins * @subpackage info */ /** * Get the IMAP capabilities + * + * @param mixed $imap_stream * @return array + * @access private */ function get_caps($imap_stream) { return sqimap_run_command_list($imap_stream, 'CAPABILITY',false, $responses, $message,false); @@ -27,10 +30,13 @@ function get_caps($imap_stream) { /** * Run an IMAP test and return the results + * + * @param mixed $imap_stream + * @param string $string imap command * @return array Response from the IMAP server + * @access private */ function imap_test($imap_stream, $string) { - global $default_charset; print "".htmlspecialchars($string).""; $response = sqimap_run_command_list($imap_stream, trim($string),false, $responses, $message,false); array_push($response, $responses . ' ' .$message); @@ -39,6 +45,9 @@ function imap_test($imap_stream, $string) { /** * Print the IMAP response to options.php + * + * @param array $response results of imap command + * @access private */ function print_response($response) { foreach($response as $index=>$value) { @@ -50,5 +59,5 @@ function print_response($response) { } } } - -?> + +?> \ No newline at end of file