[Vtigercrm-commits] [vtiger-commits] r8048 - /vtigercrm/trunk/Smarty/templates/Settings/TaxConfig.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri Jul 14 10:03:10 EDT 2006


Author: saraj
Date: Fri Jul 14 08:03:06 2006
New Revision: 8048

Log:
updated parenttab in tax settings

Modified:
    vtigercrm/trunk/Smarty/templates/Settings/TaxConfig.tpl

Modified: vtigercrm/trunk/Smarty/templates/Settings/TaxConfig.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Settings/TaxConfig.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Settings/TaxConfig.tpl Fri Jul 14 08:03:06 2006
@@ -34,6 +34,7 @@
 <form name="{$formname}" method="POST" action="index.php">
 <input type="hidden" name="module" value="Settings">
 <input type="hidden" name="action" value="">
+<input type="hidden" name="parenttab" value="Settings">
 <input type="hidden" name="save_tax" value="">
 <input type="hidden" name="edit_tax" value="">
 
@@ -64,10 +65,10 @@
 						<td class="small" align=right>
 						{if $EDIT_MODE eq 'true'}	
 
-							<input class="crmButton small save" title="{$APP.LBL_SAVE_BUTTON_TITLE}" accessKey="{$APP.LBL_SAVE_BUTTON_KEY}"  onclick="this.form.action.value='TaxConfig'; this.form.save_tax.value='true'; return formValidate()" type="submit" name="button2" value="  {$APP.LBL_SAVE_BUTTON_LABEL}  ">&nbsp;&nbsp;
+							<input class="crmButton small save" title="{$APP.LBL_SAVE_BUTTON_TITLE}" accessKey="{$APP.LBL_SAVE_BUTTON_KEY}"  onclick="this.form.action.value='TaxConfig'; this.form.save_tax.value='true'; this.form.parenttab.value='Settings'; return formValidate()" type="submit" name="button2" value="  {$APP.LBL_SAVE_BUTTON_LABEL}  ">&nbsp;
 							<input class="crmButton small cancel" title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" onclick="window.history.back();" type="button" name="button22" value="  {$APP.LBL_CANCEL_BUTTON_LABEL}  ">
 						{else}	
-							<input title="{$APP.LBL_EDIT_BUTTON_TITLE}" accessKey="{$APP.LBL_EDIT_BUTTON_KEY}" onclick="this.form.action.value='TaxConfig'; this.form.edit_tax.value='true';" type="submit" name="button" value="  {$APP.LBL_EDIT_BUTTON_LABEL}  " class="crmButton small edit">
+							<input title="{$APP.LBL_EDIT_BUTTON_TITLE}" accessKey="{$APP.LBL_EDIT_BUTTON_KEY}" onclick="this.form.action.value='TaxConfig'; this.form.edit_tax.value='true'; this.form.parenttab.value='Settings';" type="submit" name="button" value="  {$APP.LBL_EDIT_BUTTON_LABEL}  " class="crmButton small edit">
 						{/if}
 						</td>
 					</tr>





More information about the vtigercrm-commits mailing list