[Vtigercrm-commits] [vtiger-commits] r9900 - in /vtigercrm/branches/5.0.3: Smarty/templates/RoleEditView.tpl Smarty/templates/Settings.tpl modules/Settings/SaveRole.php modules/Settings/listroles.php modules/Users/RoleDragDrop.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Nov 23 10:21:36 EST 2006


Author: richie
Date: Thu Nov 23 08:21:26 2006
New Revision: 9900

Log:
Smarty/templates/SetMenu.tpl

Added:
    vtigercrm/branches/5.0.3/modules/Settings/SaveRole.php
    vtigercrm/branches/5.0.3/modules/Settings/listroles.php
Modified:
    vtigercrm/branches/5.0.3/Smarty/templates/RoleEditView.tpl
    vtigercrm/branches/5.0.3/Smarty/templates/Settings.tpl
    vtigercrm/branches/5.0.3/modules/Users/RoleDragDrop.php

Modified: vtigercrm/branches/5.0.3/Smarty/templates/RoleEditView.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/RoleEditView.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/RoleEditView.tpl Thu Nov 23 08:21:26 2006
@@ -24,7 +24,7 @@
                 'index.php',
                 {ldelim}queue: {ldelim}position: 'end', scope: 'command'{rdelim},
                                 method: 'post',
-                                postBody: 'module=Users&action=UsersAjax&file=SaveRole&ajax=true&dup_check=true'+urlstring,
+                                postBody: 'module=Settings&action=SettingsAjax&file=SaveRole&ajax=true&dup_check=true'+urlstring,
                                 onComplete: function(response) {ldelim}
 					if(response.responseText == 'SUCESS')
 						document.newRoleForm.submit();
@@ -62,7 +62,7 @@
 				<!-- DISPLAY -->
 				<table border=0 cellspacing=0 cellpadding=5 width=100% class="settingsSelUITopLine">
 				<form name="newRoleForm" action="index.php" method="post">
-				<input type="hidden" name="module" value="Users">
+				<input type="hidden" name="module" value="Settings">
 				<input type="hidden" name="action" value="SaveRole">
 				<input type="hidden" name="parenttab" value="Settings">
 				<input type="hidden" name="returnaction" value="{$RETURN_ACTION}">
@@ -72,9 +72,9 @@
 				<tr>
 					<td width=50 rowspan=2 valign=top><img src="{$IMAGE_PATH}ico-roles.gif" alt="Roles" width="48" height="48" border=0 title="Roles"></td>
 					{if $MODE eq 'edit'}
-					<td class=heading2 valign=bottom><b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS}</a> > <a href="index.php?module=Users&action=listroles&parenttab=Settings">{$CMOD.LBL_ROLES}</a> &gt; {$MOD.LBL_EDIT} &quot;{$ROLENAME}&quot; </b></td>
+					<td class=heading2 valign=bottom><b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS}</a> > <a href="index.php?module=Settings&action=listroles&parenttab=Settings">{$CMOD.LBL_ROLES}</a> &gt; {$MOD.LBL_EDIT} &quot;{$ROLENAME}&quot; </b></td>
 					{else}	
-					<td class=heading2 valign=bottom><b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS}</a> > <a href="index.php?module=Users&action=listroles&parenttab=Settings">{$CMOD.LBL_ROLES}</a> &gt; {$CMOD.LBL_CREATE_NEW_ROLE}</b></td>
+					<td class=heading2 valign=bottom><b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS}</a> > <a href="index.php?module=Settings&action=listroles&parenttab=Settings">{$CMOD.LBL_ROLES}</a> &gt; {$CMOD.LBL_CREATE_NEW_ROLE}</b></td>
 					{/if}
 				</tr>
 				<tr>

Modified: vtigercrm/branches/5.0.3/Smarty/templates/Settings.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/Settings.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/Settings.tpl Thu Nov 23 08:21:26 2006
@@ -55,8 +55,8 @@
 						<table border=0 cellspacing=0 cellpadding=5 width=100%>
 
 						<tr>
-							<td rowspan=2 valign=top><a href="index.php?module=Users&action=listroles&parenttab=Settings"><img src="{$IMAGE_PATH}ico-roles.gif" alt="{$MOD.LBL_ROLES}" width="48" height="48" border=0 title="{$MOD.LBL_ROLES}"></a></td>
-							<td class=big valign=top><a href="index.php?module=Users&action=listroles&parenttab=Settings">{$MOD.LBL_ROLES}</a></td>
+							<td rowspan=2 valign=top><a href="index.php?module=Settings&action=listroles&parenttab=Settings"><img src="{$IMAGE_PATH}ico-roles.gif" alt="{$MOD.LBL_ROLES}" width="48" height="48" border=0 title="{$MOD.LBL_ROLES}"></a></td>
+							<td class=big valign=top><a href="index.php?module=Settings&action=listroles&parenttab=Settings">{$MOD.LBL_ROLES}</a></td>
 						</tr>
 						<tr>
 							<td class="small" valign=top>{$MOD.LBL_ROLE_DESCRIPTION}</td>

Modified: vtigercrm/branches/5.0.3/modules/Users/RoleDragDrop.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Users/RoleDragDrop.php (original)
+++ vtigercrm/branches/5.0.3/modules/Users/RoleDragDrop.php Thu Nov 23 08:21:26 2006
@@ -58,5 +58,5 @@
 
 
 
-header("Location: index.php?action=UsersAjax&module=Users&file=listroles&ajax=true");
+header("Location: index.php?action=SettingsAjax&module=Settings&file=listroles&ajax=true");
 ?>





More information about the vtigercrm-commits mailing list