[Vtigercrm-commits] [vtiger-commits] r9473 - in /vtigercrm/trunk/modules/Users: DefaultFieldPermissions.php EditDefOrgFieldLevelAccess.php UpdateDefaultFieldLevelAccess.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Sep 12 18:57:16 EDT 2006
Author: jerrydgeorge
Date: Tue Sep 12 16:57:07 2006
New Revision: 9473
Log:
Faq added in default field access --Jeri
Modified:
vtigercrm/trunk/modules/Users/DefaultFieldPermissions.php
vtigercrm/trunk/modules/Users/EditDefOrgFieldLevelAccess.php
vtigercrm/trunk/modules/Users/UpdateDefaultFieldLevelAccess.php
Modified: vtigercrm/trunk/modules/Users/DefaultFieldPermissions.php
==============================================================================
--- vtigercrm/trunk/modules/Users/DefaultFieldPermissions.php (original)
+++ vtigercrm/trunk/modules/Users/DefaultFieldPermissions.php Tue Sep 12 16:57:07 2006
@@ -31,7 +31,7 @@
$image_path=$theme_path."images/";
require_once($theme_path.'layout_utils.php');
-$field_module = Array('Leads','Accounts','Contacts','Potentials','HelpDesk','Products','Notes','Calendar','Events','Vendors','PriceBooks','Quotes','PurchaseOrder','SalesOrder','Invoice','Campaigns');
+$field_module = Array('Leads','Accounts','Contacts','Potentials','HelpDesk','Products','Notes','Calendar','Events','Vendors','PriceBooks','Quotes','PurchaseOrder','SalesOrder','Invoice','Campaigns','Faq');
$allfields=Array();
foreach($field_module as $fld_module)
{
Modified: vtigercrm/trunk/modules/Users/EditDefOrgFieldLevelAccess.php
==============================================================================
--- vtigercrm/trunk/modules/Users/EditDefOrgFieldLevelAccess.php (original)
+++ vtigercrm/trunk/modules/Users/EditDefOrgFieldLevelAccess.php Tue Sep 12 16:57:07 2006
@@ -27,7 +27,7 @@
require_once($theme_path.'layout_utils.php');
-$field_module = Array('Leads','Accounts','Contacts','Potentials','HelpDesk','Products','Notes','Emails','Calendar','Events','Vendors','PriceBooks','Quotes','PurchaseOrder','SalesOrder','Invoice','Campaigns');
+$field_module = Array('Leads','Accounts','Contacts','Potentials','HelpDesk','Products','Notes','Emails','Calendar','Events','Vendors','PriceBooks','Quotes','PurchaseOrder','SalesOrder','Invoice','Campaigns','Faq');
$allfields=Array();
foreach($field_module as $fld_module)
{
@@ -58,7 +58,7 @@
$uitype = $adb->query_result($fieldListResult,$i,"uitype");
$mandatory = '';
$readonly = '';
- if($uitype == 2 || $uitype == 6 || $uitype == 22 || $uitype == 73 || $uitype == 24 || $uitype == 81 || $uitype == 50 || $uitype == 23 || $uitype == 16)
+ if($uitype == 2 || $uitype == 6 || $uitype == 22 || $uitype == 73 || $uitype == 24 || $uitype == 81 || $uitype == 50 || $uitype == 23 || $uitype == 16 || $uitype == 20)
{
$mandatory = '<font color="red">*</font>';
$readonly = 'disabled';
Modified: vtigercrm/trunk/modules/Users/UpdateDefaultFieldLevelAccess.php
==============================================================================
--- vtigercrm/trunk/modules/Users/UpdateDefaultFieldLevelAccess.php (original)
+++ vtigercrm/trunk/modules/Users/UpdateDefaultFieldLevelAccess.php Tue Sep 12 16:57:07 2006
@@ -14,7 +14,7 @@
require_once('include/utils/utils.php');
global $adb;
-$field_module = Array('Leads','Accounts','Contacts','Potentials','HelpDesk','Products','Notes','Emails','Calendar','Events','Vendors','PriceBooks','Quotes','PurchaseOrder','SalesOrder','Invoice','Campaigns');
+$field_module = Array('Leads','Accounts','Contacts','Potentials','HelpDesk','Products','Notes','Emails','Calendar','Events','Vendors','PriceBooks','Quotes','PurchaseOrder','SalesOrder','Invoice','Campaigns','Faq');
foreach($field_module as $fld_module)
{
$fieldListResult = getDefOrgFieldList($fld_module);
More information about the vtigercrm-commits
mailing list