[ 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 ('Smarty_setup.php'); 13 14 global $mod_strings; 15 global $app_strings; 16 global $adb; 17 global $theme; 18 $theme_path="themes/".$theme."/"; 19 $image_path=$theme_path."images/"; 20 21 $smarty = new vtigerCRM_Smarty; 22 if($_REQUEST['error'] != '') 23 { 24 $smarty->assign("ERROR_MSG",'<b><font color="purple">'.$_REQUEST["error"].'</font></b>'); 25 } 26 $sql="select * from vtiger_systems where server_type = 'proxy'"; 27 $result = $adb->query($sql); 28 $server = $adb->query_result($result,0,'server'); 29 $server_port = $adb->query_result($result,0,'server_port'); 30 $server_username = $adb->query_result($result,0,'server_username'); 31 $server_password = $adb->query_result($result,0,'server_password'); 32 33 if(isset($_REQUEST['proxy_server_mode']) && $_REQUEST['proxy_server_mode'] != '') 34 $smarty->assign("PROXY_SERVER_MODE",$_REQUEST['proxy_server_mode']); 35 else 36 $smarty->assign("PROXY_SERVER_MODE",'view'); 37 38 if (isset($server)) 39 $smarty->assign("PROXYSERVER",$server); 40 if (isset($server_port)) 41 $smarty->assign("PROXYPORT",$server_port); 42 if (isset($server_username)) 43 $smarty->assign("PROXYUSER",$server_username); 44 if (isset($server_password)) 45 $smarty->assign("PROXYPASSWORD",$server_password); 46 47 48 $smarty->assign("MOD", return_module_language($current_language,'Settings')); 49 $smarty->assign("IMAGE_PATH",$image_path); 50 $smarty->assign("APP", $app_strings); 51 $smarty->assign("CMOD", $mod_strings); 52 $smarty->display("Settings/ProxyServer.tpl"); 53 ?>
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 |