Source for file functions.php
Documentation is available at functions.php
/* functions for info plugin
* Copyright (c) 1999-2006 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
* Here are two functions for the info plugin
* The first gets the CAPABILITY response from your IMAP server.
* The second runs the passed IMAP test and returns the results
* The third prints the results of the IMAP command
* $Id: functions.php,v 1.3.2.8 2006/02/03 22:27:52 jervfors Exp $
$query =
"$sid CAPABILITY\r\n";
fputs ($imap_stream, $query);
$query =
"$sid ".
trim($string).
"\r\n";
fputs ($imap_stream, $query);
foreach($response as $index=>
$value) {
* Check if plugin is enabled
* @param string $plugin_name plugin name
if (empty($plugins) ||
! is_array($plugins))
if ( in_array($plugin_name,$plugins) ) {
Documentation generated on Sat, 07 Oct 2006 16:31:22 +0300 by phpDocumentor 1.3.0RC6