[Vtigercrm-commits] [vtiger-commits] r10175 - in /vtigercrm/branches/5.0.3: Smarty/templates/Settings/TaxConfig.tpl include/js/Inventory.js
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Feb 12 05:57:34 EST 2007
Author: saraj
Date: Mon Feb 12 03:57:28 2007
New Revision: 10175
Log:
fix for Translation issue ADD TAX --Minnie
Modified:
vtigercrm/branches/5.0.3/Smarty/templates/Settings/TaxConfig.tpl
vtigercrm/branches/5.0.3/include/js/Inventory.js
Modified: vtigercrm/branches/5.0.3/Smarty/templates/Settings/TaxConfig.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/Settings/TaxConfig.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/Settings/TaxConfig.tpl Mon Feb 12 03:57:28 2007
@@ -77,6 +77,8 @@
<input type="hidden" name="save_tax" value="">
<input type="hidden" name="edit_tax" value="">
<input type="hidden" name="add_tax_type" value="">
+ <input type="hidden" id="tax_savebutton" value="{$APP.LBL_SAVE_BUTTON_LABEL}">
+ <input type="hidden" id="tax_cancelbutton" value="{$APP.LBL_CANCEL_BUTTON_LABEL}">
<!-- Table to display the Product Tax Add and Edit Buttons - Starts -->
<table border=0 cellspacing=0 cellpadding=5 width=100% class="tableHeading">
Modified: vtigercrm/branches/5.0.3/include/js/Inventory.js
==============================================================================
--- vtigercrm/branches/5.0.3/include/js/Inventory.js (original)
+++ vtigercrm/branches/5.0.3/include/js/Inventory.js Mon Feb 12 03:57:28 2007
@@ -394,7 +394,7 @@
colone.innerHTML="<input type='text' id='"+label_name+"' name='"+label_name+"' value='Tax Name' class='txtBox' onclick=\"this.form."+label_name+".value=''\";/>";
coltwo.innerHTML="<input type='text' id='"+label_val+"' name='"+label_val+"' value='Tax Value' class='txtBox' onclick=\"this.form."+label_val+".value=''\";/>";
- document.getElementById(td_id).innerHTML="<input type='submit' name='Save' value='Save' class='crmButton small save' onclick=\"this.form.action.value='TaxConfig'; this.form."+add_tax_flag+".value='true'; this.form.parenttab.value='Settings'; return validateNewTaxType('"+label_name+"','"+label_val+"');\"> <input type='submit' name='Cancel' value='Cancel' class='crmButton small cancel' onclick=\"this.form.action.value='TaxConfig'; this.form.module.value='Settings'; this.form."+add_tax_flag+".value='false'; this.form.parenttab.value='Settings';\">";
+ document.getElementById(td_id).innerHTML="<input type='submit' name='Save' value=' "+$('tax_savebutton').value+" ' class='crmButton small save' onclick=\"this.form.action.value='TaxConfig'; this.form."+add_tax_flag+".value='true'; this.form.parenttab.value='Settings'; return validateNewTaxType('"+label_name+"','"+label_val+"');\"> <input type='submit' name='Cancel' value=' "+$('tax_cancelbutton').value+" ' class='crmButton small cancel' onclick=\"this.form.action.value='TaxConfig'; this.form.module.value='Settings'; this.form."+add_tax_flag+".value='false'; this.form.parenttab.value='Settings';\">";
}
function validateNewTaxType(fieldname, fieldvalue)
More information about the vtigercrm-commits
mailing list