[ 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 12 require_once ('modules/Portal/Portal.php'); 13 global $app_strings; 14 global $app_list_strings; 15 global $mod_strings; 16 global $adb; 17 18 global $theme; 19 $theme_path="themes/".$theme."/"; 20 $image_path=$theme_path."images/"; 21 if(isset($_REQUEST['record']) && $_REQUEST['record'] !='') 22 { 23 $portalid = $_REQUEST['record']; 24 $query="select * from vtiger_portal where portalid =$portalid"; 25 $result=$adb->query($query); 26 $portalname = $adb->query_result($result,0,'portalname'); 27 $portalurl = $adb->query_result($result,0,'portalurl'); 28 } 29 $portal_inputs=''; 30 $portal_inputs.='<div style="display:block;position:relative;" id="orgLay" class="layerPopup"> 31 <table border="0" cellpadding="3" cellspacing="0" width="100%" class="layerHeadingULine"> 32 <tr> 33 <td class="layerPopupHeading" align="left" width="60%">' .$mod_strings['LBL_ADD'] .' '.$mod_strings['LBL_BOOKMARK'].'</td> 34 <td align="right" width="40%"><a href="javascript:fninvsh(\'orgLay\');"><img src="'.$image_path.'close.gif" align="absmiddle" border="0"></a></td> 35 </tr> 36 </table> 37 <table border="0" cellspacing="0" cellpadding="5" width="95%" align="center"> 38 <tr> 39 <td class="small" > 40 <table border="0" celspacing="0" cellpadding="5" width="100%" align="center" bgcolor="white"> 41 42 <tr> 43 44 <td align="right" width="40%" ><b>'.$mod_strings['LBL_BOOKMARK'].' ' .$mod_strings['LBL_URL'] .' </b></td> 45 <td align="left" width="60%">http://<input name="portalurl" id="portalurl" class="txtBox" value="'.$portalurl.'" type="text" onkeyup="OnUrlChange();"></td> 46 </tr> 47 <tr> 48 <td align="right" width="40%"> <b>'.$mod_strings['LBL_BOOKMARK'].' ' .$mod_strings['LBL_NAME'] .' </b></td> 49 <td align="left" width="60%"><input name="portalname" id="portalname" value="'.$portalname.'" class="txtBox" type="text"></td> 50 </tr> 51 </table> 52 </td> 53 </tr> 54 </table> 55 <table border="0" cellspacing="0" cellpadding="5" width="100%" class="layerPopupTransport"> 56 <tr> 57 <td align="center"> 58 <input name="save" value=" '.$app_strings['LBL_SAVE_BUTTON_LABEL'].' " class="crmbutton small save" onClick="OnUrlChange(); SaveSite(\''.$portalid.'\')" type="button"> 59 <input name="cancel" value=" '.$app_strings['LBL_CANCEL_BUTTON_LABEL'].' " class="crmbutton small cancel" onclick="fninvsh(\'orgLay\');" type="button"> 60 </td> 61 </tr> 62 </table> 63 </div>'; 64 65 echo $portal_inputs; 66 67 68 ?>
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 |