[ Index ] |
|
Code source de vtiger CRM 5.0.2 |
1 {*<!-- 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 <script language="JAVASCRIPT" type="text/javascript" src="include/js/smoothscroll.js"></script> 13 <br> 14 <table align="center" border="0" cellpadding="0" cellspacing="0" width="98%"> 15 <tbody><tr> 16 <td valign="top"><img src="{$IMAGE_PATH}showPanelTopLeft.gif"></td> 17 <td class="showPanelBg" style="padding: 10px;" valign="top" width="100%"> 18 <br> 19 <div align=center> 20 {include file="SetMenu.tpl"} 21 <!-- DISPLAY --> 22 <table border=0 cellspacing=0 cellpadding=5 width=100% class="settingsSelUITopLine"> 23 <form action="index.php" method="post" name="tandc"> 24 <input type="hidden" name="server_type" value="proxy"> 25 <input type="hidden" name="module" value="Settings"> 26 <input type="hidden" name="action" value="index"> 27 <input type="hidden" name="proxy_server_mode"> 28 <input type="hidden" name="parenttab" value="Settings"> 29 <tr> 30 <td width=50 rowspan=2 valign=top><img src="{$IMAGE_PATH}proxy.gif" alt="proxy" width="48" height="48" border=0 title="proxy"></td> 31 <td class=heading2 valign=bottom><b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS}</a> > {$MOD.LBL_PROXY_SERVER_SETTINGS} </b></td> 32 </tr> 33 <tr> 34 <td valign=top class="small">{$MOD.LBL_PROXY_SERVER_DESC} </td> 35 </tr> 36 </table> 37 38 <br> 39 <table border=0 cellspacing=0 cellpadding=10 width=100% > 40 <tr> 41 <td> 42 43 <table border=0 cellspacing=0 cellpadding=5 width=100% class="tableHeading"> 44 <tr> 45 <td class="big"><strong>{$MOD.LBL_PROXY_SERVER_SETTINGS}<br>{$ERROR_MSG}</strong></td> 46 {if $PROXY_SERVER_MODE neq 'edit'} 47 <td class="small" align=right> 48 <input title="{$APP.LBL_EDIT_BUTTON_TITLE}" accessKey="{$APP.LBL_EDIT_BUTTON_KEY}" class="crmButton small edit" onclick="this.form.action.value='ProxyServerConfig';this.form.proxy_server_mode.value='edit'" type="submit" name="Edit" value="{$APP.LBL_EDIT_BUTTON_LABEL}"> 49 </td> 50 {else} 51 <td class="small" align=right> 52 <input title="{$APP.LBL_SAVE_BUTTON_LABEL}" accessKey="{$APP.LBL_SAVE_BUTTON_KEY}" class="crmButton small save" type="submit" name="button" value="{$APP.LBL_SAVE_BUTTON_LABEL}" onclick="this.form.action.value='Save'; return validate()"> 53 <input title="{$APP.LBL_CANCEL_BUTTON_LABEL}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="crmButton small cancel" onclick="window.history.back()" type="button" name="button" value="{$APP.LBL_CANCEL_BUTTON_LABEL}"> 54 </td> 55 {/if} 56 </tr> 57 </table> 58 59 {if $PROXY_SERVER_MODE eq 'edit'} 60 <table border=0 cellspacing=0 cellpadding=0 width=100% class="listRow"> 61 <tr> 62 <td class="small" valign=top ><table width="100%" border="0" cellspacing="0" cellpadding="5"> 63 <tr> 64 <td width="20%" nowrap class="small cellLabel"><font color="red">*</font><strong>{$MOD.LBL_SERVER_ADDRESS} </strong></td> 65 <td width="80%" class="small cellText"> 66 <input type="text" class="detailedViewTextBox small" value="{$PROXYSERVER}" name="server"></strong> 67 </td> 68 </tr> 69 <tr> 70 <td width="20%" nowrap class="small cellLabel"><font color="red">*</font><strong>{$MOD.LBL_PROXY_PORT} </strong></td> 71 <td width="80%" class="small cellText"> 72 <input type="text" class="detailedViewTextBox small" value="{$PROXYPORT}" name="port"></strong> 73 </td> 74 </tr> 75 <tr valign="top"> 76 77 <td nowrap class="small cellLabel"><font color="red">*</font><strong>{$MOD.LBL_USERNAME}</strong></td> 78 <td class="small cellText"> 79 <input type="text" class="detailedViewTextBox small" value="{$PROXYUSER}" name="server_username"> 80 </td> 81 </tr> 82 <tr> 83 <td nowrap class="small cellLabel"><font color="red">*</font><strong>{$MOD.LBL_PASWRD}</strong></td> 84 <td class="small cellText"> 85 <input type="password" class="detailedViewTextBox small" value="{$PROXYPASSWORD}" name="server_password"> 86 </td> 87 </tr> 88 </table> 89 {else} 90 <table border=0 cellspacing=0 cellpadding=0 width=100% class="listRow"> 91 <tr> 92 <td class="small" valign=top ><table width="100%" border="0" cellspacing="0" cellpadding="5"> 93 <tr> 94 <td width="20%" nowrap class="small cellLabel"><strong>{$MOD.LBL_SERVER_ADDRESS} </strong></td> 95 <td width="80%" class="small cellText"><strong>{$PROXYSERVER} </strong></td> 96 </tr> 97 <tr valign="top"> 98 <td nowrap class="small cellLabel"><strong>{$MOD.LBL_PROXY_PORT}</strong></td> 99 <td class="small cellText">{$PROXYPORT} </td> 100 </tr> 101 <tr valign="top"> 102 <td nowrap class="small cellLabel"><strong>{$MOD.LBL_USERNAME}</strong></td> 103 <td class="small cellText">{$PROXYUSER} </td> 104 </tr> 105 <tr> 106 <td nowrap class="small cellLabel"><strong>{$MOD.LBL_PASWRD}</strong></td> 107 <td class="small cellText"> 108 {if $PROXYPASSWORD neq ''} 109 ****** 110 {/if} 111 </td> 112 </tr> 113 </table> 114 115 {/if} 116 </td> 117 </tr> 118 </table> 119 <table border=0 cellspacing=0 cellpadding=5 width=100% > 120 <tr> 121 <td class="small" nowrap align=right><a href="#top">{$MOD.LBL_SCROLL}</a></td> 122 </tr> 123 </table> 124 </td> 125 </tr> 126 </table> 127 128 129 130 </td> 131 </tr> 132 </table> 133 </td> 134 </tr> 135 </form> 136 </table> 137 138 </div> 139 </td> 140 <td valign="top"><img src="{$IMAGE_PATH}showPanelTopRight.gif"></td> 141 </tr> 142 </tbody> 143 </table> 144 {literal} 145 <script> 146 function validate() { 147 if (!emptyCheck("server","Proxy Server Name","text")) return false 148 if (!emptyCheck("port","Port Number","text")) return false 149 if (!emptyCheck("server_username","Proxy User Name","text")) return false 150 if (!emptyCheck("server_password","Proxy Password","text")) return false 151 return true; 152 153 } 154 </script> 155 {/literal}
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 |