[Vtigercrm-commits] [vtiger-commits] r5426 - in /vtigercrm/trunk/modules/PriceBooks: DetailView.php EditView.php ListView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Apr 27 00:59:28 EDT 2006


Author: saraj
Date: Wed Apr 26 22:59:22 2006
New Revision: 5426

Log:
Added security check for buttons in List/Edit/Detail View - Ahmed

Modified:
    vtigercrm/trunk/modules/PriceBooks/DetailView.php
    vtigercrm/trunk/modules/PriceBooks/EditView.php
    vtigercrm/trunk/modules/PriceBooks/ListView.php

Modified: vtigercrm/trunk/modules/PriceBooks/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/PriceBooks/DetailView.php (original)
+++ vtigercrm/trunk/modules/PriceBooks/DetailView.php Wed Apr 26 22:59:22 2006
@@ -56,6 +56,10 @@
 $smarty->assign("ID", $_REQUEST['record']);
 $smarty->assign("NAME", $focus->name);
 
+
+$check_button = Button_Check($module);
+$smarty->assign("CHECK", $check_button);
+
 $smarty->assign("MODULE", $module);
 $smarty->assign("SINGLE_MOD","PriceBook");
 $smarty->display("DetailView.tpl");

Modified: vtigercrm/trunk/modules/PriceBooks/EditView.php
==============================================================================
--- vtigercrm/trunk/modules/PriceBooks/EditView.php (original)
+++ vtigercrm/trunk/modules/PriceBooks/EditView.php Wed Apr 26 22:59:22 2006
@@ -84,6 +84,10 @@
 $smarty->assign("VALIDATION_DATA_FIELDNAME",$data['fieldname']);
 $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/PriceBooks/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/PriceBooks/ListView.php (original)
+++ vtigercrm/trunk/modules/PriceBooks/ListView.php Wed Apr 26 22:59:22 2006
@@ -145,6 +145,8 @@
 $smarty->assign("SELECT_SCRIPT", $view_script);
 $smarty->assign("BUTTONS", $other_text);
 
+$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