[Vtigercrm-commits] [vtiger-commits] r10473 - in /vtigercrm/branches/5.0.3: Smarty/templates/Header.tpl Smarty/templates/Popup.tpl include/js/en_us.lang.js include/js/general.js
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sat Mar 17 08:37:05 EDT 2007
Author: saraj
Date: Sat Mar 17 06:36:39 2007
New Revision: 10473
Log:
i18n support for js handled differently
Added:
vtigercrm/branches/5.0.3/include/js/en_us.lang.js (with props)
Modified:
vtigercrm/branches/5.0.3/Smarty/templates/Header.tpl
vtigercrm/branches/5.0.3/Smarty/templates/Popup.tpl
vtigercrm/branches/5.0.3/include/js/general.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 Sat Mar 17 06:36:39 2007
@@ -464,7 +464,7 @@
{/foreach}
</table>
</div>
-{include file=JsArray.tpl}
+
<script>
var THandle = document.getElementById("Track_Handle");
var TRoot = document.getElementById("tracker");
Modified: vtigercrm/branches/5.0.3/Smarty/templates/Popup.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/Popup.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/Popup.tpl Sat Mar 17 06:36:39 2007
@@ -22,7 +22,7 @@
{rdelim}
</script>
-{include file=JsArray.tpl}
+
<body class="small" marginwidth=0 marginheight=0 leftmargin=0 topmargin=0 bottommargin=0 rightmargin=0>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="mailClient mailClientBg">
<tr>
Modified: vtigercrm/branches/5.0.3/include/js/general.js
==============================================================================
--- vtigercrm/branches/5.0.3/include/js/general.js (original)
+++ vtigercrm/branches/5.0.3/include/js/general.js Sat Mar 17 06:36:39 2007
@@ -11,6 +11,7 @@
//Utility Functions
var gValidationCall='';
+document.write('<script src="include/js/en_us.lang.js"></script>');
if (document.all)
More information about the vtigercrm-commits
mailing list