[Vtigercrm-commits] [vtiger-commits] r5523 - /vtigercrm/trunk/modules/Accounts/ListView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Apr 27 19:19:37 EDT 2006
Author: saraj
Date: Thu Apr 27 17:19:32 2006
New Revision: 5523
Log:
Added the message to inform the user of the security check of each records in listview-Ahmed
Modified:
vtigercrm/trunk/modules/Accounts/ListView.php
Modified: vtigercrm/trunk/modules/Accounts/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/Accounts/ListView.php (original)
+++ vtigercrm/trunk/modules/Accounts/ListView.php Thu Apr 27 17:19:32 2006
@@ -45,6 +45,15 @@
$smarty = new vtigerCRM_Smarty;
$other_text = Array();
+if($_REQUEST['errormsg'] != '')
+{
+ $errormsg = $_REQUEST['errormsg'];
+ $smarty->assign("ERROR","The User does not have permission to delete ".$errormsg." ".$currentModule);
+}else
+{
+ $smarty->assign("ERROR","");
+}
+
//<<<<<<< sort ordering >>>>>>>>>>>>>
$sorder = $focus->getSortOrder();
$order_by = $focus->getOrderBy();
@@ -184,7 +193,7 @@
}
if(isset($ids))
{
- echo "<input name='allids' type='hidden' value='".implode($ids,";")."'>";
+ $smarty->assign("ALLIDS", implode($ids,";"));
}
if(isPermitted("Accounts","Merge") == 'yes')
{
More information about the vtigercrm-commits
mailing list