[Vtigercrm-commits] [vtiger-commits] r6987 - in /vtigercrm/trunk/Smarty/templates: Buttons_List.tpl ImportStep1.tpl ImportStep2.tpl Importerror.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri Jun 9 08:36:43 EDT 2006


Author: saraj
Date: Fri Jun  9 06:36:37 2006
New Revision: 6987

Log:
* Modified the steps where as in previous the php files start with step2 and ends with step4 but now it has been starts with step1 and ends with step3 properly

Modified:
    vtigercrm/trunk/Smarty/templates/Buttons_List.tpl
    vtigercrm/trunk/Smarty/templates/ImportStep1.tpl
    vtigercrm/trunk/Smarty/templates/ImportStep2.tpl
    vtigercrm/trunk/Smarty/templates/Importerror.tpl

Modified: vtigercrm/trunk/Smarty/templates/Buttons_List.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Buttons_List.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Buttons_List.tpl Fri Jun  9 06:36:37 2006
@@ -85,7 +85,7 @@
 			<tr>
 			{if $MODULE eq 'Contacts' || $MODULE eq 'Leads' || $MODULE eq 'Accounts' || $MODULE eq 'Potentials' || $MODULE eq 'Products' }
 		   		{if $CHECK.Import eq 'yes'}	
-					<td style="padding-right:0px;padding-left:10px;"><a href="index.php?module={$MODULE}&action=Import&step=2&return_module={$MODULE}&return_action=index&parenttab={$CATEGORY}"><img src="{$IMAGE_PATH}tbarImport.gif" alt="{$APP.LBL_IMPORT} {$APP.$MODULE}" title="{$APP.LBL_IMPORT} {$APP.$MODULE}" border="0"></a></td>	
+					<td style="padding-right:0px;padding-left:10px;"><a href="index.php?module={$MODULE}&action=Import&step=1&return_module={$MODULE}&return_action=index&parenttab={$CATEGORY}"><img src="{$IMAGE_PATH}tbarImport.gif" alt="{$APP.LBL_IMPORT} {$APP.$MODULE}" title="{$APP.LBL_IMPORT} {$APP.$MODULE}" border="0"></a></td>	
 				{else}	
 					<td style="padding-right:0px;padding-left:10px;"><img src="{$IMAGE_PATH}tbarImport-Faded.gif" alt="{$APP.LBL_IMPORT} {$APP.$MODULE}" title="{$APP.LBL_IMPORT} {$APP.$MODULE}" border="0"></td>	
 				{/if}	

Modified: vtigercrm/trunk/Smarty/templates/ImportStep1.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/ImportStep1.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/ImportStep1.tpl Fri Jun  9 06:36:37 2006
@@ -37,7 +37,7 @@
 			<td width="75%" valign=top>
 				<form enctype="multipart/form-data" name="Import" method="POST" action="index.php">
 				<input type="hidden" name="module" value="{$MODULE}">
-				<input type="hidden" name="step" value="2">
+				<input type="hidden" name="step" value="1">
 				<input type="hidden" name="source" value="{$SOURCE}">
 				<input type="hidden" name="source_id" value="{$SOURCE_ID}">
 				<input type="hidden" name="action" value="Import">
@@ -100,7 +100,7 @@
 				   <tr bgcolor="#ECECEC"><td colspan="2"><hr /></td></tr>
 				   <tr bgcolor="#ECECEC">
 					<td colspan="2" align="right" style="padding-right:40px;">
-						<input title="{$MOD.LBL_NEXT}" accessKey="" class="classBtn" type="submit" name="button" value="  {$MOD.LBL_NEXT} &rsaquo; "  onclick="this.form.action.value='Import';this.form.step.value='3'; return verify_data(this.form);">
+						<input title="{$MOD.LBL_NEXT}" accessKey="" class="classBtn" type="submit" name="button" value="  {$MOD.LBL_NEXT} &rsaquo; "  onclick="this.form.action.value='Import';this.form.step.value='2'; return verify_data(this.form);">
 					</td>
 				   </tr>
 				   <tr bgcolor="#ECECEC">

Modified: vtigercrm/trunk/Smarty/templates/ImportStep2.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/ImportStep2.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/ImportStep2.tpl Fri Jun  9 06:36:37 2006
@@ -55,7 +55,7 @@
 				<form enctype="multipart/form-data" name="Import" method="POST" action="index.php">
 				<input type="hidden" name="module" value="{$MODULE}">
 				<input type="hidden" name="action" value="Import">
-				<input type="hidden" name="step" value="4">
+				<input type="hidden" name="step" value="3">
 				<input type="hidden" name="has_header" value="{$HAS_HEADER}">
 				<input type="hidden" name="source" value="{$SOURCE}">
 				<input type="hidden" name="delimiter" value="{$DELIMITER}">
@@ -153,9 +153,9 @@
 				   <tr bgcolor="#ECECEC"><td><hr /></td></tr>
 				   <tr bgcolor="#ECECEC">
 					<td align="right" style="padding-right:40px;" >
-						<input type="submit" name="button"  value=" &nbsp;&lsaquo; {$MOD.LBL_BACK} &nbsp; " class="classBtn" onclick="this.form.action.value='Import';this.form.step.value='2'; return true;" />
+						<input type="submit" name="button"  value=" &nbsp;&lsaquo; {$MOD.LBL_BACK} &nbsp; " class="classBtn" onclick="this.form.action.value='Import';this.form.step.value='1'; return true;" />
 						&nbsp;&nbsp;
-						<input type="submit" name="button"  value=" &nbsp; {$MOD.LBL_IMPORT_NOW} &rsaquo; &nbsp; " class="classBtn" onclick="this.form.action.value='Import';this.form.step.value='4'; return validate_import_map();" />
+						<input type="submit" name="button"  value=" &nbsp; {$MOD.LBL_IMPORT_NOW} &rsaquo; &nbsp; " class="classBtn" onclick="this.form.action.value='Import';this.form.step.value='3'; return validate_import_map();" />
 					</td>
 				   </tr>
 				   <tr bgcolor="#ECECEC"><td align="right" >&nbsp;</td></tr>

Modified: vtigercrm/trunk/Smarty/templates/Importerror.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Importerror.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Importerror.tpl Fri Jun  9 06:36:37 2006
@@ -16,7 +16,7 @@
 		<input type="hidden" name="module" value="{$MODULE}">
  		<input type="hidden" name="return_module" value="{$MODULE}">
 		<input type="hidden" name="return_action" value="index">
-		<input type="hidden" name="step" value="2">
+		<input type="hidden" name="step" value="1">
 		<input type="hidden" name="action" value="Import">
 
 		<!-- IMPORT ERROR STARTS HERE  -->





More information about the vtigercrm-commits mailing list