[Vtigercrm-commits] [vtiger-commits] r5428 - in /vtigercrm/trunk/modules/PurchaseOrder: DetailView.php EditView.php ListView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Apr 27 01:02:10 EDT 2006
Author: saraj
Date: Wed Apr 26 23:02:04 2006
New Revision: 5428
Log:
Added security check for buttons in List/Edit/Detail View - Ahmed
Modified:
vtigercrm/trunk/modules/PurchaseOrder/DetailView.php
vtigercrm/trunk/modules/PurchaseOrder/EditView.php
vtigercrm/trunk/modules/PurchaseOrder/ListView.php
Modified: vtigercrm/trunk/modules/PurchaseOrder/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/PurchaseOrder/DetailView.php (original)
+++ vtigercrm/trunk/modules/PurchaseOrder/DetailView.php Wed Apr 26 23:02:04 2006
@@ -79,6 +79,8 @@
//Get the associated Products and then display above Terms and Conditions
$smarty->assign("ASSOCIATED_PRODUCTS",getDetailAssociatedProducts('PurchaseOrder',$focus));
+$check_button = Button_Check($module);
+$smarty->assign("CHECK", $check_button);
$smarty->display("DetailView.tpl");
Modified: vtigercrm/trunk/modules/PurchaseOrder/EditView.php
==============================================================================
--- vtigercrm/trunk/modules/PurchaseOrder/EditView.php (original)
+++ vtigercrm/trunk/modules/PurchaseOrder/EditView.php Wed Apr 26 23:02:04 2006
@@ -183,6 +183,8 @@
$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/PurchaseOrder/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/PurchaseOrder/ListView.php (original)
+++ vtigercrm/trunk/modules/PurchaseOrder/ListView.php Wed Apr 26 23:02:04 2006
@@ -174,6 +174,8 @@
$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");
More information about the vtigercrm-commits
mailing list