[Vtigercrm-commits] [vtiger-commits] r9969 - in /vtigercrm/branches/5.0.3: Smarty/templates/ modules/Settings/
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Dec 13 09:46:40 EST 2006
Author: richie
Date: Wed Dec 13 07:46:28 2006
New Revision: 9969
Log:
Audit trial moved to settings
Added:
vtigercrm/branches/5.0.3/modules/Settings/AuditTrail.php (with props)
vtigercrm/branches/5.0.3/modules/Settings/AuditTrailList.php (with props)
vtigercrm/branches/5.0.3/modules/Settings/SaveAuditTrail.php
vtigercrm/branches/5.0.3/modules/Settings/ShowAuditTrail.php (with props)
Modified:
vtigercrm/branches/5.0.3/Smarty/templates/AuditTrailList.tpl
vtigercrm/branches/5.0.3/Smarty/templates/ShowAuditTrail.tpl
Modified: vtigercrm/branches/5.0.3/Smarty/templates/AuditTrailList.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/AuditTrailList.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/AuditTrailList.tpl Wed Dec 13 07:46:28 2006
@@ -18,10 +18,10 @@
<td valign="top"><img src="{$IMAGE_PATH}showPanelTopLeft.gif"></td>
<td class="showPanelBg" style="padding: 10px;" valign="top" width="100%">
<form action="index.php" method="post" name="AuditTrail" id="form">
-<input type='hidden' name='module' value='Users'>
+<input type='hidden' name='module' value='Settings'>
<input type='hidden' name='action' value='AuditTrail'>
<input type='hidden' name='return_action' value='ListView'>
-<input type='hidden' name='return_module' value='Users'>
+<input type='hidden' name='return_module' value='Settings'>
<input type='hidden' name='parenttab' value='Settings'>
<br>
@@ -135,7 +135,7 @@
'index.php',
{queue: {position: 'end', scope: 'command'},
method: 'post',
- postBody: 'module=Users&action=UsersAjax&file=SaveAuditTrail&ajax=true&audit_trail='+status,
+ postBody: 'module=Settings&action=SettingsAjax&file=SaveAuditTrail&ajax=true&audit_trail='+status,
onComplete: function(response) {
$("status").style.display="none";
}
@@ -149,7 +149,7 @@
{
var userid = $('user_list').options[$('user_list').selectedIndex].value;
- window.open("index.php?module=Users&action=UsersAjax&file=ShowAuditTrail&userid="+userid,"","width=645,height=750,resizable=0,scrollbars=1,left=100");
+ window.open("index.php?module=Settings&action=SettingsAjax&file=ShowAuditTrail&userid="+userid,"","width=645,height=750,resizable=0,scrollbars=1,left=100");
}
Modified: vtigercrm/branches/5.0.3/Smarty/templates/ShowAuditTrail.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/ShowAuditTrail.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/ShowAuditTrail.tpl Wed Dec 13 07:46:28 2006
@@ -14,7 +14,7 @@
<body class="small" marginwidth=0 marginheight=0 leftmargin=0 topmargin=0 bottommargin=0 rigthmargin=0>
<form action="index.php" method="post" id="form">
-<input type='hidden' name='module' value='Users'>
+<input type='hidden' name='module' value='Settings'>
<input type='hidden' id='userid' name='userid' value='{$USERID}'>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="mailClient mailClientBg">
@@ -50,7 +50,7 @@
'index.php',
{queue: {position: 'end', scope: 'command'},
method: 'post',
- postBody: 'module=Users&action=UsersAjax&file=ShowAuditTrail&ajax=true&'+url+'&userid='+userid,
+ postBody: 'module=Settings&action=SettingsAjax&file=ShowAuditTrail&ajax=true&'+url+'&userid='+userid,
onComplete: function(response) {
$("AuditTrailContents").innerHTML= response.responseText;
}
More information about the vtigercrm-commits
mailing list