[ Index ] |
|
Code source de vtiger CRM 5.0.2 |
1 <?php 2 /********************************************************************************* 3 ** The contents of this file are subject to the vtiger CRM Public License Version 1.0 4 * ("License"); You may not use this file except in compliance with the License 5 * The Original Code is: vtiger CRM Open Source 6 * The Initial Developer of the Original Code is vtiger. 7 * Portions created by vtiger are Copyright (C) vtiger. 8 * All Rights Reserved. 9 * 10 ********************************************************************************/ 11 require_once ('include/utils/CommonUtils.php'); 12 if(isset($_REQUEST['templateid']) && $_REQUEST['templateid'] !='') 13 { 14 $templatedetails = getTemplateDetails($_REQUEST['templateid']); 15 //$details['Email Information'][2][0][3][0] = $templatedetails[2]; //Subject 16 //$details['Email Information'][3][0][3][0] = nl2br($templatedetails[1]); //Body 17 } 18 ?> 19 <form name="frmrepstr"> 20 <input type="hidden" name="subject" value="<?php echo $templatedetails[2];?>"></input> 21 <textarea name="repstr" style="visibility:hidden"> 22 <?php echo nl2br($templatedetails[1]); ?> 23 </textarea> 24 </form> 25 <script language="javascript"> 26 window.opener.document.getElementById('subject').value = window.document.frmrepstr.subject.value 27 window.opener.document.getElementById('description').value = window.document.frmrepstr.repstr.value 28 window.opener.oFCKeditor.ReplaceTextarea(); 29 window.close(); 30 </script>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 10:22:19 2007 | par Balluche grâce à PHPXref 0.7 |