[Vtigercrm-commits] [vtiger-commits] r10505 - /vtigercrm/branches/5.0.3/modules/Settings/profilePrivileges.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Mar 21 00:45:11 EDT 2007
Author: saraj
Date: Tue Mar 20 22:45:07 2007
New Revision: 10505
Log:
fix for misplaced } --Minnie
Modified:
vtigercrm/branches/5.0.3/modules/Settings/profilePrivileges.php
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 Tue Mar 20 22:45:07 2007
@@ -427,31 +427,30 @@
if($mode=='view')
{
$fieldListResult = getProfile2AllFieldList($modArr,$profileId);
- $field_module=array();
- $module_name=key($fieldListResult);
- $module_id = getTabid($module_name);
- $language_strings = return_module_language($current_language,$module_name);
- for($j=0; $j<count($fieldListResult[$module_name]); $j++)
- {
- $field=array();
- if($disable_field_array[$fieldListResult[$module_name][$j][4]] == 1)
- {
- $visible = "<img src=".$image_path."/no.gif>";
- }
- else
- {
- $visible = "<img src=".$image_path."/prvPrfSelectedTick.gif>";
- }
- if($language_strings[$fieldListResult[$module_name][$j][0]] != '')
- $field[]=$language_strings[$fieldListResult[$module_name][$j][0]];
- else
- $field[]=$fieldListResult[$module_name][$j][0];
- $field[]=$visible;
- $field_module[]=$field;
- }
- $privilege_field[$module_id] = array_chunk($field_module,3);
- next($fieldListResult);
- }
+ $field_module=array();
+ $module_name=key($fieldListResult);
+ $module_id = getTabid($module_name);
+ $language_strings = return_module_language($current_language,$module_name);
+ for($j=0; $j<count($fieldListResult[$module_name]); $j++)
+ {
+ $field=array();
+ if($disable_field_array[$fieldListResult[$module_name][$j][4]] == 1)
+ {
+ $visible = "<img src=".$image_path."/no.gif>";
+ }
+ else
+ {
+ $visible = "<img src=".$image_path."/prvPrfSelectedTick.gif>";
+ }
+ if($language_strings[$fieldListResult[$module_name][$j][0]] != '')
+ $field[]=$language_strings[$fieldListResult[$module_name][$j][0]];
+ else
+ $field[]=$fieldListResult[$module_name][$j][0];
+ $field[]=$visible;
+ $field_module[]=$field;
+ }
+ $privilege_field[$module_id] = array_chunk($field_module,3);
+ next($fieldListResult);
}
elseif($mode=='edit')
{
More information about the vtigercrm-commits
mailing list