[Vtigercrm-commits] [vtiger-commits] r6343 - /vtigercrm/trunk/Smarty/templates/CustomView.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed May 24 05:46:02 EDT 2006


Author: saraj
Date: Wed May 24 03:45:58 2006
New Revision: 6343

Log:
* modified for bug fix 990 v5.0

Modified:
    vtigercrm/trunk/Smarty/templates/CustomView.tpl

Modified: vtigercrm/trunk/Smarty/templates/CustomView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/CustomView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/CustomView.tpl Wed May 24 03:45:58 2006
@@ -120,10 +120,18 @@
 		  <input class="detailedViewTextBox" type="text" name='viewName' value="{$VIEWNAME}" onfocus="this.className='detailedViewTextBoxOn'" onblur="this.className='detailedViewTextBox'"/>
 		 </td>
 		 <td class="dvtCellInfo" width="25%">
-		  <input type="checkbox" name="setDefault" value="checkbox" />{$MOD.LBL_SETDEFAULT}
+		  {if $CHECKED eq 'checked'}
+		      <input type="checkbox" name="setDefault" value="1" checked/>{$MOD.LBL_SETDEFAULT}
+		  {else}
+		      <input type="checkbox" name="setDefault" value="0" />{$MOD.LBL_SETDEFAULT}
+		  {/if}
 		 </td>
 		 <td class="dvtCellInfo" width="25%">
-		  <input type="checkbox" name="setMetrics" value="checkbox" />{$MOD.LBL_LIST_IN_METRICS}
+		  {if $MCHECKED eq 'checked'}
+		      <input type="checkbox" name="setMetrics" value="1" checked/>{$MOD.LBL_LIST_IN_METRICS}
+		  {else}
+		      <input type="checkbox" name="setMetrics" value="0" />{$MOD.LBL_LIST_IN_METRICS}
+		  {/if}
 		 </td>
 		</tr>
 		<tr><td colspan="3">&nbsp;</td></tr>





More information about the vtigercrm-commits mailing list