[Vtigercrm-commits] [vtiger-commits] r10772 - /vtigercrm/branches/5.0.3/Smarty/templates/Settings/ProxyServer.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Apr 24 09:58:02 EDT 2007


Author: saraj
Date: Tue Apr 24 07:57:57 2007
New Revision: 10772

Log:
Proxy details appended when exception is thrown while editing

Modified:
    vtigercrm/branches/5.0.3/Smarty/templates/Settings/ProxyServer.tpl

Modified: vtigercrm/branches/5.0.3/Smarty/templates/Settings/ProxyServer.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/Settings/ProxyServer.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/Settings/ProxyServer.tpl Tue Apr 24 07:57:57 2007
@@ -63,20 +63,32 @@
                         <tr>
                             <td width="20%" nowrap class="small cellLabel"><font color="red">*</font><strong>{$MOD.LBL_SERVER_ADDRESS} </strong></td>
                             <td width="80%" class="small cellText">
-				<input type="text" class="detailedViewTextBox small" value="{$PROXYSERVER}{$smarty.request.server}" name="server"></strong>
+				{if $smarty.request.server neq ''}
+				<input type="text" class="detailedViewTextBox small" value="{$smarty.request.server}" name="server"></strong>
+				{else}
+				<input type="text" class="detailedViewTextBox small" value="{$PROXYSERVER}" name="server"></strong>
+				{/if}
 			    </td>
                           </tr>
 			  <tr>
                             <td width="20%" nowrap class="small cellLabel"><font color="red">*</font><strong>{$MOD.LBL_PROXY_PORT} </strong></td>
                             <td width="80%" class="small cellText">
-                                <input type="text" class="detailedViewTextBox small" value="{$PROXYPORT}{$smarty.request.port}" name="port"></strong>
+				{if $smarty.request.port neq ''}
+                                <input type="text" class="detailedViewTextBox small" value="{$smarty.request.port}" name="port"></strong>
+				{else}
+                                <input type="text" class="detailedViewTextBox small" value="{$PROXYPORT}" name="port"></strong>
+				{/if}
                             </td>
                           </tr>
                           <tr valign="top">
 
                             <td nowrap class="small cellLabel"><font color="red">*</font><strong>{$MOD.LBL_USERNAME}</strong></td>
                             <td class="small cellText">
-				<input type="text" class="detailedViewTextBox small" value="{$PROXYUSER}{$smarty.request.server_username}" name="server_username">
+				{if $smarty.request.server_username neq ''}
+				<input type="text" class="detailedViewTextBox small" value="{$smarty.request.server_username}" name="server_username">
+				{else}
+				<input type="text" class="detailedViewTextBox small" value="{$PROXYUSER}" name="server_username">
+				{/if}
 			    </td>
                           </tr>
                           <tr>





More information about the vtigercrm-commits mailing list