[Vtigercrm-commits] [vtiger-commits] r5397 - in /vtigercrm/trunk/modules/Campaigns: DetailView.php EditView.php ListView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Apr 26 10:25:53 EDT 2006
Author: saraj
Date: Wed Apr 26 08:25:45 2006
New Revision: 5397
Log:
Added the Button Security Check for List/Edit/Detail View - Ahmed
Modified:
vtigercrm/trunk/modules/Campaigns/DetailView.php
vtigercrm/trunk/modules/Campaigns/EditView.php
vtigercrm/trunk/modules/Campaigns/ListView.php
Modified: vtigercrm/trunk/modules/Campaigns/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Campaigns/DetailView.php (original)
+++ vtigercrm/trunk/modules/Campaigns/DetailView.php Wed Apr 26 08:25:45 2006
@@ -55,6 +55,9 @@
$smarty->assign("PRINT_URL", "phprint.php?jt=".session_id().$GLOBALS['request_string']);
$smarty->assign("ID", $_REQUEST['record']);
+$check_button = Button_Check($module);
+$smarty->assign("CHECK", $check_button);
+
$smarty->assign("MODULE","Campaigns");
$smarty->display("DetailView.tpl");
$focus->id = $_REQUEST['record'];
Modified: vtigercrm/trunk/modules/Campaigns/EditView.php
==============================================================================
--- vtigercrm/trunk/modules/Campaigns/EditView.php (original)
+++ vtigercrm/trunk/modules/Campaigns/EditView.php Wed Apr 26 08:25:45 2006
@@ -96,6 +96,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/Campaigns/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/Campaigns/ListView.php (original)
+++ vtigercrm/trunk/modules/Campaigns/ListView.php Wed Apr 26 08:25:45 2006
@@ -190,6 +190,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