[Vtigercrm-commits] [vtiger-commits] r6638 - /vtigercrm/trunk/modules/Settings/CurrencyListView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon May 29 02:52:47 EDT 2006


Author: saraj
Date: Mon May 29 00:52:42 2006
New Revision: 6638

Log:
changes made to change the currency

Modified:
    vtigercrm/trunk/modules/Settings/CurrencyListView.php

Modified: vtigercrm/trunk/modules/Settings/CurrencyListView.php
==============================================================================
--- vtigercrm/trunk/modules/Settings/CurrencyListView.php (original)
+++ vtigercrm/trunk/modules/Settings/CurrencyListView.php Mon May 29 00:52:42 2006
@@ -33,7 +33,7 @@
 	if($temprow["defaultid"] != '-11')
 	{
 		$currency_element['name'] = '<a href=index.php?module=Settings&action=CurrencyEditView&parenttab='.$parenttab.'&record='.$temprow["id"].'>'.$temprow["currency_name"].'</a>';
-		$currency_element['tool']= '<a href=index.php?module=Settings&action=CurrencyEditView&parenttab='.$parenttab.'&record='.$temprow["id"].'><img src="'.$image_path.'editfield.gif" border="0" alt="Edit" title="Edit"/></a>&nbsp;|&nbsp;<a href=index.php?module=Settings&action=CurrencyDelete&parenttab='.$parenttab.'&record='.$temprow["id"].' onClick="return confirm(\'Are you sure?\');"><img src="'.$image_path.'currencydelete.gif" border="0"  alt="Delete" title="Delete"/></a>';
+		$currency_element['tool']= '<a href=index.php?module=Settings&action=CurrencyEditView&parenttab='.$parenttab.'&record='.$temprow["id"].'><img src="'.$image_path.'editfield.gif" border="0" alt="Edit" title="Edit"/></a>&nbsp;|&nbsp;<img onClick="deleteCurrency(\''.$temprow['id'].'\');" src="'.$image_path.'currencydelete.gif" border="0"  alt="Delete" title="Delete"/>';
 	}
 	else
 		$currency_element['tool']= '';
@@ -44,6 +44,9 @@
 $smarty->assign("IMAGE_PATH",$image_path);
 $smarty->assign("MOD",$mod_strings);
 $smarty->assign("CURRENCY_LIST",$currency);
-$smarty->display('CurrencyListView.tpl');
+if($_REQUEST['ajax'] !='')
+        $smarty->display("CurrencyListViewEntries.tpl");
+else
+        $smarty->display("CurrencyListView.tpl");
 ?>
 





More information about the vtigercrm-commits mailing list