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

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Apr 26 10:31:18 EDT 2006


Author: saraj
Date: Wed Apr 26 08:31:12 2006
New Revision: 5401

Log:
Added the Button Security Check for List/Edit/Detail View - Ahmed

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

Modified: vtigercrm/trunk/modules/Faq/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Faq/DetailView.php (original)
+++ vtigercrm/trunk/modules/Faq/DetailView.php Wed Apr 26 08:31:12 2006
@@ -79,5 +79,8 @@
 if(isPermitted("Faq",2,$_REQUEST['record']) == 'yes')
 	$smarty->assign("DELETE","permitted");	
 
+$check_button = Button_Check($module);
+$smarty->assign("CHECK", $check_button);
+	
 $smarty->display("DetailView.tpl");
 ?>

Modified: vtigercrm/trunk/modules/Faq/EditView.php
==============================================================================
--- vtigercrm/trunk/modules/Faq/EditView.php (original)
+++ vtigercrm/trunk/modules/Faq/EditView.php Wed Apr 26 08:31:12 2006
@@ -102,6 +102,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/Faq/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/Faq/ListView.php (original)
+++ vtigercrm/trunk/modules/Faq/ListView.php Wed Apr 26 08:31:12 2006
@@ -144,6 +144,9 @@
 $smarty->assign("RECORD_COUNTS", $record_string);
 $smarty->assign("SINGLE_MOD" ,'Faq');
 
+$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