[Vtigercrm-commits] [vtiger-commits] r10168 - in /vtigercrm/branches/5.0.3/modules: Settings/EditDefOrgFieldLevelAccess.php Settings/UpdateDefaultFieldLevelAccess.php Settings/profilePrivileges.php Users/SaveProfile.php Users/UpdateProfileChanges.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Feb 12 03:08:18 EST 2007
Author: jerrydgeorge
Date: Mon Feb 12 01:07:25 2007
New Revision: 10168
Log:
"assigned to" field made mandatory in security settings
.Fixes #2592
Modified:
vtigercrm/branches/5.0.3/modules/Settings/EditDefOrgFieldLevelAccess.php
vtigercrm/branches/5.0.3/modules/Settings/UpdateDefaultFieldLevelAccess.php
vtigercrm/branches/5.0.3/modules/Settings/profilePrivileges.php
vtigercrm/branches/5.0.3/modules/Users/SaveProfile.php
vtigercrm/branches/5.0.3/modules/Users/UpdateProfileChanges.php
Modified: vtigercrm/branches/5.0.3/modules/Settings/EditDefOrgFieldLevelAccess.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Settings/EditDefOrgFieldLevelAccess.php (original)
+++ vtigercrm/branches/5.0.3/modules/Settings/EditDefOrgFieldLevelAccess.php Mon Feb 12 01:07:25 2007
@@ -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 || $uitype == 20)
+ if($uitype == 2 || $uitype == 6 || $uitype == 22 || $uitype == 73 || $uitype == 24 || $uitype == 81 || $uitype == 50 || $uitype == 23 || $uitype == 16 || $uitype == 20 || $uitype == 53)
{
$mandatory = '<font color="red">*</font>';
$readonly = 'disabled';
Modified: vtigercrm/branches/5.0.3/modules/Settings/UpdateDefaultFieldLevelAccess.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Settings/UpdateDefaultFieldLevelAccess.php (original)
+++ vtigercrm/branches/5.0.3/modules/Settings/UpdateDefaultFieldLevelAccess.php Mon Feb 12 01:07:25 2007
@@ -37,7 +37,7 @@
}
//Updating the Mandatory vtiger_fields
$uitype = $adb->query_result($fieldListResult,$i,"uitype");
- 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 == 53)
{
$visible_value = 0;
}
Modified: vtigercrm/branches/5.0.3/modules/Settings/profilePrivileges.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Settings/profilePrivileges.php (original)
+++ vtigercrm/branches/5.0.3/modules/Settings/profilePrivileges.php Mon Feb 12 01:07:25 2007
@@ -476,7 +476,7 @@
$mandatory = '<font color="blue">*</font>';
$readonly = 'disabled';
}
- 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 == 53)
{
$mandatory = '<font color="red">*</font>';
$readonly = 'disabled';
@@ -525,7 +525,7 @@
$mandatory = '<font color="blue">*</font>';
$readonly = 'disabled';
}
- 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 == 53)
{
$mandatory = '<font color="red">*</font>';
$readonly = 'disabled';
@@ -571,7 +571,7 @@
$mandatory = '<font color="blue">*</font>';
$readonly = 'disabled';
}
- 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 == 53)
{
$mandatory = '<font color="red">*</font>';
$readonly = 'disabled';
Modified: vtigercrm/branches/5.0.3/modules/Users/SaveProfile.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Users/SaveProfile.php (original)
+++ vtigercrm/branches/5.0.3/modules/Users/SaveProfile.php Mon Feb 12 01:07:25 2007
@@ -171,7 +171,7 @@
}
//Updating the Mandatory vtiger_fields
$uitype = $adb->query_result($fieldListResult,$i,"uitype");
- 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 == 53)
{
$visible_value = 0;
}
Modified: vtigercrm/branches/5.0.3/modules/Users/UpdateProfileChanges.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Users/UpdateProfileChanges.php (original)
+++ vtigercrm/branches/5.0.3/modules/Users/UpdateProfileChanges.php Mon Feb 12 01:07:25 2007
@@ -162,7 +162,7 @@
}
//Updating the Mandatory vtiger_fields
$uitype = $adb->query_result($fieldListResult,$i,"uitype");
- 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 == 53)
{
$visible_value = 0;
}
More information about the vtigercrm-commits
mailing list