[Vtigercrm-commits] [vtiger-commits] r10438 - in /vtigercrm/branches/5.0.3: Smarty/templates/Header.tpl include/js/dtlviewajax.js

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Mar 15 03:56:30 EDT 2007


Author: saraj
Date: Thu Mar 15 01:56:19 2007
New Revision: 10438

Log:
fix for i18n issue with check boxes. Fixes #2448 --Minnie

Modified:
    vtigercrm/branches/5.0.3/Smarty/templates/Header.tpl
    vtigercrm/branches/5.0.3/include/js/dtlviewajax.js

Modified: vtigercrm/branches/5.0.3/Smarty/templates/Header.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/Header.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/Header.tpl Thu Mar 15 01:56:19 2007
@@ -548,7 +548,8 @@
                                 VALID_DISCOUNT_PERCENT:'{$APP.VALID_DISCOUNT_PERCENT}',
                                 VALID_DISCOUNT_AMOUNT:'{$APP.VALID_DISCOUNT_AMOUNT}',
                                 SELECT_TEMPLATE_TO_MERGE:'{$APP.SELECT_TEMPLATE_TO_MERGE}',
-
+				YES:'{$APP.yes}',
+                                NO:'{$APP.no}',
                         {rdelim};
 
 	var THandle = document.getElementById("Track_Handle");

Modified: vtigercrm/branches/5.0.3/include/js/dtlviewajax.js
==============================================================================
--- vtigercrm/branches/5.0.3/include/js/dtlviewajax.js (original)
+++ vtigercrm/branches/5.0.3/include/js/dtlviewajax.js Thu Mar 15 01:56:19 2007
@@ -284,14 +284,14 @@
 
                                 }
                                 else
-                                        getObj(dtlView).innerHTML = "yes";
+                                        getObj(dtlView).innerHTML = alert_arr.YES;
 
                         }
                         else
-                                getObj(dtlView).innerHTML = "yes";
-		}else
-		{
-			getObj(dtlView).innerHTML = "no";
+                                getObj(dtlView).innerHTML = alert_arr.YES;
+		}else
+		{
+			getObj(dtlView).innerHTML = alert_arr.NO;
 		}
 
 	}else if(uitype == 116)
@@ -345,7 +345,7 @@
 		{
 			if(tagValue == '1')
 			{
-				getObj(dtlView).innerHTML = "yes";
+				getObj(dtlView).innerHTML = alert_arr.YES;
 			}else
 			{
 				getObj(dtlView).innerHTML = "";





More information about the vtigercrm-commits mailing list