* @copyright 2004-2007 The SquirrelMail Project Team, Alexandros Vellis * @package plugins * @subpackage avelsieve */ /** * Delete element from array. */ function array_del($array, $place) { $newarray = array(); $n=0; for ($i=0; $i'; if($sub) { if ($default_sub_of_inbox == false ) { $mailboxlist = $mailboxlist."\n".'\n"; } } for ($i = 0; $i < count($boxes); $i++) { $box = $boxes[$i]['unformatted-dm']; $box2 = str_replace(' ', ' ', $boxes[$i]['formatted']); //$box2 = str_replace(' ', ' ', $boxes[$i]['formatted']); if (strtolower($imap_server_type) != 'courier' || strtolower($box) != 'inbox.trash') { $mailboxlist .= '