[Vtigercrm-commits] [vtiger-commits] r5409 - in /vtigercrm/trunk/modules/Leads: DetailView.php EditView.php ListView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Apr 26 11:00:14 EDT 2006
Author: saraj
Date: Wed Apr 26 09:00:07 2006
New Revision: 5409
Log:
Added the Button Security Check for List/Edit/Detail View - Ahmed
Modified:
vtigercrm/trunk/modules/Leads/DetailView.php
vtigercrm/trunk/modules/Leads/EditView.php
vtigercrm/trunk/modules/Leads/ListView.php
Modified: vtigercrm/trunk/modules/Leads/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Leads/DetailView.php (original)
+++ vtigercrm/trunk/modules/Leads/DetailView.php Wed Apr 26 09:00:07 2006
@@ -107,6 +107,9 @@
$smarty->assign("TOPTIONS",$optionString);
}
+$check_button = Button_Check($module);
+$smarty->assign("CHECK", $check_button);
+
$smarty->assign("MODULE", $module);
$smarty->display("DetailView.tpl");
Modified: vtigercrm/trunk/modules/Leads/EditView.php
==============================================================================
--- vtigercrm/trunk/modules/Leads/EditView.php (original)
+++ vtigercrm/trunk/modules/Leads/EditView.php Wed Apr 26 09:00:07 2006
@@ -109,6 +109,9 @@
$smarty->assign("VALIDATION_DATA_FIELDDATATYPE",$data['datatype']);
$smarty->assign("VALIDATION_DATA_FIELDLABEL",$data['fieldlabel']);
+$check_button = Button_Check($module);
+$smarty->assign("CHECK", $check_button);
+
if($focus->mode == 'edit')
$smarty->display("salesEditView.tpl");
else
Modified: vtigercrm/trunk/modules/Leads/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/Leads/ListView.php (original)
+++ vtigercrm/trunk/modules/Leads/ListView.php Wed Apr 26 09:00:07 2006
@@ -227,6 +227,10 @@
$smarty->assign("ALPHABETICAL", $alphabetical);
$smarty->assign("NAVIGATION", $navigationOutput);
$smarty->assign("RECORD_COUNTS", $record_string);
+
+$check_button = Button_Check($module);
+$smarty->assign("CHECK", $check_button);
+
if(isset($_REQUEST['ajax']) && $_REQUEST['ajax'] != '')
$smarty->display("ListViewEntries.tpl");
else
More information about the vtigercrm-commits
mailing list