[ Index ] |
|
Code source de IMP H3 (4.1.5) |
1 <?php 2 /** 3 * $Horde: imp/expand.php,v 1.16.10.6 2007/01/02 13:54:54 jan Exp $ 4 * 5 * Copyright 2002-2007 Jan Schneider <jan@horde.org> 6 * 7 * See the enclosed file COPYING for license information (GPL). If you 8 * did not receive this file, see http://www.fsf.org/copyleft/gpl.html. 9 */ 10 11 $no_compress = true; 12 $authentication = 'horde'; 13 14 @define('IMP_BASE', dirname(__FILE__)); 15 require_once IMP_BASE . '/lib/base.php'; 16 17 $actionID = Util::getFormData('actionID'); 18 19 if ($actionID == 'expand_addresses') { 20 $form_name = Util::getFormData('form_name'); 21 $field_name = Util::getFormData('field_name'); 22 $field_value = Util::getFormData('field_value'); 23 24 $address = IMP::expandAddresses($field_value, true); 25 if (is_a($address, 'PEAR_Error') && 26 $conf['compose']['add_maildomain_to_unexpandable']) { 27 $addrString = preg_replace('/,\s+/', ',', $field_value); 28 $address = MIME::encodeAddress($addrString, null, $_SESSION['imp']['maildomain']); 29 } 30 } 31 32 require IMP_TEMPLATES . '/compose/expand.inc';
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Thu Nov 29 12:30:07 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |