[Vtigercrm-commits] [vtiger-commits] r6020 - in /vtigercrm/trunk/modules/Users: OrgSharingDetailView.php OrgSharingEditView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue May 16 03:29:13 EDT 2006
Author: saraj
Date: Tue May 16 01:29:09 2006
New Revision: 6020
Log:
Modified the Edit/Detail view of Org Sharing for i18n - ahmed
Modified:
vtigercrm/trunk/modules/Users/OrgSharingDetailView.php
vtigercrm/trunk/modules/Users/OrgSharingEditView.php
Modified: vtigercrm/trunk/modules/Users/OrgSharingDetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Users/OrgSharingDetailView.php (original)
+++ vtigercrm/trunk/modules/Users/OrgSharingDetailView.php Tue May 16 01:29:09 2006
@@ -39,9 +39,9 @@
$access_privileges[] = $entity_name;
$access_privileges[] = $entity_perr;
if($entity_perr != 'Private')
- $access_privileges[] = 'Users can '.str_replace('Public:','',$entity_perr).' other users '.$entity_name;
+ $access_privileges[] = $mod_strings['LBL_USR_CAN_ACCESS'] .str_replace('Public:','',$mod_strings[$entity_perr]). $mod_strings['LBL_USR_OTHERS'] . $app_strings[$entity_name];
else
- $access_privileges[] = 'Users cannot access other users '.$entity_name;
+ $access_privileges[] = $mod_strings['LBL_USR_CANNOT_ACCESS'] . $app_strings[$entity_name];
$row++;
}
$access_privileges=array_chunk($access_privileges,3);
@@ -121,7 +121,7 @@
}
elseif($permission == 1)
{
- $perr_out = 'Read Write';
+ $perr_out = 'Read / Write';
}
$access_permission [] = $shareid;
Modified: vtigercrm/trunk/modules/Users/OrgSharingEditView.php
==============================================================================
--- vtigercrm/trunk/modules/Users/OrgSharingEditView.php (original)
+++ vtigercrm/trunk/modules/Users/OrgSharingEditView.php Tue May 16 01:29:09 2006
@@ -52,7 +52,7 @@
{
$selected='selected';
}
- $output .= '<option value="'.$shareActId.'" '.$selected. '>'.$shareActName.'</option>';
+ $output .= '<option value="'.$shareActId.'" '.$selected. '>'.$mod_strings[$shareActName].'</option>';
}
More information about the vtigercrm-commits
mailing list