[Vtigercrm-commits] [vtiger-commits] r9968 - in /vtigercrm/branches/5.0.3: Smarty/templates/ modules/Settings/ modules/Users/

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Dec 13 09:31:04 EST 2006


Author: richie
Date: Wed Dec 13 07:30:54 2006
New Revision: 9968

Log:
Sharing access, Defaultmodule view moved to settings

Added:
    vtigercrm/branches/5.0.3/modules/Settings/DefModuleView.php
    vtigercrm/branches/5.0.3/modules/Settings/OrgSharingDetailView.php
    vtigercrm/branches/5.0.3/modules/Settings/SaveSharingRule.php
Modified:
    vtigercrm/branches/5.0.3/Smarty/templates/OrgSharingDetailView.tpl
    vtigercrm/branches/5.0.3/modules/Users/DeleteSharingRule.php
    vtigercrm/branches/5.0.3/modules/Users/RecalculateSharingRules.php
    vtigercrm/branches/5.0.3/modules/Users/SaveOrgSharing.php

Modified: vtigercrm/branches/5.0.3/Smarty/templates/OrgSharingDetailView.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/OrgSharingDetailView.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/OrgSharingDetailView.tpl Wed Dec 13 07:30:54 2006
@@ -228,7 +228,7 @@
                 'index.php',
                 {ldelim}queue: {ldelim}position: 'end', scope: 'command'{rdelim},
                         method: 'post',
-                        postBody: 'module=Users&action=UsersAjax&orgajax=true&mode='+mode+'&sharing_module='+modulename+'&shareid='+id,
+                        postBody: 'module=Settings&action=SettingsAjax&orgajax=true&mode='+mode+'&sharing_module='+modulename+'&shareid='+id,
                         onComplete: function(response) {ldelim}
                                 $("status").style.display="none";
                                 $("tempdiv").innerHTML=response.responseText;

Modified: vtigercrm/branches/5.0.3/modules/Users/DeleteSharingRule.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Users/DeleteSharingRule.php (original)
+++ vtigercrm/branches/5.0.3/modules/Users/DeleteSharingRule.php Wed Dec 13 07:30:54 2006
@@ -13,5 +13,5 @@
 $shareid =  $_REQUEST['shareid'];
 deleteSharingRule($shareid);
 
-header("Location: index.php?module=Users&action=OrgSharingDetailView&parenttab=Settings");
+header("Location: index.php?module=Settings&action=OrgSharingDetailView&parenttab=Settings");
 ?>

Modified: vtigercrm/branches/5.0.3/modules/Users/RecalculateSharingRules.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Users/RecalculateSharingRules.php (original)
+++ vtigercrm/branches/5.0.3/modules/Users/RecalculateSharingRules.php Wed Dec 13 07:30:54 2006
@@ -11,7 +11,7 @@
 
 RecalculateSharingRules();
 
-header("Location: index.php?action=OrgSharingDetailView&parenttab=Settings&module=Users");
+header("Location: index.php?action=OrgSharingDetailView&parenttab=Settings&module=Settings");
 
 
 ?>

Modified: vtigercrm/branches/5.0.3/modules/Users/SaveOrgSharing.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Users/SaveOrgSharing.php (original)
+++ vtigercrm/branches/5.0.3/modules/Users/SaveOrgSharing.php Wed Dec 13 07:30:54 2006
@@ -39,6 +39,6 @@
 			
 		}
 }
-$loc = "Location: index.php?action=OrgSharingDetailView&module=Users&parenttab=Settings";
+$loc = "Location: index.php?action=OrgSharingDetailView&module=Settings&parenttab=Settings";
 header($loc);
 ?>





More information about the vtigercrm-commits mailing list