[ Index ] |
|
Code source de SugarCRM 5.0.0beta1 |
1 <?php 2 if(!defined('sugarEntry'))define('sugarEntry', true); 3 /********************************************************************************* 4 * SugarCRM is a customer relationship management program developed by 5 * SugarCRM, Inc. Copyright (C) 2004 - 2007 SugarCRM Inc. 6 * 7 * This program is free software; you can redistribute it and/or modify it under 8 * the terms of the GNU General Public License version 3 as published by the 9 * Free Software Foundation. 10 * 11 * This program is distributed in the hope that it will be useful, but WITHOUT 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 13 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more 14 * details. 15 * 16 * You should have received a copy of the GNU General Public License along with 17 * this program; if not, see http://www.gnu.org/licenses or write to the Free 18 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 19 * 02110-1301 USA. 20 * 21 * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road, 22 * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com. 23 * 24 * The interactive user interfaces in modified source and object code versions 25 * of this program must display Appropriate Legal Notices, as required under 26 * Section 5 of the GNU General Public License version 3. 27 * 28 * In accordance with Section 7(b) of the GNU General Public License version 3, 29 * these Appropriate Legal Notices must retain the display of the "Powered by 30 * SugarCRM" logo. If the display of the logo is not reasonably feasible for 31 * technical reasons, the Appropriate Legal Notices must display the words 32 * "Powered by SugarCRM". 33 ********************************************************************************/ 34 require_once ('include/entryPoint.php'); 35 require_once ('include/utils/file_utils.php'); 36 // SugarCRM free/busy server 37 // put and get free/busy information for sugarcrm users in vCalendar format. 38 // Uses WebDAV for HTTP PUT and GET methods of access 39 // REQUIRED PHP packages: 40 // 1. PEAR 41 // 42 // Saves PUTs as Freebusy SugarBeans 43 // 44 // documentation on Free/Busy from Microsoft: 45 // http://support.microsoft.com/kb/196484 46 // 47 // other docs: 48 // http://www.windowsitpro.com/MicrosoftExchangeOutlook/Article/ArticleID/7697/7697.html 49 // 50 // excerpt: 51 // You must install the Microsoft Internet Explorer (IE) Web Publishing Wizard to get 52 // the functionality you need to publish Internet free/busy data to a server or the Web. 53 // You can install this wizard from Control Panel, Add/Remove Programs, Microsoft Internet 54 // Explorer, Web Publishing Wizard. For every user, you must configure the path and filename 55 // where you want Outlook to store free/busy information. You configure this location on the 56 // Free/Busy Options dialog box you see in Screen 2. You must initiate publishing manually by 57 // using Tools, Send/Receive, Free/Busy Information in Outlook. 58 // 59 // To access a non-Exchange Server user's free/busy information, you must configure the 60 // appropriate path on each contact's Details tab. For example, you enter 61 // "http://servername/sugarcrm/vcal_server.php/type=vfb&source=outlook&email=myemail@servername.com". 62 // If you don't configure this information correctly, the client software looks up the entry 63 // in the Search at this URL window on the Free/Busy Options dialog box. 64 // 65 // Setup for: Microsoft Outlook XP 66 // In Tools > Options > Calendar Options > Free/Busy 67 // 68 // Global search path: 69 // %USERNAME% and %SERVER% are Outlook replacement variables to construct the email address: 70 // http://servername/sugarcrm/vcal_server.php/type=vfb&source=outlook&email=%NAME%@%SERVER% 71 // or contact by contact by editing the details and entering its Free/Busy URL: 72 // http://servername/sugarcrm/vcal_server.php/type=vfb&source=outlook&email=user@email.com 73 // or 74 // http://servername/sugarcrm/vcal_server.php/type=vfb&source=outlook&user_name=user_name 75 // or: 76 // http://servername/sugarcrm/vcal_server.php/type=vfb&source=outlook&user_id=user_id 77 require_once "modules/vCals/HTTP_WebDAV_Server_vCal.php"; 78 $server = new HTTP_WebDAV_Server_vCal(); 79 $server->ServeRequest(); 80 sugar_cleanup(); 81 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Tue Sep 11 10:48:47 2007 | par Balluche grâce à PHPXref 0.7 |