[Vtigercrm-commits] [vtiger-commits] r5525 - /vtigercrm/trunk/modules/Campaigns/ListView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Apr 27 19:26:34 EDT 2006
Author: saraj
Date: Thu Apr 27 17:26:30 2006
New Revision: 5525
Log:
Enabled the Security check for each record in list view for all modules-Ahmed
Modified:
vtigercrm/trunk/modules/Campaigns/ListView.php
Modified: vtigercrm/trunk/modules/Campaigns/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/Campaigns/ListView.php (original)
+++ vtigercrm/trunk/modules/Campaigns/ListView.php Thu Apr 27 17:26:30 2006
@@ -30,6 +30,15 @@
$other_text = Array();
$url_string = ''; // assigning http url string
+if($_REQUEST['errormsg'] != '')
+{
+ $errormsg = $_REQUEST['errormsg'];
+ $smarty->assign("ERROR","The User does not have permission to delete ".$errormsg." ".$currentModule);
+}else
+{
+ $smarty->assign("ERROR","");
+}
+
//<<<<<<<<<<<<<<<<<<< sorting - stored in session >>>>>>>>>>>>>>>>>>>>
if($_REQUEST['order_by'] != '')
$order_by = $_REQUEST['order_by'];
@@ -161,7 +170,7 @@
}
if(isset($ids))
{
- echo "<input name='allids' type='hidden' value='".implode($ids,";")."'>";
+ $smarty->assign("ALLIDS", implode($ids,";"));
}
$record_string= $app_strings[LBL_SHOWING]." " .$start_rec." - ".$end_rec." " .$app_strings[LBL_LIST_OF] ." ".$noofrows;
More information about the vtigercrm-commits
mailing list