[Vtigercrm-commits] [vtiger-commits] r10666 - in /vtigercrm/branches/5.0.3: Smarty/templates/ListViewEntries.tpl modules/Import/ImportSteplast.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Apr 12 11:33:28 EDT 2007


Author: saraj
Date: Thu Apr 12 09:33:19 2007
New Revision: 10666

Log:
* Removed the navigation and customview options from import listview because all entities are shown in a single shot. So no need for navigation and customview, Fixed #3354#3371

Modified:
    vtigercrm/branches/5.0.3/Smarty/templates/ListViewEntries.tpl
    vtigercrm/branches/5.0.3/modules/Import/ImportSteplast.php

Modified: vtigercrm/branches/5.0.3/Smarty/templates/ListViewEntries.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/ListViewEntries.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/ListViewEntries.tpl Thu Apr 12 09:33:19 2007
@@ -54,7 +54,8 @@
 					</table>
                 </td>
 				<td width=100% align="right">
-					<!-- Filters -->
+				   <!-- Filters -->
+				   {if $HIDE_CUSTOM_LINKS neq '1'}
 					<table border=0 cellspacing=0 cellpadding=0 class="small">
 					<tr>
 						<td>{$APP.LBL_VIEW}</td>
@@ -74,7 +75,10 @@
 							<a href="javascript:confirmdelete('index.php?module=CustomView&action=Delete&dmodule={$MODULE}&record={$VIEWID}&parenttab={$CATEGORY}')">{$APP.LNK_CV_DELETE}</a></td>
 						    {/if}
 					</tr>
-					</table>
+					</table> 
+				   <!-- Filters  END-->
+				   {/if}
+
 				</td>	
        		    </tr>
 			</table>

Modified: vtigercrm/branches/5.0.3/modules/Import/ImportSteplast.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Import/ImportSteplast.php (original)
+++ vtigercrm/branches/5.0.3/modules/Import/ImportSteplast.php Thu Apr 12 09:33:19 2007
@@ -220,8 +220,8 @@
 		//Retreive the List View Header and Entries
 		$listview_header = getListViewHeader($object,$module_name);
 		$listview_entries = getListViewEntries($object,$module_name,$list_result,$navigation_array,"","","EditView","Delete","");
-
-		$smarty->assign("NAVIGATION", $navigationOutput);
+		//commented to remove navigation buttons from import list view
+		//$smarty->assign("NAVIGATION", $navigationOutput);
 		$smarty->assign("HIDE_CUSTOM_LINKS", 1);//Added to hide the CustomView links in imported records ListView
 		$smarty->assign("LISTHEADER", $listview_header);
 		$smarty->assign("LISTENTITY", $listview_entries);





More information about the vtigercrm-commits mailing list