[Vtigercrm-commits] [vtiger-commits] r7751 - in /vtigercrm/trunk/modules/Users: CreateSharingRule.php language/en_us.lang.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Jul 4 04:09:31 EDT 2006
Author: richie
Date: Tue Jul 4 02:09:25 2006
New Revision: 7751
Log:
issue in edit sharing rule has been fixed.Fixes #513
Modified:
vtigercrm/trunk/modules/Users/CreateSharingRule.php
vtigercrm/trunk/modules/Users/language/en_us.lang.php
Modified: vtigercrm/trunk/modules/Users/CreateSharingRule.php
==============================================================================
--- vtigercrm/trunk/modules/Users/CreateSharingRule.php (original)
+++ vtigercrm/trunk/modules/Users/CreateSharingRule.php Tue Jul 4 02:09:25 2006
@@ -250,8 +250,12 @@
<div id="sharingRule" class="fixedLay">
<table width="100%" border="0" cellpadding="3" cellspacing="0">
<tr>
-<td class="genHeaderSmall" align="left" style="border-bottom:1px solid #CCCCCC;" width="60%">'.$app_strings[$sharing_module].' - '.$mod_strings[LBL_ADD_CUSTOM_RULE].'</td>
-<td align="right" style="border-bottom:1px solid #CCCCCC;" width="40%"><a href="javascript:onClick=hide(\'sharingRule\')";>'.$mod_strings[LBL_CLOSE].'</a></td>
+<td class="genHeaderSmall" align="left" style="border-bottom:1px solid #CCCCCC;" width="60%">'.$app_strings[$sharing_module].' - ';
+if($mode == 'edit')
+ $output .=$mod_strings[LBL_EDIT_CUSTOM_RULE].'</td>';
+else
+ $output .=$mod_strings[LBL_ADD_CUSTOM_RULE].'</td>';
+$output .= '<td align="right" style="border-bottom:1px solid #CCCCCC;" width="40%"><a href="javascript:onClick=hide(\'sharingRule\')";>'.$mod_strings[LBL_CLOSE].'</a></td>
</tr>
<tr><td colspan="2"> </td></tr>
Modified: vtigercrm/trunk/modules/Users/language/en_us.lang.php
==============================================================================
--- vtigercrm/trunk/modules/Users/language/en_us.lang.php (original)
+++ vtigercrm/trunk/modules/Users/language/en_us.lang.php Tue Jul 4 02:09:25 2006
@@ -312,6 +312,7 @@
'LBL_WELCOME_PROFILE_CREATE'=>'Welcome to Privilege Profile Creator ',
'LBL_SELECT_CHOICE_NEW_PROFILE'=>'Select your choice of creating the new profile',
'LBL_ADD_CUSTOM_RULE'=>'Add Custom Privilege Rule',
+'LBL_EDIT_CUSTOM_RULE'=>'Edit Custom Privilege Rule',
'LBL_CLOSE'=>'Close',
'LBL_SELECT_ENTITY'=>'Select an entity below',
'LBL_CAN_BE_ACCESSED_BY'=>'Can be accessed by',
More information about the vtigercrm-commits
mailing list