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

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri Jun 16 10:14:05 EDT 2006


Author: saraj
Date: Fri Jun 16 08:14:01 2006
New Revision: 7188

Log:
* Modified to display the second level tabs ie., add, search, import and export buttons and passed the parenttab value

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

Modified: vtigercrm/trunk/Smarty/templates/ImportStep1.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/ImportStep1.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/ImportStep1.tpl Fri Jun 16 08:14:01 2006
@@ -14,17 +14,7 @@
 <script type="text/javascript" src="modules/{$MODULE}/{$SINGLE_MOD}.js"></script>
 
 <!-- header - level 2 tabs -->
-<br>
-<table class="small" border="0" cellpadding="0" cellspacing="0" width="100%">
-   <tbody>
-   <tr>
-	<td style="height: 2px;"></td>
-   </tr>
-   <tr>
-	<td style="padding-left:10px;padding-right:10px" class="moduleName" nowrap>{$CATEGORY} > <a class="hdrLink" href="index.php?action=ListView&module={$MODULE}">{$MODULE}</a></td>
-   </tr>
-   </tbody>
-</table>
+{include file='Buttons_List1.tpl'}	
 
 <table align="center" border="0" cellpadding="0" cellspacing="0" width="98%" class="small">
    <tbody>
@@ -44,6 +34,7 @@
 				<input type="hidden" name="return_module" value="{$RETURN_MODULE}">
 				<input type="hidden" name="return_id" value="{$RETURN_ID}">
 				<input type="hidden" name="return_action" value="{$RETURN_ACTION}">
+				<input type="hidden" name="parenttab" value="{$CATEGORY}">
 
 				<!-- IMPORT LEADS STARTS HERE  -->
 				<br />

Modified: vtigercrm/trunk/Smarty/templates/ImportStep2.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/ImportStep2.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/ImportStep2.tpl Fri Jun 16 08:14:01 2006
@@ -32,17 +32,7 @@
 
 </script>
 <!-- header - level 2 tabs -->
-<br>
-<table class="small" border="0" cellpadding="0" cellspacing="0" width="100%">
-   <tbody>
-   <tr>
-	<td style="height: 2px;"></td>
-   </tr>
-   <tr>
-	<td style="padding-left:10px;padding-right:10px" class="moduleName" nowrap>{$CATEGORY} > <a class="hdrLink" href="index.php?action=ListView&module={$MODULE}">{$MODULE}</a></td>
-   </tr>
-   </tbody>
-</table>
+{include file='Buttons_List1.tpl'}	
 
 <table align="center" border="0" cellpadding="0" cellspacing="0" width="98%" class="small">
 <tbody>
@@ -63,6 +53,7 @@
 				<input type="hidden" name="return_module" value="{$RETURN_MODULE}">
 				<input type="hidden" name="return_id" value="{$RETURN_ID}">
 				<input type="hidden" name="return_action" value="{$RETURN_ACTION}">
+				<input type="hidden" name="parenttab" value="{$CATEGORY}">
 
 				<!-- IMPORT LEADS STARTS HERE  -->
 				<br />

Modified: vtigercrm/trunk/Smarty/templates/Importerror.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Importerror.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Importerror.tpl Fri Jun 16 08:14:01 2006
@@ -9,6 +9,9 @@
   *
  ********************************************************************************/
 -->*}
+
+{include file='Buttons_List1.tpl'}	
+
 <table  cellpadding="0" cellspacing="0" width="100%">
    <tr>
 	<td width="75%" valign=top>





More information about the vtigercrm-commits mailing list